﻿ul {
    list-style-type: none;
    padding-left: 0;
    padding-right: 0;
}
/* یا اگر خط زیر خود متن است: */
ul li {
    text-decoration: none;
    border-bottom: none; /* اگر از border-bottom استفاده شده */
    margin-bottom: 5px;
} 
ul li a {
    text-decoration: none; /* اگر خط زیر لینک‌ها است */
}
a {
        text-decoration: none; /* اگر خط زیر لینک‌ها است */
   }

#dt-length-0{
    padding-left:35px;
}

#dt-search-0 {
    margin-right: 10px;
}

td {
    padding: 3px !important;
    min-height: 10px !important; /* حداقل ارتفاع */
    border: 1px solid #ddd;
    font-size:12px;
}

th {
    text-align: center;
    justify-items: center;
    font-size: 13px;
}


table.dataTable thead > tr > th.dt-orderable-asc, table.dataTable thead > tr > th.dt-orderable-desc, table.dataTable thead > tr > th.dt-ordering-asc, table.dataTable thead > tr > th.dt-ordering-desc, table.dataTable thead > tr > td.dt-orderable-asc, table.dataTable thead > tr > td.dt-orderable-desc, table.dataTable thead > tr > td.dt-ordering-asc, table.dataTable thead > tr > td.dt-ordering-desc {
    text-align: center;
}





.action-buttons {
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.6s ease;
    display: flex;
    gap: 5px;
}

tr:hover .action-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* برای موبایل همیشه نمایش داده بشن */
@media (max-width: 768px) {
    .action-buttons {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}











/* حالت معمولی ردیف‌ها */
.data-row {
    background: #fafafa;
    transition: all 0.3s ease;
}

    /* وقتی هاور شده */
    .data-row:hover {
        background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

/* ردیف اکشن */
.action-row {
    display: none;
    background: transparent;
}

    .data-row:hover + .action-row,
    .action-row:hover {
        display: table-row;
    }

/* طراحی شیشه‌ای برای منوی اکشن */
.glass-actions {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    margin: 1px 1px;
    padding: 4px 8px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.glass-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: .36875rem ;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: all 0.3s ease;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

    .glass-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.5s;
    }

    .glass-btn:hover::before {
        left: 100%;
    }

   /* .glass-btn.edit {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    .glass-btn.view {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }

    .glass-btn.delete {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    }*/

    .glass-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    }

/* برای موبایل */
@media (max-width: 768px) {
    .action-row {
        display: table-row;
    }

    .glass-actions {
        background: #f8f9fa;
        backdrop-filter: none;
    }
}












/* کانتینر اصلی */
.md-input {
    position: relative;
    /*margin-bottom: 1.5rem;*/
    width: 100%;
   
}

    /* input معمولی */
    .md-input .form-control {
        width: 100%;
        border: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        background: transparent;
        padding: 6px 0;
        font-size: 0.95rem;
        color: #212529;
        transition: all 0.2s ease;
        padding-left: 5px;
        padding-right: 5px;
    }

    /* خط پایین انیمیشنی */
    .md-input .bar {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: #3b4f6c;
        transition: width 0.3s ease;
    }

    /* وقتی فوکوس می‌کنی */
    .md-input .form-control:focus {
        outline: none;
        border-color: #8a93a1;
    }

    /* label وسط input */
    .md-input label {
        position: absolute;
        /*left: 0;*/
        top: 6px;
        color: #aaa;
        font-size: 0.9rem;
        pointer-events: none;
        transition: all 0.2s ease;
    }

label.Select {
    position: absolute;
    /*left: 0;*/
    top: -17px !important;
    color: #aaa;
    font-size: 0.9rem;
    pointer-events: none;
    transition: all 0.2s ease;
}

/* Admin mobile polish */
.app-header .navbar-brand {
    min-width: 0;
    max-width: min(46vw, 360px);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.app-header .navbar-brand img {
    width: 34px;
    height: 34px;
    max-width: 34px;
    max-height: 34px;
    object-fit: contain;
    flex: 0 0 34px;
    display: block;
}

.app-header .navbar-brand b {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1.35;
}

@media (max-width: 575.98px) {
    .app-header .navbar-brand {
        max-width: min(52vw, 220px);
        font-size: 13px;
        gap: 6px;
    }

    .app-header .navbar-brand img {
        width: 30px;
        height: 30px;
        max-width: 30px;
        max-height: 30px;
        flex-basis: 30px;
    }
}

.admin-file-input-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.admin-file-picker {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #f8fafc);
    padding: 10px;
    min-height: 56px;
}

.admin-file-picker-btn {
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #2563eb);
    box-shadow: 0 12px 24px rgba(15, 118, 110, .18);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.admin-file-picker-meta {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.admin-file-picker-title {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #172033;
    font-size: .82rem;
    font-weight: 900;
}

.admin-file-picker-hint {
    color: #64748b;
    font-size: .74rem;
    line-height: 1.6;
}

.admin-file-picker.has-file {
    border-style: solid;
    border-color: rgba(15, 118, 110, .42);
    background: linear-gradient(180deg, #f0fdfa, #fff);
}

@media (max-width: 575.98px) {
    .admin-file-picker {
        grid-template-columns: 1fr;
    }

    .admin-file-picker-btn {
        width: 100%;
    }
}

[id^="bd-root-"] {
    position: static !important;
    z-index: auto !important;
}

.bd-main {
    z-index: 2147483000 !important;
    max-width: calc(100vw - 16px);
}

    /* وقتی فوکوس یا مقدار داره */
    .md-input .form-control:focus + label,
    .md-input .form-control:not(:placeholder-shown) + label,
    .md-input .form-control:not([value=""]) + label {
        top: -17px;
        font-size: 0.75rem;
        color: #3b4f6c;
    }

    /* فعال شدن خط پایین */
    .md-input .form-control:focus ~ .bar {
        width: 100%;
    }


body {
    font-size: 12px;
}

.column-gap-1 {
    margin-top: 1px;
    margin-bottom: 1px;
}

.column-gap-2 {
    margin-top: 2px;
    margin-bottom: 2px;
}

.column-gap-3 {
    margin-top: 3px;
    margin-bottom: 3px;
}

.column-gap-4 {
    margin-top: 4px;
    margin-bottom: 4px;
}


.column-gap-5 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.column-gap-6 {
    margin-top: 6px;
    margin-bottom: 6px;
}

.column-gap-7 {
    margin-top: 7px;
    margin-bottom: 7px;
}

.column-gap-8 {
    margin-top: 8px;
    margin-bottom: 8px;
}

.column-gap-9 {
    margin-top: 9px;
    margin-bottom: 9px;
}

.column-gap-10 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.column-gap-11 {
    margin-top: 11px;
    margin-bottom: 11px;
}


.column-gap-12 {
    margin-top: 12px;
    margin-bottom: 12px;
}

.column-gap-13 {
    margin-top: 13px;
    margin-bottom: 13px;
}

.column-gap-14 {
    margin-top: 14px;
    margin-bottom: 14px;
}

.column-gap-15 {
    margin-top: 15px;
    margin-bottom: 15px;
}


/*گزینه انتخاب شده*/
.select2.select2-container .selection .select2-selection.select2-selection--multiple .select2-selection__rendered, .select2.select2-container .selection .select2-selection.select2-selection--single .select2-selection__rendered {
    font-size: 11px;
}
/*لیست*/
.select2-container .select2-dropdown .select2-results .select2-results__options .select2-results__option {
    font-size: 11px;
}

/*هاور لیست*/
    .select2-container .select2-dropdown .select2-results .select2-results__options .select2-results__option[aria-selected=true] {
        font-size: 13px;
    }






#searchBoxTop {
    display: none; /* پیش‌فرض مخفی */
    /*overflow: hidden;*/
}





@media print {
    body * {
        visibility: hidden;
    }

    #print, #print * {
        visibility: visible;
    }

    #print {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

    /* اگر دکمه پرینت داخل همین div است و نباید چاپ شود */
    .no-print {
        display: none !important;
    }
}



 .table_length, input[type="search"] {
    border-radius: 6px;
    border-width: 1px;
}


 



    /*.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-action {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    color: white;
}

.btn-edit {
    background: #007bff;
}

.btn-details {
    background: #17a2b8;
}

.btn-delete {
    background: #dc3545;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

.btn-action i {
    font-size: 14px;
}

.btn-action span {
    display: none;
}

@media (min-width: 768px) {
    .btn-action span {
        display: inline;
    }
}*/

/* CmsAdmin sidebar polish */
#sidebar.app-sidebar {
    --sidebar-bg: #20272d;
    --sidebar-bg-2: #263139;
    --sidebar-line: rgba(191, 219, 254, .22);
    --sidebar-line-active: #22d3ee;
    --sidebar-text: rgba(241, 245, 249, .76);
    --sidebar-text-soft: rgba(203, 213, 225, .58);
    --sidebar-text-strong: #fff;
    --sidebar-accent: #14b8a6;
    --sidebar-accent-2: #8b5cf6;
    --sidebar-link-hover: rgba(255, 255, 255, .075);
    --sidebar-link-active: linear-gradient(135deg, rgba(20, 184, 166, .22), rgba(139, 92, 246, .18));
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 160px),
        linear-gradient(180deg, var(--sidebar-bg-2), var(--sidebar-bg));
    border-left: 1px solid rgba(255, 255, 255, .07);
}

.app-sidebar-bg:not(.app-sidebar-end) {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 160px),
        linear-gradient(180deg, #263139, #20272d);
}

#sidebar .app-sidebar-content {
    padding: 0 8px 10px;
}

