/* fonts  */
@import url('https://fonts.googleapis.com/css2?family=Lalezar&display=swap');

@font-face {
    font-family: 'Vazir';
    src: url('https://cdn.fontcdn.ir/Font/Persian/Vazir/Vazir.eot');
    src: url('https://cdn.fontcdn.ir/Font/Persian/Vazir/Vazir.eot?#iefix') format('embedded-opentype'),
        url('https://cdn.fontcdn.ir/Font/Persian/Vazir/Vazir.woff2') format('woff2'),
        url('https://cdn.fontcdn.ir/Font/Persian/Vazir/Vazir.woff') format('woff'),
        url('https://cdn.fontcdn.ir/Font/Persian/Vazir/Vazir.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.lalezar {
    font-family: 'lalezar';
}

body {
    font-family: 'Vazir', sans-serif;
    background-color: #EBF3FD;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: #2c3e50;
}

.main-color {
    color: #5093E1;
}

.lalezar {
    font-family: 'Lalezar';
}


/* استایل سایدبار */
.sidebar-container {
    background: linear-gradient(135deg, #4a8cff 0%, #3b71ca 100%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    height: 100vh;
    position: fixed;
    width: 250px;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    overflow-y: auto;
    right: 0;
    top: 0;
    color: white;
}

.sidebar-item-container {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin: 8px 10px;
    transition: all 0.2s;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.sidebar-item-container:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}

.sidebar-item-container a {
    color: inherit;
    text-decoration: none;
    font-size: 0.9rem;
}

/* دکمه همبرگر */
.hamburger-btn {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1001;
    background-color: #4a8cff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* overlay برای حالت موبایل */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* استایل لینک اکتیو */
.sidebar-link-active {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}

/* محتوای اصلی */
.main-content {
    transition: all 0.3s ease;
    min-height: 100vh;
    padding: 25px;
}

/* کارت‌ها */
.custom-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-title {
    color: #3b71ca;
    font-weight: 600;
}

/* دکمه‌ها */
.btn-primary {
    background-color: #4a8cff;
    border-color: #4a8cff;
    border-radius: 8px;
    padding: 10px 20px;
}

.btn-primary:hover {
    background-color: #3b71ca;
    border-color: #3b71ca;
}

/* پیشرفت‌بار */
.progress {
    height: 10px;
    border-radius: 5px;
    background-color: #e1e9ff;
}

.progress-bar {
    background-color: #4a8cff;
    border-radius: 5px;
}

/* هدر */
.page-header {
    background: linear-gradient(135deg, #4a8cff 0%, #3b71ca 100%);
    color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* استایل‌های رسپانسیو */
@media (max-width: 992px) {
    .sidebar-container {
        transform: translateX(100%);
    }

    .sidebar-container.active {
        transform: translateX(0);
    }

    .hamburger-btn {
        display: block;
    }

    .main-content {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .sidebar-overlay.active {
        display: block;
    }
}