@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-Regular.woff2') format('woff2'), url('../fonts/YekanBakh-Regular.woff') format('woff'), url('../fonts/YekanBakh-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'BMITRA';
    src: url('../fonts/BMITRA.woff') format('woff'), url('../fonts/BMITRA.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh-SemiBold-FarsiDigits.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakhFarsiDigit';
    src: url('../fonts/BYekan_PersianDigits.woff') format('woff'), url('../fonts/BYekan_PersianDigits.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'YekanBakh', Arial, sans-serif;
}

button,
input,
select,
textarea,
.form-control,
.form-select,
.btn,
.dropdown-menu,
.table,
.select2-container {
    font-family: 'YekanBakh', Arial, sans-serif;
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
}

@media (min-width: 769px) {
    body {
        font-size: 16px;
    }
}

.persianNumbersClass {
    font-family: 'BMITRA' !important;
    font-size: 18px;
}

.persianNumbersClass::placeholder {
    font-family: 'YekanBakh', Arial, sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: normal;
}

.persianNumbersClass::-webkit-input-placeholder {
    font-family: 'YekanBakh', Arial, sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: normal;
}

.persianNumbersClass::-moz-placeholder {
    font-family: 'YekanBakh', Arial, sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: normal;
}

.persianNumbersClass:-ms-input-placeholder {
    font-family: 'YekanBakh', Arial, sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: normal;
}

.active {
    transition: all 1s ease;
}

.bg-dark {
    background-color: rgb(201 22 24) !important;
}

.firstPageContainer {
    background-color: #f9f9f9;
}

.pageContainerHeaders {
    color: #009fbd;
}

.btn-tourism-blue {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0093b7;
    --bs-btn-border-color: #0093b7;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #007a99;
    --bs-btn-hover-border-color: #006b87;
    --bs-btn-focus-shadow-rgb: 0, 147, 183;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #006b87;
    --bs-btn-active-border-color: #005d75;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0093b7;
    --bs-btn-disabled-border-color: #0093b7;
}

.btn-tourism-red {
    --bs-btn-color: #fff;
    --bs-btn-bg: #b32430;
    --bs-btn-border-color: #b32430;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #921d27;
    --bs-btn-hover-border-color: #811822;
    --bs-btn-focus-shadow-rgb: 179, 36, 48;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #811822;
    --bs-btn-active-border-color: #6f151d;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #b32430;
    --bs-btn-disabled-border-color: #b32430;
}

.select2-container--default .select2-selection--single {
    height: 40px !important;
    padding: 6px 12px;
    font-size: 1rem;
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    top: 65% !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    margin-top: -4px !important;
}

td {
    vertical-align: middle;
}

.cartable-filter-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .75rem;
}

.cartable-filter-actions > .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 0;
}

@media (min-width: 576px) {
    .cartable-filter-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .cartable-filter-actions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.hr-accent { height: 2px; background: #d90f17; }
.col-w-110 { width: 110px; }
.col-w-140 { width: 140px; }
.col-w-5rem { width: 5rem; }
.col-w-12rem { width: 12rem; }
.cell-wrap-250 { max-width: 250px; white-space: normal; }
.scroll-max-320 { max-height: 320px; }
.deposit-number-lg { font-size: 1.15em; }
.cycle-card-active { background-color: #f8fafd; }
.cycle-card-inactive { background-color: #fff8f8; }
.guide-dot-actionable { background: #f7fbff; }
.guide-dot-returned { background: #fff6f6; }
.guide-dot-draft { background: #fcfcf7; }

.role-menu-panel {
    box-shadow: 10px 12px 13px #888;
    border-radius: 5px;
    background: #e1f3fb;
}

.error-logo { max-height: 80px; }

.role-content-panel {
    box-shadow: 10px 12px 13px #888;
    border-radius: 5px;
    background: #f5f5f5;
    border: 1px solid #e3e3e3;
    min-height: 400px;
}
