/**
 * Améliorations du design - Archives ESP Kinshasa
 * Ce fichier ajoute des améliorations modernes sans modifier le CSS existant
 */

/* ============================================
   AMÉLIORATIONS GLOBALES
   ============================================ */

/* Transitions fluides pour tous les éléments interactifs */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body {
    font-family: 'Source Sans Pro', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* ============================================
   HEADER ET NAVIGATION
   ============================================ */

.main-header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-bottom: 3px solid rgba(255,255,255,0.2);
}

.main-header .logo {
    transition: transform 0.3s ease;
}

.main-header .logo:hover {
    transform: scale(1.05);
}

.navbar-nav > li > a {
    border-radius: 5px;
    margin: 0 3px;
    transition: all 0.3s ease;
}

.navbar-nav > li > a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* ============================================
   SIDEBAR
   ============================================ */

.main-sidebar {
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
}

.sidebar-menu > li > a {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    padding: 12px 15px;
}

.sidebar-menu > li > a:hover {
    background: rgba(255,255,255,0.1);
    border-left-color: #3498db;
    padding-left: 20px;
}

.sidebar-menu > li.active > a {
    background: rgba(52, 152, 219, 0.2);
    border-left-color: #3498db;
    font-weight: 600;
}

/* ============================================
   BOXES ET CARDS
   ============================================ */

.box {
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
}

.box:hover {
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.box-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-bottom: none;
}

.box-header h3 {
    margin: 0;
    font-weight: 600;
    font-size: 18px;
}

