/* IRANSans Normal (400) */
@font-face {
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/iransans/IRANScanWebd41d.eot');
    src: url('../fonts/iransans/IRANSansWeb.eot?#iefix') format('embedded-opentype'),
    url('../fonts/iransans/IRANSansWeb.woff') format('woff');
    font-display: swap;
}

/* IRANSans Ultra Light (200) */
@font-face {
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/iransans/IRANSansWeb_UltraLightd41d.eot');
    src: url('../fonts/iransans/IRANSansWeb_UltraLight.eot?#iefix') format('embedded-opentype'),
    url('../fonts/iransans/IRANSansWeb_UltraLight.woff') format('woff'),
    url('../fonts/iransans/IRANSansWeb_UltraLight.ttf') format('truetype');
    font-display: swap;
}

/* IRANSans Medium (500) */
@font-face {
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/iransans/IRANSansWeb_Mediumd41d.eot');
    src: url('../fonts/iransans/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/iransans/IRANSansWeb_Medium.woff') format('woff'),
    url('../fonts/iransans/IRANSansWeb_Medium.ttf') format('truetype');
    font-display: swap;
}

/* IRANSans Bold (700) */
@font-face {
    font-family: 'IRANSans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/iransans/IRANSansWeb_Boldd41d.eot');
    src: url('../fonts/iransans/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/iransans/IRANSansWeb_Bold.woff') format('woff'),
    url('../fonts/iransans/IRANSansWeb_Bold.ttf') format('truetype');
    font-display: swap;
}

:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --accent-color: #10b981;
    --bg-light: #f4f6f9;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bs-font-sans-serif: 'IRANSans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
}


body {
    font-family: var(--bs-body-font-family);
    font-feature-settings: "ss01" !important;
}

.logo{
    max-width: 150px;
    max-height: 150px;
}

/* ==========================================================================
   استایل استاندارد و واحد مودال راهنما (Global Help Modal)
   ========================================================================== */

.help-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.65); /* پس‌زمینه نیمه‌شفاف تیره */
    backdrop-filter: blur(4px); /* افکت بلر شیشه‌ای */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* حالت فعال بودن مودال */
.help-modal.active {
    opacity: 1;
    visibility: visible;
}

/* باکس اصلی محتوای مودال */
.help-modal-content {
    background-color: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

.help-modal.active .help-modal-content {
    transform: translateY(0) scale(1);
}

/* هدر مودال */
.help-modal-header {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-modal-header i {
    font-size: 1.4rem;
    color: #2563eb; /* رنگ آبی آیکون */
}

.help-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}

/* بدنه و متن راهنما */
.help-modal-body {
    padding: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #334155;
    overflow-y: auto;
    text-align: justify;
    word-break: break-word;
}

/* فوتر و دکمه بستن */
.help-modal-footer {
    padding: 1rem 1.5rem;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
}

.btn-modal-close {
    width: 100%;
    height: 46px;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-modal-close:hover {
    background-color: #1d4ed8;
}

.btn-modal-close:active {
    transform: scale(0.98);
}