/* =========================================
   1. تعریف فونت (Font Face)
========================================= */

@font-face {
    font-family: 'IRANSansCD';
    src: url('../fonts/iran-sans-cd-300.woff') format('woff');
    font-weight: 300; /* چون در نام فایل 300 ذکر شده، وزن آن را 300 در نظر می‌گیریم */
    font-style: normal;
    font-display: swap; /* بهینه‌سازی سرعت لود: نمایش متن تا زمان لود کامل فونت */
}

/* اگر فایل دوم مثلا وزن معمولی (400) یا بولد است، می‌توانید آن را هم اینگونه اضافه کنید: */

@font-face {
    font-family: 'IRANSansCD';
    src: url('../fonts/iran-sans-cd-700.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
.alm-price-words{
    display:block;
    margin-top:6px;
    font-size:12px;
    color: #7d7f83;
}


* {
    margin: 0;
    padding: 0;
}
/* =========================================
   2. اعمال فونت به کل برنامه
========================================= */

body, html, p, a, h1, h2, h3, h4, h5, h6, p, label , span, blockquote, pre {
    color: var(--alm-text-primary);
    font-family: 'IRANSansCD', Tahoma, Arial, sans-serif; /* فونت‌های جایگزین برای ایمنی */
    font-weight: 300; /* وزن پیش‌فرض */
    font-size: 14px;
}
.dz-status {
    font-family: 'IRANSansCD', Tahoma, Arial, sans-serif; /* فونت‌های جایگزین برای ایمنی */
}
a, a:visited, a:hover, a:active {
    text-decoration: none !important;
}

/* برای اطمینان از اینکه دکمه‌ها و اینپوت‌ها هم فونت را می‌گیرند */
input, button, select, textarea {
    font-family: inherit;
}
.feather {
    width: 16px;
    height: 16px;
}

/* ================= Sidebar CSS ================= */
.alm-layout-menu {
    width: 215px; /* $W = 260px$ */
    height: 100vh;
    background-color: var(--alm-bg-primary);
    box-shadow: 0 0.125rem 0.375rem 0 rgba(161, 172, 184, 0.12);
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 0;
    top: 0;
    border-left: 1px solid var(--alm-border-primary);
    z-index: 1000; /* $z \ge 1000$ برای قرارگیری روی محتوا */
    transition: transform 0.3s ease;
}

.alm-app-brand {
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    border-bottom: 1px solid rgba(128, 128, 128, 0.22);
}

.alm-app-brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #32475c;
}

.alm-app-brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    margin-right: 0.5rem; /* RTL */
}

.alm-menu-inner-wrapper {
    flex-grow: 1;
    overflow-y: auto;
    padding-top: 1rem;
}

.alm-menu-inner {
    list-style: none;
    margin: 0;
    padding: 0;
}

.alm-menu-item {
    margin: 0.15rem;
}

.alm-menu-link {
    display: flex;
    align-items: center;
    padding: 0.625rem 1rem;
    color: var(--alm-text-primary);
    text-decoration: none;
    border-radius: 0.375rem;
    transition: background-color 0.2s, color 0.2s;
}

.alm-menu-link:hover {
    background-color: var(--alm-bg-hover);
    color: var(--alm-text-primary);
}

.alm-menu-item.alm-active .alm-menu-link {
    background-color: #3b82f6; /* رنگ primary */
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.alm-menu-icon {
    font-style: normal;
    font-size: 1.2rem;
    margin-left: 0.75rem; /* RTL */
}
/* ================= Navbar CSS ================= */
.layout-page {
    padding-right: 215px; /* $W = 260px$ (فضای اختصاص داده شده به سایدبار) */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--alm-bg-secondary);
}

.alm-layout-navbar {
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    margin: 1rem 1.5rem 0 1.5rem; /* فاصله دادن از لبه‌های کانتینر اصلی */
    z-index: 990;
}

.alm-navbar-nav-right {
    width: 100%;
    justify-content: space-between;
}