#sidebar .menu {
    padding: 0 0 10px;
}

#sidebar .menu-header {
    color: rgba(203, 213, 225, .58);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: 0;
    margin: 12px 8px 6px;
    padding: 0 10px;
}

#sidebar .menu-divider {
    border-color: rgba(255, 255, 255, .075);
}

#sidebar .menu-profile {
    margin: 0 -8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .075);
    overflow: hidden;
}

#sidebar .menu-profile .menu-profile-link {
    min-height: 118px;
    width: 100%;
}

#sidebar .menu-profile .menu-profile-cover {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
}

#sidebar .menu-profile .menu-profile-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, .18), rgba(15, 23, 42, .74));
}

#sidebar .menu-profile .menu-profile-info {
    color: #fff;
    text-shadow: 0 1px 16px rgba(0, 0, 0, .36);
}

#sidebar .menu-profile .menu-profile-info small {
    color: rgba(241, 245, 249, .72);
}

#sidebar .menu .menu-item {
    margin: 2px 0;
}

#sidebar .menu > .menu-item {
    margin-inline: 4px;
}

#sidebar .menu .menu-link {
    position: relative;
    min-height: 37px;
    border-radius: 8px;
    color: var(--sidebar-text);
    transition: background-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

#sidebar .menu .menu-link::before {
    content: "";
    position: absolute;
    top: 8px;
    right: 0;
    bottom: 8px;
    width: 3px;
    border-radius: 6px 0 0 6px;
    background: transparent;
    transition: background-color .16s ease, box-shadow .16s ease;
}

#sidebar .menu .menu-link:hover {
    color: var(--sidebar-text-strong);
    background: var(--sidebar-link-hover);
    transform: translateX(-1px);
}

#sidebar .menu .menu-text {
    font-weight: 700;
    line-height: 1.45;
}

#sidebar .menu .menu-icon {
    width: 32px;
    color: rgba(226, 232, 240, .72);
    transition: color .16s ease, transform .16s ease, opacity .16s ease;
}

#sidebar .menu > .menu-item > .menu-link .menu-icon {
    width: 34px;
}

#sidebar .menu .menu-item.active > .menu-link,
#sidebar .menu .menu-item.expand > .menu-link {
    color: var(--sidebar-text-strong);
}

#sidebar .menu > .menu-item.active > .menu-link,
#sidebar .menu > .menu-item.expand > .menu-link {
    background: var(--sidebar-link-active);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 22px rgba(2, 6, 23, .18);
}

#sidebar .menu .menu-item[data-active-node="leaf"] > .menu-link::before,
#sidebar .menu > .menu-item.expand > .menu-link::before {
    background: var(--sidebar-accent);
    box-shadow: 0 0 16px rgba(20, 184, 166, .36);
}

#sidebar .menu .menu-item.active > .menu-link .menu-icon,
#sidebar .menu .menu-item.expand > .menu-link .menu-icon {
    color: #67e8f9;
    transform: translateX(-1px);
}

#sidebar .menu .menu-caret {
    color: rgba(203, 213, 225, .64);
    opacity: .8;
}

#sidebar .menu .menu-item.expand > .menu-link .menu-caret,
#sidebar .menu .menu-item.active > .menu-link .menu-caret {
    color: #a7f3d0;
    opacity: 1;
}

#sidebar .menu .menu-submenu {
    position: relative;
    margin: 4px 22px 7px 0;
    padding: 3px 14px 3px 0;
}

#sidebar .menu .menu-submenu::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(180deg, var(--sidebar-line), rgba(148, 163, 184, .05));
}

#sidebar .menu .menu-submenu .menu-item {
    position: relative;
    margin: 1px 0;
}

#sidebar .menu .menu-submenu .menu-item > .menu-link {
    min-height: 31px;
    border-radius: 7px;
    padding-right: 11px;
    color: var(--sidebar-text-soft);
}

#sidebar .menu .menu-submenu .menu-item > .menu-link::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -14px;
    width: 12px;
    height: 1px;
    background: var(--sidebar-line);
}

#sidebar .menu .menu-submenu .menu-item > .menu-link:hover {
    color: #e0f2fe;
    background: rgba(255, 255, 255, .055);
}

#sidebar .menu .menu-submenu .menu-item.active > .menu-link {
    color: #fff;
    background: rgba(20, 184, 166, .13);
    box-shadow: inset 0 0 0 1px rgba(45, 212, 191, .12);
}

#sidebar .menu .menu-submenu .menu-item.active > .menu-link::after,
#sidebar .menu .menu-submenu .menu-item.expand > .menu-link::after {
    background: var(--sidebar-line-active);
    box-shadow: 0 0 10px rgba(34, 211, 238, .45);
}

#sidebar .menu .menu-submenu .menu-submenu {
    margin-right: 18px;
    padding-right: 12px;
}

#sidebar.app-sidebar-grid .menu > .menu-item > .menu-link {
    border-bottom: 1px solid rgba(255, 255, 255, .055);
}

.app-sidebar-float-submenu {
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, .24);
    background: linear-gradient(180deg, rgba(38, 49, 57, .98), rgba(30, 39, 46, .98));
    box-shadow: 0 22px 44px rgba(2, 6, 23, .34);
}

.app-sidebar-float-submenu .menu-submenu {
    padding: 7px;
}

.app-sidebar-float-submenu .menu-item > .menu-link {
    border-radius: 7px;
    color: rgba(241, 245, 249, .78);
}

.app-sidebar-float-submenu .menu-item.active > .menu-link,
.app-sidebar-float-submenu .menu-item > .menu-link:hover {
    color: #fff;
    background: rgba(20, 184, 166, .14);
}

.app.app-sidebar-minified #sidebar .menu .menu-submenu {
    margin-right: 0;
    padding-right: 0;
}

.app.app-sidebar-minified #sidebar .menu .menu-submenu::before,
.app.app-sidebar-minified #sidebar .menu .menu-submenu .menu-item > .menu-link::after {
    display: none;
}

@media (max-width: 767.98px) {
    #sidebar.app-sidebar {
        width: min(84vw, 310px);
        box-shadow: 0 20px 50px rgba(2, 6, 23, .38);
    }

    #sidebar .app-sidebar-content {
        padding-bottom: 18px;
    }

    #sidebar .menu .menu-link {
        min-height: 41px;
    }

    #sidebar .menu .menu-submenu {
        margin-right: 18px;
        padding-right: 12px;
    }
}

/* CmsAdmin light and dark theme system */
.admin-theme-transitioning,
.admin-theme-transitioning * {
    transition:
        background-color .22s ease,
        border-color .22s ease,
        color .22s ease,
        box-shadow .22s ease !important;
}

.app-header {
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(148, 163, 184, .22);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
    backdrop-filter: blur(14px);
}

.app-header .navbar-link,
.app-header .navbar-brand {
    color: #1f2937;
}

.cms-theme-toggle {
    width: 46px;
    height: 34px;
    border: 0;
    padding: 0;
    margin: 0 4px;
    border-radius: 999px;
    color: #0f172a;
    background: linear-gradient(135deg, #e0f2fe, #fef9c3);
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, .22), 0 8px 18px rgba(14, 165, 233, .14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cms-theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, .32), 0 12px 24px rgba(14, 165, 233, .2);
}

.cms-theme-toggle-track {
    width: 38px;
    height: 24px;
    border-radius: 999px;
    position: relative;
    display: block;
}

.cms-theme-toggle-orbit {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #f59e0b;
    display: grid;
    place-items: center;
    position: absolute;
    top: 0;
    right: 0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .14);
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), color .2s ease, background-color .2s ease;
}

.cms-theme-toggle i {
    grid-area: 1 / 1;
    font-size: 13px;
    transition: opacity .2s ease, transform .28s cubic-bezier(.2, .8, .2, 1);
}

.cms-theme-toggle-moon {
    opacity: 0;
    transform: rotate(-90deg) scale(.65);
}

.cms-theme-toggle[aria-pressed="true"] {
    background: linear-gradient(135deg, #111827, #312e81);
    box-shadow: inset 0 0 0 1px rgba(129, 140, 248, .28), 0 8px 18px rgba(17, 24, 39, .22);
}

.cms-theme-toggle[aria-pressed="true"] .cms-theme-toggle-orbit {
    transform: translateX(-14px);
    color: #bfdbfe;
    background: #1f2937;
}

.cms-theme-toggle[aria-pressed="true"] .cms-theme-toggle-sun {
    opacity: 0;
    transform: rotate(90deg) scale(.65);
}

.cms-theme-toggle[aria-pressed="true"] .cms-theme-toggle-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

html:not([data-bs-theme="dark"]) #sidebar.app-sidebar {
    --sidebar-bg: #f8fbff;
    --sidebar-bg-2: #eef6ff;
    --sidebar-line: rgba(71, 85, 105, .22);
    --sidebar-line-active: #0ea5e9;
    --sidebar-text: rgba(30, 41, 59, .78);
    --sidebar-text-soft: rgba(71, 85, 105, .68);
    --sidebar-text-strong: #0f172a;
    --sidebar-accent: #0ea5e9;
    --sidebar-accent-2: #14b8a6;
    --sidebar-link-hover: rgba(14, 165, 233, .08);
    --sidebar-link-active: linear-gradient(135deg, rgba(14, 165, 233, .14), rgba(20, 184, 166, .1));
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .35) 160px),
        linear-gradient(180deg, var(--sidebar-bg-2), var(--sidebar-bg));
    border-left: 1px solid rgba(148, 163, 184, .28);
    box-shadow: -10px 0 26px rgba(15, 23, 42, .045);
}