.box-header.with-border {
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.box-body {
    padding: 20px;
    background: #ffffff;
}

/* Boxes colorées avec dégradés */
.box-primary {
    border-top: 4px solid #3498db;
}

.box-primary .box-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.box-success {
    border-top: 4px solid #27ae60;
}

.box-success .box-header {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.box-danger {
    border-top: 4px solid #e74c3c;
}

.box-danger .box-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.box-info {
    border-top: 4px solid #17a2b8;
}

.box-info .box-header {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.box-warning {
    border-top: 4px solid #f39c12;
}

.box-warning .box-header {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

/* ============================================
   BOUTONS AMÉLIORÉS
   ============================================ */

.btn {
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.btn-success:hover {
    background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%);
}

.btn-danger {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #f45c43 0%, #eb3349 100%);
}

.btn-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.btn-info:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

.btn-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
}

/* ============================================
   FORMULAIRES AMÉLIORÉS
   ============================================ */

.form-control {
    border-radius: 6px;
    border: 2px solid #e0e0e0;
    padding: 10px 15px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-group label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

/* Input groups avec icônes */
.has-feedback .form-control,
.has-users .form-control {
    padding-right: 40px;
}

.form-control-feedback {
    color: #667eea;
    right: 12px;
}

/* ============================================
   TABLES AMÉLIORÉES
   ============================================ */

.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.table thead th {
    border: none;
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.table tbody td {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
    vertical-align: middle;
}

.table tbody td a {
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.table tbody td a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ============================================
   ALERTS AMÉLIORÉS
   ============================================ */

.alert {
    border-radius: 8px;
    border: none;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

/* ============================================
   PAGE DE LOGIN AMÉLIORÉE
   ============================================ */

.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50%, 50%); }
}

.login-box {
    position: relative;
    z-index: 1;
}

.login-logo {
    margin-bottom: 30px;
}

.login-logo a {
    color: white;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.login-logo a:hover {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    transform: scale(1.05);
}

.login-logo img {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    transition: all 0.3s ease;
}

.login-logo:hover img {
    transform: rotate(5deg) scale(1.1);
}

.login-box-body {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 40px;
    backdrop-filter: blur(10px);
}

.login-box-msg {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    font-weight: 500;
}

/* ============================================
   CONTENT WRAPPER
   ============================================ */

.content-wrapper {
    background: transparent;
    padding: 20px;
}

.content-header {
    margin-bottom: 30px;
    padding: 20px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.content-header h1 {
    color: #ffffff;
    font-weight: 700;
    font-size: 28px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.content-header h1 small {
    color: rgba(255,255,255,0.9);
    font-weight: 400;
    font-size: 18px;
    margin-left: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Breadcrumb avec texte blanc */
.content-header > .breadcrumb {
    background: rgba(0,0,0,0.3) !important;
    border-radius: 8px;
    padding: 10px 15px;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.content-header > .breadcrumb > li {
    color: #ffffff !important;
}

.content-header > .breadcrumb > li > a {
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.content-header > .breadcrumb > li > a:hover {
    color: #f0f0f0 !important;
    text-decoration: underline;
    opacity: 0.9;
}

.content-header > .breadcrumb > li.active {
    color: #ffffff !important;
    font-weight: 500;
}

.content-header > .breadcrumb > li + li:before {
    color: #ffffff !important;
    content: ">\00a0";
    padding: 0 5px;
    opacity: 0.8;
}

/* Style pour les icônes dans le breadcrumb */
.content-header > .breadcrumb > li > a > .fa,
.content-header > .breadcrumb > li > a > .glyphicon,
.content-header > .breadcrumb > li > a > .ion {
    color: #ffffff !important;
}

/* ============================================
   ICÔNES ET IMAGES
   ============================================ */

img {
    transition: all 0.3s ease;
}

a img:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* ============================================
   ANIMATIONS ET EFFETS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content {
    animation: fadeIn 0.5s ease;
}

.box {
    animation: fadeIn 0.6s ease;
}

/* Effet de chargement */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ============================================
   RESPONSIVE AMÉLIORATIONS
   ============================================ */

@media (max-width: 768px) {
    .box {
        margin-bottom: 20px;
    }
    
    .content-wrapper {
        padding: 10px;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .table {
        font-size: 12px;
    }
}

/* ============================================
   SCROLLBAR PERSONNALISÉE
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* ============================================
   AMÉLIORATIONS SPÉCIFIQUES
   ============================================ */

/* Amélioration des liens dans les tableaux */
.table tbody td a img {
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 2px;
}

.table tbody td a:hover img {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.2);
}

/* Amélioration des select2 */
.select2-container--default .select2-selection--single {
    border-radius: 6px;
    border: 2px solid #e0e0e0;
    height: 38px;
    transition: all 0.3s ease;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Amélioration des textarea */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Cards avec effet de profondeur */
.box.box-solid {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Amélioration des notifications */
.notifications-menu .label {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ============================================
   AMÉLIORATIONS DES MODALES
   ============================================ */

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    padding: 20px;
}

.modal-header .close {
    color: white;
    opacity: 0.8;
    text-shadow: none;
    font-size: 28px;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 15px 25px;
}

/* ============================================
   AMÉLIORATIONS DES STATISTIQUES
   ============================================ */

.info-box {
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.info-box-icon {
    border-radius: 0;
}

/* ============================================
   AMÉLIORATIONS DES BADGES
   ============================================ */

.badge {
    border-radius: 12px;
    padding: 5px 10px;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.label {
    border-radius: 4px;
    padding: 5px 10px;
    font-weight: 600;
}

/* ============================================
   AMÉLIORATIONS DES PROGRESS BARS
   ============================================ */

.progress {
    border-radius: 10px;
    height: 20px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
    background: #e9ecef;
}

.progress-bar {
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* ============================================
   AMÉLIORATIONS DES TABS
   ============================================ */

.nav-tabs {
    border-bottom: 2px solid #e0e0e0;
}

.nav-tabs > li > a {
    border-radius: 8px 8px 0 0;
    border: none;
    margin-right: 5px;
    transition: all 0.3s ease;
    color: #666;
    font-weight: 500;
}

.nav-tabs > li > a:hover {
    background: #f8f9fa;
    border-color: transparent;
}

.nav-tabs > li.active > a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

/* ============================================
   EFFET RIPPLE POUR LES BOUTONS
   ============================================ */

.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============================================
   NOTIFICATIONS TOAST
   ============================================ */

.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    min-width: 300px;
    animation: slideInRight 0.3s ease;
    display: none;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.toast-danger {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
}

.toast-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.toast-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

/* ============================================
   AMÉLIORATION DU FOOTER
   ============================================ */

.main-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 20px;
    border-top: 3px solid rgba(255,255,255,0.1);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.main-footer a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.main-footer a:hover {
    color: #5dade2;
    text-decoration: underline;
}

/* ============================================
   AMÉLIORATION DES LABELS FLOATING
   ============================================ */

.form-group.focused label {
    color: #667eea;
    transform: translateY(-5px);
    font-size: 12px;
}

/* ============================================
   AMÉLIORATION DES LIENS HOVER
   ============================================ */

.link-hover {
    color: #764ba2 !important;
    font-weight: 600;
}

/* ============================================
   AMÉLIORATION DES LIGNES DE TABLEAU
   ============================================ */

.table-row-hover {
    background: #f8f9fa !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ============================================
   ANIMATION PULSE POUR LES BADGES
   ============================================ */

.pulse-animation {
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
}

/* ============================================
   HEADER SCROLLED
   ============================================ */

.main-header.header-scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    backdrop-filter: blur(10px);
}

/* ============================================
   CHECKED ANIMATION
   ============================================ */

.form-group.checked-animation {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s ease;
}

/* ============================================
   LOADING STATE
   ============================================ */

.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* ============================================
   AMÉLIORATION DES FILE INPUTS
   ============================================ */

.file-name {
    display: inline-block;
    margin-left: 10px;
    padding: 5px 10px;
    background: #d4edda;
    border-radius: 4px;
    color: #155724;
    font-size: 12px;
    animation: fadeIn 0.3s ease;
}

/* ============================================
   AMÉLIORATION DES DROPDOWNS
   ============================================ */

.dropdown-menu {
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    margin-top: 5px;
    padding: 10px 0;
}

.dropdown-menu > li > a {
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dropdown-menu > li > a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-left: 25px;
}

/* ============================================
   AMÉLIORATION DES USER PANEL
   ============================================ */

.user-panel {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 10px;
}

.user-panel .image img {
    border: 3px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.user-panel .image img:hover {
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.1);
}

.user-panel .info p {
    color: white;
    font-weight: 600;
    margin-bottom: 5px;
}

.user-panel .info a {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    transition: all 0.3s ease;
}

.user-panel .info a:hover {
    color: white;
}

/* ============================================
   AMÉLIORATION DES SIDEBAR HEADERS
   ============================================ */

.sidebar-menu .header {
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 20px 10px;
    margin-top: 10px;
}

.sidebar-menu .header:first-child {
    margin-top: 0;
}

/* ============================================
   AMÉLIORATION DES ICÔNES
   ============================================ */

.fa-pulse {
    animation: fa-spin 1s infinite linear;
}

/* ============================================
   AMÉLIORATION DES SELECT2 DROPDOWN
   ============================================ */

.select2-dropdown {
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.select2-results__option {
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.select2-results__option--highlighted {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* ============================================
   AMÉLIORATION DES DATEPICKER
   ============================================ */

.datepicker {
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

/* ============================================
   AMÉLIORATION DES COLORPICKER
   ============================================ */

.colorpicker {
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* ============================================
   AMÉLIORATION DES TIMEPICKER
   ============================================ */

.bootstrap-timepicker-widget {
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* ============================================
   AMÉLIORATION DES ICKECK
   ============================================ */

.icheckbox_square-blue,
.iradio_square-blue {
    border-radius: 4px;
}

/* ============================================
   AMÉLIORATION DES WYSIWYG
   ============================================ */

.wysihtml5-sandbox {
    border-radius: 6px;
    border: 2px solid #e0e0e0;
}

/* ============================================
   AMÉLIORATION DES GRAPHIQUES
   ============================================ */

.morris-hover {
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* ============================================
   AMÉLIORATION DES PAGINATIONS
   ============================================ */

.pagination > li > a,
.pagination > li > span {
    border-radius: 6px;
    margin: 0 3px;
    border: 2px solid #e0e0e0;
    color: #667eea;
    transition: all 0.3s ease;
}

.pagination > li > a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.pagination > .active > a,
.pagination > .active > span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.pagination > .disabled > a,
.pagination > .disabled > span {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   AMÉLIORATION DES AMÉLIORATIONS FINALES
   ============================================ */

/* Effet de focus amélioré */
*:focus {
    outline: none;
}

.form-control:focus,
.btn:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Amélioration de la lisibilité */
h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
    font-weight: 600;
}

/* Espacement amélioré */
.section {
    margin-bottom: 30px;
}

/* Séparateurs élégants */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    margin: 25px 0;
}

