:root {
    --primary: #2563eb;
    --dark: #0f172a;
    --light-bg: #f8fafc;
}
.brand-logo a img {
    filter: drop-shadow(0px 6px 10px rgba(0,0,0,0.25)); /* Ajoute une ombre portée numérique */
    transition: transform 0.3s ease; /* Prépare une animation au survol */
}

.brand-logo a:hover img {
    transform: scale(1.03); /* Petit effet de zoom subtil au survol */
}


body, html {
    height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
}

.main-wrapper { height: 100vh; overflow: hidden; }

/* CÔTÉ GAUCHE : DESIGN INSTITUTIONNEL */
.content-side {
    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&q=80') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    padding: 10% !important;
    color: white;
}

.content-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.content-inner { position: relative; z-index: 2; width: 100%; }

.brand-logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -1px; }
.brand-logo span { color: #fff; }

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card .icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.feature-card h5 { font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: #94a3b8; }

/* CÔTÉ DROIT : AUTHENTIFICATION */
.auth-side {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
}

.auth-container {
    width: 100%;
    max-width: 440px;
    padding: 2rem;
}

.demo-box {
    background: #fff;
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.auth-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #f1f5f9;
}

.tab-btn {
    flex: 1;
    padding: 1.2rem;
    border: none;
    background: none;
    font-size: 0.95rem;
    color: #64748b;
    transition: 0.3s;
}

.tab-btn.active {
    color: var(--primary);
    background: #fff;
    border-bottom: 2px solid var(--primary);
    font-weight: 700;
}

.auth-content { padding: 2rem; }

.form-label { font-size: 0.85rem; font-weight: 600; color: #475569; }

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.form-control:focus {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    border-color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    border: none;
    border-radius: 8px;
    transition: transform 0.2s;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); }

/* RESPONSIVE */
@media (max-width: 991px) {
    .main-wrapper { 
        height: auto; 
        overflow-y: auto; 
    }
    .content-side {
        padding: 40px 20px !important;
        min-height: auto; /* Évite que la colonne prenne tout l'écran */
    }
    .features-grid {
        grid-template-columns: 1fr; /* Une seule colonne pour les icônes sur mobile */
        gap: 1.5rem;
    }
    .auth-side {
        padding: 40px 0;
        background: #fff; /* Fond blanc pour bien séparer du bloc sombre */
    }
    .auth-container {
        margin-top: -30px; /* Effet de chevauchement léger */
        position: relative;
        z-index: 5;
    }
}

/* Ajouts pour la page Register */
.btn-success {
    background-color: #10b981;
    border: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-success:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.pricing-card-promo {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #fde047;
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    max-width: 400px;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fde047;
    line-height: 1;
}

.price-tag small {
    font-size: 1rem;
    color: #fff;
    font-weight: 400;
}

/* Tab link simulation for registration */
.tab-btn.text-decoration-none:hover {
    background: #f8fafc;
    color: var(--primary);
}