/* Styles pour les formulaires d'authentification */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--yellow-primary);
}

.auth-card h1 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--yellow-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 203, 5, 0.2);
}

.btn-primary {
    background-color: var(--yellow-primary);
    color: #333;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    width: 100%;
}

.btn-primary:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-block {
    display: block;
    width: 100%;
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-links p {
    margin: 0.5rem 0;
}

.auth-links a {
    color: var(--yellow-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.auth-links a:hover {
    color: #e6b800;
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .auth-card {
        padding: 1.5rem;
    }
}
