/* --- RESET GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- BODY (REPRISE DE TON INDEX) --- */
body {
    min-height: 100vh;
    background-color: #050301;
    
    /* DOUBLE HALO ATMOSPHÉRIQUE ORANGE */
    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; /* Centrage vertical */
    align-items: center;     /* Centrage horizontal */
    overflow: hidden;        /* Évite le scroll */
}

/* --- WRAPPER --- */
.login-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

/* --- LOGO & TITRE --- */
.login-header {
    text-align: center;
    margin-bottom: 20px;
}

.login-header .logo {
    height: 50px;
    margin-bottom: 25px;
}

.login-header h1 {
    font-size: 15px;
    font-weight: 400;
    color: #ffffff;
}

/* --- CARTE GLASSMORPHISM --- */
.login-card {
    background: rgba(55, 25, 0, 0.687) !important; /* <--- ICI (Transparence) */
    backdrop-filter: blur(15px) saturate(160%);    /* <--- ICI (Déformation/Flou) */
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    
    width: 100%;
    padding: 25px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* --- BOUTON GOOGLE --- */
.google-btn {
    width: 100%;
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s;
}

.google-btn:hover {
    background-color: #e6e6e6;
}

/* --- DIVIDER --- */
.divider {
    display: flex;
    align-items: center;
    margin: 18px 0;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider span {
    padding: 0 12px;
    color: #ae9e9e;
    font-size: 11px;
    font-weight: 700;
}

/* --- FORMULAIRE --- */
.input-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 6px;
}

.input-group input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #ff7800;
}

/* --- BOUTON SUBMIT --- */
.submit-btn {
    width: 100%;
    background: #ff7800;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 5px;
}

.submit-btn:hover {
    background: #e66a00;
}

/* --- LIENS --- */
.forgot-password {
    display: block;
    text-align: center;
    color: #8e8e8e;
    font-size: 12px;
    text-decoration: none;
    margin-top: 15px;
}

.forgot-password:hover { color: #fff; }

.signup-text {
    margin-top: 20px;
    color: #b9b9b9;
    font-size: 13px;
}

.signup-link {
    color: #ff7800;
    text-decoration: none;
    font-weight: 600;
}

.signup-link:hover { text-decoration: underline; }

/* État de base : invisible et légèrement plus bas */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* État final : visible et à sa place */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}