/* Styles communs pour les pages de connexion */
body.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px 0;
}

/* Style spécifique pour la connexion admin */
body.admin-login {
    background-color: #f4f6f9;
}

/* Style spécifique pour la connexion patient */
body.patient-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    width: 600px;
    max-width: 90%;
}

/* Logo admin */
.login-logo.admin a {
    font-size: 2.1rem;
    font-weight: 300;
    margin-bottom: .9rem;
    display: block;
    text-align: center;
    color: #495057;
    text-decoration: none;
}

/* Dento au-dessus du nom : un rond blanc, légèrement détaché du fond gris. */
.login-logo__mascot {
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto .75rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

/* Logo patient */
.login-logo.patient a {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Card pour connexion patient */
.card.patient-card {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: none;
    border-radius: 15px;
}

.login-card-body {
    padding: 2rem;
}

/* Styles communs pour les champs de saisie */
.login-card-body .input-group .form-control {
    border-right: 0;
    height: 48px;
    padding: 12px 15px;
}

/* Style admin pour les champs */
.admin-login .login-card-body .input-group .form-control {
    border-radius: 0.375rem 0 0 0.375rem;
}

/* Style patient pour les champs */
.patient-login .login-card-body .input-group .form-control {
    border-radius: 10px 0 0 10px;
}

/* Styles communs pour les icônes */
.login-card-body .input-group .input-group-text {
    background-color: transparent;
    border-left: 0;
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

/* Style admin pour les icônes */
.admin-login .login-card-body .input-group .input-group-text {
    border-radius: 0 0.375rem 0.375rem 0;
}

/* Style patient pour les icônes */
.patient-login .login-card-body .input-group .input-group-text {
    border-radius: 0 10px 10px 0;
    color: #667eea;
}

/* Bouton pour la connexion patient */
.btn-primary.patient-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 500;
}

/* Styles spécifiques pour la page patient */
.info-text {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.security-notice {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 0.9rem;
}
