/* Zorg dat de content verticaal gecentreerd wordt op het scherm */
.landing-container {
    min-height: 80vh; /* Pak de hoogte van het scherm */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Een strakkere, iets bredere kaart voor de login */
.landing-card {
    background: rgba(255, 255, 255, 0.98); /* Heel licht transparant */
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 480px;
    border-top: 5px solid var(--brand-color);
    text-align: center;
}

.landing-logo {
    max-height: 80px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Input velden mooier maken */
.login-group {
    text-align: left;
    margin-bottom: 20px;
}

.login-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #334155;
    font-size: 0.9rem;
}

.login-input {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box; /* Belangrijk zodat padding niet buiten width valt */
}

.login-input:focus {
    border-color: var(--brand-color);
    box-shadow: 0 0 0 3px rgba(0, 25, 48, 0.1); /* Subtiele focus ring */
    outline: none;
}

.btn-large {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.divider {
    margin: 30px 0;
    border-top: 1px solid #e2e8f0;
    position: relative;
}

.divider-text {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0 15px;
    color: #94a3b8;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* We overschrijven hier eventuele vage styling uit home.css */
.login-input {
    background-color: #ffffff !important;
    border: 2px solid #94a3b8 !important; /* Duidelijke grijze rand */
    color: #0f172a !important;            /* Donkere, leesbare tekst */
    font-weight: 500 !important;
    padding: 12px 15px !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}

.login-input:focus {
    border-color: var(--brand-color, #001930) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 25, 48, 0.1) !important;
}

.login-input::placeholder {
    color: #64748b !important; /* Donkerder grijs voor placeholder */
    opacity: 1;
}

/* --- 2. DARK OVERLAY STYLING --- */
.dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 25, 48, 0.98); /* Brand Dark Blue */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    color: #fff;
}

.overlay-content {
    background: #0B253A;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 450px;
    width: 90%;
    border: 1px solid rgba(255,255,255,0.1);
    animation: slideUp 0.4s ease-out;
}

.overlay-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.overlay-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.overlay-text {
    font-size: 1rem;
    color: #cbd5e1; /* Lichter grijs voor beter contrast op donker */
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Token Input in Overlay - SPECIFIEKE FIX */
.token-input-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.overlay-input {
    background: rgba(255,255,255,0.1) !important; /* Iets lichter vlak */
    border: 2px solid rgba(255,255,255,0.5) !important; /* Duidelijke rand */
    color: #ffffff !important;
    padding: 12px;
    border-radius: 6px;
    width: 100%;
    text-align: center;
    letter-spacing: 2px;
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: 600;
}

.overlay-input::placeholder {
    color: rgba(255,255,255,0.5) !important; /* Leesbare placeholder */
}

.overlay-input:focus {
    outline: none;
    border-color: #3b82f6 !important; /* Fel blauw bij focus */
    background: rgba(255,255,255,0.15) !important;
}

.overlay-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.overlay-btn:hover { background: #2563eb; }
.overlay-btn:disabled { background: #64748b; cursor: not-allowed; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}