/* --- PAGE DE CONNEXION STYLE ARTIFACT --- */

@keyframes popInLogin {
    0% { opacity: 0; transform: scale(0.9) translateY(30px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* 1. Fond de la page (centrage vertical et horizontal) */
.login-page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh; /* Prend presque toute la hauteur de l'écran */
    background-color: #f5f5f5; /* Fond clair général */
    padding: 20px;
}

/* 2. La Carte de connexion (Le carré gris arrondi) */
.login-box {
    background-color: #E6E6E6; /* Le gris de votre image */
    padding: 50px 40px;
    border-radius: 40px;       /* Gros arrondis comme sur l'image */
    width: 100%;
    
    max-width: 450px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    animation: popInLogin 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* 3. Logo et Titre */
.login-logo img {
margin: auto;    width: 80px;  /* Taille du casque */
    height: auto;
    margin-bottom: 10px;
}

.login-title {
    font-family: 'Times New Roman', serif; /* Police avec empattement comme "Bienvenue" */
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-weight: normal;
}

/* --- PERSONNALISATION ULTIMATE MEMBER (UM) --- */

/* 4. Les Champs (Input) */
.login-box .um-field {
    margin-bottom: 20px !important;
}

/* Supprime les labels au-dessus si vous voulez que ce soit dans le placeholder, 
   sinon gardez-les. Sur votre image, il semble y avoir des placeholders. */


.login-box .um-form input[type=text],
.login-box .um-form input[type=password] {
    background-color: #F0F0F0;
    border: 1px solid #999; /* Bordure fine foncée */
    border-radius: 12px;    /* Arrondis des champs */
    padding: 15px !important;
    height: 50px !important;
    font-size: 16px;
    color: #333;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.login-box .um-form input[type=text]:focus,
.login-box .um-form input[type=password]:focus {
    background-color: #fff;
    border-color: #b8860b;
    box-shadow: 0 0 15px rgba(184, 134, 11, 0.2);
    outline: none;
}

.login-box .um-form input::placeholder {
    color: #666;
}

/* 5. Le Bouton Connexion */
.login-box .um-col-alt .um-button {
    background-color: #3E445B !important; /* Le bleu gris foncé de l'image */
    color: #fff !important;
    border-radius: 12px !important;
    line-height: 50px !important; /* Pour centrer le texte verticalement */
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: capitalize !important; /* Pas tout en majuscule */
    border: none !important;
    transition: background 0.3s ease;
    width: 100% !important;
    margin-top: 10px;
}

.login-box .um-col-alt .um-button:hover {
    background-color: #926b0b !important; /* Un peu plus foncé au survol */
}

/* 6. Lien retour et liens "Mot de passe oublié" */
.back-home-link {
    display: inline-block;
    margin-top: 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.um-field-area a {
    color: #666 !important;
    text-decoration: underline;
}