:root {
    --primary: #4e73df;
    --primary-dark: #224abe;
    --secondary: #858796;
    --success: #1cc88a;
    --info: #36b9cc;
    --warning: #f6c23e;
    --danger: #e74a3b;
    --dark: #5a5c69;
    --light: #f8f9fc;
    --glass: rgba(255, 255, 255, 0.7);
    --border-radius: 12px;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #4a5568;
}

#wrapper {
    flex-grow: 1;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.header-nav {
    background: rgba(255, 255, 255, 0.98); /* More solid */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1050; /* Higher than sidebar or other content blocks */
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: #ffffff !important; 
    z-index: 9999 !important; /* Move to the Very Front */
    opacity: 1 !important;
}

.btn-modern {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-xs {
    padding: 2px 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.table-modern {
    background: transparent;
}

.table-modern thead th {
    background: rgba(78, 115, 223, 0.1);
    border: none;
    color: var(--primary);
    font-weight: 700;
}

.sidebar-modern {
    background: #2c3e50;
    color: white;
    min-width: 250px;
    transition: all 0.3s ease;
}

.sidebar-modern a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 15px 25px;
    display: block;
    transition: all 0.3s;
}

.sidebar-modern a:hover, .sidebar-modern a.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--primary);
}

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

.animate-fade {
    animation: fadeIn 0.5s ease forwards;
}

/* Custom stats cards */
.stat-card {
    border-left: 4px solid var(--primary);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: scale(1.02);
}

.borc-text { color: var(--danger); }
.alacak-text { color: var(--success); }
