/* ========================================= */
/* 🌟 STATE OF THE ART LOGIN OVERLAY (V2)    */
/* ========================================= */

#login-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #02040a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    overflow-y: auto;
}

.hero-video-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0; /* Helemaal naar de achtergrond */
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover; /* Zorgt dat er geen zwarte balken ontstaan */
    
    /* Maak de video iets transparant/donkerder zodat de login kaart er nog uit knalt */
    opacity: 0.6; 
    pointer-events: none; /* Zorgt dat je niet per ongeluk op de video klikt */
}



/* ========================================= */
/* 🌟 STATE OF THE ART LOGIN OVERLAY (V2)    */
/* ========================================= */

#login-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    /* DE FIX: Dit was #02040a, en verborg de video. Nu is het doorzichtig! */
    background-color: transparent; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    overflow-y: auto;
}



.login-bg-overlay::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 20%, #02040a 80%);
}

.login-card-premium {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 420px;
    background: rgba(5, 11, 26, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 211, 238, 0.15);
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.9), inset 0 0 0 1px rgba(255,255,255,0.02);
    margin: 20px 0;
}

.login-hero-text {
    text-align: center;
    margin-bottom: 25px;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 900;
    margin: 0 0 8px 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #14F195 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #8892b0;
    line-height: 1.5;
    margin: 0;
}

.btn-state-of-art {
    background: #14F195;
    color: #02040a;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 14px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 20px rgba(20, 241, 149, 0.15);
}

.btn-state-of-art:hover {
    background: #17ffd0;
    box-shadow: 0 0 30px rgba(20, 241, 149, 0.4);
    transform: translateY(-2px);
}

.login-separator {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 15px;
}
.sep-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.sep-text {
    font-family: monospace;
    font-size: 9px;
    color: #555;
    letter-spacing: 2px;
}

.btn-secondary-auth {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.btn-secondary-auth:hover {
    background: rgba(34, 211, 238, 0.05);
    border-color: rgba(34, 211, 238, 0.4);
    color: #22d3ee;
}

.google-wrapper-premium {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    
    /* DE FIX VOOR DE GOOGLE KNOP: Strip alle styling van de buitenste container */
    background: transparent !important; 
    border: none !important; 
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0;
    min-height: 44px;
}
.google-wrapper-premium:hover {
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.1);
}

.auth-bridge-container {
    background: rgba(2, 4, 10, 0.8);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.bridge-input-premium {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #fff;
    padding: 14px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 13px;
    margin-bottom: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
.bridge-input-premium::placeholder { color: rgba(255,255,255,0.3); }
.bridge-input-premium:focus {
    outline: none;
    background: #000;
    border-color: #22d3ee;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3), inset 0 0 10px rgba(34, 211, 238, 0.1);
}

#bridge-code {
    font-size: 28px;
    letter-spacing: 12px;
    text-align: center;
    font-weight: 900;
    color: #14F195;
    background: rgba(0,0,0,0.9);
    border: 1px solid rgba(20, 241, 149, 0.3);
    text-transform: uppercase;
}
#bridge-code:focus {
    border-color: #14F195;
    box-shadow: 0 0 20px rgba(20, 241, 149, 0.3);
}

.auth-instruction-text {
    font-size: 11px; 
    color: #8892b0; 
    margin-bottom: 15px; 
    font-family: monospace; 
    text-align: center; 
    line-height: 1.5;
}
.auth-instruction-text span {
    color: #22d3ee;
    font-weight: bold;
}

.login-jup-btn-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(145deg, rgba(20, 241, 149, 0.05) 0%, transparent 100%);
    border: 1px solid rgba(20, 241, 149, 0.15);
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 25px;
    transition: all 0.3s ease;
}
.login-jup-btn-premium:hover {
    border-color: rgba(20, 241, 149, 0.4);
    background: linear-gradient(145deg, rgba(20, 241, 149, 0.12) 0%, transparent 100%);
}
.login-jup-btn-premium img {
    width: 28px; height: 28px; border-radius: 50%; background: #000;
}
.jup-text-wrapper {
    flex: 1; margin-left: 12px; display: flex; flex-direction: column;
}
.jup-title {
    color: #14F195; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 800; letter-spacing: 0.5px;
}
.jup-sub { color: #8892b0; font-size: 9px; font-family: 'Inter', sans-serif; }

@media (max-width: 450px) {
    .login-card-premium { padding: 25px 20px; }
    .hero-title, .hero-subtitle { font-size: 24px; }
    .app-brand-interface { margin-bottom: 25px !important; }
    .login-jup-btn-premium { margin-top: 20px; }
}