.auth-container {
    display: flex;
    min-height: 100vh;
    padding-top: 80px;
}

.auth-left {
    flex: 1;
    background: linear-gradient(135deg, #232425a2, #23242575), url("../img/nice-landscape.jpg") center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(17, 145, 81, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.auth-hero {
    max-width: 600px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-icon {
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-logo {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 10px 30px rgba(17, 145, 81, 0.3));
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon-modern {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Section droite (formulaire) */
.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: #34495e;
}

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

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Formulaires */
.auth-form {
    width: 100%;
}

.form-group-modern {
    margin-bottom: 25px;
}

.form-group-modern label {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(17, 145, 81, 0.2);
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.password-toggle:hover {
    opacity: 1;
}

.form-footer {
    margin-top: 30px;
    text-align: center;
}

.form-footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.signup-link {
    color: #3498DB;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.signup-link:hover {
    color: #5dade2;
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    padding: 16px;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(17, 145, 81, 0.3);
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 145, 81, 0.4);
}

.btn-auth:active {
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .auth-container {
        flex-direction: column;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 40px 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .auth-right {
        padding: 30px 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .form-header h2 {
        font-size: 1.75rem;
    }

    .desktop-header {
        padding: 10px 20px;
    }
}
