﻿@font-face {
    font-family: "SFProDisplayLight";
    src: url("../fonts/en-ft/eot/SFProDisplay-Light.eot"); /* IE */
    src: url("../fonts/en-ft/SFProDisplay-Light.eot?#iefix") format("embedded-opentype"), /* IE */
    url("../fonts/en-ft/woff2/SFProDisplay-Light.woff2") format("woff2"), /* Modern Browsers */
    url("../fonts/en-ft/ttf/SFProDisplay-Light.ttf") format("truetype"); /* Safari, Android, iOS */
    font-weight: bold;
}

@font-face {
    font-family: "SFProDisplayRegular";
    src: url("../fonts/en-ft/eot/SFProDisplay-Regular.eot"); /* IE */
    src: url("../fonts/en-ft/SFProDisplay-Regular.eot?#iefix") format("embedded-opentype"); /* IE */
    src: url("../fonts/en-ft/woff2/SFProDisplay-Regular.woff2") format("woff2"); /* Modern Browsers */
    src: url("../fonts/en-ft/ttf/SFProDisplay-Regular.ttf") format("truetype"); /* Safari, Android, iOS */
}

@font-face {
    font-family: "SFProDisplayBold";
    src: url("../fonts/en-ft/eot/SFProDisplay-Bold.eot"); /* IE */
    src: url("../fonts/en-ft/SFProDisplay-Bold.eot?#iefix") format("embedded-opentype"), /* IE */
    url("../fonts/en-ft/woff2/SFProDisplay-Bold.woff2") format("woff2"), /* Modern Browsers */
    url("../fonts/en-ft/ttf/SFProDisplay-Bold.ttf") format("truetype"); /* Safari, Android, iOS */
    font-weight: bold;
}

@font-face {
    font-family: "IRANSansWeb_Bold";
    src: url("../fonts/IRANSansWeb_Bold.eot"); /* IE */
    src: url("../fonts/IRANSansWeb_Bold.eot?#iefix") format("embedded-opentype"), /* IE */
    url("../fonts/IRANSansWeb_Bold.woff2") format("woff"), /* Modern Browsers */
    url("../fonts/IRANSansWeb_Bold.ttf") format("truetype"); /* Safari, Android, iOS */
    font-weight: bold;
}

.card-notfound {
    background-color: #FCF3F3;
}

.FEN {
    font-family: SFProDisplayRegular;
    direction: ltr;
}

.FFAB {
    font-family: IRANSansWeb_Bold;
    direction: ltr;
}

.image-align-avatar {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
}
.image-caption-avatar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
}
.image-align-avatar-bkg {
    background-color: #f9f9f9;
}
.flex-direction-radioBTN {
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}
.MRG-top-zero {
    margin-top: 0px;
}
.MRG-letterSpacing {
    margin-right: 3rem;
    letter-spacing: 0.1rem;
}
.input_container {
    border: 1px solid #e5e5e5;
}

input[type=file]::file-selector-button {
    background-color: #fff;
    color: #000;
    border: 0px;
    border-right: 1px solid #e5e5e5;
    padding: 10px 15px;
    margin-right: 20px;
    transition: .5s;
}

    input[type=file]::file-selector-button:hover {
        background-color: #eee;
        border: 0px;
        border-right: 1px solid #e5e5e5;
    }
.ParentListSelected {
    display: flex;
    flex-wrap: wrap;
}

.item-Parent:hover {
    /*background-color: #22252f;*/
    /*border: 0.5px dashed #0b0b0b;*/
}

.item-Parent {
    display: inline-flex;
    background-color: #6A74C9;
    align-items: center;
    padding: .4rem .4rem;
    display: inline-flex;
    align-items: center;
    max-width: calc(var(--tag--max-width) - 10px);
    margin-inline: 5px 0;
    margin-block: 5px;
    position: relative;
    z-index: 1;
    outline: 0;
    line-height: normal;
    cursor: default;
    transition: .13s ease-out;
    color: #fff;
    border-radius: .475rem;
}

.Tag-select {
    display: inline-flex;
    min-width: 250px;
    margin-top: 15px;
    min-height: 50px;
    background-color: #110500;
    align-items: center;
    padding-right: 11px;
    color: #ccc;
    border-radius: 10px;
    border: 0.5px solid gray;
    margin-right: 7px;
    margin-left: 6px;
}

.item-btn-remove:hover {
/*    background-color: #2a2a2b;
    border: 0.5px solid white;*/
}

.item-btn-remove {
    min-width: 27px;
    border-radius: 5px;
    background-color: transparent;
    border: none;
    color: white;
    margin-left: 13px;
}
.BKG_TableHeader {
    background-color: #f1f4ff;
}
/*div.dataTables_length select {
    color: green !important;
    background-color: blue !important;
}*/
.tempus-dominus-widget-styled {
    width: 420px !important;
}
.AlignVTCObject{
    vertical-align: middle,
}
.table-column-hide {
    display: none;
}
/* استایل لایه پس‌زمینه لودر برای پوشش کل صفحه */
#redirect-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.85); /* پس‌زمینه سفید نیمه‌شفاف - در صورت نیاز تغییر دهید */
    z-index: 99999; /* قرارگیری روی تمام المان‌های صفحه */
    display: none; /* به صورت پیش‌فرض مخفی است */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px); /* تار کردن بک‌گراند (اختیاری) */
}

