:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-color: #ecf0f1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.3rem;
}

.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.table-hover tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.badge {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
}

.sidebar {
    background-color: #ecf0f1;
    border-radius: 8px;
    padding: 1.5rem;
}

.sidebar .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: var(--secondary-color);
    color: white;
}

.alert {
    border: none;
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

footer {
    border-top: 2px solid #dee2e6;
    margin-top: auto;
}

.page-header {
    background: #ffffff !important;
    border-bottom: 2px solid #dee2e6 !important;
    padding: 0.85rem 1rem !important;
    margin-bottom: 1.5rem !important;
    border-radius: 0 !important;
    color: #2c3e50 !important;
}

.page-header h1 {
    margin: 0 !important;
    font-weight: 600 !important;
    font-size: 1.4rem !important;
    color: #2c3e50 !important;
}

.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loading.active {
    display: flex;
}

.spinner {
    color: white;
    font-size: 1.5rem;
}

.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

.state-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.state-badge.pending {
    background-color: #fff3cd;
    color: #856404;
}

.state-badge.approved {
    background-color: #d4edda;
    color: #155724;
}

.state-badge.rejected {
    background-color: #f8d7da;
    color: #721c24;
}
