 :root {
    --pos-primary: #0f5132;
    --pos-accent: #198754;
    --pos-bg: #f4f7f6;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--pos-bg);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.login-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 1000px;
    min-height: 600px;
    display: flex;
}

/* Section Gauche : Image et Info */
.login-info-side {
    background: linear-gradient(135deg, var(--pos-primary) 0%, #062b1a 100%);
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    position: relative;
    overflow: hidden;
}

/* Décoration d'arrière-plan */
.login-info-side::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.company-logo {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #deff9a;
}

/* Section Droite : Formulaire */
.login-form-side {
    padding: 60px;
    width: 50%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-control {
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    margin-bottom: 5px;
}

.form-control:focus {
    border-color: var(--pos-accent);
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.1);
}

.btn-login {
    background-color: var(--pos-accent);
    color: white;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    width: 100%;
    border: none;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-login:hover {
    background-color: var(--pos-primary);
    color: white;
    transform: translateY(-2px);
}

.auth-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.auth-links a:hover {
    color: var(--pos-accent);
}
.btn-action {
    background-color: var(--pos-accent);
    color: white;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.btn-action:hover {
    background-color: var(--pos-primary);
    color: white;
    transform: translateY(-2px);
}
/* Responsive */
@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
        margin: 20px;
        min-height: auto;
    }
    .login-info-side, .login-form-side {
        width: 100%;
        padding: 40px 30px;
    }
    .login-info-side {
        text-align: center;
        align-items: center;
    }
}
