@font-face {
    font-family: "vazirmatn";
    font-style: normal;
    font-weight: 100;
    src: url("../../fonts/gt-theme/Vazirmatn-Thin.woff2") format("woff2");
}

@font-face {
    font-family: "vazirmatn";
    font-style: normal;
    font-weight: 200;
    src: url("../../fonts/gt-theme/Vazirmatn-ExtraLight.woff2") format("woff2");
}

@font-face {
    font-family: "vazirmatn";
    font-style: normal;
    font-weight: 300;
    src: url("../../fonts/gt-theme/Vazirmatn-Light.woff2") format("woff2");
}

@font-face {
    font-family: "vazirmatn";
    font-style: normal;
    font-weight: 400;
    src: url("../../fonts/gt-theme/Vazirmatn-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "vazirmatn";
    font-style: normal;
    font-weight: 500;
    src: url("../../fonts/gt-theme/Vazirmatn-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "vazirmatn";
    font-style: normal;
    font-weight: 600;
    src: url("../../fonts/gt-theme/Vazirmatn-SemiBold.woff2") format("woff2");
}

@font-face {
    font-family: "vazirmatn";
    font-style: normal;
    font-weight: 700;
    src: url("../../fonts/gt-theme/Vazirmatn-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "vazirmatn";
    font-style: normal;
    font-weight: 800;
    src: url("../../fonts/gt-theme/Vazirmatn-ExtraBold.woff2") format("woff2");
}

@font-face {
    font-family: "vazirmatn";
    font-style: normal;
    font-weight: 900;
    src: url("../../fonts/gt-theme/Vazirmatn-Black.woff2") format("woff2");
}

body {
    font-family: "vazirmatn", sans-serif;
    font-size: 16px;
}

body.fi-body {
    background-color: #f8f9fa;
}

/* ===================== سایدبار ===================== */

.fi-sidebar {
    background: #fff;
    box-shadow: rgba(78, 157, 255, 0.12) 0px 7px 29px 0px;
    border-left: 1px solid #E5EDF8;
}

/* آیتم منوی فعال */
.fi-sidebar-item-active {
    background-color: #E5EDF8 !important;
    color: #4E9DFF !important;
    border-radius: 0.5rem !important;
    margin: 2px 8px !important;
}

.fi-sidebar-item-active .fi-sidebar-item-label {
    color: #4E9DFF !important;
}

.fi-sidebar-item-active .fi-sidebar-item-icon {
    color: #4E9DFF !important;
}

/* هاور آیتم منو */
.fi-sidebar-item:hover:not(.fi-sidebar-item-active) {
    background-color: rgba(78, 157, 255, 0.08) !important;
    border-radius: 0.5rem !important;
}

.fi-sidebar-item:hover:not(.fi-sidebar-item-active) .fi-sidebar-item-label {
    color: #4E9DFF !important;
}

.fi-sidebar-item:hover:not(.fi-sidebar-item-active) .fi-sidebar-item-icon {
    color: #4E9DFF !important;
}
#fi-main-content{
    /*max-width: var(--container-7xl);*/
    margin: 0 auto;
}
/* ===================== لوگو ===================== */

body > div.fi-topbar-ctn > nav > div.fi-topbar-start > a > img.fi-logo.fi-logo-light {
    height: 4.5rem !important;
}

/* ===================== کارت پشتیبانی سایدبار ===================== */

.fi-sidebar-helper-box-card {
    position: relative;
    overflow: hidden;
    margin: 12px;
    margin-top: auto;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(78, 157, 255, 0.15);
    background: linear-gradient(135deg, #E5EDF8 0%, #ffffff 60%);
    box-shadow: 0 4px 20px rgba(78, 157, 255, 0.08);
    flex-shrink: 0;
    transition: box-shadow 0.2s ease;
}

.fi-sidebar-helper-box-card:hover {
    box-shadow: 0 8px 24px rgba(78, 157, 255, 0.15);
}

/* دایره‌ی محو تزئینی در پس‌زمینه */
.fi-sidebar-helper-box-card::before {
    content: "";
    position: absolute;
    top: -24px;
    left: -24px;
    width: 80px;
    height: 80px;
    border-radius: 9999px;
    background: rgba(78, 157, 255, 0.12);
    filter: blur(20px);
    pointer-events: none;
}

/* آیکون */
.fi-sidebar-helper-box-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4E9DFF, #3A7FD4);
    box-shadow: 0 4px 10px rgba(78, 157, 255, 0.3);
    color: #fff;
}

.fi-sidebar-helper-box-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

/* عنوان و توضیح */
.fi-sidebar-store-register-card-title {
    position: relative;
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: #1A1A1A;
}

.fi-sidebar-helper-box-desc {
    position: relative;
    margin: 0 0 14px;
    font-size: 12px;
    line-height: 1.7;
    color: #666666;
}

/* دکمه */
.fi-sidebar-store-register-card-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: linear-gradient(90deg, #4E9DFF, #3A7FD4);
    box-shadow: 0 4px 10px rgba(78, 157, 255, 0.25);
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.1s ease;
}

.fi-sidebar-store-register-card-btn:hover {
    box-shadow: 0 6px 16px rgba(78, 157, 255, 0.35);
    background: linear-gradient(90deg, #3A7FD4, #2D66B3);
}

.fi-sidebar-store-register-card-btn:active {
    transform: scale(0.98);
}

.fi-sidebar-store-register-card-btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.fi-sidebar-store-register-card-btn-arrow svg {
    width: 12px;
    height: 12px;
}

/* حالت تیره */
.dark .fi-sidebar-helper-box-card {
    border-color: rgba(78, 157, 255, 0.25);
    background: linear-gradient(135deg, rgba(78, 157, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 60%);
}

.dark .fi-sidebar-store-register-card-title {
    color: #fff;
}

.dark .fi-sidebar-helper-box-desc {
    color: #9ca3af;
}

/* ===================== کارت کیف پول تاپ‌بار ===================== */

.fi-topbar-wallet-card {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 3px 0 10px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 150, 6, 0.18);
    background: linear-gradient(135deg, #FAF0E2 0%, #ffffff 65%);
    box-shadow: 0 2px 10px rgba(255, 150, 6, 0.06);
    cursor: default;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.fi-topbar-wallet-card:hover {
    border-color: rgba(255, 150, 6, 0.3);
    box-shadow: 0 6px 18px rgba(255, 150, 6, 0.16);
    transform: translateY(-1px);
}

/* آیکون */
.fi-topbar-wallet-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, #FF9606, #E08500);
    box-shadow: 0 3px 8px rgba(255, 150, 6, 0.35);
    color: #fff;
}

.fi-topbar-wallet-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

/* متن‌ها */
.fi-topbar-wallet-texts {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.fi-topbar-wallet-label {
    font-size: 10px;
    font-weight: 500;
    color: #666666;
}

.fi-topbar-wallet-amount {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #B36A00;
}

.fi-topbar-wallet-currency {
    font-size: 10px;
    font-weight: 500;
    color: #FF9606;
}

/* حالت تیره */
.dark .fi-topbar-wallet-card {
    border-color: rgba(255, 150, 6, 0.22);
    background: linear-gradient(135deg, rgba(255, 150, 6, 0.09) 0%, rgba(255, 255, 255, 0.02) 65%);
}

.dark .fi-topbar-wallet-label {
    color: #9ca3af;
}

.dark .fi-topbar-wallet-amount {
    color: #FFB84D;
}

.dark .fi-topbar-wallet-currency {
    color: #FF9606;
}

/* ===================== دکمه‌های فیلامنت ===================== */

/* دکمه اصلی */
.fi-btn-primary {
    background-color: #4E9DFF !important;
    border-color: #4E9DFF !important;
}

.fi-btn-primary:hover {
    background-color: #3A7FD4 !important;
    border-color: #3A7FD4 !important;
}

/* دکمه ثانویه (نارنجی) */
.fi-btn-secondary {
    background-color: #FF9606 !important;
    border-color: #FF9606 !important;
    color: white !important;
}

.fi-btn-secondary:hover {
    background-color: #E08500 !important;
    border-color: #E08500 !important;
}

/* دکمه خطی */
.fi-btn-outline {
    color: #4E9DFF !important;
    border-color: #4E9DFF !important;
}

.fi-btn-outline:hover {
    background-color: #4E9DFF !important;
    color: white !important;
}

/* ===================== کارت‌ها ===================== */

.fi-card {
    border-radius: 0.75rem !important;
    border: 1px solid #E5EDF8 !important;
    box-shadow: 0 1px 3px rgba(78, 157, 255, 0.06) !important;
}

.fi-card:hover {
    box-shadow: 0 4px 20px rgba(78, 157, 255, 0.08) !important;
}

/* ===================== تگ‌ها ===================== */

.fi-badge-primary {
    background-color: #E5EDF8 !important;
    color: #4E9DFF !important;
}

.fi-badge-secondary {
    background-color: #FAF0E2 !important;
    color: #FF9606 !important;
}

/* ===================== لینک‌ها ===================== */

.fi-link {
    color: #4E9DFF !important;
}

.fi-link:hover {
    color: #3A7FD4 !important;
}

/* ===================== ورودی‌ها ===================== */

.fi-input , input,optgroup,select,textarea {
    border:2px solid #E5EDF8;
    border-radius: 10px;
    padding: 10px;
}

.fi-input:focus {
    border-color: #4E9DFF !important;
    box-shadow: 0 0 0 3px rgba(78, 157, 255, 0.1) !important;
}

/* ===================== تاپبار ===================== */

.fi-topbar {
    border-bottom: 1px solid #E5EDF8 !important;
}

/* ===================== جداکننده‌ها ===================== */

.fi-divider {
    border-color: #E5EDF8 !important;
}

/* ===================== تب‌ها (Tabs) ===================== */

.fi-tabs-item-active {
    color: #4E9DFF !important;
    border-bottom-color: #4E9DFF !important;
}

.fi-tabs-item:hover:not(.fi-tabs-item-active) {
    color: #3A7FD4 !important;
}

/* ===================== منوی کشویی ===================== */

.fi-dropdown-item:hover {
    background-color: #E5EDF8 !important;
    color: #4E9DFF !important;
}
.filamentFormButton{
    background-color: #4E9DFF !important;
}
/* ===================== ویجت‌ها ===================== */

.fi-widget {
    border: 1px solid #E5EDF8 !important;
    border-radius: 0.75rem !important;
}

.fi-widget-header {
    border-bottom: 1px solid #E5EDF8 !important;
}

/* ===================== مدال‌ها ===================== */

.fi-modal {
    border-radius: 0.75rem !important;
    border: 1px solid #E5EDF8 !important;
}

.fi-modal-header {
    border-bottom: 1px solid #E5EDF8 !important;
}

.fi-modal-footer {
    border-top: 1px solid #E5EDF8 !important;
}


.bg-primary {
    background-color: #4E9DFF;
}
.bg-primary-light {
    background-color: #E5EDF8;
}
.bg-primary-hover {
    background-color: #3A7BD5;
}
.bg-warning {
    background-color: #FF9606;
}
.bg-warning-light {
    background-color: #FAF0E2;
}
.text-primary {
    color: #4E9DFF;
}
.text-warning {
    color: #FF9606;
}
.border-primary {
    border-color: #4E9DFF;
}
.border-warning {
    border-color: #FF9606;
}
.ring-primary {
    --tw-ring-color: #4E9DFF;
}
.hover\\:bg-primary-hover:hover {
    background-color: #3A7BD5;
}
.hover\\:bg-warning-hover:hover {
    background-color: #E58600;
}
.hover\\:border-primary:hover {
    border-color: #4E9DFF;
}
.hover\\:border-warning:hover {
    border-color: #FF9606;
}