html:not([data-bs-theme="dark"]) .app-sidebar-bg:not(.app-sidebar-end) {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .42) 160px),
        linear-gradient(180deg, #eef6ff, #f8fbff);
    border-left: 1px solid rgba(148, 163, 184, .24);
}

html:not([data-bs-theme="dark"]) #sidebar .menu-header {
    color: rgba(71, 85, 105, .62);
}

html:not([data-bs-theme="dark"]) #sidebar .menu-divider,
html:not([data-bs-theme="dark"]) #sidebar .menu-profile {
    border-color: rgba(148, 163, 184, .22);
}

html:not([data-bs-theme="dark"]) #sidebar .menu .menu-icon {
    color: rgba(71, 85, 105, .68);
}

html:not([data-bs-theme="dark"]) #sidebar .menu .menu-item.active > .menu-link .menu-icon,
html:not([data-bs-theme="dark"]) #sidebar .menu .menu-item.expand > .menu-link .menu-icon {
    color: #0284c7;
}

html:not([data-bs-theme="dark"]) #sidebar .menu > .menu-item.active > .menu-link,
html:not([data-bs-theme="dark"]) #sidebar .menu > .menu-item.expand > .menu-link {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78), 0 10px 22px rgba(14, 165, 233, .12);
}

html:not([data-bs-theme="dark"]) #sidebar .menu .menu-item.expand > .menu-link .menu-caret,
html:not([data-bs-theme="dark"]) #sidebar .menu .menu-item.active > .menu-link .menu-caret {
    color: #0f766e;
}

html:not([data-bs-theme="dark"]) #sidebar .menu .menu-submenu .menu-item > .menu-link:hover {
    color: #0f172a;
    background: rgba(14, 165, 233, .075);
}

html:not([data-bs-theme="dark"]) #sidebar .menu .menu-submenu .menu-item.active > .menu-link {
    color: #0f172a;
    background: rgba(14, 165, 233, .11);
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, .16);
}

html:not([data-bs-theme="dark"]) #sidebar.app-sidebar-grid .menu > .menu-item > .menu-link {
    border-bottom: 1px solid rgba(148, 163, 184, .18);
}

html:not([data-bs-theme="dark"]) .app-sidebar-float-submenu {
    border-color: rgba(148, 163, 184, .24);
    background: linear-gradient(180deg, rgba(248, 251, 255, .98), rgba(238, 246, 255, .98));
    box-shadow: 0 22px 44px rgba(15, 23, 42, .16);
}

html:not([data-bs-theme="dark"]) .app-sidebar-float-submenu .menu-item > .menu-link {
    color: rgba(30, 41, 59, .78);
}

html:not([data-bs-theme="dark"]) .app-sidebar-float-submenu .menu-item.active > .menu-link,
html:not([data-bs-theme="dark"]) .app-sidebar-float-submenu .menu-item > .menu-link:hover {
    color: #0f172a;
    background: rgba(14, 165, 233, .12);
}

html[data-bs-theme="dark"] {
    --bs-body-bg: #121416;
    --bs-body-color: #e5edf5;
    --admin-dark-bg: #121416;
    --admin-dark-bg-2: #171a1f;
    --admin-dark-surface: #1b2026;
    --admin-dark-surface-2: #20262e;
    --admin-dark-border: rgba(148, 163, 184, .18);
    --admin-dark-text: #e5edf5;
    --admin-dark-muted: #9aa8ba;
    color-scheme: dark;
}

html[data-bs-theme="dark"] body {
    color: var(--admin-dark-text);
    background:
        linear-gradient(180deg, #171a1f 0, #121416 260px),
        var(--admin-dark-bg);
}

html[data-bs-theme="dark"] .app {
    background:
        linear-gradient(180deg, rgba(34, 38, 45, .55), rgba(18, 20, 22, .98) 300px),
        var(--admin-dark-bg);
}

html[data-bs-theme="dark"] .app-content {
    color: var(--admin-dark-text);
    background:
        linear-gradient(180deg, rgba(31, 36, 44, .62), rgba(18, 20, 22, .96) 320px),
        var(--admin-dark-bg);
}

html[data-bs-theme="dark"] .app-header {
    color: #f8fafc;
    background: rgba(24, 28, 34, .92);
    border-bottom-color: rgba(148, 163, 184, .16);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .24);
}

html[data-bs-theme="dark"] .app-header .navbar-link,
html[data-bs-theme="dark"] .app-header .navbar-brand {
    color: rgba(248, 250, 252, .9);
}

html[data-bs-theme="dark"] .app-header .navbar-form .form-control {
    color: #e5edf5;
    background: rgba(255, 255, 255, .075);
    border-color: rgba(148, 163, 184, .18);
}

html[data-bs-theme="dark"] .app-header .navbar-form .form-control::placeholder {
    color: rgba(203, 213, 225, .68);
}

html[data-bs-theme="dark"] .app-header .navbar-form .btn-search {
    color: rgba(226, 232, 240, .82);
}

html[data-bs-theme="dark"] .card,
html[data-bs-theme="dark"] .panel,
html[data-bs-theme="dark"] .dropdown-menu,
html[data-bs-theme="dark"] .modal-content,
html[data-bs-theme="dark"] .theme-panel-content,
html[data-bs-theme="dark"] .list-group-item,
html[data-bs-theme="dark"] .toast,
html[data-bs-theme="dark"] .glass-actions,
html[data-bs-theme="dark"] .admin-file-picker {
    color: var(--admin-dark-text);
    background-color: var(--admin-dark-surface);
    border-color: var(--admin-dark-border);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
}

html[data-bs-theme="dark"] .card-header,
html[data-bs-theme="dark"] .card-footer,
html[data-bs-theme="dark"] .panel-heading,
html[data-bs-theme="dark"] .modal-header,
html[data-bs-theme="dark"] .modal-footer {
    color: var(--admin-dark-text);
    background-color: var(--admin-dark-surface-2);
    border-color: var(--admin-dark-border);
}

html[data-bs-theme="dark"] .table,
html[data-bs-theme="dark"] table {
    color: var(--admin-dark-text);
    border-color: var(--admin-dark-border);
}

html[data-bs-theme="dark"] td,
html[data-bs-theme="dark"] th,
html[data-bs-theme="dark"] .table > :not(caption) > * > * {
    color: var(--admin-dark-text);
    background-color: transparent;
    border-color: var(--admin-dark-border) !important;
}

html[data-bs-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: rgba(255, 255, 255, .035);
}

html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] .input-group-text,
html[data-bs-theme="dark"] textarea,
html[data-bs-theme="dark"] select {
    color: var(--admin-dark-text);
    background-color: #171b21;
    border-color: rgba(148, 163, 184, .24);
}

html[data-bs-theme="dark"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus,
html[data-bs-theme="dark"] textarea:focus,
html[data-bs-theme="dark"] select:focus {
    border-color: rgba(45, 212, 191, .58);
    box-shadow: 0 0 0 .18rem rgba(45, 212, 191, .12);
}

html[data-bs-theme="dark"] .form-control::placeholder {
    color: rgba(203, 213, 225, .56);
}

html[data-bs-theme="dark"] .select2-container .select2-selection,
html[data-bs-theme="dark"] .select2-container .select2-dropdown {
    color: var(--admin-dark-text);
    background-color: #171b21;
    border-color: rgba(148, 163, 184, .24);
}

html[data-bs-theme="dark"] .btn-default,
html[data-bs-theme="dark"] .btn-light {
    color: var(--admin-dark-text);
    background-color: #232932;
    border-color: rgba(148, 163, 184, .22);
}

html[data-bs-theme="dark"] .btn-default:hover,
html[data-bs-theme="dark"] .btn-light:hover {
    background-color: #2a313b;
    border-color: rgba(148, 163, 184, .32);
}

html[data-bs-theme="dark"] .bg-white,
html[data-bs-theme="dark"] .bg-light,
html[data-bs-theme="dark"] .bg-body,
html[data-bs-theme="dark"] .bg-body-tertiary {
    background-color: var(--admin-dark-surface) !important;
}

html[data-bs-theme="dark"] .text-dark,
html[data-bs-theme="dark"] .text-body,
html[data-bs-theme="dark"] .control-label,
html[data-bs-theme="dark"] label {
    color: var(--admin-dark-text) !important;
}

html[data-bs-theme="dark"] .text-muted,
html[data-bs-theme="dark"] small,
html[data-bs-theme="dark"] .opacity-50 {
    color: var(--admin-dark-muted) !important;
}

html[data-bs-theme="dark"] a:not(.btn):not(.menu-link):not(.navbar-link):not(.dropdown-item) {
    color: #8bd3ff;
}

html[data-bs-theme="dark"] .dropdown-item {
    color: rgba(229, 237, 245, .9);
}

html[data-bs-theme="dark"] .dropdown-item:hover,
html[data-bs-theme="dark"] .dropdown-item:focus {
    color: #fff;
    background-color: rgba(45, 212, 191, .12);
}

html[data-bs-theme="dark"] .border,
html[data-bs-theme="dark"] .border-top,
html[data-bs-theme="dark"] .border-bottom,
html[data-bs-theme="dark"] .border-start,
html[data-bs-theme="dark"] .border-end {
    border-color: var(--admin-dark-border) !important;
}

html[data-bs-theme="dark"] .data-row {
    background: rgba(255, 255, 255, .025);
}

html[data-bs-theme="dark"] .data-row:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, .11), rgba(20, 184, 166, .08));
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}

