/* ============================================
   PAGE DE CONNEXION/INSCRIPTION - VERSION FINALE
   ============================================ */

/* Background principal */
#right {
    background: linear-gradient(180deg, #0a0e27 0%, #1a1042 50%, #2d1b4e 100%) !important;
    min-height: 100vh !important;
    color: rgba(255, 215, 0, 0.8) !important
}

.index_content {
    background: transparent !important;
}

/* Titres */
#right h1 {
    font-family: 'Cormorant Garamond', serif !important;
    color: #ffd700 !important;
    font-size: 2rem !important;
    text-align: center !important;
    font-weight: 400 !important;
    margin-bottom: 2rem !important;
}

#right h2 {
    font-family: 'Montserrat', sans-serif !important;
    color: #e0d5f5 !important;
    font-size: 1.1rem !important;
    text-align: center !important;
    line-height: 1.6 !important;
    font-weight: 300 !important;
}

/* Boutons sociaux */
.btn-google,
.btn-facebook {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
    border-radius: 50px !important;
    color: #e0d5f5 !important;
    padding: 0.9rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.8rem !important;
    margin-bottom: 1rem !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2) !important;
    width: 100% !important;
    text-decoration: none !important;
}

.btn-google:hover,
.btn-facebook:hover {
    border-color: #ffd700 !important;
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(199, 36, 177, 0.3) !important;
}

.btn-google i,
.btn-facebook i {
    color: #ffd700 !important;
    font-size: 1.2rem !important;
}

.btn-brand-name {
    color: #e0d5f5 !important;
}

/* Formulaire - tous les champs */
#registration > div,
.input,
.input-field {
    margin-bottom: 1.5rem !important;
}

/* Labels */
#registration label,
.input label,
.input-field label {
    color: rgba(255, 215, 0, 0.8) !important;
    font-size: 0.9rem !important;
}

#registration label.active,
.input label.active,
.input-field label.active {
    color: #ffd700 !important;
}

/* Inputs */
#registration input[type="email"],
#registration input[type="password"],
#registration input[type="text"],
#registration input[type="date"],
.input input,
.input-field input {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3) !important;
    color: #e0d5f5 !important;
    font-size: 1rem !important;
    width: 100% !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    height: 40px;
}

#registration input:focus,
.input input:focus,
.input-field input:focus {
    border-bottom: 2px solid #ffd700 !important;
    box-shadow: 0 1px 0 0 #ffd700 !important;
    background: transparent !important;
    outline: none !important;
}

/* Liste exigences mot de passe */
#registration_password_help ol {
    list-style: none !important;
    padding: 0 !important;
    margin: 0.5rem 0 0 0 !important;
}

#registration_password_help ol li {
    color: rgba(224, 213, 245, 0.6) !important;
    font-size: 0.8rem !important;
    padding: 0.2rem 0 !important;
}

#registration_password_help ol li::before {
    content: '○ ' !important;
    color: rgba(255, 215, 0, 0.5) !important;
}

#registration_password_help ol li.valid::before {
    content: '● ' !important;
    color: #ffd700 !important;
}

/* Bouton voir mot de passe */
.input-adornment {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0.5rem !important;
}

.input-adornment svg {
    width: 20px !important;
    height: 20px !important;
    fill: rgba(255, 215, 0, 0.7) !important;
}

.input-adornment:hover svg {
    fill: #ffd700 !important;
}

/* Bouton principal */
.btn-primary,
button[type="submit"] {
    background: linear-gradient(135deg, #c724b1 0%, #8b1a7e 100%) !important;
    color: white !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    box-shadow: 0 10px 40px rgba(199, 36, 177, 0.4) !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    text-transform: none !important;
    height: 70px;
}

.btn-primary:hover,
button[type="submit"]:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 50px rgba(199, 36, 177, 0.6) !important;
}


/* Responsive */
@media (max-width: 480px) {
    #right h1 {
        font-size: 1.6rem !important;
    }

    #right h2 {
        font-size: 1rem !important;
    }

    .btn-google,
    .btn-facebook,
    .btn-primary {
        padding: 0.8rem 1.2rem !important;
        font-size: 0.95rem !important;
    }
}