/* Style Global pour la section Connexion */
.auth-section {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    padding: 40px 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.user-icon {
    font-size: 60px;
    color: var(--primary-color); /* Le rouge #e50914 */
    margin-bottom: 10px;
}

.login-header h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.login-header p {
    color: #777;
    font-size: 14px;
}

/* Formulaire */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--primary-color);
}

.prefix {
    padding-left: 12px;
    color: #777;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    line-height: 1; /* Aligne le texte sur une seule ligne */
}

.input-wrapper input {
    width: 100%;
    padding: 12px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
}

.toggle-password {
    padding: 0 15px;
    cursor: pointer;
    color: #777;
    font-size: 20px;
}

/* Options et Liens */
.form-options {
    text-align: right;
    margin-bottom: 25px;
}

.forgot-link {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #b20710;
}

.form-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.form-footer a {
    color: var(--primary-color);
    font-weight: bold;
}

/* Message d'erreur */
.error-banner {
    background-color: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}