﻿*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --bg: #0b0f19;
    --card: #111726;
    --accent: #000;
    --text: #000;
    --muted: #000;
    --success: #2ecc71;
    --error: #ff4d4f;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.nl-hidden {
    display: none !important
}

/* Overlay & Modal */
#nl-overlay, #nl-confirmation-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: grid;
    place-items: center;
    z-index: 9999;
    padding: 16px;
}

#nl-modal, #nl-confirmation-modal {
    width: 100%;
    max-width: 560px;
    /*background: linear-gradient(180deg,#141b2e,#0e1424);*/
    background:#fff;
    color: var(--text);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    overflow: hidden;
    outline: none;
}

#nl-confirmation-modal {
    width: 400px;
    text-align: center;
    padding-bottom: 20px;
}

/* Hero image (placeholder) */
.nl-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16/6;
    background: #0e1424
}

    .nl-hero img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
        filter: brightness(.9);
    }

.nl-header {
    padding: 22px 22px 0
}

.nl-badge {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(124,92,255,.15);
    color: #cfc6ff;
    padding: 6px 10px;
    border-radius: 999px;
}

.nl-body {
    padding: 18px 22px 0
}

.nl-title {
    margin: 10px 0 6px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
}

.nl-sub {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.nl-form {
    display: grid;
    gap: 12px;
    padding: 18px 22px 22px;
    margin-bottom:unset;
}

.nl-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: stretch;
    justify-items: start;
}

.nl-input {
    width: 100%;
    font: inherit;
    border: 1px solid #000;
    /*background: #0c1222;*/
    color: var(--text);
    padding: 12px 14px;
    border-radius: 12px;
    outline: none;
    margin: 0;
}

    .nl-input:focus {
        border-color: var(--accent);
        /*box-shadow: 0 0 0 3px rgba(0,0,0,.25);*/
    }

.nl-btn {
    border: none;
    cursor: pointer;
    white-space: nowrap;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 12px;
}

.nl-close-confirmation {
    background: black !important;
}

.nl-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.nl-consent {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    display: flex;
    gap: 8px;
}

    .nl-consent a {
        color: #000;
        text-decoration: underline!important;
    }

.nl-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    /*background: #0a0f1c;*/
    background:#fff;
    border-top: 1px solid #1c253d;
}

.nl-close {
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

    .nl-close:focus {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }

.nl-status {
    font-size: 13px;
}

    .nl-status.success {
        color: var(--success);
    }

    .nl-status.error {
        color: var(--error);
    }

@media (max-width:520px) {
    .nl-row {
        grid-template-columns: 1fr;
    }

    .nl-title {
        font-size: 20px;
    }
}

