/* TNB Mailer Subscribe Form */

.tnb-subscribe-form-wrap {
    background: #27201D;
    border-radius: 10px;
    padding: 32px 36px;
    color: #fff;
    max-width: 640px;
    margin: 0 auto;
    margin-top: 5px;
}

.tnb-subscribe-title {
    color: #fff;
    font-size: 22px;
    margin: 0 0 8px;
}

.tnb-subscribe-desc {
    color: rgba(255,255,255,.75);
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.5;
}

.tnb-subscribe-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* Override main.css sitewide input styles */
.tnb-subscribe-form-wrap .tnb-input {
    flex: 1 1 180px;
    width: auto;
    height: auto;
    min-height: unset;
    padding: 12px 16px;
    border-radius: 6px;
    border: none !important;
    font-size: 14px;
    line-height: 1.4;
    outline: none;
    background: rgba(255,255,255,.12);
    color: #fff !important;
    transition: background .2s;
    box-sizing: border-box;
}

.tnb-subscribe-form-wrap .tnb-input::placeholder {
    color: rgba(255,255,255,.5) !important;
}

.tnb-subscribe-form-wrap .tnb-input:focus {
    background: rgba(255,255,255,.2);
}

.tnb-subscribe-btn--form {
    padding: 12px 24px;
    background: #fc5710;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
    flex-shrink: 0;
    height: auto;
    line-height: 1.4;
}

.tnb-subscribe-btn--form:hover {
    background: #ffae00;
}

.tnb-subscribe-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.tnb-subscribe-message {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.tnb-subscribe-message.tnb-success {
    background: rgba(72, 199, 116, .2);
    color: #48c774;
    border: 1px solid rgba(72, 199, 116, .4);
}

.tnb-subscribe-message.tnb-error {
    background: rgba(241, 70, 104, .2);
    color: #f14668;
    border: 1px solid rgba(241, 70, 104, .4);
}

@media (max-width: 480px) {
    .tnb-subscribe-form-wrap {
        padding: 24px 20px;
    }
    .tnb-subscribe-row {
        flex-direction: column;
    }
    .tnb-subscribe-form-wrap .tnb-input {
        width: 100%;
        flex: none;
    }
    .tnb-subscribe-btn--form {
        width: 100%;
    }
}