.alm-navbar-search {
    font-weight: 600;
    color: #566a7f;
}

.alm-navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.alm-user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.alm-user-name {
    font-size: 0.9rem;
    color: #697a8d;
}

.alm-avatar {
    width: 38px;
    height: 38px;
    background-color: #e7e7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.alm-menu-toggle {
    display: none; /* در حالت دسکتاپ مخفی است */
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #697a8d;
    margin-left: 1rem;
}
.alm-ms-auto {
    margin-right: auto; /* برای RTL که سمت چپ بیفتد */
}
.toggle-icon {
    transition: transform 0.3s;
}
.toggle-icon.rotated {
    transform: rotate(180deg);
}
/* CSS for Theme Toggle Button */
.alm-theme-toggle-wrapper .moon-icon {
    display: none;
}

.alm-dark-mode .alm-theme-toggle-wrapper .moon-icon {
    display: block;
}

.alm-dark-mode .alm-theme-toggle-wrapper .sun-icon {
    display: none;
}
sup {
    font-size: 12px;
}
.alm-card-header {
    background-color: var(--alm-bg-teal);
}
.alm-card-header h2 {
    font-size: 2rem;
    font-weight: bold;
}
.alm-btn-accent {
    color: white;
    background-color: var(--alm-bg-accent);
    border: 1px solid rgba(255, 255, 255, 0.53);
    transition: 0.3s;
}
.alm-btn-accent:hover {
    color: white;
    background-color: rgba(0, 0, 0, 0.06);
}
/* =========================================
   Alm Switch Toggle
========================================= */
.alm-switch-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.alm-switch-input {
    display: none; /* مخفی کردن چک‌باکس اصلی */
}

.alm-switch-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background-color: var(--alm-bg-light);
    border-radius: 50px;
    transition: 0.3s;
    margin-left: 10px; /* فاصله از متن */
}

.alm-switch-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.alm-switch-input:checked + .alm-switch-slider {
    background-color: var(--alm-primary); /* رنگ Primary */
}

.alm-switch-input:checked + .alm-switch-slider::before {
    transform: translateX(20px); /* حرکت دایره در RTL */
}

.alm-switch-label {
    font-size: 0.9rem;
    font-weight: 500;
}
#discount_type {
    color: var(--alm-text-primary);
    background-color: var(--alm-bg-primary);
}
.alm-list {
    display: flex;
    gap: 8px;
}
/* 1. تنظیمات هدر اصلی */
.alm-header-with-bg {
    position: relative; /* بسیار مهم: برای مهار کردن ::before */
    overflow: hidden;   /* بسیار مهم: برای جلوگیری از بیرون زدن عکس از گوشه‌های گرد شده کارت */
    padding: 1rem 1.5rem; /* فضای کافی برای دیده شدن عکس */
    color: #ffffff;     /* رنگ متن باید روشن باشد تا روی عکس خوانده شود */
    border-bottom: none; /* معمولا وقتی عکس داریم خط زیر هدر را برمیداریم */
}

/* 2. بالا آوردن محتوای داخل هدر (متن‌ها) */
.alm-header-with-bg > * {
    position: relative; /* متن‌ها را از جریان عادی خارج کرده */
    z-index: 2;         /* و روی تصویر پس‌زمینه می‌آوریم */
}

/* 3. ایجاد لایه تصویر با ::before */
.alm-header-with-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* معادل $100\%$ عرض */
    height: 100%; /* معادل $100\%$ ارتفاع */
    z-index: 1; /* قرارگیری در لایه زیرین محتوا */

    /* تنظیمات تصویر */
    background-size: cover; /* پوشش کامل محیط بدون دفرمه شدن */
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    transition: transform 0.3s ease;
}

/* ================= Sub-menu CSS ================= */
.alm-menu-arrow {
    margin-right: auto; /* هدایت فلش به سمت چپ در RTL */
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}


.alm-menu-sub .alm-menu-link {
    padding-right: 0.5rem !important; /* فاصله بیشتر از راست برای زیرمنوها در RTL */
    font-size: 0.9rem;
}

