/* ── Newsletter Signup Widget ────────────────────────────── */
.nl-wrap {
    position: relative;
    width: 100%;
    max-width: 680px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin: 0 auto;
}

/* semi-transparent blue overlay (matches screenshot) */
.nl-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 30, 70, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 0;
}

.nl-form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nl-input-wrap {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 14px 0 18px;
    gap: 10px;
}

/* Email input */
.nl-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    letter-spacing: 0.02em;
    caret-color: rgba(255,255,255,0.8);
    min-width: 0;
    /* subtle bottom border like screenshot */
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 2px;
    transition: border-color 0.25s ease;
}

.nl-input::placeholder {
    color: black;
    font-size: 15px;
}

.nl-input:focus {
    border-bottom-color: rgba(255, 255, 255, 0.85);
}

/* User icon (decorative) — placed just before button */
/**/

/* Submit button — circle arrow */
.nl-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(200, 175, 90, 0.85);
    background: transparent;
    color: rgba(200, 175, 90, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.22s ease, color 0.22s ease, transform 0.18s ease;
    order: 3;
}

.nl-btn svg {
    width: 20px;
    height: 20px;
    stroke: rgba(200, 175, 90, 0.9);
    transition: stroke 0.22s ease;
}

.nl-btn:hover {
    background: rgba(200, 175, 90, 0.2);
    transform: scale(1.08);
}

.nl-btn:active {
    transform: scale(0.96);
}

/* Loading spinner state */
.nl-btn.nl-loading {
    pointer-events: none;
    opacity: 0.7;
}

.nl-btn.nl-loading svg {
    animation: nl-spin 0.7s linear infinite;
}

@keyframes nl-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Message bar */
.nl-msg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 12.5px;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    text-align: center;
    padding: 3px 12px;
    transform: translateY(100%);
    transition: transform 0.28s ease, opacity 0.28s ease;
    opacity: 0;
    pointer-events: none;
    border-radius: 0 0 6px 6px;
}

.nl-msg.nl-show {
    transform: translateY(0);
    opacity: 1;
}

.nl-msg.nl-success {
    background: rgba(40, 160, 100, 0.88);
    color: #fff;
}

.nl-msg.nl-error {
    background: rgba(200, 60, 60, 0.88);
    color: #fff;
}

/* Responsive */
@media (max-width: 480px) {
    .nl-wrap { height: 56px; }
    .nl-input-wrap { height: 56px; padding: 0 10px 0 14px; }
    .nl-input { font-size: 14px; }
}
