/* CSS Dynamique généré automatiquement depuis la base de données */

:root {
    --background_color: #ebf3fd;
    --sidebar_bg: #003d66;
    --sidebar_text: #ffffff;
    --sidebar_hover: #276996;
    --content_bg: #ffffff;
    --text_primary: #2f3841;
    --text_secondary: #949494;
    --button_primary: #3498db;
    --button_success: #27ae60;
    --button_danger: #e74c3c;
    --button_warning: #f39c12;
    --border_color: #bdc3c7;
    --card_shadow: #ffffff;
    --header_bg: #aecfe5;
    --header_text: #300303;
    --primary_color: #000000;
    --secondary_color: #143C7D;
}


/* === STYLES GÉNÉRAUX === */
body {
    background: #ebf3fd !important;
    color: #2f3841 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* === BARRE LATÉRALE === */
.sidebar {
    background: #003d66 !important;
    color: #ffffff !important;
}

.sidebar a {
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.sidebar a:hover, .sidebar a.active {
    background: #276996 !important;
    color: #ffffff !important;
}

.nav-link {
    color: #ffffff !important;
}

.nav-link:hover {
    background: #276996 !important;
    color: #ffffff !important;
}

/* === CONTENU PRINCIPAL === */
.container, .content {
    background: #ffffff !important;
}

.content-header {
    background: #aecfe5 !important;
    color: #300303 !important;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px;
}

.content-title {
    color: #300303 !important;
    margin: 0 !important;
}

/* === CARTES ET CONTENEURS === */
.form-card, .table-container, .option-category {
    background: #ffffff !important;
    border: 1px solid #bdc3c7 !important;
    box-shadow: 0 2px 10px #ffffff !important;
    border-radius: 8px;
}

/* === TEXTE === */
h1, h2, h3, h4, h5, h6 {
    color: #2f3841 !important;
}

p, span, label, small {
    color: #2f3841 !important;
}

.text-secondary, small {
    color: #949494 !important;
}

/* === BOUTONS === */
.btn, button[type="submit"], .btn-primary {
    background: #3498db !important;
    border-color: #3498db !important;
    color: white !important;
    border-radius: 6px;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover, button[type="submit"]:hover {
    background: #3498dbdd !important;
    transform: translateY(-1px);
}

.btn-success, .sav-btn-success {
    background: #27ae60 !important;
    border-color: #27ae60 !important;
}

.btn-success:hover {
    background: #27ae60dd !important;
}

.btn-danger, .sav-btn-danger, .delete-btn {
    background: #e74c3c !important;
    border-color: #e74c3c !important;
}

.btn-danger:hover, .delete-btn:hover {
    background: #e74c3cdd !important;
}

.btn-warning {
    background: #f39c12 !important;
    border-color: #f39c12 !important;
}

.btn-warning:hover {
    background: #f39c12dd !important;
}

.btn-secondary, .sav-btn-secondary {
    background: #949494 !important;
    border-color: #949494 !important;
}

/* === FORMULAIRES === */
.form-control, input, textarea, select {
    background: #ffffff !important;
    border: 1px solid #bdc3c7 !important;
    color: #2f3841 !important;
    border-radius: 6px;
    padding: 10px;
}

.form-control:focus, input:focus, textarea:focus, select:focus {
    border-color: #3498db !important;
    box-shadow: 0 0 0 2px #3498db33 !important;
    outline: none;
}

/* === TABLEAUX === */
table {
    background: #ffffff !important;
}

th {
    background: #aecfe5 !important;
    color: #300303 !important;
    border-bottom: 2px solid #bdc3c7 !important;
}

td {
    border-bottom: 1px solid #bdc3c7 !important;
    color: #2f3841 !important;
}

tr:hover {
    background: #ebf3fd !important;
}

/* === ALERTES === */
.alert {
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
}

.alert-success {
    background: #27ae6022 !important;
    border-left: 4px solid #27ae60 !important;
    color: #27ae60 !important;
}

.alert-danger, .alert-error {
    background: #e74c3c22 !important;
    border-left: 4px solid #e74c3c !important;
    color: #e74c3c !important;
}

.alert-warning {
    background: #f39c1222 !important;
    border-left: 4px solid #f39c12 !important;
    color: #f39c12 !important;
}

.alert-info {
    background: #3498db22 !important;
    border-left: 4px solid #3498db !important;
    color: #3498db !important;
}

/* === BADGES === */
.badge {
    border-radius: 12px;
    padding: 4px 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-success {
    background: #27ae60 !important;
    color: white !important;
}

.badge-danger {
    background: #e74c3c !important;
    color: white !important;
}

.badge-warning {
    background: #f39c12 !important;
    color: white !important;
}

.badge-primary {
    background: #3498db !important;
    color: white !important;
}

/* === NAVIGATION SPÉCIFIQUE === */
.main-nav {
    background: #003d66 !important;
}

.nav-item {
    border-bottom: 1px solid #276996;
}

.nav-item:last-child {
    border-bottom: none;
}

/* === GRADIENTS (utilisant les couleurs d'accent) === */
.btn-gradient, .gradient-bg {
    background: linear-gradient(135deg, #000000 0%, #143C7D 100%) !important;
    color: white !important;
}

.auth-container, .auth-forms {
    background: linear-gradient(135deg, #000000 0%, #143C7D 100%) !important;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .sidebar {
        background: #003d66 !important;
    }
}

/* === SUPPORT/SAV SPÉCIFIQUE === */
.sav-container {
    background: #ffffff !important;
}

.ticket-card {
    background: #ffffff !important;
    border: 1px solid #bdc3c7 !important;
}

.sav-tab {
    background: #ebf3fd !important;
    color: #2f3841 !important;
    border-bottom: 2px solid transparent;
}

.sav-tab.active {
    background: #ffffff !important;
    border-bottom-color: #3498db !important;
    color: #3498db !important;
}

/* === OPTIONS/FILESERVICE === */
.options-grid {
    gap: 20px;
}

.option-item {
    background: #ffffff !important;
    border: 1px solid #bdc3c7 !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.option-item:hover {
    border-color: #3498db !important;
    box-shadow: 0 2px 8px #ffffff !important;
}

.option-checkbox:checked + .option-label {
    background: #3498db22 !important;
    border-color: #3498db !important;
}

.total-credits {
    background: #949494 !important;
    color: white !important;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    margin: 20px 0;
}

/* === DASHBOARD === */
.stats-grid {
    display: grid;
    gap: 20px;
}

.stat-card {
    background: #ffffff !important;
    border: 1px solid #bdc3c7 !important;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px #ffffff !important;
}

/* === PERSONNALISATIONS FINALES === */
::selection {
    background: #00000033 !important;
    color: #2f3841 !important;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #ebf3fd;
}

::-webkit-scrollbar-thumb {
    background: #bdc3c7;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #949494;
}


<!-- Styles dynamiques basés sur la configuration -->
<link rel="stylesheet" href="dynamic_styles.php?v=1773634332">
