@font-face {
    font-family: 'B Mitra';
    src: url('../fonts/Mitra.eot');
    src: url('../fonts/Mitra.eot?#iefix') format('embedded-opentype'), url('../fonts/Mitra.woff') format('woff'), url('../fonts/Mitra.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'B Mitra';
    src: url('../fonts/MitraBold.eot');
    src: url('../fonts/MitraBold.eot?#iefix') format('embedded-opentype'), url('../fonts/MitraBold.woff') format('woff'), url('../fonts/MitraBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'B Nazanin';
    src: url('../fonts/BNazanin.eot');
    src: url('../fonts/BNazanin.eot?#iefix') format('embedded-opentype'), url('../fonts/BNazanin.woff') format('woff'), url('../fonts/BNazanin.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'B Titr Bold';
    src: url('../fonts/BTitr.eot');
    src: url('../fonts/BTitr.eot?#iefix') format('embedded-opentype'), url('../fonts/BTitr.woff') format('woff'), url('../fonts/BTitr.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'B Titr Bold';
    src: url('../fonts/BTitr.eot');
    src: url('../fonts/BTitr.eot?#iefix') format('embedded-opentype'), url('../fonts/BTitr.woff') format('woff'), url('../fonts/BTitr.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'B Koodak Bold';
    src: url('../fonts/KoodakBold.eot');
    src: url('../fonts/KoodakBold.eot?#iefix') format('embedded-opentype'), url('../fonts/KoodakBold.woff') format('woff'), url('../fonts/KoodakBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'B Yekan';
    src: url('../fonts/BYekan.eot?#') format('eot'), url('../fonts/BYekan.woff') format('woff'), url('../fonts/BYekan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'B Traffic';
    src: url('../fonts/Traffic.eot');
    src: url('../fonts/Traffic.eot?#iefix') format('embedded-opentype'), url('../fonts/Traffic.woff') format('woff'), url('../fonts/Traffic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Samim;
    src: url('../fonts/samim/Samim.eot?#iefix') format('embedded-opentype'),
         url('../fonts/samim/Samim.woff2') format('woff2'),
         url('../fonts/samim/Samim.woff') format('woff'),
         url('../fonts/samim/Samim.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Samim;
    src: url('../fonts/samim/Samim-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/samim/Samim-Bold.woff2') format('woff2'),
         url('../fonts/samim/Samim-Bold.woff') format('woff'),
         url('../fonts/samim/Samim-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: yekan;
    src: url('../fonts/Yekan.eot?#') format('eot'),
         url('../fonts/Yekan.woff') format('woff'),
         url('../fonts/Yekan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ---------- RTL helpers ---------- */
.dir-ltr {
    direction: ltr;
}

.dir-rtl {
    direction: rtl;
}

/* Dates and clock values must keep their natural left-to-right order
   (year/month/day) even inside an RTL sentence. */
.date-ltr {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    white-space: nowrap;
}

/* ---------- utilities ---------- */
.text-bold, .text-bold.table td, .text-bold.table th {
    font-weight: bold;
}

.font-size-13 {
    font-size: 13px !important;
}

.margin-top-15 {
    margin-top: 15px !important;
}

.margin-top-30 {
    margin-top: 30px !important;
}

.margin-bottom-0 {
    margin-bottom: 0 !important;
}

.Display-None {
    display: none;
}

.Display-None-important {
    display: none !important;
}

/* ---------- login form ---------- */
.form-control.login-field {
    margin-top: 5px;
    border-radius: 0;
    font-size: 13px;
    height: 30px;
    text-align: right;
    direction: rtl;
}

.login-field-password {
    margin-bottom: 5px;
}

/* ---------- not found page form ---------- */
.form-module {
    direction: rtl;
    position: relative;
    background: #ffffff;
    max-width: 400px;
    width: 100%;
    border-top: 5px solid #33b5e5;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.form-module .toggle {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    background: #33b5e5;
    margin: -5px 0 0;
    color: #ffffff;
    font-size: 12px;
    line-height: 30px;
    text-align: center;
}

.form-module .form {
    display: none;
    padding: 27px;
}

.form-module .form:nth-child(2) {
    display: block;
}

.form-module h2 {
    margin: 0 0 6px;
    color: #33b5e5;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    font-family: 'samim', 'yekan';
    text-align: center;
}

.form-module .cta {
    background: #f2f2f2;
    width: 100%;
    padding: 15px 40px;
    box-sizing: border-box;
    color: #666666;
    font-size: 12px;
    text-align: center;
}

.form-module .cta a {
    color: #333333;
    text-decoration: none;
}


/* ---------- panel layout ---------- */
.panel-body {
    margin: 0;
    min-height: 100vh;
    background: #f2f6fb;
    font-family: 'Samim', 'B Yekan', Tahoma, sans-serif;
    color: #344050;
}

.panel-wrapper {
    display: flex;
    min-height: 100vh;
}

.panel-sidebar {
    width: 260px;
    flex: 0 0 260px;
    background: #1f2d3d;
    color: #c8d3df;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.panel-sidebar-backdrop {
    display: none;
}

.panel-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: bold;
    color: #ffffff;
    background: #17222e;
    line-height: 1.6;
}

.panel-brand i {
    font-size: 22px;
    color: #4fc3f7;
}

.panel-menu {
    padding: 12px 10px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.panel-menu-title {
    font-size: 11px;
    color: #7d8fa3;
    padding: 14px 12px 6px;
    letter-spacing: .5px;
}

.panel-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #c8d3df;
    text-decoration: none;
    font-size: 14px;
    transition: background .15s ease, color .15s ease;
}

.panel-menu-item i {
    width: 20px;
    text-align: center;
    font-size: 17px;
}

.panel-menu-item:hover {
    background: #2a3b4e;
    color: #ffffff;
}

.panel-menu-item.active {
    background: #2f80ed;
    color: #ffffff;
}

.panel-menu-item small {
    margin-right: auto;
    font-size: 10px;
    background: #33475b;
    color: #a9bed4;
    border-radius: 10px;
    padding: 2px 7px;
}

.panel-menu-disabled {
    cursor: default;
    opacity: .65;
}

.panel-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.panel-topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    padding: 14px 22px;
    box-shadow: 0 1px 6px rgba(15, 34, 58, .08);
    position: sticky;
    top: 0;
    z-index: 10;
}

.panel-topbar-title {
    font-size: 16px;
    font-weight: bold;
    color: #1f2d3d;
}

.panel-topbar-user {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #52606d;
}

.panel-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2f80ed;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex: 0 0 34px;
}

.panel-avatar-sm {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    font-size: 12px;
    margin-left: 6px;
}

.panel-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 4px;
    cursor: pointer;
}

.panel-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px 0;
    background: #344050;
}

.panel-content {
    padding: 22px;
    flex: 1 1 auto;
}

.panel-footer {
    display: flex;
    justify-content: space-between;
    padding: 12px 22px;
    font-size: 11px;
    color: #8a97a6;
    border-top: 1px solid #e3e9f0;
}

/* ---------- panel cards ---------- */
.panel-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(15, 34, 58, .06);
    height: 100%;
}

.panel-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #ffffff;
    flex: 0 0 52px;
}

.panel-card-blue .panel-card-icon { background: #2f80ed; }
.panel-card-green .panel-card-icon { background: #27ae60; }
.panel-card-orange .panel-card-icon { background: #f2994a; }

.panel-card-value {
    font-size: 24px;
    font-weight: bold;
    color: #1f2d3d;
    line-height: 1.4;
}

.panel-card-title {
    font-size: 13px;
    color: #7b8794;
}

.panel-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(15, 34, 58, .06);
    overflow: hidden;
    height: 100%;
}

.panel-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #eef2f6;
    font-size: 14px;
    font-weight: bold;
    color: #1f2d3d;
}

.panel-box-header a {
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
}

.panel-box-body {
    padding: 16px 18px;
}

.panel-badge {
    font-size: 11px;
    font-weight: normal;
    background: #eef4fd;
    color: #2f80ed;
    border-radius: 12px;
    padding: 3px 10px;
}

.panel-table thead th {
    background: #f7f9fc;
    border-bottom: 1px solid #e6ecf3;
    font-size: 12px;
    color: #7b8794;
    font-weight: normal;
    white-space: nowrap;
}

.panel-table tbody td {
    font-size: 13px;
    vertical-align: middle;
    border-color: #eef2f6;
}

.panel-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #52606d;
    margin-bottom: 6px;
}

.panel-progress {
    height: 8px;
    border-radius: 6px;
    background: #eef2f6;
}

.panel-mini-box {
    background: #f7f9fc;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    padding: 12px 14px;
    height: 100%;
}

.panel-mini-title {
    font-size: 12px;
    color: #7b8794;
    margin-bottom: 4px;
}

.panel-mini-value {
    font-size: 16px;
    font-weight: bold;
    color: #1f2d3d;
}

.panel-help-list {
    padding-right: 18px;
    margin: 0;
    font-size: 13px;
    color: #52606d;
    line-height: 2;
}

@media (max-width: 991.98px) {
    .panel-sidebar {
        position: fixed;
        right: 0;
        top: 0;
        z-index: 30;
        height: 100vh;
        height: 100dvh;
        transform: translateX(100%);
        transition: transform .2s ease;
    }

    .panel-sidebar-open .panel-sidebar {
        transform: translateX(0);
    }

    .panel-sidebar-open {
        overflow: hidden;
    }

    .panel-brand .panel-brand-logo {
        max-width: 150px;
    }

    .panel-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 25;
        background: rgba(15, 23, 34, .5);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
    }

    .panel-sidebar-open .panel-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .panel-toggle {
        display: block;
    }

    .panel-content {
        padding: 16px;
    }
}
/* ---------- users admin form ---------- */
.panel-search {
    display: flex;
    gap: 8px;
    align-items: center;
}

.panel-search .form-control {
    max-width: 420px;
}

.panel-form-section {
    margin-top: 10px;
}

.panel-form-title {
    font-size: 14px;
    font-weight: bold;
    color: #1f2d3d;
    margin: 0 0 10px;
}

.panel-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px 16px;
}

.panel-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #52606d;
    cursor: pointer;
    margin-bottom: 0;
}

.panel-form-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.panel-pagination {
    justify-content: center;
}

@media (max-width: 575.98px) {
    .panel-search {
        flex-direction: column;
        align-items: stretch;
    }

    .panel-search .form-control {
        max-width: none;
    }
}
/* ---------- default site font (Samim) ---------- */
html,
body,
body *,
button,
input,
optgroup,
select,
textarea,
.btn,
.form-control,
.form-select,
.dropdown-menu,
.table,
.card,
.alert,
.modal-content,
.toast,
.select2-container,
.select2-dropdown {
    font-family: 'Samim', 'B Yekan', Tahoma, sans-serif;
}
