/* --- MODERN WHMCS CUSTOM CSS (SANS FOOTER) --- */

:root {
    --primary-color-modern: #0056b3; 
    --radius-soft: 12px;
    --radius-pill: 50px;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

/* 1. Global - Fond et Typo */
body {
    background-color: #f4f6f9;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 2. Les "Cartes" (Panels) */
.card, .panel, .home-shortcuts {
    border: none !important;
    border-radius: var(--radius-soft) !important;
    box-shadow: var(--shadow-soft) !important;
    background: #fff;
    margin-bottom: 25px !important;
}

/* Nettoyage des en-têtes */
.card-header, .panel-heading {
    background-color: transparent !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-weight: 700;
    padding: 15px 20px !important;
}

/* 3. Les Boutons */
.btn {
    border-radius: var(--radius-pill) !important;
    padding: 8px 25px !important;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 4. Formulaires */
.form-control {
    border-radius: 8px !important;
    border: 1px solid #e2e8f0;
    padding: 10px 15px;
    height: auto !important;
    background-color: #fcfcfc;
}

.form-control:focus {
    background-color: #fff;
    border-color: var(--primary-color-modern);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1) !important;
}

/* 5. Sidebar (Menu gauche) */
.list-group-item {
    border: none !important;
    border-radius: 8px !important;
    margin-bottom: 5px;
}

.list-group-item.active {
    background-color: var(--primary-color-modern) !important;
    border-color: var(--primary-color-modern) !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* 6. Alertes */
.alert {
    border-radius: var(--radius-soft);
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}
/* --- CORRECTIF DE LISIBILITÉ DU FOOTER --- */

/* 1. Force tout le texte du footer en blanc/gris clair */
#footer, #footer h1, #footer h2, #footer p, #footer ul, #footer span {
    color: #e2e8f0 !important;
}

/* 2. Répare les icônes réseaux sociaux (Facebook, etc.) */
/* On enlève le style "bouton blanc" qui rendait l'icone invisible */
#footer .social-icons li a {
    background-color: rgba(255, 255, 255, 0.1) !important; /* Fond légèrement transparent */
    color: #fff !important; /* Icone BLANCHE */
    border: 1px solid rgba(255, 255, 255, 0.2) !important; /* Bordure subtile */
    box-shadow: none !important;
}

/* Effet au survol : devient blanc brillant */
#footer .social-icons li a:hover {
    background-color: #fff !important;
    color: #333 !important;
    transform: translateY(-2px);
}

/* 3. Répare le bouton de Langue/Devise (à droite) */
#footer .dropup .dropdown-toggle, 
#footer .btn-sm {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

#footer .dropup .dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
}