/* وقتی کلاس alm-open به والد داده شود */
.alm-menu-sub {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
    list-style: none;
    margin: 0;
    padding: 0;
}

.alm-menu-item.alm-open > .alm-menu-sub {
    max-height: 500px; /* عددی بزرگتر از ارتفاع واقعی زیرمنو */
}

.alm-menu-item.alm-open > .alm-menu-toggle-link .alm-menu-arrow {
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
}
/* ================= Feather Icons CSS ================= */

/* تنظیمات پایه برای تگ‌های SVG تولید شده توسط Feather */
.alm-menu-link svg {
    width: 16px; /* اندازه استاندارد $20px$ */
    height: 16px;
    stroke-width: 2; /* ضخامت خطوط (می‌توانید بین $1$ تا $2.5$ تغییر دهید) */
    stroke: currentColor; /* رنگ را از متن والد ارث‌بری می‌کند */
    fill: none;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

/* فاصله آیکون‌ها از متن در راست‌چین (RTL) */
.alm-menu-icon {
    margin-left: 0.75rem;
    color: #697a8d; /* رنگ پیش‌فرض آیکون‌ها */
}

/* آیکون‌های کوچکتر برای زیرمنوها */
.alm-icon-sm svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
}

/* تغییر رنگ هنگام Hover */
.alm-menu-item:hover > .alm-menu-link .alm-menu-icon {
    color: #696cff; /* رنگ Primary */
}

/* تنظیم دقیق فلش زیرمنو */
.alm-menu-arrow {
    margin-right: auto;
    color: #697a8d;
}

.alm-menu-arrow svg {
    width: 18px;
    height: 18px;
}

/* انیمیشن چرخش فلش زیرمنو وقتی منو باز می‌شود (alm-open) */
.alm-menu-item.alm-open > .alm-menu-toggle-link .alm-menu-arrow svg {
    transform: rotate(-90deg); /* فلش رو به چپ را $90$ درجه می‌چرخاند تا رو به پایین شود */
}


/* ================= Responsive (Media Queries) ================= */
/* Overlay برای موبایل */
.alm-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 48, 62, 0.5);
    z-index: 995;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.alm-nav-item {
    padding: 10px 14px;
    border-right: 1px solid var(--alm-border-color);
    margin-right: 12px;
    border-radius: 12px;
    background-color: var(--alm-label-primary);
    transition: var(--alm-transition);
    opacity: 1;
}
.alm-nav-item:hover {
    opacity: 0.8;
}
.alm-profile {
    width: 24px;
    height: 24px;
    background-color: #e7e7ff;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flatpickr-calendar {
    background-color: var(--alm-bg-primary);
}
.alm-card-body {
    background-color: var(--alm-bg-primary);
}
#btn-toggle-payment-details svg {
    stroke: var(--alm-input-text);
}
#advanced-payment-details {
    background-color: var(--alm-bg-primary);
    padding: 16px 32px;
    border-radius: 14px;
}
.alm-input-group #discount_input_value {
    flex: 0 0 70% !important;
    max-width: 70% !important;
    /* برای چسبیدن درست به سلکت */
    border-radius: 0 6px 6px 0 !important;
}

#PercentInput .alm-select-trigger{
    border-radius: 6px 0 0 6px !important;
    border-right: none !important;

}
#table_loading {
    opacity: 0.5;
}
.alm-bulk-bar {
    max-width: 280px
}
.swal2-popup {
    background-color: var(--alm-bg-primary) !important;
}
.swal2-title, .swal2-html-container {
    color: var(--alm-text-primary) !important;
}
.swal2-styled:focus {
    outline: 0;
    box-shadow: unset !important;
}
.pagination .page-item.active .page-link {
    background-color: var(--alm-primary);
    color: white;
}

