/* =========================================================
   LOGIN MODAL , LOS VAN REST VAN DE SITE
   ========================================================= */

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: "Century Gothic", "Segoe UI", Arial, sans-serif;
    background:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
        url("/Image/Zonsondergang.jpg") center center / cover fixed no-repeat;
    color: #ffffff;
}

/* =========================================================
   DEBUG BALK
   ========================================================= */

.nl-login-debug {
    background: #fff2ca;
    color: #ff8700;
    text-align: center;
    padding: 10px 14px;
    font-size: 1rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
}

/* =========================================================
   OVERLAY
   ========================================================= */

.nl-login-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-sizing: border-box;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.nl-login-overlay.nl-login-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@keyframes nlLoginOverlayFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* =========================================================
   DIALOG
   ========================================================= */

.nl-login-dialog {
    position: relative;
    width: min(100%, 460px);
    background: linear-gradient(180deg, #101010 0%, #070707 100%);
    border: 1px solid rgba(255, 166, 0, 0.72);
    border-radius: 18px;
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.62),
        0 8px 22px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.04);
    overflow: hidden;
    animation: nlLoginDialogShow 0.22s cubic-bezier(.35, 1.15, .45, 1);
}

@keyframes nlLoginDialogShow {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================================
   CLOSE
   ========================================================= */

.nl-login-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #ffc56a;
    font-size: 2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.16s ease,
        color 0.16s ease,
        border-color 0.16s ease,
        transform 0.12s ease;
}

.nl-login-close:hover,
.nl-login-close:focus {
    background: rgba(255, 166, 0, 0.12);
    color: #ffffff;
    border-color: rgba(255, 166, 0, 0.22);
    outline: none;
}

.nl-login-close:active {
    transform: scale(0.96);
}

/* =========================================================
   HEADER
   ========================================================= */

.nl-login-head {
    padding: 22px 22px 14px 22px;
    background: linear-gradient(180deg, #171717 0%, #101010 100%);
    border-bottom: 1px solid rgba(255, 166, 0, 0.20);
}

.nl-login-title {
    margin: 0;
    color: orange;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.nl-login-accent {
    width: 34px;
    height: 3px;
    margin-top: 10px;
    border-radius: 2px;
    background: linear-gradient(90deg, orange 0%, #ff8c00 100%);
}

/* =========================================================
   BODY
   ========================================================= */

.nl-login-body {
    padding: 18px 22px 22px 22px;
    background: linear-gradient(180deg, #101010 0%, #090909 100%);
}

.nl-login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nl-login-field {
    display: flex;
    flex-direction: column;
}

.nl-login-label {
    display: block;
    margin-bottom: 7px;
    color: #ffd59a;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: left;
    text-shadow: 0 1px 1px rgba(0,0,0,0.35);
}

/* =========================================================
   INPUTS
   ========================================================= */

.nl-login-input {
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    padding: 0 14px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 166, 0, 0.72);
    background: linear-gradient(180deg, #1e1e1e 0%, #171717 100%);
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 1px 4px rgba(0,0,0,0.18);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.nl-login-input::placeholder {
    color: rgba(255,255,255,0.34);
}

.nl-login-input:focus {
    border-color: orange;
    background: linear-gradient(180deg, #232323 0%, #1b1b1b 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 0 0 3px rgba(255, 166, 0, 0.10);
}

/* Autofill fix voor Chrome / Edge */
.nl-login-input:-webkit-autofill,
.nl-login-input:-webkit-autofill:hover,
.nl-login-input:-webkit-autofill:focus,
.nl-login-input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff;
    caret-color: #ffffff;
    -webkit-box-shadow: 0 0 0 1000px #1a1a1a inset;
    box-shadow: 0 0 0 1000px #1a1a1a inset;
    border: 1.5px solid rgba(255, 166, 0, 0.72);
    transition: background-color 9999s ease-in-out 0s;
}

/* =========================================================
   REMEMBER ME
   ========================================================= */

.nl-login-remember {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 2px;
    color: #f2d5a0;
    font-size: 0.98rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    user-select: none;
}

.nl-login-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin: 0;
    border-radius: 6px;
    border: 1.5px solid rgba(255, 166, 0, 0.80);
    background: linear-gradient(180deg, #1f1f1f 0%, #151515 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 1px 4px rgba(0,0,0,0.15);
    position: relative;
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.nl-login-checkbox:focus {
    outline: none;
    border-color: orange;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 0 0 3px rgba(255, 166, 0, 0.10);
}

.nl-login-checkbox:checked {
    background: linear-gradient(180deg, #ffb000 0%, #f08b00 100%);
    border-color: orange;
}

.nl-login-checkbox:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #111111;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.nl-login-remember-text {
    line-height: 1.3;
}

/* =========================================================
   BUTTON
   ========================================================= */

.nl-login-submit {
    width: 100%;
    height: 50px;
    margin-top: 4px;
    padding: 0 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffb000 0%, #f08b00 100%);
    color: #111111;
    font-size: 1.12rem;
    font-weight: 800;
    font-family: inherit;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow:
        0 6px 16px rgba(255,140,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.24);
    transition:
        transform 0.12s ease,
        filter 0.16s ease,
        box-shadow 0.16s ease;
}

.nl-login-submit:hover {
    filter: brightness(1.04);
    box-shadow:
        0 8px 18px rgba(255,140,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.28);
}

.nl-login-submit:active {
    transform: translateY(1px);
}

/* =========================================================
   ERROR
   ========================================================= */

.nl-login-error {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 90, 90, 0.20);
    background: rgba(255, 70, 70, 0.08);
    color: #ff8a8a;
    font-size: 0.94rem;
    font-weight: 700;
    text-align: left;
    box-sizing: border-box;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {
    .nl-login-overlay {
        padding: 14px;
    }

    .nl-login-dialog {
        width: 100%;
        border-radius: 16px;
    }

    .nl-login-head {
        padding: 18px 18px 13px 18px;
    }

    .nl-login-title {
        font-size: 1.8rem;
    }

    .nl-login-body {
        padding: 16px 18px 18px 18px;
    }

    .nl-login-input,
    .nl-login-submit {
        height: 48px;
    }

    .nl-login-remember {
        font-size: 0.94rem;
    }
}