/* Define Vazir font */
@font-face {
    font-family: 'Vazir';
    src: url('/static/fonts/Vazir-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*!* متغیرهای تم *!*/
/*:root {*/
/*    --primary-color: #8b5cf6; !* بنفش اصلی *!*/
/*    --primary-hover: #6a0dad; !* بنفش تیره برای hover *!*/
/*    --secondary-color: #e5e7eb;*/
/*    --text-color: #333;*/
/*}*/

/*!* استایل‌های کلی *!*/
/*body {*/
/*    font-family: Arial, sans-serif;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    background-color: #f4f4f4;*/
/*    direction: rtl;*/
/*}*/

/*.container {*/
/*    max-width: 960px;*/
/*    margin: 0 auto;*/
/*    padding: 16px;*/
/*}*/

/*h2 {*/
/*    font-size: 24px;*/
/*    font-weight: bold;*/
/*    margin-bottom: 16px;*/
/*}*/

/*p {*/
/*    margin-bottom: 16px;*/
/*}*/

/*!* فرم و ورودی‌ها *!*/
/*form {*/
/*    display: flex;*/
/*    align-items: flex-end;*/
/*    margin-bottom: 24px;*/
/*}*/

/*input[type="text"], textarea, select {*/
/*    width: 100%;*/
/*    padding: 8px;*/
/*    border: 1px solid #ccc;*/
/*    border-radius: 4px;*/
/*    box-sizing: border-box;*/
/*}*/

/*input[type="text"]:focus {*/
/*    outline: none;*/
/*    border-color: var(--primary-color);*/
/*    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);*/
/*}*/

/*button, input[type="submit"] {*/
/*    background-color: var(--primary-color);*/
/*    color: white;*/
/*    padding: 8px 16px;*/
/*    border: none;*/
/*    border-radius: 4px;*/
/*    cursor: pointer;*/
/*}*/

/*button:hover, input[type="submit"]:hover {*/
/*    background-color: var(--primary-hover);*/
/*}*/

/*.secondary-button {*/
/*    background-color: #e5e7eb;*/
/*    color: #374151;*/
/*}*/

/*.secondary-button:hover {*/
/*    background-color: #d1d5db;*/
/*}*/

/*!* جدول *!*/
/*.table-container {*/
/*    background-color: white;*/
/*    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);*/
/*    border-radius: 8px;*/
/*    overflow-x: auto; !* افزودن اسکرول افقی *!*/
/*    max-width: 100%; !* محدود کردن عرض جدول *!*/
/*}*/

/*table {*/
/*    width: 100%;*/
/*    border-collapse: collapse;*/
/*    table-layout: auto; !* تنظیم خودکار عرض ستون‌ها *!*/
/*}*/

/*th, td {*/
/*    padding: 12px;*/
/*    text-align: right;*/
/*    white-space: nowrap; !* جلوگیری از شکستن متن *!*/
/*}*/

/*th {*/
/*    background-color: #e5e7eb;*/
/*    font-weight: bold;*/
/*}*/

/*tr {*/
/*    border-bottom: 1px solid #e5e7eb;*/
/*}*/

/*tr:last-child {*/
/*    border-bottom: none;*/
/*}*/

/*!* محدود کردن عرض ستون‌ها *!*/
/*.admin-table th, .admin-table td {*/
/*    max-width: 150px; !* محدود کردن عرض ستون‌ها *!*/
/*    overflow: hidden;*/
/*    text-overflow: ellipsis; !* نمایش ... برای متن بلند *!*/
/*}*/

/*!* لینک‌ها *!*/
/*a {*/
/*    color: var(--primary-color);*/
/*    text-decoration: none;*/
/*}*/

/*a:hover {*/
/*    color: var(--primary-hover);*/
/*    text-decoration: underline;*/
/*}*/

/*!* استایل‌های تقویم *!*/
/*.persian-datepicker {*/
/*    width: 100%;*/
/*    padding: 8px;*/
/*    border: 1px solid #ccc;*/
/*    border-radius: 4px;*/
/*}*/

/*!* پیام‌های خالی *!*/
/*.empty-message {*/
/*    color: #6b7280;*/
/*}*/

/*!* لیست‌ها *!*/
/*ul {*/
/*    margin-right: 16px;*/
/*}*/

/*li {*/
/*    list-style-type: disc;*/
/*    margin-bottom: 8px;*/
/*}*/

/*!* فرم ویرایش *!*/
/*.form-section {*/
/*    background-color: white;*/
/*    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);*/
/*    border-radius: 8px;*/
/*    padding: 16px;*/
/*    margin-bottom: 24px;*/
/*}*/

/*.form-section h3 {*/
/*    font-size: 18px;*/
/*    font-weight: bold;*/
/*    margin-bottom: 8px;*/
/*}*/

/*.grid-container {*/
/*    display: grid;*/
/*    grid-template-columns: 1fr 1fr;*/
/*    gap: 16px;*/
/*}*/

/*@media (max-width: 640px) {*/
/*    .grid-container {*/
/*        grid-template-columns: 1fr;*/
/*    }*/
/*}*/

/*!* Container for date selection *!*/
/*.date-selection-container {*/
/*    display: flex;*/
/*    align-items: flex-end;*/
/*    margin-bottom: 24px;*/
/*}*/

/*!* Form for date input *!*/
/*.date-form {*/
/*    flex: 1;*/
/*    display: flex;*/
/*    align-items: flex-end;*/
/*}*/

/*!* Wrapper for date input and label *!*/
/*.date-input-wrapper {*/
/*    flex: 1;*/
/*    margin-left: 8px;*/
/*}*/

/*!* Label for date input *!*/
/*.date-label {*/
/*    display: block;*/
/*    margin-bottom: 4px;*/
/*    font-weight: bold;*/
/*}*/

/*!* Date input field *!*/
/*.date-input {*/
/*    padding: 8px;*/
/*    border-radius: 4px;*/
/*    width: 100%;*/
/*    border: 1px solid #ccc;*/
/*    direction: rtl;*/
/*}*/

/*!* Submit button *!*/
/*.submit-button {*/
/*    padding: 8px 16px;*/
/*    background-color: var(--primary-color);*/
/*    color: white;*/
/*    border: none;*/
/*    border-radius: 4px;*/
/*    cursor: pointer;*/
/*}*/

/*.submit-button:hover {*/
/*    background-color: var(--primary-hover);*/
/*}*/

/*!* Container for date buttons *!*/
/*.date-buttons {*/
/*    display: flex;*/
/*    gap: 8px;*/
/*    margin-right: 16px;*/
/*}*/

/*!* Secondary buttons (day selection) *!*/
/*.secondary-button {*/
/*    padding: 8px 16px;*/
/*    background-color: #f0f0f0;*/
/*    border: 1px solid #ccc;*/
/*    border-radius: 4px;*/
/*    cursor: pointer;*/
/*}*/

/*.secondary-button:hover {*/
/*    background-color: #e0e0e0;*/
/*}*/

/*!* Edit link in table *!*/
/*.edit-link {*/
/*    margin-right: 8px;*/
/*}*/

/*!* Back links *!*/
/*.back-link {*/
/*    display: inline-block;*/
/*    margin-top: 16px;*/
/*}*/

/*!* Navigation bar *!*/
/*.nav-bar {*/
/*    background-color: #e5e7eb;*/
/*    padding: 16px;*/
/*}*/

/*!* Navigation list *!*/
/*.nav-list {*/
/*    display: flex;*/
/*    gap: 8px;*/
/*}*/

/*!* Navigation item *!*/
/*.nav-item {*/
/*    display: inline-block;*/
/*}*/

/*!* Navigation link *!*/
/*.nav-link {*/
/*    display: inline-block;*/
/*    padding: 8px;*/
/*    color: var(--text-color);*/
/*    text-decoration: none;*/
/*    border-radius: 4px;*/
/*}*/

/*.nav-link:hover {*/
/*    background-color: #d1d5db;*/
/*}*/

/*!* Sidebar buttons *!*/
/*.admin-sidebar-btn {*/
/*    width: 100%;*/
/*    text-align: right;*/
/*    padding: 8px;*/
/*    border-radius: 4px;*/
/*    background-color: var(--primary-color);*/
/*    color: white;*/
/*    border: none;*/
/*    cursor: pointer;*/
/*}*/

/*.admin-sidebar-btn:hover {*/
/*    background-color: var(--primary-hover);*/
/*}*/

/*!* Sidebar links *!*/
/*.admin-sidebar-link {*/
/*    display: block;*/
/*    width: 100%;*/
/*    text-align: right;*/
/*    padding: 8px;*/
/*    border-radius: 4px;*/
/*    text-decoration: none;*/
/*    color: var(--primary-color);*/
/*}*/

/*.admin-sidebar-link:hover {*/
/*    background-color: #e5e7eb;*/
/*    color: var(--primary-hover);*/
/*}*/

/*!* Main heading *!*/
/*.admin-heading {*/
/*    font-size: 1.5rem;*/
/*    font-weight: 700;*/
/*    margin-bottom: 24px;*/
/*}*/

/*!* Messages container *!*/
/*.admin-messages {*/
/*    margin-bottom: 16px;*/
/*}*/

/*!* Success message *!*/
/*.admin-message-success {*/
/*    color: #10b981;*/
/*}*/

/*!* Error message *!*/
/*.admin-message-error {*/
/*    color: #ef4444;*/
/*}*/

/*!* Section container *!*/
/*.admin-section {*/
/*}*/

/*!* Hidden section *!*/
/*.admin-hidden {*/
/*    display: none;*/
/*}*/

/*!* Subheading *!*/
/*.admin-subheading {*/
/*    font-size: 1.25rem;*/
/*    font-weight: 600;*/
/*    margin-bottom: 16px;*/
/*}*/

/*!* Table wrapper *!*/
/*.admin-table-wrapper {*/
/*    overflow-x: auto; !* افزودن اسکرول افقی برای جدول *!*/
/*    max-width: 100%; !* محدود کردن عرض *!*/
/*}*/

/*!* Table *!*/
/*.admin-table {*/
/*    width: 100%;*/
/*    border-collapse: collapse;*/
/*    background-color: #ffffff;*/
/*    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
/*    border-radius: 8px;*/
/*}*/

/*!* Table header *!*/
/*.admin-table-header {*/
/*    background-color: #e5e7eb;*/
/*}*/

/*!* Table cell *!*/
/*.admin-table-cell {*/
/*    padding: 12px;*/
/*    white-space: nowrap;*/
/*}*/

/*!* Centered table cell *!*/
/*.admin-table-cell-center {*/
/*    text-align: center;*/
/*}*/

/*!* Table row *!*/
/*.admin-table-row {*/
/*    border-bottom: 1px solid #e5e7eb;*/
/*}*/

/*.admin-table-row:hover {*/
/*    background-color: #f9fafb;*/
/*}*/

/*!* Select input *!*/
/*.admin-select {*/
/*    width: 100%;*/
/*    padding: 4px;*/
/*    border: 1px solid #d1d5db;*/
/*    border-radius: 4px;*/
/*}*/

/*!* Narrow select input *!*/
/*.admin-select-narrow {*/
/*    width: 128px;*/
/*}*/

/*!* Assign button *!*/
/*.admin-assign-btn {*/
/*    background-color: var(--primary-color);*/
/*    color: #ffffff;*/
/*    padding: 8px;*/
/*    border-radius: 4px;*/
/*    border: none;*/
/*    cursor: pointer;*/
/*}*/

/*.admin-assign-btn:hover {*/
/*    background-color: var(--primary-hover);*/
/*}*/

/*!* Link *!*/
/*.admin-link {*/
/*    color: var(--primary-color);*/
/*    text-decoration: none;*/
/*}*/

/*.admin-link:hover {*/
/*    color: var(--primary-hover);*/
/*    text-decoration: underline;*/
/*}*/

/*!* Status indicators *!*/
/*.admin-status-green {*/
/*    display: inline-block;*/
/*    width: 16px;*/
/*    height: 16px;*/
/*    border-radius: 50%;*/
/*    background-color: #10b981;*/
/*}*/

/*.admin-status-yellow {*/
/*    display: inline-block;*/
/*    width: 16px;*/
/*    height: 16px;*/
/*    border-radius: 50%;*/
/*    background-color: #f59e0b;*/
/*}*/

/*.admin-status-red {*/
/*    display: inline-block;*/
/*    width: 16px;*/
/*    height: 16px;*/
/*    border-radius: 50%;*/
/*    background-color: #ef4444;*/
/*}*/

/*!* Form containers *!*/
/*.admin-assign-form {*/
/*}*/

/*.admin-inline-form {*/
/*    display: inline-block;*/
/*}*/

/*!* Form and button margins *!*/
/*.admin-form-margin {*/
/*    margin-top: 8px;*/
/*}*/

/*.admin-btn-margin {*/
/*    margin-left: 8px;*/
/*}*/

/*!* Success button *!*/
/*.admin-btn-success {*/
/*    background-color: #10b981;*/
/*    color: #ffffff;*/
/*    padding: 8px;*/
/*    border-radius: 4px;*/
/*    border: none;*/
/*    cursor: pointer;*/
/*}*/

/*.admin-btn-success:hover {*/
/*    background-color: #059669;*/
/*}*/

/*!* Danger button *!*/
/*.admin-btn-danger {*/
/*    background-color: #ef4444;*/
/*    color: #ffffff;*/
/*    padding: 8px;*/
/*    border-radius: 4px;*/
/*    border: none;*/
/*    cursor: pointer;*/
/*}*/

/*.admin-btn-danger:hover {*/
/*    background-color: #dc2626;*/
/*}*/

/*!* Primary button *!*/
/*.admin-btn-primary {*/
/*    background-color: var(--primary-color);*/
/*    color: white;*/
/*    padding: 8px 16px;*/
/*    border: none;*/
/*    border-radius: 4px;*/
/*    text-decoration: none;*/
/*    display: inline-block;*/
/*    margin: 4px;*/
/*}*/

/*.admin-btn-primary:hover {*/
/*    background-color: var(--primary-hover);*/
/*}*/

/*!* Admin form *!*/
/*.admin-form {*/
/*    max-width: 800px;*/
/*    margin: 20px 0;*/
/*}*/

/*!* Form group *!*/
/*.form-group {*/
/*    margin-bottom: 16px;*/
/*}*/

/*!* Admin input *!*/
/*.admin-input {*/
/*    padding: 8px;*/
/*    border: 1px solid #ccc;*/
/*    border-radius: 4px;*/
/*    width: 100%;*/
/*    max-width: 200px;*/
/*}*/

/*!* Date label *!*/
/*.date-label {*/
/*    display: block;*/
/*    margin-bottom: 8px;*/
/*    font-weight: bold;*/
/*}*/