html:not([data-bs-theme="dark"]) #sidebar .menu-profile {
    background:
        radial-gradient(circle at 20% 18%, rgba(14, 165, 233, .18), transparent 32%),
        linear-gradient(180deg, rgba(239, 246, 255, .94), rgba(248, 251, 255, .98));
}

html:not([data-bs-theme="dark"]) #sidebar .menu-profile .menu-profile-cover {
    opacity: .2;
    filter: grayscale(.15) contrast(.9);
}

html:not([data-bs-theme="dark"]) #sidebar .menu-profile .menu-profile-cover::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(226, 242, 255, .72));
}

html:not([data-bs-theme="dark"]) #sidebar .menu-profile .menu-profile-info {
    color: #0f172a;
    text-shadow: none;
}

html:not([data-bs-theme="dark"]) #sidebar .menu-profile .menu-profile-info small {
    color: rgba(71, 85, 105, .76);
}

html:not([data-bs-theme="dark"]) #appSidebarProfileMenu .menu-link {
    color: rgba(30, 41, 59, .82);
}

html[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] #content.app-content,
html[data-bs-theme="dark"] .app-content {
    background:
        radial-gradient(circle at 80% 0, rgba(20, 184, 166, .08), transparent 28rem),
        linear-gradient(180deg, #171a1f 0, #111418 18rem, #101214 100%) !important;
}

html[data-bs-theme="dark"] #content.app-content {
    min-height: calc(100vh - 46px);
}

html[data-bs-theme="dark"] .dashboard-shell {
    --dash-ink: #e5edf5;
    --dash-muted: #98a6b8;
    --dash-line: rgba(148, 163, 184, .18);
    --dash-soft: rgba(255, 255, 255, .035);
    --dash-card: #1a2027;
    --dash-accent: #2dd4bf;
    --dash-accent-soft: rgba(45, 212, 191, .12);
    color: var(--dash-ink);
}

html[data-bs-theme="dark"] .dashboard-board,
html[data-bs-theme="dark"] .widget-catalog,
html[data-bs-theme="dark"] .dashboard-widget,
html[data-bs-theme="dark"] .catalog-item,
html[data-bs-theme="dark"] .mini-metric,
html[data-bs-theme="dark"] .widget-library-trigger {
    color: var(--admin-dark-text) !important;
    border-color: var(--admin-dark-border) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)),
        var(--admin-dark-surface) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .2) !important;
}

html[data-bs-theme="dark"] .dashboard-board {
    min-height: calc(100vh - 120px);
}

html[data-bs-theme="dark"] .widget-head,
html[data-bs-theme="dark"] .catalog-head {
    border-color: var(--admin-dark-border) !important;
}

html[data-bs-theme="dark"] .widget-body,
html[data-bs-theme="dark"] .catalog-item span,
html[data-bs-theme="dark"] .widget-library-trigger span,
html[data-bs-theme="dark"] .empty-state {
    color: var(--admin-dark-muted) !important;
}

html[data-bs-theme="dark"] .catalog-title,
html[data-bs-theme="dark"] .catalog-item strong,
html[data-bs-theme="dark"] .widget-title {
    color: var(--admin-dark-text) !important;
}

html[data-bs-theme="dark"] .icon-btn,
html[data-bs-theme="dark"] .catalog-tab {
    color: var(--admin-dark-text) !important;
    background: #20262e !important;
    border-color: var(--admin-dark-border) !important;
}

html[data-bs-theme="dark"] .catalog-tab.is-active {
    color: #061312 !important;
    background: #5eead4 !important;
    border-color: #5eead4 !important;
}

.uw-page {
    --uw-bg: #f6f9fc;
    --uw-surface: rgba(255, 255, 255, .94);
    --uw-surface-strong: #fff;
    --uw-line: rgba(148, 163, 184, .28);
    --uw-text: #102033;
    --uw-muted: #64748b;
    --uw-accent: #0f8f87;
    --uw-accent-2: #2563eb;
    --uw-soft: rgba(15, 143, 135, .1);
    --uw-danger: #ef4444;
    color: var(--uw-text);
    min-height: calc(100vh - 70px);
}

html[data-bs-theme="dark"] .uw-page {
    --uw-bg: #101214;
    --uw-surface: rgba(27, 32, 38, .94);
    --uw-surface-strong: #20262e;
    --uw-line: rgba(148, 163, 184, .18);
    --uw-text: #e5edf5;
    --uw-muted: #9aa8ba;
    --uw-accent: #2dd4bf;
    --uw-accent-2: #93c5fd;
    --uw-soft: rgba(45, 212, 191, .11);
}

.uw-hero,
.uw-card,
.uw-feedback-card,
.uw-help-section,
.uw-inbox-card {
    border: 1px solid var(--uw-line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .42)),
        var(--uw-surface);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

html[data-bs-theme="dark"] .uw-hero,
html[data-bs-theme="dark"] .uw-card,
html[data-bs-theme="dark"] .uw-feedback-card,
html[data-bs-theme="dark"] .uw-help-section,
html[data-bs-theme="dark"] .uw-inbox-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)),
        var(--uw-surface);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
}

.uw-hero {
    position: relative;
    overflow: hidden;
    padding: 18px;
    margin-bottom: 12px;
}

.uw-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(14, 165, 233, .12), transparent 18rem),
        radial-gradient(circle at 90% 0, rgba(20, 184, 166, .12), transparent 20rem);
    pointer-events: none;
}

.uw-hero > * {
    position: relative;
}

.uw-identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.uw-avatar {
    width: 66px;
    height: 66px;
    border-radius: 18px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, .78);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .12);
}

.uw-kicker,
.uw-muted {
    color: var(--uw-muted);
}

.uw-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--uw-text);
}

.uw-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.uw-btn,
.uw-action-card {
    border: 1px solid var(--uw-line);
    border-radius: 8px;
    background: var(--uw-surface-strong);
    color: var(--uw-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    font-weight: 900;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.uw-btn:hover,
.uw-action-card:hover {
    color: var(--uw-text);
    border-color: color-mix(in srgb, var(--uw-accent), var(--uw-line) 30%);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
}

.uw-btn.primary {
    color: #fff;
    border-color: var(--uw-accent);
    background: linear-gradient(135deg, var(--uw-accent), #14b8a6);
}

html[data-bs-theme="dark"] .uw-btn.primary {
    color: #05201d;
}

.uw-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
}

.uw-span-4 {
    grid-column: span 4;
}

.uw-span-6 {
    grid-column: span 6;
}

.uw-span-8 {
    grid-column: span 8;
}

.uw-span-12 {
    grid-column: span 12;
}

.uw-card,
.uw-feedback-card,
.uw-help-section,
.uw-inbox-card {
    padding: 14px;
}

.uw-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.uw-card h2,
.uw-feedback-card h2,
.uw-help-section h2 {
    margin: 0;
    color: var(--uw-text);
    font-size: .96rem;
    font-weight: 900;
}

.uw-card p,
.uw-feedback-card p,
.uw-help-section p {
    color: var(--uw-muted);
    line-height: 1.9;
}

.uw-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--uw-accent);
    background: var(--uw-soft);
}

.uw-status-list {
    display: grid;
    gap: 8px;
}

.uw-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid var(--uw-line);
    border-radius: 8px;
    background: rgba(148, 163, 184, .06);
    padding: 9px 10px;
}

.uw-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 4px 9px;
    color: #0f5132;
    background: #d1fae5;
    font-size: .72rem;
    font-weight: 900;
}

.uw-chip.off {
    color: #7f1d1d;
    background: #fee2e2;
}

html[data-bs-theme="dark"] .uw-chip {
    color: #bbf7d0;
    background: rgba(34, 197, 94, .16);
}

html[data-bs-theme="dark"] .uw-chip.off {
    color: #fecaca;
    background: rgba(239, 68, 68, .16);
}

.uw-action-grid,
.uw-help-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.uw-action-card {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    min-height: 112px;
    text-align: right;
}

.uw-action-card i {
    color: var(--uw-accent);
    font-size: 1.1rem;
}

.uw-action-card span {
    color: var(--uw-muted);
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.8;
}

.uw-form-grid {
    display: grid;
    gap: 12px;
}

.uw-page .form-control,
.uw-page textarea {
    border-radius: 8px;
}

.uw-page textarea {
    min-height: 180px;
    resize: vertical;
}

