/* CSS pour les pages login et register */

body.auth-page {
    overflow: auto;
}

.auth-page header {
    position: relative;
    width: 100%;
    z-index: 1000;
}

.auth-page nav {
    padding: 1.5rem 2rem;
}

.auth-container {
    display: flex;
    height: auto;
    min-height: 90vh;
    width: 100%;
}

.auth-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding: 3rem 2rem;
    overflow-y: auto;
}

.auth-form-content {
    max-width: 450px;
    width: 100%;
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.auth-image-side {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.auth-image-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/image_login.jpg');
    background-size: cover;
    background-position: center;
    animation: zoomIn 20s ease-in-out infinite alternate;
}

.auth-image-side::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(90, 122, 90, 0.3) 0%, rgba(61, 79, 61, 0.5) 100%);
}

.auth-image-overlay {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    right: 3rem;
    z-index: 2;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.auth-image-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.auth-image-overlay p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
}

.auth-title {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.auth-subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.auth-form {
    width: 100%;
}

.auth-form .form-group {
    margin-bottom: 1.2rem;
}

.auth-form .btn {
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

.auth-footer a:hover {
    color: var(--accent);
}

@media (max-width: 968px) {
    .auth-container {
        flex-direction: column;
    }
    
    .auth-image-side {
        display: none;
    }
    
    .auth-form-side {
        height: 100vh;
    }
    
    .auth-page nav {
        margin: 1rem;
        padding: 1rem;
    }
}

