/* Generated by script */
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/Vazirmatn-RD-UI-FD-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
:root{ --primary:#0d6efd; --card-radius:14px; }
body{ background: linear-gradient(180deg,#f6f8fb 0%, #eef2f7 100%); font-family:"Vazirmatn", Tahoma, sans-serif; color:#222; }
    /* header */
.navbar-brand { font-weight:700; letter-spacing:.4px; }
.nav-link { color: rgba(255,255,255,0.9) !important; }
    /* hero */
.hero{ background: linear-gradient(90deg, rgba(13,110,253,0.06), rgba(13,110,253,0.02)); border-radius:12px; padding:18px; margin-bottom:18px; }
    /* cards */
/* ===== جلوگیری از برخورد دایره با کارت بالا ===== */
.row.g-3 {
  row-gap: 2rem; /* ~56px، کافی برای آیکون 60px با بیرون‌زدگی ~28px */
}

/* تنظیم برای موبایل تا فاصله زیاد صفحه را به هم نزند */
@media (max-width: 575px) {
  .row.g-3 {
    row-gap: 1.2rem; /* ~35px (کمتر روی موبایل) */
  }
}
/*@media (max-width: 480px) {
  .col-6.col-md-4.col-lg-3 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}*/

.rate-card {
  border-radius: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: visible;
  padding-top: 38px;
  background: linear-gradient(145deg, #ffffff, #f7f9fc);
  border: 1px solid #eee;
  margin-bottom:50px
}

.rate-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.rate-card .card-body {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rate-title {
  font-size: 1rem;
  font-weight: 700;
}

.rate-value {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: .5px;
  color: #222;
}


.rate-icon {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  border: 2px solid #f0f0f0;
}

.rate-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}




    /* footer */
    footer.site-footer{ background:#0b1220; color:#d1d9e6; margin-top:40px; }
    footer.site-footer a{ color:#fff; text-decoration:none; }
    footer .small-note{ color:#9fb0d6; }

    /* floating */
    .floating-wrap{ position:fixed; bottom:15px; left:25px;direction:ltr; z-index:1300; display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
    .fab-main{ width:56px; height:56px; border-radius:50%; background:#0d6efd; color:#fff; border:0; display:flex; align-items:center; justify-content:center; font-size:22px; box-shadow:0 8px 22px rgba(13,110,253,0.24); cursor:pointer; }
    /* استایل دکمه‌های جدید شناور */
.fab-action {
    width: 48px;       /* کمی کوچکتر از دکمه اصلی برای زیبایی */
    height: 48px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    z-index: 1300;
}

.fab-action:hover {
    transform: scale(1.1); /* هنگام موس رفتن روش کمی بزرگ شود */
    color: #fff;
    box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

/* رنگ دکمه اشتراک گذاری (بنفش) */
.fab-share {
    background: linear-gradient(135deg, #6f42c1, #8553d1);
}

/* رنگ دکمه ماشین حساب (نارنجی) */
.fab-calc {
    background: linear-gradient(135deg, #fd7e14, #ff922b);
}
    
/* حالت پیش‌فرض (بسته) */
.fab-options {
    opacity: 0;
    visibility: hidden; /* این خط معجزه می‌کند: هم مخفی می‌کند هم از دسترس خارج می‌کند */
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: absolute;
    bottom: 70px;
    left: 0;
    width:135px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9998;
}

/* حالت باز (Active) */
.fab-options.active {
    opacity: 1;
    visibility: visible; /* حالا دوباره در دسترس قرار می‌گیرد */
    transform: translateY(0) scale(1);
        background: #f5f6f7;
  border-radius: 5px;
  padding: 5px;
}
    @media (max-width:575px){ .rate-value{ font-size:1rem; } .rate-title{ font-size:.95rem; } }
    


.fab-main i {
  pointer-events: none;
}

.fab-btn-float{
    cursor: pointer;
  padding: 10px 14px;
  border-radius: 50px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background .25s ease,transform .2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}

/* استایل پایه همه دکمه‌های شناور */
.fab-btn {
    cursor:pointer;
    background:none;
border:none;
  transition: background 0.25s ease, transform 0.2s ease;
}

/* هاور عمومی روی همه دکمه‌ها */
.fab-btn:hover {
  transform: translateY(-2px);
}
/* تنظیم مخصوص عکس‌های SVG داخل منو */
.fab-btn img {
    width: 48px !important;       /* عرض ثابت */
    height: 48px !important;      /* ارتفاع ثابت */
}

/* اینستاگرام */
.fab-inst {
  background: #E1306C;
}
.fab-inst:hover {
  background: #c2265b;
}

/* واتس‌اپ */
.fab-wa {
  background: #25D366;
}
.fab-wa:hover {
background: #1eb65a;
}

/* تلگرام */
.fab-tg {
  background: #0088cc;
}
.fab-tg:hover {
  background: #0074ad;
}

/* توییتر/X */
.fab-tw {
  background: #1788cb !important;
    padding: 10px 14px !important;
}
.fab-tw:hover {
  background: blue !important;
    padding: 10px 14px !important;
}

/* ایمیل */
.fab-mail {
  background: #ff9800;
}
.fab-mail:hover {
  background: #e68900;
}

/* تماس */
.fab-call {
  background: #0d6efd;
}
.fab-call:hover {
  background: #0c5cd4;
}
.fab-tg-bot {
  background: #6f42c1;       /* رنگ متفاوت مخصوص ربات */
}
.fab-tg-bot:hover {
  background: #582da6;
}

.fab-chat {
  background: #114bc3;        /* رنگ خاص پشتیبانی */
}
.fab-chat:hover {
  background: #092868;
}



.promo-box {
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  border: 1px solid rgba(0, 123, 255, 0.15);
  padding: 25px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.promo-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.promo-box::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 140px;
  height: 140px;
  background: rgba(0,123,255,0.08);
  border-radius: 50%;
}

.promo-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media(min-width: 768px){
  .promo-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.promo-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: #003d82;
  margin-bottom: 6px;
}

.promo-text {
  color: #555;
  font-size: .95rem;
  margin: 0;
}

/* دکمه‌ها */
.promo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-telegram {
  background: #0088cc;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .2s;
}
.btn-telegram:hover {
  background: #0074ad;
  color: #fff;
}

.btn-bot {
  background: #28a745;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .2s;
}
.btn-bot:hover {
  background: #218838;
  color: #fff;
}
body { background: #f8f9fa; color: #333; }
.chart-container { background: #fff; padding: 25px; border-radius: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); margin-top: 30px; }
.main-title-box { text-align: center; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 2px solid #f0f0f0; }
.main-title-box h1 { font-size: 1.6rem; font-weight: 800; color: darkviolet; margin: 0; }
.main-title-box span { color: indigo; font-size: 1.1rem; font-weight: 400; margin-right: 5px; }
.cta-comment { background: #e7f1ff; color: #0d6efd; border: 1px dashed #0d6efd; padding: 8px 15px; border-radius: 50px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 0.9rem; transition: 0.3s; margin-bottom: 20px; cursor: pointer; }
.cta-comment:hover { background: #0d6efd; color: #fff; }
.news-box { background: #f0f6fb; border-right: 10px solid #2196f3; border-left: 10px solid #2196f3; padding: 15px 20px; border-radius: 12px; margin-bottom: 15px; font-size: 0.95rem; color: #0d47a1; line-height: 1.8; box-shadow: 0 2px 5px rgba(33, 150, 243, 0.1); }
.update-box { background: #f8f9fa; border: 1px dashed #adb5bd; padding: 12px 15px; border-radius: 12px; margin-bottom: 25px; font-size: 0.9rem; text-align: center;border-left: 5px solid blueviolet; color: blueviolet; border-right: 5px solid blueviolet; }
.currency-content { margin-top: 40px; padding-top: 30px; border-top: 1px solid #eee; }
.currency-content h1, .currency-content h2 { color: #212529; font-weight: 800; margin-top: 1.5em; }
.currency-content p { line-height: 2; color: #555; font-size: 1rem; text-align: justify; }
.currency-content a { color: #0d6efd; text-decoration: none; }
/* نظرات */
.comments-section { margin-top: 50px; background: #fafafa; padding: 20px; border-radius: 15px; border: 1px solid #eee; }
.comment-form-container { background: #fff; padding: 15px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); margin-bottom: 20px; }
.comment-form textarea { resize: vertical; min-height: 80px; }
.reply-target { font-size: 0.8rem; background: #e9ecef; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; display: none; color: #333; border: 1px solid #dee2e6; }
.comment-item { background: #fff; border: 1px solid #e9ecef; border-radius: 10px; padding: 15px; margin-bottom: 15px; }
.nested-comments { margin-right: 30px; border-right: 2px solid #e9ecef; padding-right: 15px; margin-top: 10px; }
.nested-comments .comment-item { background: #f8f9fa; border: none; margin-bottom: 10px; padding: 12px; }
.comment-header { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.85rem; color: brown; }
.comment-user { font-weight: bold; color: #333; font-size: 1rem; }
.admin-badge { background: #0d6efd; color: #fff; padding: 2px 6px; border-radius: 4px; font-size: 0.7em; margin-right: 5px; }
.comment-body { color: #444; line-height: 1.7; font-size: 0.95rem; }
.comment-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; justify-content: flex-end; border-top: 1px solid #f8f9fa; padding-top: 8px; }
.btn-react { cursor: pointer; color: #adb5bd; font-size: 0.85rem; display: flex; align-items: center; gap: 4px; background: none; border: none; padding: 0; transition: color 0.2s; }
.btn-react:hover { color: blue; }
.btn-react.active { color: green; }
.btn-react.dislike.active { color: red; }
.btn-reply { color: crimson; font-weight: 500; font-size: 0.85rem; }
.btn-reply:hover { color: #0d6efd; }
.comment-sort-btn { cursor: pointer; padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; color: #666; background: #fff; border: 1px solid #ddd; }
.comment-sort-btn.active { background: #0d6efd; color: #fff; border-color: #0d6efd; }
.pagination-container { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.page-btn { background: #fff; border: 1px solid #dee2e6; color: #0d6efd; padding: 5px 10px; border-radius: 5px; cursor: pointer; }
.page-btn.active { background: #0d6efd; color: #fff; border-color: #0d6efd; }
.page-btn:disabled { color: #aaa; cursor: not-allowed; }
.highcharts-tooltip-box { opacity: 0.95 !important; }
.tooltip-row { display: flex; justify-content: space-between; align-items: center; min-width: 150px; }
.toman-equiv { color: #888; font-size: 0.8em; display: block; margin-top: 2px; padding-right: 15px; }
.calc-card { background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%); border: 1px solid #e1e4e8; border-radius: 16px; }
.calc-input { font-size: 1.1rem; font-weight: bold; text-align: center; }
.calc-result-box { background-color: #e8f5e9; color: green; padding: 10px; border-radius: 12px; text-align: center; margin-top: 15px; border: 1px dashed #a5d6a7; }
.calc-result-value { font-size: 1.4rem; font-weight: 800; display: block; }
.calc-result-usd { display: none; color: blue; background: #e3f2fd; border-radius: 8px; padding: 5px 10px; margin-top: 8px; font-size: 1rem; font-weight: bold; border: 1px dashed #90caf9; direction: ltr; }
.calc-label { font-size: 0.9rem; color: #666; margin-bottom: 5px; }
.form-switch .form-check-input { width: 3em; height: 1.5em; cursor: pointer; }
/* تنظیمات چارت در هدر اگر لازم است */
.highcharts-tooltip-box { opacity: 0.95 !important; }
/* --- استایل دکمه‌های CTA جدید --- */
.cta-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* در موبایل زیر هم بروند */
    margin-top: 25px;
}

.btn-custom-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-custom-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    color: #fff;
}

/* 1. دکمه نظرات (رنگ آتشین/نارنجی برای جلب توجه) */
.btn-comment-cta {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5253 100%);
    color: #fff;
}
.btn-comment-cta:hover {
    box-shadow: 0 8px 25px rgba(238, 82, 83, 0.4);
}
/* انیمیشن ضربان قلب برای دکمه نظرات */
.btn-comment-cta::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50px;
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    animation: pulse-orange 2s infinite;
    z-index: -1;
}

/* 2. دکمه ماشین حساب (رنگ آبی/آرامش‌بخش) */
.btn-calc-cta {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}
.btn-calc-cta:hover {
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

/* 3. دکمه تلگرام (رنگ برند تلگرام) */
.btn-tg-cta {
    background: linear-gradient(135deg, #2a93d5 0%, #136da5 100%);
    color: #fff;
}
.btn-tg-cta:hover {
    box-shadow: 0 8px 25px rgba(42, 147, 213, 0.4);
}

@keyframes pulse-orange {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

/* در موبایل دکمه‌ها تمام عرض شوند */
@media (max-width: 576px) {
    .btn-custom-cta { width: 100%; }
}
/* استایل دکمه بازگشت به بالا */
.btn-scroll-top {
  position: fixed;
  bottom: 15px;
  right: 30px; /* سمت چپ قرار دادیم که با دکمه‌های پشتیبانی قاطی نشه */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* رنگ جذاب */
  color: #fff;
  border: none;
  outline: none;
  box-shadow: 0 5px 15px rgba(118, 75, 162, 0.4);
  z-index: 9999;
  display: none; /* پیش‌فرض مخفی */
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.btn-scroll-top:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-5px); /* حرکت نرم به بالا هنگام هاور */
  box-shadow: 0 8px 20px rgba(118, 75, 162, 0.6);
}
/* استایل هماهنگ سازی Select2 با قالب شما */
.select2-container .select2-selection--single {
    height: 50px !important;
    border: 2px solid #e9ecef !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    background-color: #fdfdfd !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-weight: bold;
    font-size: 1.1rem;
    color: #212529;
    width: 100%;
    text-align: center;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 10px !important;
}
.headerLogo{
    height: 50px;
}
/* استایل باکس اشتراک‌گذاری */
.share-box {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.share-title {
    font-size: 0.95rem;
    color: #495057;
    margin-bottom: 15px;
    display: block;
    font-weight: 700;
}
.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.btn-share {
    width: 48px;
    height: 48px;
    border-radius: 12px; /* کمی مربعی‌تر برای مدرن شدن */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    cursor: pointer;
}
.btn-share i {
  line-height: 0;
}
.btn-share:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    color: #fff;
}
.btn-share svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* رنگ‌بندی برندها */
.share-tg { background: linear-gradient(45deg, #2da5e1, #0088cc); } /* تلگرام */
.share-wa { background: linear-gradient(45deg, #25d366, #128c7e); } /* واتس‌اپ */
.share-x { background: #000000; } /* ایکس (توییتر) */
.share-eitaa { background: #e67e22; } /* ایتا */
.share-bale { background: #37aee2; } /* بله */
.share-rubika { background: linear-gradient(45deg, #9b28b2, #7f00ba); } /* روبیکا */
.share-copy { background: #6c757d; } /* کپی */
.share-fb { background-color: #1877f2; } /* فیس‌بوک */
.share-mail { background-color: #ea4335; } /* ایمیل */
.share-copy { background-color: #6c757d; cursor: pointer; } /* کپی لینک */
.share-linkedin { background-color: #0077b5; } /* لینکدین */