/* استایل محتوای داخل لودر (متن و اسپینر) */
.loader-content {
    text-align: center;
    font-family: IRANSansWeb_Bold; /* فونت مناسب پروژه خود را جایگزین کنید */
}

/* استایل انیمیشن لودر (در صورت استفاده از اسپینر CSS) */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* استایل لایه پس‌زمینه (Overlay) */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6); /* پس‌زمینه روشن و نیمه‌شفاف */
    backdrop-filter: blur(4px); /* تار کردن بک‌گراند شبیه عکس */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
}

/* استایل باکس اصلی مودال */
.custom-modal-box {
    background: #ffffff;
    width: 400px;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* استایل آیکون دایره‌ای */
.custom-modal-icon {
    width: 60px;
    height: 60px;
    background-color: #fce8ee; /* صورتی بسیار کمرنگ پس‌زمینه آیکون */
    color: #c94663; /* رنگ زرشکی/قرمز آیکون */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

    .custom-modal-icon svg {
        width: 30px;
        height: 30px;
    }

/* استایل متون */
.custom-modal-title {
    font-size: 16px;
    font-weight: bold;
    color: #2b2b2b;
    margin-bottom: 10px;
    line-height: 1.5;
}

.custom-modal-text {
    font-size: 13px;
    color: #8f8f8f;
    margin-bottom: 25px;
}

/* استایل دکمه‌ها */
.custom-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px; /* فاصله بین دکمه‌ها */
}

 .custom-modal-buttons button {
        background-color: #fce8ee; /* صورتی کمرنگ شبیه عکس */
        color: #c94663; /* رنگ متن زرشکی */
        border: none;
        border-radius: 8px;
        padding: 10px 15px;
        font-family: inherit;
        font-size: 13px;
        font-weight: bold;
        cursor: pointer;
        transition: background 0.2s;
    }

 .custom-modal-buttons button:hover {
     background-color: #f7d6e0; /* تیره شدن جزئی هنگام هاور */
 }

.btn-custom-confirm {
    flex-grow: 1; /* دکمه تایید کمی عریض‌تر است */
}
/* استایل پس‌زمینه مودال برای افکت شیشه‌ای سفید */
.modal-backdrop {
    background-color: rgba(220, 227, 242, 0.45) !important; /* رنگ سفید با ۶۵٪ شفافیت */
    backdrop-filter: blur(12px) !important; /* افکت بلور واقعی */
    -webkit-backdrop-filter: blur(12px) !important; /* پشتیبانی از مرورگرهای سافاری و iOS */
    /* تنظیمات ضد لگ (Anti-Lag) و روان‌سازی */
    will-change: backdrop-filter, opacity; /* اطلاع به مرورگر برای آمادگی رندر */
    transform: translateZ(0); /* اجبار مرورگر به استفاده از پردازنده گرافیکی (GPU) */
    backface-visibility: hidden;
}

    /* اعمال شفافیت در زمان باز بودن مودال */
    .modal-backdrop.show {
        opacity: 1 !important;
    }
/* این کدها را کاملا از فایل CSS خود پاک کنید */
.select2-results__option {
    position: relative;
    padding-left: 30px !important;
}

    .select2-results__option[aria-selected="true"]::after {
        content: '\2713';
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #009ef7;
        font-size: 1.1rem;
        font-weight: bold;
    }
/* پنهان کردن دکمه ضربدر (Clear) در Select2 */
.select2-container--bootstrap5 .select2-selection__clear,
.select2-selection__clear {
    display: none !important;
}

/* پنهان کردن آیکن تیک (Checkmark) در گزینه‌های انتخاب شده */
.select2-container--bootstrap5 .select2-results__option[aria-selected="true"]::after,
.select2-results__option[aria-selected="true"]::after,
.select2-results__option[aria-selected="true"] i {
    display: none !important;
    content: none !important;
}

/* اصلاح Padding گزینه‌ها در حالت RTL در صورت نیاز */
html[dir="rtl"] .select2-results__option {
    padding-right: 12px !important;
    padding-left: 12px !important;
}
/* ۱. ایجاد افکت انیمیشنی برای تمام سلول‌های جداول در کل پروژه */
.table > tbody > tr > td,
.table > tbody > tr > th {
    transition: background-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* ۲. اعمال رنگ جدید Hover برای تمام جداول استاندارد و دیتاتیبل‌ها */
.table.table-hover > tbody > tr:hover > td,
.table.table-hover > tbody > tr:hover > th,
table.dataTable.table-hover > tbody > tr:hover > td,
table.dataTable.table-hover > tbody > tr:hover > th,
table.dataTable.table-hover > tbody > tr.odd:hover > td,
table.dataTable.table-hover > tbody > tr.even:hover > td {
    /* تغییر رنگ پس‌زمینه اصلی */
    background-color: #f6f9ff !important;
    /* خنثی کردن سایه داخلی بوت‌استرپ ۵ */
    box-shadow: inset 0 0 0 9999px #f6f9ff !important;
}
/* --- استایل Hover جداول برای تم روشن (Light) --- */
[data-bs-theme="light"] .table.table-hover > tbody > tr:hover > td,
[data-bs-theme="light"] .table.table-hover > tbody > tr:hover > th,
[data-bs-theme="light"] table.dataTable.table-hover > tbody > tr:hover > td,
[data-bs-theme="light"] table.dataTable.table-hover > tbody > tr:hover > th {
    background-color: #f6f9ff !important;
    box-shadow: inset 0 0 0 9999px #f6f9ff !important;
}