.pagination .page-link {
    padding: 2px 14px;
    border-radius: 3px;
    border: 1px solid rgba(13, 110, 253, 0.09);
    background: #0d6efd17;
}
.pagination .page-item.disabled .page-link {
    border: 1px solid transparent;
    background: rgba(13, 110, 253, 0);
}
.pagination .page-item:first-child .page-link, .pagination .page-item:last-child .page-link {
    position: relative;
    top: 2px;
    border: 1px solid transparent;
    background: rgba(13, 110, 253, 0);
}
.alm-card-title {
    color: white;
}
.alm-text-specific {
    color: var(--alm-text-heading);
}
.fc-event {
    color: white !important;
}
.alm-avatar-wrapper .alm-avatar {
    width: 120px;
    height: 120px;
    background-color: #e7e7ff;
    border-radius: 9%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: none;
}
.profile-sidebar, #doctorlistAppointment, .profile-body {
    background-color: var(--alm-input-bg);
}
.alm-border-bottom {
    border-bottom: 1px solid var(--alm-input-border);
}

.alm-dashboard-card {
    background: var(--alm-bg-body);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    max-width: 400px; /* عرض نمودار */
}
.apexcharts-datalabel-value,  .alm-dashboard-card span{
    fill: var(--alm-text-primary) !important;
    color: var(--alm-text-primary) !important;
}
.apexcharts-legend-text {
    margin-right: 3px;
}
.apexcharts-tooltip.light {
    background: var(--alm-bg-body) !important;
}
.apexcharts-tooltip.light .apexcharts-tooltip-title {
    background: var(--alm-bg-body) !important;
    border-bottom: 1px solid rgba(221, 221, 221, 0.09) !important;
}
.alm-icon-md {
    width: 22px !important;
    height: 22px !important;
}
.alm-icon-lg {
    width: 32px !important;
    height: 32px !important;
}
/* کانتینر اصلی - چینش آیکون و گروه متون در یک خط */
.alm-stats-box {
    background-color: var(--alm-bg-body);
    padding: 32px 16px;
    border-radius: 12px;
    gap: 15px; /* فاصله بین دایره آیکون و متون */
    /* اگر می‌خواهید حالت یک کارت داشته باشد می‌توانید پس‌زمینه و پدینگ هم بدهید: */
    /* padding: 15px; */
    /* background-color: #fff; */
    /* border-radius: 8px; */
}

/* ستون متون - چینش زیر هم */
.alm-flex-column {
    flex-direction: column !important;
}

.alm-stats-details {
    justify-content: center;
    gap: 4px; /* فاصله بسیار کم و زیبا بین مبلغ و کلمه "درآمد 30 روز گذشته" */
}

/* استایل‌دهی به مبلغ (بزرگتر و پررنگ‌تر) */
.alm-stats-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--alm-text-primary); /* رنگ تیره برای خوانایی بهتر عدد */
    line-height: 1;
}

.alm-stats-amount small {
    font-size: 0.8rem;
    font-weight: 400;
    color: #64748b;
}

/* استایل‌دهی به عنوان (کوچکتر و کمرنگ‌تر برای ایجاد سلسله مراتب بصری) */
.alm-stats-title {
    font-size: 0.85rem;
    color: #64748b; /* رنگ خاکستری ملایم */
}

/* کانتینر اصلی لیست */
.alm-services-stats-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* فاصله بین هر ردیف آمار */
}

/* نام سرویس و تعداد */
.alm-service-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
}
.alm-service-count {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
}

/* پس‌زمینه نوار پیشرفت (کمرنگ) */
.alm-progress-bg {
    width: 100%;
    height: 8px; /* ارتفاع نوار */
    background-color: var(--alm-progress-bg);
    border-radius: 10px;
    overflow: hidden;
}

