/* --- RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- BODY (INDEX STYLE) --- */
body {
    min-height: 100vh;
    background-color: #050301;
    background-image: 
        radial-gradient(circle at 50% 115%, rgba(255, 120, 0, 0.35) 0%, transparent 70%),
        radial-gradient(circle at 50% -15%, rgba(255, 120, 0, 0.25) 0%, transparent 50%),
        linear-gradient(to bottom, #120c05 0%, #050301 30%, #050301 75%, #1a0f05 100%);
    background-attachment: fixed;
    color: white;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Aligne vers le haut pour éviter de couper le logo */
    padding: 60px 20px;
    overflow-y: auto; /* Autorise le scroll proprement */
}

/* --- WRAPPER --- */
.login-wrapper {
    width: 100%;
    max-width: 410px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- HEADER (LOGO NON COUPÉ) --- */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header .logo {
    height: 50px;
    width: auto;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.login-header h1 {
    font-size: 15px;
    font-weight: 400;
    color: rgb(255, 255, 255);
}

/* --- LA CARTE GLASS (ANTI-MARRON) --- */
.login-card {
    width: 100%;
    padding: 35px 30px;
    border-radius: 24px;
    /* On force le noir transparent pour tuer le marron */
    background: rgba(55, 25, 0, 0.687) !important; 
    backdrop-filter: blur(25px) saturate(170%);
    -webkit-backdrop-filter: blur(25px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* --- ÉLÉMENTS INTERNES --- */
.google-btn {
    width: 100%;
    background: white;
    color: black;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-family: inherit;
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    font-size: 11px;
    color: #555;
    font-weight: 800;
}
.divider::before, .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 10px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-size: 13px;
    color: #ccc;
    margin-bottom: 6px;
}

.input-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 15px;
    border-radius: 10px;
    outline: none;
}

.input-group input:focus {
    border-color: #ff7800;
}

/* CHECKBOX */
.checkbox-group {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}
.checkbox-group input { accent-color: #ff7800; }
.checkbox-group label { font-size: 11px; color: #888; line-height: 1.4; }
.checkbox-group a { color: #ff7800; text-decoration: none; }

/* BOUTON ORANGE */
.submit-btn {
    width: 100%;
    background: #ff7800;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
}

.tokens-info {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 15px;
}

.signup-text {
    margin-top: 25px;
    color: #9b9b9b;
    font-size: 13px;
}
.signup-link { color: #ff7800; text-decoration: none; font-weight: 600; }

/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}