.uw-help-layout {
    display: grid;
    gap: 12px;
}

.uw-help-item {
    border: 1px solid var(--uw-line);
    border-radius: 8px;
    padding: 11px;
    background: rgba(148, 163, 184, .055);
}

.uw-help-item strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--uw-text);
    margin-bottom: 5px;
}

.uw-help-source {
    color: var(--uw-accent);
    background: var(--uw-soft);
    border-radius: 999px;
    padding: 3px 8px;
    font-size: .68rem;
    font-weight: 900;
}

.uw-inbox-list {
    display: grid;
    gap: 10px;
}

.uw-inbox-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--uw-muted);
    font-size: .74rem;
}

.uw-message {
    white-space: pre-wrap;
    color: var(--uw-text);
    line-height: 1.9;
}

.uw-empty {
    border: 1px dashed var(--uw-line);
    border-radius: 8px;
    padding: 28px;
    text-align: center;
    color: var(--uw-muted);
    background: rgba(148, 163, 184, .055);
}

@media (max-width: 991.98px) {
    .uw-span-4,
    .uw-span-6,
    .uw-span-8 {
        grid-column: span 12;
    }
}

@media (max-width: 575.98px) {
    .uw-hero {
        padding: 14px;
    }

    .uw-identity {
        align-items: flex-start;
    }

    .uw-avatar {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

    .uw-actions {
        width: 100%;
    }

    .uw-btn {
        flex: 1 1 auto;
    }
}

@font-face {
    font-family: "Vazirmatn";
    src: url("/ColorAdmin/fonts/vazir/webfonts/Vazirmatn-FD-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn";
    src: url("/ColorAdmin/fonts/vazir/webfonts/Vazirmatn-FD-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Samim";
    src: url("/ColorAdmin/fonts/samim-font-v2.0.1/Samim.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Samim";
    src: url("/ColorAdmin/fonts/samim-font-v2.0.1/Samim-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Samim-Bold";
    src: url("/ColorAdmin/fonts/samim-font-v2.0.1/Samim-Bold.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Samim-Bold";
    src: url("/ColorAdmin/fonts/samim-font-v2.0.1/Samim-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Samim-FD";
    src: url("/ColorAdmin/fonts/samim-font-v2.0.1/Farsi-Digits/Samim-FD.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Samim-FD";
    src: url("/ColorAdmin/fonts/samim-font-v2.0.1/Farsi-Digits/Samim-Bold-FD.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Samim-FD-Bold";
    src: url("/ColorAdmin/fonts/samim-font-v2.0.1/Farsi-Digits/Samim-Bold-FD.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Samim-FD-Bold";
    src: url("/ColorAdmin/fonts/samim-font-v2.0.1/Farsi-Digits/Samim-Bold-FD.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Samim-WOL";
    src: url("/ColorAdmin/fonts/samim-font-v2.0.1/Without-Latin/Samim-WOL.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Samim-WOL";
    src: url("/ColorAdmin/fonts/samim-font-v2.0.1/Without-Latin/Samim-Bold-WOL.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Samim-WOL-Bold";
    src: url("/ColorAdmin/fonts/samim-font-v2.0.1/Without-Latin/Samim-Bold-WOL.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Samim-WOL-Bold";
    src: url("/ColorAdmin/fonts/samim-font-v2.0.1/Without-Latin/Samim-Bold-WOL.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Samim-FD-WOL";
    src: url("/ColorAdmin/fonts/samim-font-v2.0.1/Farsi-Digits-Without-Latin/Samim-FD-WOL.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Samim-FD-WOL";
    src: url("/ColorAdmin/fonts/samim-font-v2.0.1/Farsi-Digits-Without-Latin/Samim-Bold-FD-WOL.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Samim-FD-WOL-Bold";
    src: url("/ColorAdmin/fonts/samim-font-v2.0.1/Farsi-Digits-Without-Latin/Samim-Bold-FD-WOL.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Samim-FD-WOL-Bold";
    src: url("/ColorAdmin/fonts/samim-font-v2.0.1/Farsi-Digits-Without-Latin/Samim-Bold-FD-WOL.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "YekanBakh";
    src: url("/fonts/businesscards/yekanbakh/YekanBakh-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "YekanBakh";
    src: url("/fonts/businesscards/yekanbakh/YekanBakh-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("/fonts/businesscards/peyda/PeydaWeb-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Peyda";
    src: url("/fonts/businesscards/peyda/PeydaWeb-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSans";
    src: url("/fonts/businesscards/iransans/IRANSansWeb.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSans";
    src: url("/fonts/businesscards/iransans/IRANSansWeb_Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --admin-font-family: "Shabnam", Tahoma, sans-serif;
    --bs-font-sans-serif: var(--admin-font-family);
    --bs-body-font-family: var(--admin-font-family);
    --shabnam: var(--admin-font-family);
    --shabnam-fd-nl: var(--admin-font-family);
    --shabnam-nl: var(--admin-font-family);
    --admin-font-size-base: 12px;
    --admin-font-size-sidebar: 12px;
    --admin-font-size-heading: 16px;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body,
.app,
.modal,
.dropdown-menu,
.popover,
.toast,
input,
button,
select,
textarea,
.btn,
.form-control,
.form-select {
    font-family: var(--admin-font-family) !important;
    font-size: var(--admin-font-size-base);
}

h1,
.h1 {
    font-size: calc(var(--admin-font-size-heading) + 8px);
}

h2,
.h2 {
    font-size: calc(var(--admin-font-size-heading) + 5px);
}

h3,
h4,
h5,
h6,
.h3,
.h4,
.h5,
.h6,
.card-header h1,
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5,
.panel-title,
.page-header {
    font-size: var(--admin-font-size-heading);
}

#sidebar .menu .menu-text,
#sidebar .menu .menu-header,
#sidebar .menu .menu-link {
    font-size: var(--admin-font-size-sidebar);
}

#app.app,
#content.app-content {
    max-width: 100vw;
}

#app.app {
    min-height: 100vh;
}

body:not(.admin-footer-fixed) #app.app {
    display: flex;
    flex-direction: column;
}

body:not(.admin-footer-fixed) #content.app-content {
    flex: 1 0 auto;
    min-height: calc(100vh - 50px - 64px) !important;
}

body:not(.admin-footer-fixed) #app.app:not(.app-header-fixed) #content.app-content {
    min-height: calc(100vh - 64px) !important;
}

#sidebar.app-sidebar,
#sidebar .app-sidebar-content,
#sidebar .menu,
#sidebar .ps,
.app-sidebar-float-submenu {
    overflow-x: hidden !important;
}

#sidebar .app-sidebar-content,
#sidebar .ps {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

#sidebar .app-sidebar-content::-webkit-scrollbar,
#sidebar .ps::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none;
}

#sidebar .ps__rail-x,
#sidebar .ps__rail-y,
.app-sidebar-float-submenu .ps__rail-y,
.app-sidebar-float-submenu .ps__rail-x {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.app.app-sidebar-grid #sidebar .menu > .menu-item > .menu-link,
#sidebar.app-sidebar-grid .menu > .menu-item > .menu-link {
    border-bottom-color: color-mix(in srgb, var(--sidebar-line, rgba(148, 163, 184, .24)), transparent 30%);
}

.app:not(.app-sidebar-grid) #sidebar .menu > .menu-item > .menu-link {
    border-bottom-color: transparent;
}

.app.app-sidebar-minified #sidebar,
.app.app-sidebar-minified #sidebar .app-sidebar-content,
.app.app-sidebar-minified #sidebar .menu {
    overflow-x: hidden !important;
}

.app-sidebar-float-submenu {
    max-width: min(280px, calc(100vw - 82px));
}

.app-sidebar-mobile-backdrop {
    transition: opacity .18s ease;
}

.app:not(.app-sidebar-mobile-toggled) .app-sidebar-mobile-backdrop {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 767.98px) {
    html,
    body,
    #app.app,
    #content.app-content {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden !important;
    }

    #sidebar.app-sidebar {
        width: min(84vw, 310px) !important;
        max-width: calc(100vw - 44px);
        left: auto !important;
        right: calc(-1 * min(84vw, 310px)) !important;
        transform: none !important;
        transition: right .22s ease, box-shadow .22s ease;
        pointer-events: none;
        visibility: hidden;
    }

    .app.app-sidebar-mobile-toggled #sidebar.app-sidebar {
        right: 0 !important;
        pointer-events: auto;
        visibility: visible;
        box-shadow: -24px 0 42px rgba(15, 23, 42, .22);
    }

    .app.app-sidebar-mobile-toggled .app-sidebar-mobile-backdrop {
        display: block !important;
        opacity: .58;
        background: rgba(15, 23, 42, .72);
        backdrop-filter: blur(2px);
    }

    .app:not(.app-sidebar-mobile-toggled) #sidebar.app-sidebar,
    .app.app-sidebar-mobile-closed #sidebar.app-sidebar {
        right: calc(-1 * min(84vw, 310px)) !important;
        transform: none !important;
        pointer-events: none !important;
        visibility: hidden;
    }
}

.cms-admin-footer {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 12px 12px;
    padding: 10px 14px;
    color: #64748b;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.cms-admin-footer a {
    color: #0f9388;
    font-weight: 800;
}

.cms-admin-footer-dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: currentColor;
    opacity: .38;
}

html[data-bs-theme="dark"] .cms-admin-footer {
    color: #94a3b8;
    background: rgba(30, 41, 51, .76);
    border-color: rgba(148, 163, 184, .20);
    box-shadow: none;
}

.admin-theme-managed-panel .theme-list-link {
    cursor: default;
    pointer-events: auto;
}

.admin-theme-managed-note,
.admin-theme-font-summary {
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 8px;
    padding: 9px 10px;
    color: #64748b;
    background: rgba(148, 163, 184, .08);
    font-size: .78rem;
    line-height: 1.8;
}

.admin-theme-font-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.admin-theme-font-summary strong {
    color: #0f9388;
}

.admin-theme-managed-panel .form-check-input:disabled {
    opacity: .72;
    filter: saturate(.85);
}

html[data-bs-theme="dark"] .admin-theme-managed-note,
html[data-bs-theme="dark"] .admin-theme-font-summary {
    color: #94a3b8;
    background: rgba(15, 23, 42, .26);
    border-color: rgba(148, 163, 184, .22);
}

/* Managed admin shell settings */
body {
    --admin-theme-accent-soft: color-mix(in srgb, var(--admin-theme-accent, #0f9388), transparent 86%);
    --admin-theme-accent-faint: color-mix(in srgb, var(--admin-theme-accent, #0f9388), transparent 94%);
    --admin-theme-ring: color-mix(in srgb, var(--admin-theme-accent, #0f9388), white 18%);
}

html,
body,
.app,
.app-content {
    scrollbar-color: color-mix(in srgb, var(--admin-theme-accent, #0f9388), #0f172a 12%) rgba(148, 163, 184, .18);
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(148, 163, 184, .14);
}

::-webkit-scrollbar-thumb {
    min-height: 44px;
    border: 2px solid transparent;
    border-radius: 999px;
    background:
        linear-gradient(180deg,
            color-mix(in srgb, var(--admin-theme-accent, #0f9388), white 10%),
            color-mix(in srgb, var(--admin-theme-accent, #0f9388), #0f172a 16%))
        padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(180deg,
            color-mix(in srgb, var(--admin-theme-accent, #0f9388), white 4%),
            color-mix(in srgb, var(--admin-theme-accent, #0f9388), #0f172a 24%))
        padding-box;
}

html[data-bs-theme="dark"] ::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, .62);
}

.btn-success,
.btn-primary,
.btn-info {
    --bs-btn-bg: var(--admin-theme-accent);
    --bs-btn-border-color: var(--admin-theme-accent);
    --bs-btn-hover-bg: color-mix(in srgb, var(--admin-theme-accent), #000 12%);
    --bs-btn-hover-border-color: color-mix(in srgb, var(--admin-theme-accent), #000 12%);
}

.text-primary,
.text-info {
    color: var(--admin-theme-accent) !important;
}

#sidebar.app-sidebar {
    --sidebar-accent: var(--admin-theme-accent, #0f9388);
    --sidebar-accent-2: var(--admin-theme-accent-2, #14b8a6);
    --sidebar-line-active: color-mix(in srgb, var(--admin-theme-accent, #0f9388), white 18%);
    --sidebar-link-active: linear-gradient(135deg,
        color-mix(in srgb, var(--admin-theme-accent, #0f9388), transparent 76%),
        color-mix(in srgb, var(--admin-theme-accent-2, #14b8a6), transparent 84%));
}

body.admin-sidebar-gradient #sidebar.app-sidebar,
body.admin-sidebar-gradient .app-sidebar-bg:not(.app-sidebar-end) {
    background:
        radial-gradient(circle at 18% 6%, color-mix(in srgb, var(--admin-sidebar-gradient-start, #0f9388), white 18%) 0, transparent 118px),
        linear-gradient(180deg,
            color-mix(in srgb, var(--admin-sidebar-gradient-start, #0f9388), #101827 18%) 0%,
            color-mix(in srgb, var(--admin-sidebar-gradient-end, #14343f), #101827 12%) 100%) !important;
}

body.admin-sidebar-solid #sidebar.app-sidebar,
body.admin-sidebar-solid .app-sidebar-bg:not(.app-sidebar-end) {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 150px),
        color-mix(in srgb, var(--admin-sidebar-solid, #0f9388), #101827 34%) !important;
}

html:not([data-bs-theme="dark"]) body.admin-sidebar-gradient #sidebar.app-sidebar,
html:not([data-bs-theme="dark"]) body.admin-sidebar-gradient .app-sidebar-bg:not(.app-sidebar-end) {
    background:
        radial-gradient(circle at 18% 8%, color-mix(in srgb, var(--admin-sidebar-gradient-start, #0f9388), white 24%) 0, transparent 128px),
        linear-gradient(180deg,
            color-mix(in srgb, var(--admin-sidebar-gradient-start, #0f9388), white 78%) 0%,
            color-mix(in srgb, var(--admin-sidebar-gradient-end, #14343f), white 84%) 100%) !important;
}

html:not([data-bs-theme="dark"]) body.admin-sidebar-solid #sidebar.app-sidebar,
html:not([data-bs-theme="dark"]) body.admin-sidebar-solid .app-sidebar-bg:not(.app-sidebar-end) {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .58) 160px),
        color-mix(in srgb, var(--admin-sidebar-solid, #0f9388), white 84%) !important;
}

html[data-bs-theme="dark"] body.admin-sidebar-gradient #sidebar.app-sidebar,
html[data-bs-theme="dark"] body.admin-sidebar-solid #sidebar.app-sidebar,
html[data-bs-theme="dark"] body.admin-sidebar-gradient .app-sidebar-bg:not(.app-sidebar-end),
html[data-bs-theme="dark"] body.admin-sidebar-solid .app-sidebar-bg:not(.app-sidebar-end) {
    --sidebar-bg: #151b22;
    --sidebar-bg-2: #202933;
    --sidebar-text: rgba(226, 232, 240, .80);
    --sidebar-text-soft: rgba(203, 213, 225, .62);
    --sidebar-text-strong: #f8fafc;
    --sidebar-link-hover: rgba(255, 255, 255, .07);
    --sidebar-link-active: linear-gradient(135deg, rgba(59, 130, 246, .22), rgba(45, 212, 191, .10));
    background:
        radial-gradient(circle at 18% 0, rgba(51, 65, 85, .78), transparent 150px),
        linear-gradient(180deg, #202933 0%, #17202a 42%, #111820 100%) !important;
}

html[data-bs-theme="dark"] #sidebar .menu-profile {
    background: #151b22;
}

html[data-bs-theme="dark"] #sidebar .menu-profile .menu-profile-cover {
    opacity: .28;
    filter: grayscale(.28) saturate(.7) contrast(1.05) brightness(.72);
}

html[data-bs-theme="dark"] #sidebar .menu-profile .menu-profile-cover::after {
    background:
        radial-gradient(circle at 78% 34%, rgba(15, 23, 42, .18), transparent 68px),
        linear-gradient(180deg, rgba(15, 23, 42, .18), rgba(15, 23, 42, .88));
}

#sidebar .app-sidebar-content {
    padding-inline: 7px !important;
}

#sidebar .menu-profile {
    width: calc(100% + 14px) !important;
    max-width: none !important;
    margin-right: -7px !important;
    margin-left: -7px !important;
    border-radius: 0 !important;
}

#sidebar .menu-profile .menu-profile-link {
    border-radius: 0 !important;
    overflow: hidden;
}

#sidebar .menu-profile .menu-profile-cover {
    inset: 0 !important;
    right: 0 !important;
    left: 0 !important;
    border-radius: 0 !important;
}

#sidebar .menu > .menu-item {
    margin-inline: 2px !important;
}

#sidebar .menu .menu-link {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 34px !important;
    padding-block: 6px !important;
    padding-inline: 8px !important;
}

#sidebar .menu .menu-icon,
#sidebar .menu > .menu-item > .menu-link .menu-icon {
    width: 23px !important;
    min-width: 23px !important;
    margin-inline: 0 3px !important;
    text-align: center;
}

#sidebar .menu .menu-text {
    min-width: 0;
    flex: 1 1 auto;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

#sidebar .menu .menu-caret {
    flex: 0 0 14px;
    width: 14px;
    margin-inline-start: auto;
    text-align: center;
}

html:not([data-bs-theme="dark"]) #sidebar .menu .menu-caret,
html:not([data-bs-theme="dark"]) #sidebar .menu .menu-caret::before,
html:not([data-bs-theme="dark"]) #sidebar .menu .menu-caret::after {
    color: rgba(51, 65, 85, .56) !important;
    border-color: currentColor !important;
    opacity: 1 !important;
}

html:not([data-bs-theme="dark"]) #sidebar .menu .menu-link:hover .menu-caret,
html:not([data-bs-theme="dark"]) #sidebar .menu .menu-link:hover .menu-caret::before,
html:not([data-bs-theme="dark"]) #sidebar .menu .menu-link:hover .menu-caret::after {
    color: var(--admin-theme-accent, #0f9388) !important;
}

html:not([data-bs-theme="dark"]) #sidebar .menu .menu-item.expand > .menu-link .menu-caret,
html:not([data-bs-theme="dark"]) #sidebar .menu .menu-item.active > .menu-link .menu-caret,
html:not([data-bs-theme="dark"]) #sidebar .menu .menu-item.expand > .menu-link .menu-caret::before,
html:not([data-bs-theme="dark"]) #sidebar .menu .menu-item.active > .menu-link .menu-caret::before,
html:not([data-bs-theme="dark"]) #sidebar .menu .menu-item.expand > .menu-link .menu-caret::after,
html:not([data-bs-theme="dark"]) #sidebar .menu .menu-item.active > .menu-link .menu-caret::after {
    color: var(--admin-theme-accent, #0f9388) !important;
    border-color: currentColor !important;
}

#sidebar .menu .menu-submenu {
    margin: 3px 13px 6px 0 !important;
    padding: 2px 8px 2px 0 !important;
}

#sidebar .menu .menu-submenu::before {
    right: 0 !important;
}

#sidebar .menu .menu-submenu .menu-item > .menu-link {
    min-height: 29px !important;
    padding-right: 7px !important;
    padding-left: 7px !important;
}

#sidebar .menu .menu-submenu .menu-item > .menu-link::after {
    right: -8px !important;
    width: 7px !important;
}

#sidebar .menu .menu-submenu .menu-submenu {
    margin-right: 10px !important;
    padding-right: 8px !important;
}

.app.app-sidebar-minified #sidebar .menu .menu-link {
    justify-content: center;
    padding-inline: 6px !important;
}

.app.app-sidebar-minified #sidebar .menu .menu-icon {
    margin-inline: 0 !important;
}

.cms-admin-footer {
    width: 100%;
    min-height: 40px;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin: 12px 12px 12px;
    padding: 10px 14px;
    color: #64748b;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .68)),
        color-mix(in srgb, var(--admin-theme-accent-faint), white 72%);
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.cms-admin-footer-cell {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cms-admin-footer-start {
    justify-content: flex-start;
}

.cms-admin-footer-center {
    justify-content: center;
}

.cms-admin-footer-end {
    justify-content: flex-end;
}

.cms-admin-footer a {
    color: var(--admin-theme-accent) !important;
}

.app.app-sidebar-fixed > .cms-admin-footer:not(.cms-admin-footer-fixed) {
    width: auto;
    margin-right: calc(var(--bs-app-sidebar-width, var(--app-sidebar-width, 220px)) + 15px);
}

.app.app-sidebar-minified > .cms-admin-footer:not(.cms-admin-footer-fixed) {
    margin-right: calc(var(--bs-app-sidebar-minified-width, var(--app-sidebar-minified-width, 60px)) + 12px);
}

.app.app-without-sidebar > .cms-admin-footer:not(.cms-admin-footer-fixed),
.app:not(.app-sidebar-fixed) > .cms-admin-footer:not(.cms-admin-footer-fixed) {
    margin-right: 12px;
}

.cms-admin-footer-fixed {
    position: fixed;
    right: calc(var(--bs-app-sidebar-width, var(--app-sidebar-width, 220px)) + 15px);
    left: 12px;
    bottom: 10px;
    width: auto;
    margin: 0;
    z-index: 1015;
}

body.admin-footer-fixed #content.app-content {
    padding-bottom: 72px;
}

.app.app-sidebar-minified .cms-admin-footer-fixed {
    right: calc(var(--bs-app-sidebar-minified-width, var(--app-sidebar-minified-width, 60px)) + 12px);
}

.app.app-without-sidebar .cms-admin-footer-fixed,
.app:not(.app-sidebar-fixed) .cms-admin-footer-fixed {
    right: 12px;
}

html[data-bs-theme="dark"] .cms-admin-footer {
    color: #9aa8ba;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)),
        #1b2026;
    border-color: rgba(148, 163, 184, .18);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .18);
}

@media (max-width: 767.98px) {
    ::-webkit-scrollbar {
        width: 7px;
        height: 7px;
    }

    #sidebar .app-sidebar-content {
        padding-inline: 8px !important;
    }

    #sidebar .menu-profile {
        width: calc(100% + 16px) !important;
        margin-right: -8px !important;
        margin-left: -8px !important;
    }

    #sidebar .menu .menu-link {
        min-height: 37px !important;
    }

    #sidebar .menu .menu-submenu {
        margin-right: 12px !important;
        padding-right: 8px !important;
    }

    .cms-admin-footer {
        width: calc(100% - 20px) !important;
        max-width: none;
        align-self: stretch;
        justify-self: stretch;
        margin: 12px 10px !important;
        grid-template-columns: 1fr;
        gap: 4px;
        text-align: center;
    }

    .cms-admin-footer:not(.cms-admin-footer-fixed) {
        position: relative;
        right: auto !important;
        left: auto !important;
    }

    .cms-admin-footer-fixed {
        right: 10px !important;
        left: 10px !important;
        width: auto !important;
        margin: 0 !important;
    }

    .cms-admin-footer-cell,
    .cms-admin-footer-start,
    .cms-admin-footer-center,
    .cms-admin-footer-end {
        justify-content: center;
    }
}

/* Managed shell motion: keep sidebar/theme interactions soft across core and modules. */
:root {
    --admin-sidebar-motion: cubic-bezier(.22, 1, .36, 1);
}

#sidebar.app-sidebar,
.app-sidebar-bg:not(.app-sidebar-end),
#content.app-content,
#header.app-header,
.app-sidebar-mobile-backdrop {
    transition:
        width .32s var(--admin-sidebar-motion),
        right .32s var(--admin-sidebar-motion),
        left .32s var(--admin-sidebar-motion),
        margin .32s var(--admin-sidebar-motion),
        transform .32s var(--admin-sidebar-motion),
        opacity .24s ease,
        visibility .24s ease,
        background .32s ease,
        box-shadow .32s ease !important;
}

#sidebar.app-sidebar {
    will-change: transform, width, right, background;
}

#sidebar .menu .menu-link,
#sidebar .menu .menu-icon,
#sidebar .menu .menu-text,
#sidebar .menu .menu-caret,
#sidebar .menu-profile,
#sidebar .menu-profile .menu-profile-cover {
    transition:
        color .2s ease,
        background .24s ease,
        border-color .24s ease,
        opacity .22s ease,
        transform .28s var(--admin-sidebar-motion),
        box-shadow .24s ease !important;
}

.admin-favicon-switching .cms-theme-toggle-track {
    box-shadow:
        0 0 0 5px color-mix(in srgb, var(--admin-theme-accent, #0f9388), transparent 82%),
        0 10px 24px color-mix(in srgb, var(--admin-theme-accent, #0f9388), transparent 70%);
    filter: saturate(1.08);
}

@media (min-width: 768px) {
    .app.app-sidebar-minified #sidebar.app-sidebar {
        transform: translateZ(0) !important;
    }
}

@media (max-width: 767.98px) {
    #sidebar.app-sidebar {
        right: 0 !important;
        transform: translate3d(105%, 0, 0) !important;
        opacity: .98;
        transition:
            transform .34s var(--admin-sidebar-motion),
            opacity .24s ease,
            visibility 0s linear .34s,
            background .32s ease,
            box-shadow .32s ease !important;
    }

    .app.app-sidebar-mobile-toggled #sidebar.app-sidebar {
        transform: translate3d(0, 0, 0) !important;
        opacity: 1;
        visibility: visible;
        transition:
            transform .34s var(--admin-sidebar-motion),
            opacity .24s ease,
            visibility 0s linear 0s,
            background .32s ease,
            box-shadow .32s ease !important;
    }

    .app:not(.app-sidebar-mobile-toggled) #sidebar.app-sidebar,
    .app.app-sidebar-mobile-closed #sidebar.app-sidebar {
        right: 0 !important;
        transform: translate3d(105%, 0, 0) !important;
    }

    .app-sidebar-mobile-backdrop {
        transition:
            opacity .28s ease,
            backdrop-filter .28s ease,
            background .28s ease,
            visibility 0s linear .28s !important;
    }

    .app.app-sidebar-mobile-toggled .app-sidebar-mobile-backdrop {
        transition:
            opacity .28s ease,
            backdrop-filter .28s ease,
            background .28s ease,
            visibility 0s linear 0s !important;
    }
}

#sidebar.app-sidebar {
    --admin-sidebar-content-gutter: 8px;
    --admin-sidebar-profile-gutter: 0px;
    --admin-sidebar-profile-gutter-negative: 0px;
    --sidebar-profile-top-radius: 0px;
    --sidebar-profile-bottom-radius: 26px;
    --sidebar-profile-shadow: 0 16px 34px rgb(15 23 42 / 16%);
    --sidebar-profile-overlay-rgb: 15 23 42;
    --sidebar-profile-overlay-soft: 12%;
    --sidebar-profile-overlay-mid: 26%;
    --sidebar-profile-overlay-opacity: 48%;
    --admin-sidebar-profile-radius: var(--sidebar-profile-top-radius) var(--sidebar-profile-top-radius) var(--sidebar-profile-bottom-radius) var(--sidebar-profile-bottom-radius);
}

#sidebar .app-sidebar-content {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

#sidebar .menu > .menu-header,
#sidebar .menu > .menu-item {
    margin-right: var(--admin-sidebar-content-gutter) !important;
    margin-left: var(--admin-sidebar-content-gutter) !important;
}

#sidebar .menu > .menu-profile {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: 0 !important;
    border-top: var(--sidebar-profile-border-width, 0) var(--sidebar-profile-border-style, solid) var(--sidebar-profile-border-color, transparent) !important;
    border-bottom: var(--sidebar-profile-border-width, 0) var(--sidebar-profile-border-style, solid) var(--sidebar-profile-border-color, transparent) !important;
    border-radius: var(--admin-sidebar-profile-radius) !important;
    background: transparent !important;
    box-shadow: var(--sidebar-profile-shadow) !important;
    overflow: hidden !important;
}

#sidebar .menu-profile .menu-profile-link {
    display: block;
    position: relative;
    z-index: 2;
    min-height: 118px;
    width: 100%;
    overflow: visible;
    border-radius: inherit !important;
    background: transparent !important;
}

#sidebar .menu-profile .menu-profile-cover {
    position: absolute;
    inset: 0 !important;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 1 !important;
    filter: none !important;
    border-radius: inherit !important;
    background: var(--sidebar-profile-color-start, #17202a) !important;
}

#sidebar .menu-profile.sidebar-profile-bg-gradient .menu-profile-cover {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .14), transparent 34%),
        linear-gradient(135deg, var(--sidebar-profile-color-start, #17202a), var(--sidebar-profile-color-end, #0f9388)) !important;
}

#sidebar .menu-profile.sidebar-profile-bg-image .menu-profile-cover {
    background-image:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .035), transparent 86px),
        var(--sidebar-profile-image),
        linear-gradient(135deg, #303b43 0%, #242e35 100%) !important;
    background-repeat: no-repeat !important;
    background-position: center center, center center, center center !important;
    background-size: auto, cover, auto !important;
    background-blend-mode: soft-light, normal, normal;
}

#sidebar .menu-profile.sidebar-profile-bg-image.sidebar-profile-fit-fill .menu-profile-cover {
    background-size: auto, cover, auto !important;
}

#sidebar .menu-profile.sidebar-profile-bg-image.sidebar-profile-fit-contain .menu-profile-cover {
    background-size: auto, contain, auto !important;
}

#sidebar .menu-profile .menu-profile-image {
    right: 12px !important;
    left: auto !important;
    top: 18px !important;
    z-index: 2;
}

#sidebar .menu-profile .menu-profile-image img {
    width: 34px !important;
    height: 34px !important;
    object-fit: cover;
}

#sidebar .menu-profile .menu-profile-info {
    position: relative;
    z-index: 2;
    padding: 56px 16px 14px 16px !important;
    color: #fff;
    text-align: right;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .34);
    overflow: hidden;
}

#sidebar .menu-profile .menu-profile-info .flex-grow-1 {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#sidebar .menu-profile .menu-profile-info small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(255, 255, 255, .72);
}

#sidebar .menu-profile.sidebar-profile-bg-solid .menu-profile-cover::after,
#sidebar .menu-profile.sidebar-profile-bg-gradient .menu-profile-cover::after {
    background:
        radial-gradient(circle at 82% 24%, rgba(255, 255, 255, .12), transparent 70px),
        linear-gradient(180deg,
            rgb(var(--sidebar-profile-overlay-rgb) / var(--sidebar-profile-overlay-soft)),
            rgb(var(--sidebar-profile-overlay-rgb) / var(--sidebar-profile-overlay-opacity)));
}

#sidebar .menu-profile.sidebar-profile-bg-image .menu-profile-cover::after {
    background:
        linear-gradient(90deg,
            rgb(var(--sidebar-profile-overlay-rgb) / var(--sidebar-profile-overlay-soft)),
            rgb(var(--sidebar-profile-overlay-rgb) / var(--sidebar-profile-overlay-mid))),
        linear-gradient(180deg,
            rgb(var(--sidebar-profile-overlay-rgb) / var(--sidebar-profile-overlay-soft)),
            rgb(var(--sidebar-profile-overlay-rgb) / var(--sidebar-profile-overlay-opacity))) !important;
}

html:not([data-bs-theme="dark"]) #sidebar .menu-profile.sidebar-profile-bg-image .menu-profile-cover {
    background-image:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .035), transparent 86px),
        var(--sidebar-profile-image),
        linear-gradient(135deg, #303b43 0%, #242e35 100%) !important;
}

html:not([data-bs-theme="dark"]) #sidebar .menu-profile.sidebar-profile-bg-image .sidebar-profile-cover-img {
    opacity: .11;
    filter: grayscale(1) contrast(.9) brightness(1.08);
}

html:not([data-bs-theme="dark"]) #sidebar .menu-profile.sidebar-profile-bg-image .menu-profile-cover::after {
    background:
        linear-gradient(90deg,
            rgb(var(--sidebar-profile-overlay-rgb) / var(--sidebar-profile-overlay-soft)),
            rgb(var(--sidebar-profile-overlay-rgb) / var(--sidebar-profile-overlay-mid))),
        linear-gradient(180deg,
            rgb(var(--sidebar-profile-overlay-rgb) / var(--sidebar-profile-overlay-soft)),
            rgb(var(--sidebar-profile-overlay-rgb) / var(--sidebar-profile-overlay-opacity))) !important;
}

html:not([data-bs-theme="dark"]) #sidebar .menu-profile.sidebar-profile-bg-image .menu-profile-info {
    color: #fff;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .34);
}

html:not([data-bs-theme="dark"]) #sidebar .menu-profile.sidebar-profile-bg-image .menu-profile-info small {
    color: rgba(255, 255, 255, .72);
}

.sidebar-profile-preview {
    --sidebar-profile-preview-start: #17202a;
    --sidebar-profile-preview-end: #0f9388;
    --sidebar-profile-preview-border-color: #2dd4bf;
    --sidebar-profile-preview-border-style: solid;
    --sidebar-profile-preview-border-width: 0px;
    --sidebar-profile-preview-top-radius: 0px;
    --sidebar-profile-preview-bottom-radius: 26px;
    --sidebar-profile-preview-shadow: 0 16px 34px rgb(15 23 42 / 16%);
    --sidebar-profile-preview-overlay-rgb: 15 23 42;
    --sidebar-profile-preview-overlay-soft: 12%;
    --sidebar-profile-preview-overlay-mid: 26%;
    --sidebar-profile-preview-overlay-opacity: 48%;
    position: relative;
    min-height: 126px;
    overflow: hidden;
    border-radius: var(--sidebar-profile-preview-top-radius) var(--sidebar-profile-preview-top-radius) var(--sidebar-profile-preview-bottom-radius) var(--sidebar-profile-preview-bottom-radius);
    border: var(--sidebar-profile-preview-border-width) var(--sidebar-profile-preview-border-style) var(--sidebar-profile-preview-border-color);
    box-shadow: var(--sidebar-profile-preview-shadow);
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .16), transparent 34%),
        var(--sidebar-profile-preview-start);
}

.sidebar-profile-preview[data-mode="gradient"] {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .16), transparent 34%),
        linear-gradient(135deg, var(--sidebar-profile-preview-start), var(--sidebar-profile-preview-end));
}

.sidebar-profile-preview[data-mode="image"] {
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .035), transparent 86px),
        linear-gradient(135deg, #303b43 0%, #242e35 100%);
}

.sidebar-profile-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    opacity: 0;
    filter: none;
    object-position: center center;
    object-fit: cover;
}

.sidebar-profile-preview[data-mode="image"] img {
    opacity: 1;
}

.sidebar-profile-preview[data-mode="image"][data-fit="fill"] img {
    object-fit: cover;
}

.sidebar-profile-preview[data-mode="image"][data-fit="contain"] img {
    object-fit: contain;
}

.sidebar-profile-preview[data-mode="solid"] img,
.sidebar-profile-preview[data-mode="gradient"] img {
    display: none;
}

.sidebar-profile-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgb(var(--sidebar-profile-preview-overlay-rgb) / var(--sidebar-profile-preview-overlay-soft)),
            rgb(var(--sidebar-profile-preview-overlay-rgb) / var(--sidebar-profile-preview-overlay-opacity)));
}

.sidebar-profile-preview[data-mode="image"]::after {
    background:
        linear-gradient(90deg,
            rgb(var(--sidebar-profile-preview-overlay-rgb) / var(--sidebar-profile-preview-overlay-soft)),
            rgb(var(--sidebar-profile-preview-overlay-rgb) / var(--sidebar-profile-preview-overlay-mid))),
        linear-gradient(180deg,
            rgb(var(--sidebar-profile-preview-overlay-rgb) / var(--sidebar-profile-preview-overlay-soft)),
            rgb(var(--sidebar-profile-preview-overlay-rgb) / var(--sidebar-profile-preview-overlay-opacity)));
}

.sidebar-profile-preview-text {
    position: absolute;
    right: 14px;
    left: 14px;
    bottom: 12px;
    z-index: 1;
    color: #fff;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}

.sidebar-profile-preview-text strong,
.sidebar-profile-preview-text span {
    display: block;
}

.sidebar-profile-preview-text span {
    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
}

@media (max-width: 767.98px) {
    #sidebar.app-sidebar {
        --admin-sidebar-content-gutter: 8px;
    }
}
