body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

.kolo-checkbox {
    cursor: pointer;
}

.kolo-checkbox:hover {
    background-color: #eff6ff;
}

.soutez-tab {
    transition: all 0.2s;
}

.soutez-tab.active {
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: white;
}

.clickable {
    cursor: pointer;
    transition: all 0.2s;
}

.clickable:hover {
    color: #2563eb;
    text-decoration: underline;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    position: sticky;
    top: 0;
    background: white;
    padding: 20px;
    border-bottom: 2px solid #e5e7eb;
    z-index: 10;
    border-radius: 12px 12px 0 0;
}

.close {
    color: #9ca3af;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close:hover {
    color: #ef4444;
}

/* Dark mode */
body.dark-mode {
    background: linear-gradient(to bottom right, #1f2937, #111827) !important;
}

body.dark-mode .bg-white {
    background-color: #1f2937 !important;
    color: #f3f4f6;
}

body.dark-mode .text-gray-800 { color: #f3f4f6 !important; }
body.dark-mode .text-gray-700 { color: #e5e7eb !important; }
body.dark-mode .text-gray-600 { color: #d1d5db !important; }
body.dark-mode .text-gray-500 { color: #9ca3af !important; }
body.dark-mode .bg-gray-50 { background-color: #374151 !important; }
body.dark-mode .bg-gray-100 { background-color: #374151 !important; }
body.dark-mode .bg-gray-200 { background-color: #4b5563 !important; }
body.dark-mode .border-gray-200 { border-color: #4b5563 !important; }
body.dark-mode .border-gray-300 { border-color: #6b7280 !important; }

body.dark-mode input,
body.dark-mode select {
    background-color: #374151 !important;
    color: #f3f4f6 !important;
    border-color: #6b7280 !important;
}

body.dark-mode .modal-content {
    background-color: #1f2937 !important;
}

body.dark-mode .modal-header {
    background-color: #1f2937 !important;
}

body.dark-mode table {
    color: #f3f4f6;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    table {
        font-size: 0.75rem;
    }
    
    .soutez-tab {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}