:root {
    --primary-color: #1e3c72;
    --secondary-color: #2a5298;
    --accent-color: #d4af37;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --bg-light: #f8fafc;
    --glass-white: rgba(255, 255, 255, 0.95);
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--bg-light);
    color: #334155;
    overflow-x: hidden;
}

/* Sidebar Styles */
.sidebar {
    background: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    transform: translateX(-5px);
}

.nav-submenu {
    list-style: none;
    padding-right: 35px;
    margin-bottom: 10px;
}

/* Glass Card */
.glass-card {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* Stat Cards */
.stat-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    height: 100%;
    background: var(--glass-white);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.stat-card .stat-icon-bg {
    position: absolute;
    left: -10px;
    bottom: -15px;
    font-size: 6rem;
    opacity: 0.05;
    transform: rotate(15deg);
    pointer-events: none;
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

.hover-scale {
    transition: transform 0.2s ease;
}

.hover-scale:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
}

/* Alerts */
.swal2-popup {
    font-family: 'Tajawal', sans-serif;
    border-radius: 20px;
}

/* Text Colors */
.text-gold {
    color: var(--accent-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.cursor-pointer {
    cursor: pointer;
}