﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: vazirmatn, Roboto, sans-serif;
}

body {
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
    user-select: none;
}

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}

/* اسکرول بار */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #6366f1;
    }





/* app.css */
/*:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --success: #4cc9f0;
    --info: #4895ef;
    --warning: #f72585;
    --danger: #e63946;
    --light: #f8f9fa;
    --dark: #212529;
}

body {
    background-color: #f5f7fb;
    color: #2d3e50;
    margin: 0;
    padding: 0;
}*/

/* سایدبار */
/*.sidebar {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    min-height: 100vh;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

    .sidebar .navbar-brand {
        color: white;
        font-size: 1.5rem;
        font-weight: 700;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        margin-bottom: 1rem;
    }

    .sidebar .nav-link {
        color: rgba(255,255,255,0.85);
        padding: 0.75rem 1.5rem;
        margin: 0.25rem 1rem;
        border-radius: 8px;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .sidebar .nav-link i {
            font-size: 1.2rem;
        }

        .sidebar .nav-link:hover {
            background: rgba(255,255,255,0.15);
            color: white;
            transform: translateX(-5px);
        }

        .sidebar .nav-link.active {
            background: rgba(255,255,255,0.25);
            color: white;
            font-weight: 500;
        }*/

/* محتوای اصلی */
/*.main-content {
    padding: 2rem;
    background: #f5f7fb;
    min-height: 100vh;
}*/

/* کارت‌ها */
/*.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    margin-bottom: 1.5rem;
}

    .card:hover {
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }

.card-header {
    background: white;
    border-bottom: 2px solid #f0f2f5;
    padding: 1.25rem;
    border-radius: 15px 15px 0 0 !important;
}

    .card-header h3, .card-header h4, .card-header h5 {
        margin: 0;
        color: var(--dark);
    }

.card-body {
    padding: 1.5rem;
}*/

/* جداول */
/*.table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

    .table thead th {
        background: #f8f9fa;
        border-bottom: 2px solid #e9ecef;
        color: var(--dark);
        font-weight: 600;
        padding: 1rem;
    }

    .table tbody td {
        padding: 1rem;
        vertical-align: middle;
        border-bottom: 1px solid #f0f2f5;
    }

    .table tbody tr:hover {
        background: #f8f9fa;
    }*/

/* فرم‌ها */
/*.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    transition: all 0.3s;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.25);
    }

.form-label {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.5rem;
}*/

/* دکمه‌ها */
/*.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
    }

.btn-secondary {
    background: #e9ecef;
    color: var(--dark);
}

    .btn-secondary:hover {
        background: #dee2e6;
        transform: translateY(-2px);
    }*/

/* بج‌ها */
/*.badge {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
}

    .badge.bg-success {
        background: linear-gradient(135deg, #4cc9f0, #4895ef) !important;
    }

    .badge.bg-warning {
        background: linear-gradient(135deg, #f72585, #e63946) !important;
    }

    .badge.bg-info {
        background: linear-gradient(135deg, #4cc9f0, #4361ee) !important;
    }*/

/* صفحه‌بندی */
/*.pagination {
    margin-top: 2rem;
}

.page-link {
    border: none;
    border-radius: 10px;
    margin: 0 3px;
    color: var(--primary);
}

.page-item.active .page-link {
    background: var(--primary);
}*/

/* نوتیفیکیشن */
/*.alert {
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
}*/

/* چک‌باکس اختصاصی */
/*.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

    .checkbox-container input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin-left: 10px;
        cursor: pointer;
        accent-color: var(--primary);
    }*/

/* رسپانسیو */
/*@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
    }

    .main-content {
        padding: 1rem;
    }

    .table {
        font-size: 0.9rem;
    }
}*/

/* لودینگ */
/*.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f0f2f5;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}*/