/* خود نوار پیشرفت (رنگی) */
.alm-progress-bar {
    height: 100%;
    background-color: var(--alm-primary); /* آبی مدرن - میتوانید به رنگ برند خود تغییر دهید */
    border-radius: 10px;
    transition: width 1s ease-in-out; /* انیمیشن نرم هنگام لود شدن */
}
.alm-primary {
    color: var(--alm-light-primary);
}
/* رنگ آیکون هدر */
.alm-icon-warning {
    color: #f59e0b; /* رنگ زرد/نارنجی برای آیکون */
}
#price_in_words , #price_in_words_two {
    font-size: 11px;
}
.patient_profile {
    border-radius: 18px;
    width: 100px;
}
.alm-financial-report-wrapper {
    background: var(--alm-bg-primary);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.alm-report-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--alm-text-primary);
}
.alm-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.alm-accordion-item {
    border: 1px solid var(--alm-bg-primary);
    border-radius: 6px;
    overflow: hidden;
}
.alm-accordion-header {
    background: var(--alm-bg-secondary) !important;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}
.alm-accordion-header:hover {
    background: var(--alm-input-bg);
}
.alm-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.alm-toggle-icon {
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
    color: #64748b;
}
/* چرخش آیکون وقتی آکاردئون باز است */
.alm-accordion-header.active .alm-toggle-icon {
    transform: rotate(180deg);
}
.alm-header-left {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.alm-badge {
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 0.8rem;
    font-weight: bold;
}
.alm-badge-price { background: #e2e8f0; color: #475569; }
.alm-badge-paid { background: #dcfce7; color: #15803d; }
.alm-badge-discount { background: #fef3c7; color: #b45309; }

.alm-accordion-body {
    padding: 15px;
    border-top: 1px solid #e2e8f0;
    background: var(--alm-bg-primary);
}
.alm-table {
    width: 100%;
    border-collapse: collapse;
}
.alm-table th, .alm-table td {
    padding: 10px;
    text-align: right;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}
.alm-nav-item > div a {
    position: relative;
    top: 4px;
}
#alm-login-phone {
    border: 1px solid var(--alm-primary);
}
.alm-form-control::placeholder {
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform: translateX(0px);
    opacity: 0.5;
}

.alm-form-control:focus::placeholder {
    transform: translateX(-5px); /* مقدار جابه‌جایی */
    opacity: 0.4; /* اختیاری */
}

.alm-text-success { color: #16a34a; }
.alm-text-muted { color: #94a3b8; }
#alm-add-appointment-form #PercentInput .alm-select-trigger,
#alm-edit-appointment-form #PercentInput .alm-select-trigger
{
    max-width: 85px !important;
}
.flatpickr-time.time24hr {
    display: flex !important;
    flex-direction: row-reverse !important;
}
.flatpickr-month {
    min-height: 30px;
}
#alm-bulk-submit {
    min-width: 85px;
}
.alm-input {
    background-color: var(--alm-input-bg);
    border: 1px solid var(--alm-input-bg);
    color: var(--alm-text-primary);
}
.alm-pagination {
    margin-top: 16px;
}
.alm-pagination .alm-pg, .alm-pagination span.current, .alm-pagination span.disabled {
    padding: 2px 14px;
    background: #0d6efd17;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--alm-transition);
    border: 1px solid #ffffff17;
}
.alm-pagination .alm-pg:hover{
    opacity: 0.8;
}
.alm-pagination span.current{
    color: white;
    background: var(--alm-primary);
}
.alm-pagination span.disabled{
    color: var(--alm-text-primary);
    background: var(--alm-bg-primary);
}
.alm-pagination .alm-pg.alm-next,
.alm-pagination .alm-pg.alm-prev,
.alm-pagination span:first-child,
.alm-pagination span:last-child  {
    border: none !important;
    background: transparent !important;
}
.alm-skeleton-table {
    padding: 20px;
}

/* ظاهر پایه بلوک اسکلتی */
.alm-skeleton-line {
    height: 12px;
    border-radius: 6px;
    background: var(--alm-bg-primary);
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

/* عرض‌های متفاوت برای اشکال مختلف */
.alm-skeleton-line.w-75 { width: 75%; }
.alm-skeleton-line.w-50 { width: 50%; }

/* افکت شاین / شیمِر */
.alm-skeleton-line::before {
    content: "";
    position: absolute;
    top: 0;
    right: 150%;
    height: 100%;
    width: 150%;
    background: linear-gradient( 90deg, rgba(134, 78, 78, 0) 0%, rgba(115, 115, 115, 0.5) 50%, rgba(164, 109, 109, 0) 100% );
    animation: alm-skeleton-shimmer 1.35s ease-in-out infinite;
}
#alm_check_discount_btn {
    cursor: pointer;
}
.alm-overall-summary {
    background: var(--alm-bg-primary);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex; justify-content: space-between;
    align-items: center;
}
.alm-card-body h2 {
    font-size: 2rem;
    font-weight: bold;
}
.alm-doc-item {
    width: 100px;
    height: 100px;
    text-align: center;
    overflow: hidden;
    background-color: #5858581a;
    border-radius: 12px;
    margin: 6px;
}
.alm-delete-doc-btn {
    top: -15px; right: 5px; z-index: 10; padding: 2px 5px;
}
.alm-upload-box {
    width: 100%;
}

.alm-upload-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.alm-upload-file-area {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #dbe3ee36;
    border-radius: 12px;
    background: #434a542e;
    transition: all 0.25s ease;
}

.alm-upload-file-input {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.alm-upload-file-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.18);
}

.alm-upload-file-label:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(13, 110, 253, 0.24);
}

.alm-upload-file-label i {
    width: 16px;
    height: 16px;
}

.alm-upload-file-name {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: var(--alm-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.alm-upload-file-text, .alm-upload-file-icon, .alm-upload-btn-text{
    color: white !important;
}
.alm-upload-submit-btn {
    min-width: 110px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.alm-upload-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.alm-upload-progress-wrap {
    width: 100%;
    margin-top: 10px;
}

.alm-upload-progress-bar {
    width: 100%;
    height: 10px;
    background: #e9eef5;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.alm-upload-progress-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #0d6efd, #20c997);
    transition: width 0.2s ease;
}

.alm-upload-progress-text {
    margin-top: 6px;
    font-size: 12px;
    color: #6c757d;
    text-align: left;
}
.alm-header-with-bg h2 {
    color: white !important;
}
.alm-schedule-wrapper .alm-row {
    max-width: 95% !important;
    margin: 12px auto !important;
}
.alm-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 11px;
}

@media (max-width: 768px) {
    .alm-upload-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .alm-upload-file-area {
        width: 100%;
    }

    .alm-upload-submit-btn {
        width: 100%;
    }
}



/* انیمیشن حرکت نور */
@keyframes alm-skeleton-shimmer {
    0% {
        right: -150%;
    }
    100% {
        right: 150%;
    }
}


@media (min-width: 1140px) {
    .alm-app-brand {
        height: 75px;
    }
}

@media (max-width: 600px) {
    table .alm-text-specific {
        display: block;
    }
    table td.alm-d-flex {
        display: block !important;
        text-align: center;
        margin: 0 auto;
    }
    table img {
        margin: 0 auto;
    }
}

@media (max-width: 991.98px) { /* برای عرض‌های کمتر از $992px$ */

    /* مخفی کردن سایدبار در حالت پیش‌فرض (انتقال به بیرون کادر) */
    .alm-layout-menu {
        transform: translateX(100%); /* انتقال کامل به سمت راست (RTL) */
        transition: transform 0.3s ease;
    }

    /* وقتی منو باز می‌شود */
    .alm-layout-menu.alm-menu-expanded {
        transform: translateX(0);
    }

    /* نمایش دکمه همبرگری در تاپ‌بار */
    .alm-menu-toggle {
        display: block !important;
    }

    /* حذف فاصله سایدبار از محتوای اصلی در موبایل */
    .layout-page {
        padding-right: 0 !important;
    }

    /* نمایش Overlay وقتی منو باز است */
    .alm-menu-overlay.alm-show {
        display: block;
        opacity: 1;
    }
}






/* (اختیاری) افکت جذاب: زوم شدن عکس هنگام هاور کردن روی کارت */

