/* ── Newsletter: Quick-trigger forms (footer & sidebar) ─────── */

/* Footer — fused input+button (like screenshot) */
.nl-inline-wrap {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
}
.nl-inline-input {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: none;
    color: #fff;
    font-size: 0.82rem;
    font-style: italic;
    height: 44px;
    padding: 0 14px;
    outline: none;
    transition: background .2s;
}
.nl-inline-input::placeholder { color: rgba(255,255,255,0.45); }
.nl-inline-input:focus { background: rgba(255,255,255,0.13); }
.nl-inline-btn {
    width: 48px;
    border: none;
    background: var(--primary-gold);
    color: var(--primary-navy);
    font-size: 0.95rem;
    cursor: pointer;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .18s;
}
.nl-inline-btn:hover { opacity: .88; }

/* Sidebar — separate row */
.nl-quick-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.nl-input {
    flex: 1;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-size: 0.83rem;
    height: 42px;
    padding: 0 14px;
    transition: border-color .2s, background .2s;
    outline: none;
}
.nl-input::placeholder { color: rgba(255,255,255,0.38) !important; }
.nl-input:focus {
    background: rgba(255,255,255,0.13) !important;
    border-color: var(--primary-gold) !important;
    box-shadow: 0 0 0 3px rgba(212,175,55,.15) !important;
}

.nl-quick-btn {
    width: 42px; height: 42px;
    border-radius: 8px;
    border: none;
    background: var(--primary-gold);
    color: var(--primary-navy);
    font-size: 0.9rem;
    cursor: pointer;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .18s;
}
.nl-quick-btn:hover { opacity: .88; }

.nl-message {
    display: none;
    font-size: 0.78rem;
    line-height: 1.4;
    margin-top: 6px;
}
.nl-message.success { color: #5ecc88; }
.nl-message.error   { color: #ff8080; }
.nl-message.warning { color: #ffc107; }


/* ── Newsletter Modal ───────────────────────────────────────── */

.nl-modal-content {
    background: #111c2d;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    overflow: hidden;
    color: #fff;
    position: relative;
}

/* Floating close button */
.nl-modal-close {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(255,255,255,.07);
    border: none;
    color: rgba(255,255,255,.45);
    width: 30px; height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    transition: background .18s, color .18s;
    z-index: 1;
}
.nl-modal-close:hover { background: rgba(255,255,255,.14); color: #fff; }

/* Hero header */
.nl-modal-hero {
    position: relative;
    background: linear-gradient(145deg, #0d1a2d 0%, #112240 55%, #0a1628 100%);
    padding: 22px 24px 18px;
    text-align: center;
    overflow: hidden;
}
.nl-modal-hero::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,.12) 0%, transparent 70%);
    pointer-events: none;
}
.nl-modal-hero::after {
    content: '';
    position: absolute;
    bottom: -30px; left: -30px;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,.07) 0%, transparent 70%);
    pointer-events: none;
}
.nl-modal-hero-icon {
    width: 62px; height: 62px;
    margin: 0 auto 14px;
    background: rgba(212,175,55,.12);
    border: 1px solid rgba(212,175,55,.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-gold);
    box-shadow: 0 0 18px rgba(212,175,55,.2);
}

/* Title */
.nl-modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    position: relative; z-index: 1;
}

.nl-modal-tagline {
    font-size: 0.76rem;
    color: rgba(255,255,255,.4);
    margin: 0 0 16px;
    position: relative; z-index: 1;
}

.nl-modal-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    position: relative; z-index: 1;
}
.nl-modal-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    font-size: 0.72rem;
    color: rgba(255,255,255,.55);
}
.nl-modal-benefits span i {
    color: var(--primary-gold);
    font-size: 0.68rem;
}

/* Email row */
.nl-email-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.83rem;
    color: rgba(255,255,255,.5);
}
.nl-email-row i { color: var(--primary-gold); font-size: 0.78rem; }
.nl-email-row span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nl-email-change {
    background: none; border: none;
    font-size: 0.72rem; color: var(--primary-gold);
    cursor: pointer; padding: 0; flex-shrink: 0;
    opacity: .8;
}
.nl-email-change:hover { opacity: 1; text-decoration: underline; }

/* Field labels */
.nl-field-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: rgba(255,255,255,.35);
    margin-bottom: 8px;
}
.nl-optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(255,255,255,.25);
    font-size: 0.7rem;
}

/* Name input */
.nl-field-input {
    width: 100%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.84rem;
    height: 42px;
    padding: 0 14px;
    transition: border-color .2s, background .2s;
    outline: none;
}
.nl-field-input::placeholder { color: rgba(255,255,255,.25); }
.nl-field-input:focus {
    border-color: var(--primary-gold);
    background: rgba(255,255,255,.09);
}

/* Topic chips */
.nl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.nl-chip-label { cursor: pointer; margin: 0; }
.nl-chip-checkbox { display: none; }
.nl-chip-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.45);
    font-size: 0.76rem;
    transition: all .15s;
    user-select: none;
}
.nl-chip-pill i { font-size: 0.68rem; }
.nl-chip-pill:hover { border-color: var(--primary-gold); color: var(--primary-gold); }
.nl-chip-checkbox:checked + .nl-chip-pill {
    border-color: var(--primary-gold);
    background: rgba(212,175,55,.15);
    color: var(--primary-gold);
    font-weight: 600;
}

/* Frequency */
.nl-freq-group { display: flex; gap: 6px; }
.nl-freq-label { flex: 1; cursor: pointer; margin: 0; }
.nl-freq-radio { display: none; }
.nl-freq-pill {
    display: block;
    text-align: center;
    padding: 7px 0;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.4);
    font-size: 0.78rem;
    transition: all .15s;
    user-select: none;
}
.nl-freq-pill:hover { border-color: var(--primary-gold); color: var(--primary-gold); }
.nl-freq-radio:checked + .nl-freq-pill {
    border-color: var(--primary-gold);
    background: rgba(212,175,55,.15);
    color: var(--primary-gold);
    font-weight: 700;
}

/* Submit */
.nl-submit-btn {
    width: 100%;
    padding: 11px;
    border-radius: 9px;
    border: none;
    background: var(--primary-gold);
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    gap: 8px;
    transition: opacity .2s, transform .15s;
    display: flex; align-items: center; justify-content: center;
}
.nl-submit-btn:hover { opacity: .9; transform: translateY(-1px); }
.nl-submit-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* Modal error message */
.nl-modal-message {
    font-size: 0.78rem;
    line-height: 1.4;
}
.nl-modal-message.error   { color: #ff8080; }
.nl-modal-message.warning { color: #ffc107; }

/* Success state */
.nl-success-icon { font-size: 2.4rem; color: #5ecc88; margin-bottom: 10px; }
.nl-success-title { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.nl-success-text { color: rgba(255,255,255,.5); font-size: 0.82rem; line-height: 1.5; margin: 0; }
