/* Styles généraux pour Kivu Eat */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #d7dde3;
}

.sidebar {
    background-color: var(--secondary-color);
    color: white;
    min-height: 100vh;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    border-radius: 0.25rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar .nav-link i {
    width: 1.5rem;
    text-align: center;
}

.main-content {
    padding: 2rem;
}

.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: white;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: var(--dark-color);
}

/* Styles pour les notifications flash */
.alert {
    border: none;
    border-left: 4px solid;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.alert-success {
    border-left-color: #198754;
    background: linear-gradient(135deg, #d1f2eb 0%, #e8f8f5 100%);
}

.alert-danger {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #fadbd8 0%, #fdedec 100%);
}

.alert-warning {
    border-left-color: #ffc107;
    background: linear-gradient(135deg, #fdebd0 0%, #fef9e7 100%);
}

.alert-info {
    border-left-color: #0dcaf0;
    background: linear-gradient(135deg, #d1f2eb 0%, #e8f6f3 100%);
}

.alert .btn-close {
    padding: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
    }
}