/* style_login.css */

body {
    background-color: #f5f7fa;
    color: #333;
}

.login-container {
    display: flex;
    max-width: 1200px;
    margin: 30px auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.login-form-section {
    flex: 1;
    padding: 40px;
}

.login-info-section {
    flex: 1;
    background-color: #3498db;
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-info-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.login-info-section p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.login-info-section ul {
    list-style: none;
    margin-bottom: 30px;
}

.login-info-section li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.login-info-section li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2ecc71;
    font-weight: bold;
}

h1 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-login:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(46, 204, 113, 0.3);
}

.login-links {
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
}

.login-links a {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.login-links a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.alert {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert.error {
    background-color: #fdecea;
    color: #d32f2f;
    border-left: 4px solid #d32f2f;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-form-section, .login-info-section {
        padding: 30px;
    }
    
    .login-info-section {
        order: -1;
    }
}
.register-container {
    display: flex;
    max-width: 1200px;
    margin: 30px auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.register-form-section {
    flex: 1;
    padding: 40px;
}

.register-info-section {
    flex: 1;
    background-color: #3498db;
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Réutilise les mêmes styles que login pour la partie info */

.password-hint {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .register-container {
        flex-direction: column;
    }
    
    .register-form-section, .register-info-section {
        padding: 30px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
.auth-form {
    margin-top: 30px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 35px;
    cursor: pointer;
    color: #7f8c8d;
}

.password-toggle:hover {
    color: #3498db;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.remember-me {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #7f8c8d;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    font-size: 14px;
    color: #3498db;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #7f8c8d;
}

.auth-footer a {
    color: #3498db;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.social-login {
    margin-top: 30px;
}

.social-login p {
    margin-bottom: 15px;
    position: relative;
    text-align: center;
}

.social-login p::before,
.social-login p::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #eaeaea;
    margin: auto 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: all 0.3s;
}

.social-btn.google {
    background-color: #db4437;
}

.social-btn.facebook {
    background-color: #4267B2;
}

.social-btn.twitter {
    background-color: #1DA1F2;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style pour la section info */
.info-content {
    max-width: 80%;
    margin: 0 auto;
}

.intro {
    font-size: 16px;
    margin-bottom: 25px;
}

.features-list {
    margin-bottom: 40px;
}

.features-list li {
    margin-bottom: 15px;
    font-size: 15px;
    padding-left: 35px;
}

.features-list i {
    color: #2ecc71;
    margin-right: 10px;
    font-size: 18px;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
}

.quote {
    font-style: italic;
    margin-bottom: 10px;
    font-size: 15px;
}

.author {
    text-align: right;
    font-size: 14px;
    font-weight: 500;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-form-section, .login-info-section {
    animation: fadeIn 0.6s ease-out;
}

.login-form-section {
    animation-delay: 0.1s;
}

.login-info-section {
    animation-delay: 0.3s;
}