/*
Theme Name: TT5 Child
Template: twentytwentyfive
Version: 1.0
*/
/* === FRONT CUSTOM STYLING === */

/* start blog */


.wp-block-query-pagination{
    display:flex;
    flex-direction:row-reverse;
    justify-content:center;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin-top:50px;
}

/* دکمه‌ها */
.wp-block-query-pagination a,
.wp-block-query-pagination span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:44px;
    height:44px;
    padding:0 16px;
    border-radius:12px;
    background:#fff;
    color:#222;
    border:1px solid #e5e7eb;
    text-decoration:none;
    font-weight:600;
    transition:all .25s ease;
    box-shadow:0 4px 14px rgba(0,0,0,.05);
}

/* هاور */
.wp-block-query-pagination a:hover{
    background:#111827;
    color:#fff;
    transform:translateY(-2px);
}

/* صفحه فعال */
.wp-block-query-pagination .current{
    background:linear-gradient(135deg,#d4af37,#f5d76e);
    color:#111;
    border-color:#d4af37;
}

/* اصلاح دکمه برگه بعدی */
.wp-block-query-pagination-next{
    display:flex;
    align-items:center;
    gap:6px;
}

/* فلش */
.wp-block-query-pagination-next::after{
    content:"←";
    margin-right:6px;
}


/* لیست پست‌ها - دو ستونی */
/* لیست پست‌ها */

/* حذف محدودیت عرض قالب */

/* تغییر ترتیب عناصر داخل کارت پست */
.wp-block-post .wp-block-group{
    display:flex;
    flex-direction:column;
}

/* عنوان اول */
.wp-block-post-title{
    order:1;
}

/* تصویر بعد از عنوان */
.wp-block-post-featured-image{
    order:2;
}

/* متن */
.my-excerpt{
    order:3;
}

/* تاریخ */
.wp-block-post-date{
    order:4;
}

.wp-block-post-title{
    margin-bottom:20px;
    text-align: center !important;
    font-size: 35px !important;
}
.wp-block-post-title a::before{
    content:"✦ ";
    color:#c9a227;
    font-size:18px;
    margin-left:8px;
}


.wp-block-group.is-layout-constrained{
    max-width:1200px !important;
    margin-right:auto !important;
    margin-left:auto !important;
    padding-left:20px !important;
    padding-right:20px !important;
}


/* لیست پست ها */
ul.wp-block-post-template{
    display:grid !important;
    grid-template-columns:1fr;
    gap:40px;
    list-style:none;
    padding:0;
    margin:0;
}

/* دسکتاپ */
@media (min-width:900px){
    ul.wp-block-post-template{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:40px;
    }
}


.wp-block-post{
    width:100%;
    margin:0 !important;
}

.wp-block-post-template {
    display: grid;
    gap: 35px;
}

/* دسکتاپ: دو نوشته در هر سطر */
@media (min-width: 768px){
    .wp-block-post-template{
        grid-template-columns: repeat(2,1fr);
    }
}


/* کارت پست */
.wp-block-post {
    max-width: 100%;
    margin: auto;
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: .3s;
}

.wp-block-post:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* تصویر شاخص */
.wp-block-post-featured-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 14px;
}

/* عنوان */
.wp-block-post-title {
    font-size: 26px;
    margin-top: 18px;
}

.wp-block-post-title a {
    text-decoration: none;
    color: #111;
}

/* متن */
.wp-block-post-excerpt {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* دکمه ادامه */
.blog-read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 26px;
    border-radius: 30px;
    background: #111;
    color: #fff !important;
    text-decoration: none;
}

.blog-read-more:hover {
    background: #ff6a00;
}

/* pagination */
.wp-block-query-pagination {
    text-align: center;
    margin-top: 40px;
}

.blog-read-more{
    display:inline-block;
    margin-top:14px;
    padding:10px 24px;
    background:#111;
    color:#fff !important;
    text-decoration:none;
    border-radius:30px;
    font-size:14px;
    transition:.3s;
}

.blog-read-more:hover{
    background:#ff6a00;
    transform:translateY(-2px);
}


.wp-block-query,
.wp-block-post-template,
.wp-block-post {
    width: 100% !important;
    max-width: 95% !important;
}

.wp-block-post-template li.wp-block-post {
    width: 95% !important;
}

.wp-block-post .wp-block-group {
    width: 100% !important;
    max-width: 100% !important;
}
.wp-block-group.is-layout-constrained {
    max-width: 100% !important;
}



/* تنظیم عرض کانتینر اصلی وبلاگ برای تطابق با منو */
.wp-block-query {
    width: 100% !important;
    max-width: 1200px !important; /* این عدد را با عرض منو تنظیم کن (معمولاً 1100 تا 1200 پیکسل) */
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* باز کردن عرض بلوک‌های داخلی */
.wp-block-post-template, 
.wp-block-post {
    width: 100% !important;
    max-width: 100% !important;
}

/* حذف محدودیت عرض از گروه‌های داخلی */
.wp-block-group.is-layout-constrained {
    max-width: 100% !important;
}

/* =========================
   SINGLE POST STYLING
========================= */

.single-post .wp-block-post-content {
    font-size: 18px;
    line-height: 2.1;
    color: #2d3748;
    max-width: 850px;
    margin: 40px auto;
    padding: 0 20px;
}

/* تیترهای داخل مقاله */
.single-post .wp-block-post-content h2 {
    font-size: 26px;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-right: 14px;
    border-right: 4px solid #d4af37;
    position: relative;
}

.single-post .wp-block-post-content h3 {
    font-size: 22px;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #1a202c;
}

/* پاراگراف‌ها */
.single-post .wp-block-post-content p {
    margin-bottom: 20px;
}

/* لینک‌ها */
.single-post .wp-block-post-content a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed #d4af37;
    transition: .3s;
}

.single-post .wp-block-post-content a:hover {
    color: #111;
    border-bottom: 1px solid #111;
}

/* تصاویر داخل مقاله */
.single-post .wp-block-post-content img {
    border-radius: 16px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* لیست‌ها */
.single-post .wp-block-post-content ul {
    padding-right: 20px;
    margin-bottom: 25px;
}

.single-post .wp-block-post-content li {
    margin-bottom: 10px;
}

/* نقل قول */
.single-post blockquote {
    background: #f9fafb;
    border-right: 4px solid #d4af37;
    padding: 20px;
    margin: 35px 0;
    border-radius: 12px;
    font-style: italic;
}

/* تصویر شاخص بالای نوشته */
.single-post .wp-block-post-featured-image img {
    border-radius: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

/* عنوان اصلی نوشته */
.single-post .wp-block-post-title {
    font-size: 36px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

/* تاریخ نوشته */
.single-post .wp-block-post-date {
    text-align: center;
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 14px;
}


/* end blog */


body {
  background: rgb(245, 243, 243) !important;
}

h1 {
  color: #d32f2f !important;
}
.hero-banner {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0f3b82, #1c64d1);
  color: #fff;
  text-align: center;
}

.hero-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-banner p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.hero-banner .wp-block-button__link {
  background: #fff;
  color: #0f3b82;
  border-radius: 6px;
  padding: 12px 28px;
  font-weight: bold;
}

.hero-banner .wp-block-button__link:hover {
  background: #e5e5e5;
}

.wp-block-buttons > .wp-block-button{
  margin-bottom: 7px !important;
}

/*تغییر اندازه صفحه*/
.wp-block-post-content {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.is-layout-constrained > * {
  max-width: 1200px !important;
}
/*پایان تغییر اندازه صفحه*/

.wp-block-heading.has-text-align-left
{
  text-align: center !important;
  margin-bottom: 16px !important;
  font-size: 45px !important;
}

.hero-banner {
  background: linear-gradient(135deg, #004aad, #007bff);
  color: #fff;
  text-align: center;
  padding: 120px 20px;
}

.hero-inner h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-inner p {
  font-size: 18px;
  margin-bottom: 30px;
}

.btn-primary {
  background: #ffcc00;
  color: #000;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.credit-packages, .scores {
  padding: 80px 20px;
  text-align: center;
}

.credit-packages h2, .scores h2 {
  font-size: 28px;
  margin-bottom: 40px;
}

.packages-grid, .scores-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}


.pack-card, .score-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  width: 280px;
  transition: transform 0.3s ease;
}
.pack-card:hover, .score-card:hover {
  transform: translateY(-6px);
}

.pack-content .inner-content p:first-child {
  font-weight: bold;
  color: #007bff;
}

.details p {
  margin: 6px 0;
}


/*start header section*/
/* -------------------------------------------------- */
/* نوار بالای هدر */
/* -------------------------------------------------- */
.top-bar {
    background-color: #333;
    border-bottom: 1px solid #ddd;
    font-size: 0.9rem;
    padding: 8px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-weight: 600;
    position: sticky;
    top: 0;
}
.top-left{
    text-align:left;
}
.top-bar .price-info {
    text-align: left;
    color:white;
}
.top-bar .price-info > span {
    color:red;
}
.top-bar .auth-buttons a {
    color: white;
    padding: 6px 14px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
}
.top-bar .auth-buttons a:hover {
    background-color: #005177;
}

/* موبایل: باریک‌سازی و تمیز کردن نوار بالا */
@media (max-width: 768px) {
    .top-bar {
        padding: 4px 10px;
        background: #2f2f2f; /* رنگ تیره شیک */
        font-size: 11px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .top-bar-message {
        font-size: 11px !important;
        opacity: 0.8;
    }

    /* دکمه‌های ورود/ثبت‌نام */
    .auth-buttons {
        font-size: 11px;
        gap: 6px;
    }
}



/*استایل موارد در فروشگاه ها*/
/* ==== GRID ==== */
.woocommerce ul.products.columns-4,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* ==== CARD ==== */
.woocommerce ul.products li.product.shop-product.parent {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  box-shadow: 0 2px 12px #be45be12;
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  min-height: 430px;
  padding: 3px !important;
  margin: 0 !important;
  overflow: hidden; /* مهم */
}

/* ==== LABEL ==== */
.pack-type {
  position: absolute;
  top: 10px;
  left: 18px;
  background: #ffe324;
  color: #111;
  font-size: 18px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 3px;
  transform: rotate(-25deg);
  z-index: 20;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px #0002;
  pointer-events: none;
  padding-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ==== PURPLE BOX ==== */
.pack-content {
  background: linear-gradient(180deg, #7c0ca8, #dc19b7 90%);
  border-radius: 11px;
  margin: 18px 8px 0 8px;
  padding-bottom: 55px;
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.inner-content {
  background: #6a167e;
  border-radius: 11px 11px 0 0;
  padding: 20px 10px 12px 10px;
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

/* ==== TEXT ==== */
.pack-content p,
.inner-content p {
  margin: 8px 0 0 0 !important;
  padding: 0;
  color: #fff;
  font-size: 20px;
  text-align: center;
  letter-spacing: 0.1px;
  line-height: 2.05;
}

.inner-content p {
  font-weight: bold;
}

/* ==== BUTTON DESKTOP (ABSOLUTE) ==== */
@media (min-width: 901px) {

  /* فضا برای دکمه فقط در دسکتاپ */
  .product-thumb {
    padding-bottom: 90px;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.button,
  .my-pack-btn {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 12px;

    display: block;
    width: auto;

    background: #586f86 !important;
    color: #fff !important;
    font-size: 20px;
    font-weight: 600;
    padding: 10px 0 !important;
    border-radius: 7px;
    border: none;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.25);
    text-decoration: none !important;
  }
}

/* ==== BUTTON MOBILE/TABLET (RELATIVE) ==== */
@media (max-width: 900px) {

  /* دکمه طبیعی و بدون absolute */
  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.button,
  .my-pack-btn {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    width: 90% !important;
    margin: 16px auto 12px auto !important;

    background: #586f86 !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    padding: 7px 0 !important;
    border-radius: 10px;
    text-align: center;
  }

  /* باکس بنفش فضای اضافی نداشته باشد */
  .pack-content {
    padding-bottom: 20px !important;
  }
}

/* ==== GRID BREAKPOINTS ==== */
@media (max-width: 1200px) {
  .woocommerce ul.products.columns-4,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 900px) {
  .woocommerce ul.products.columns-4,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .woocommerce ul.products li.product.shop-product.parent {
    min-height: 440px;
  }
}

@media (max-width: 600px) 
{

  .woocommerce ul.products.columns-4,
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }

  .woocommerce ul.products li.product.shop-product.parent {
    min-height: 410px;
  }
  .pack-content {
    padding-bottom: 10px !important;
  }

  .wp-block-group.has-global-padding.is-layout-constrained {
    padding: 2px !important;
  }
  /* حذف فاصله‌های اضافی از p و br */
  .wp-block-group p:empty,
  .wp-block-group br {
      margin: 0 !important;
      padding: 0 !important;
      line-height: 0 !important;
      height: 0 !important;
      display: none !important;
  }

  /* چون این باعث فاصله می‌شد */
  .content-area {
      margin-top: 0 !important;
  }

  /* فرم فیلتر – همون حالت شکیل که خودت خواستی */
  form.form-inline {
      margin-top: 4px !important;
      background: #fff;
      padding: 12px !important;
      border-radius: 12px;
      border: 1px solid #eee;
  }
  .site-content{
    margin: -30px 2px !important
  }
}

.content-area{
  margin-top: 10px !important;
}

/* بین 600 تا 300 پیکسل → دو ستونه */
@media (max-width: 600px) and (min-width: 301px) {
  .woocommerce ul.products.columns-4,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important; /* فاصله کمتر */
  }

  .woocommerce ul.products li.product.shop-product.parent {
    min-height: auto !important;
    padding: 0 !important;
  }

  /* دکمه کوچیک‌تر */
  .my-pack-btn {
    font-size: 16px !important;
    padding: 6px 0 !important;
  }

  /* متن کارت کوچیک‌تر */
  .woocommerce ul.products li.product.shop-product.parent p {
    font-size: 14px !important;
    margin: 2px 0 !important;
  }

  .pack-type span {
    font-size: 14px !important;
  }
}

/* زیر 300 پیکسل → تک ستونه + خیلی جمع‌وجور */
@media (max-width: 300px) {
  .woocommerce ul.products.columns-4,
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .woocommerce ul.products li.product.shop-product.parent {
    padding: 4px !important;
    min-height: auto !important;
    border-radius: 10px !important;
  }

  /* متن خیلی کوچک‌تر */
  .woocommerce ul.products li.product.shop-product.parent p {
    font-size: 12px !important;
    margin: 1px 0 !important;
    line-height: 1.3 !important;
  }

  .pack-type span {
    font-size: 12px !important;
  }

  /* دکمه کوچک و جمع‌وجور */
  .my-pack-btn {
    font-size: 14px !important;
    padding: 5px 0 !important;
    width: 95% !important;
  }

  .pack-content {
    padding-bottom: 6px !important;
  }
}


/*پایان استایل فروشگاها*/


/* -------------------------------------------------- */
/* بخش عنوان و معرفی سایت */
/* -------------------------------------------------- */
/* -------------------------------------------------- */
/* منوی اصلی جدید (Navigation Block) */
/* -------------------------------------------------- */
.wp-block-navigation {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  padding: 12px 40px;
  position: sticky;
  top: 58px; /* بعد از نوار بالا */
}

.wp-block-navigation__container {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.row-shop{
  padding-top: 6px;
}
.page-title{
  padding-top: 6px;
}

/* لینک‌ها */
.wp-block-navigation-item > a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.25s ease-in-out;
}

.wp-block-navigation-item > a:hover,
.wp-block-navigation-item.current-menu-item > a {
  color: #0073aa;
  background-color: rgba(0,115,170,0.1);
}

/* -------------------------------------------------- */
/* دکمه موبایل (همان ☰) */
/* -------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
  padding: 6px 10px;
}

/* -------------------------------------------------- */
/* حالت موبایل */
/* -------------------------------------------------- */
@media (max-width: 768px) {
  /* نمایش دکمه ☰ در موبایل */
  .mobile-menu-toggle {
    display: block;
    margin: 10px auto;
  }

  /* مخفی شدن منو در حالت موبایل */
  .wp-block-navigation__container {
    display: none;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 0;
    margin-top: 10px;
    gap: 6px;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }

  /* وقتی فعال شد */
  .menu-open .wp-block-navigation__container {
    display: flex;
  }

  /* لینک‌های موبایل */
  .wp-block-navigation-item > a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    font-size: 1rem;
  }
}


/* Start user dashboard */
/* --- تنظیمات کلی و پس‌زمینه صفحه --- */

body {
    background-color: #f0f2f5; /* رنگ پس‌زمینه طوسی روشن برای کل صفحه */
    font-family: Tahoma, "B Yekan", Arial, sans-serif;
    direction: rtl;
}

.row {
    background-color: #fff;
}
.container.dashboard {
    max-width: 1200px;
    margin: 10px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.tab-link p , br{
  display: none;
}

/* --- اصلاح بخش هدر (داشبورد، موجودی و کد باشگاه) --- */
.dashboard .row.title {
    display: flex;
    flex-wrap: wrap; /* اجازه می‌دهد آیتم‌ها به خط بعدی بروند */
    justify-content: space-between; /* موجودی و کد را از هم جدا می‌کند */
    align-items: center;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.dashboard .row.title .col-12 {
    width: 100%; /* اطمینان از اینکه "داشبورد" یک خط کامل را می‌گیرد */
    margin-bottom: 20px;
}
.dashboard .row.title h2 {
    font-size: 45px;
    color: #555;
    margin: 0;
}
.dashboard .row.title .credit,
.dashboard .row.title .moaref {
    font-size: 16px;
    color: #666;
}

/* --- ایجاد کادر سفید یکپارچه برای محتوای اصلی --- */
/* این کد ردیف اصلی (شامل منو و محتوا) را هدف قرار می‌دهد */
.dashboard .row.title + .row {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
}

/* ستون‌های منو و محتوا */
.col-lg-3 {
    width: 25%;
    padding-left: 0;
    box-sizing: border-box;
}
.col-lg-9 {
    width: 75%;
    padding-right: 0;
    box-sizing: border-box;
    overflow-x: auto;
}
.filter_credit_user_account{
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
}
.btn-success{
  background-color: rgb(140, 231, 140);
  padding: 7px 17px 7px 17px;
  border-radius: 5px;
  border: none;

}
.btn-info{
  background-color: rgb(166, 145, 225);
  padding: 7px 17px 7px 17px;
  border-radius: 5px;
  border: none;
  margin-bottom: 2px;
}
.btn-danger{
  background-color: rgb(230, 71, 95);
  padding: 8px 16px 8px 16px;
  border: none;
  border-radius: 5px;

}



/* استایل منوی سمت راست */
ul.user-dashboard-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.user-dashboard-menu li {
    background-color: #f2f4e8;
    color: #72a865;
    padding: 12px 25px;
    margin-bottom: 12px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
ul.user-dashboard-menu li:hover, 
ul.user-dashboard-menu li.current {
    background-color: #e5ebd3;
    color: #4b8b3b;
    font-weight: bold;
}

/* استایل بخش محتوا (سمت چپ) */
.dashboard_content h3, 
.dashboard_content h4 {
    text-align: center;
    color: #555;
    font-size: 22px;
    margin-bottom: 40px;
}

/* --- فعال کردن اسکرول افقی برای جدول اعتبارات --- */
.table-responsive-xl {
    display: block;
    width: 100%;
    overflow-x: auto; /* مهم‌ترین بخش برای اسکرول افقی */
    -webkit-overflow-scrolling: touch; /* برای اسکرول روان در موبایل */
    border: 1px solid #ddd;
    border-radius: 5px;
}
.table-responsive-xl table {
    width: 100%;
    border-collapse: collapse;
}
/* می‌توانید استایل‌های دیگر جدول را اینجا اضافه کنید */

/* مدیریت نمایش تب‌ها */
.tab-content {
    display: none;
}
.tab-content.current {
    display: block;
}

/* ============ 1) سفید کردن کامل بخش داشبورد بالایی ============ */
.dashboard .row.title {
    background: #fff !important;
    padding: 25px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* عنوان داشبورد */
.dashboard .row.title h2 {
    font-size: 26px;
    color: #333;
    margin-bottom: 10px;
}

/* متن‌های موجودی و کد باشگاه */
.dashboard .row.title h4 {
    color: #444;
    margin: 5px 0;
}


/* ============ 2) کوچک کردن باکس‌های سبز کناری ============ */
ul.user-dashboard-menu li {
    background-color: #f2f4e8;
    color: #72a865;
    padding: 8px 15px !important;   /* کوچک‌تر شد */
    margin-bottom: 10px !important;
    border-radius: 16px;             /* کوچکتر از قبل */
    font-size: 14px !important;
    display: flex;
    align-items: center;
    transition: 0.25s;
}

ul.user-dashboard-menu li i {
    margin-left: 10px;
    font-size: 14px;
}

/* Hover */
ul.user-dashboard-menu li:hover,
ul.user-dashboard-menu li.current {
    background-color: #e5ebd3;
    color: #4b8b3b;
    font-weight: bold;
}

/* حذف خط زیر لینک‌های منو */
ul.user-dashboard-menu li a {
    text-decoration: none !important;
    color: inherit !important;
}


/* ============ 3) ساختار واکنش‌گرا: 
      در حالت Full Width → col-lg-3 مثل الان  
      در حالت صفحه معمولی / موبایل → col-12
   ============================================================ */

.hidden{
  margin: 0;
  padding: 0;
}
p:has(input.hidden) {
    display: none !important;
}


/* حالت موبایل و تبلت = ستون کامل */
@media (max-width: 991px) {
    .col-lg-3 {
        width: 100% !important;
        order: 1;
    }

    .col-lg-9 {
        width: 100% !important;
        order: 2;
        overflow-x: auto;
    }
}

.wp-site-blocks > p:first-of-type {
    display: none !important;
}


/* حالت دسکتاپ = همان col-lg-3 و col-lg-9 */
@media (min-width: 992px) {
    .col-lg-3 { width: 25% !important; }
    .col-lg-9 { width: 75% !important; overflow-x: auto; }
}


/* ============ 4) کادر سفید اطراف کل داشبورد ============ */
.dashboard .row.title + .row {
    background-color: #fff !important;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* حذف خطوط زیر تمام لینک‌های سایت (اختیاری) */
a { text-decoration: none !important; }
a:hover { text-decoration: none !important; }

.credit-filter{
    display:flex;
    gap:12px;
    align-items:flex-end;
    flex-wrap:wrap;
}

.filter-item{
    display:flex;
    flex-direction:column;
    font-size:13px;
}

.filter-item label{
    margin-bottom:4px;
    font-weight:600;
    color:#444;
}

.filter-btn{
    height:38px;
}

.package-table, .score-table{
  font-size: 12px !important;
}

.form-control {
  display: block;           /* تبدیل به عنصر بلاک */
  width: 100%;             /* عرض کامل والد */
  padding: 0.375rem 0.75rem; /* فاصله داخلی بالا/پایین و چپ/راست */
  font-weight: 400;        /* وزن فونت */
  line-height: 1.5;        /* ارتفاع خط */
  color: #495057;          /* رنگ متن */
  background-color: #fff;  /* پس زمینه سفید */
  background-clip: padding-box; /* اطمینان از اینکه پس‌زمینه در padding کلپ شود */
  border: 1px solid #ced4da;  /* حاشیه خاکستری کمرنگ */
  border-radius: 0.25rem;  /* گوشه‌های گرد */
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; /* انیمیشن تغییر حاشیه و سایه */
  box-sizing: border-box;  /* محاسبه عرض و padding به صورت صحیح */
}

.form-control:focus {
  border-color: #80bdff;    /* رنگ حاشیه هنگام فوکوس */
  outline: 0;              /* حذف outline پیش‌فرض */
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25); /* سایه آبی هنگام فوکوس */
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
}

.form-check {
  font-size: 0.95rem;
}
.form-check a , .second-way a {
  color: rgb(140, 231, 140);
}
.second-way p{
  font-size: 1.2rem !important;
}
.second-way ul li{
  font-size: 1rem !important;
}

/* End user dashboard */

/* start footer section */

.custom-footer {
  background: #ffffff !important;
  border-radius: 12px;
  padding: 2rem 1rem;
  color: black !important;
  direction: rtl;
}

/* آیکن‌های بالا */
.footer-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1rem;
  text-align: center;
  margin-bottom: 2rem;
}
.footer-icon img {
  width: 40px;
  height: 40px;
}
.footer-icon h4 {
  font-size: 1rem;
  margin-top: 0.5rem;
  border-top: 2px solid #27ae60;
  display: inline-block;
  padding-top: 5px;
}

/* بخش اصلی پایین */
.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  background-color: #d9f4e0;
  border-radius: 12px;
  padding: 1.5rem;
}
.footer-col h3 {
  color: #00a5ff;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  border-bottom: 2px solid #2ecc71;
  display: inline-block;
  padding-bottom: 4px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  transition: color .3s ease;
}
.footer-col ul li a:hover {
  color: #2ecc71;
}
.logo-footer {
  max-width: 130px;
  margin-bottom: 10px;
}
.footer-col.trust img {
  max-height: 80px;
  margin: 10px auto;
  display: block;
}

/* بخش پایین نهایی */
.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid #cfe9d2;
  font-size: 0.9rem;
  color: #054a36;
}


.custom-footer {
    background-color: #222;
    color: #ddd;
    padding: 40px 20px 20px;
    font-family: Tahoma, sans-serif;
    font-size: 14px;
}

.custom-footer a {
    color: #69c;
    text-decoration: none;
}

.custom-footer a:hover {
    text-decoration: underline;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-widget {
    flex: 1 1 250px;
    margin: 10px;
}

.footer-widget h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
    }
    .footer-widget {
        margin: 15px 0;
        text-align: center;
    }
    .wp-block-post-template li.wp-block-post {
      width: 75% !important;
    }
}


/* end footer section */

/* start about page */
/*
Theme Name: TT5 Child
Template: twentytwentyfive
Version: 1.0
*/
/* === FRONT CUSTOM STYLING === */

/* start blog */


.wp-block-query-pagination{
    display:flex;
    flex-direction:row-reverse;
    justify-content:center;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin-top:50px;
}

/* دکمه‌ها */
.wp-block-query-pagination a,
.wp-block-query-pagination span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:44px;
    height:44px;
    padding:0 16px;
    border-radius:12px;
    background:#fff;
    color:#222;
    border:1px solid #e5e7eb;
    text-decoration:none;
    font-weight:600;
    transition:all .25s ease;
    box-shadow:0 4px 14px rgba(0,0,0,.05);
}

/* هاور */
.wp-block-query-pagination a:hover{
    background:#111827;
    color:#fff;
    transform:translateY(-2px);
}

/* صفحه فعال */
.wp-block-query-pagination .current{
    background:linear-gradient(135deg,#d4af37,#f5d76e);
    color:#111;
    border-color:#d4af37;
}

/* اصلاح دکمه برگه بعدی */
.wp-block-query-pagination-next{
    display:flex;
    align-items:center;
    gap:6px;
}

/* فلش */
.wp-block-query-pagination-next::after{
    content:"←";
    margin-right:6px;
}


/* لیست پست‌ها - دو ستونی */
/* لیست پست‌ها */

/* حذف محدودیت عرض قالب */

/* تغییر ترتیب عناصر داخل کارت پست */
.wp-block-post .wp-block-group{
    display:flex;
    flex-direction:column;
}

/* عنوان اول */
.wp-block-post-title{
    order:1;
}

/* تصویر بعد از عنوان */
.wp-block-post-featured-image{
    order:2;
}

/* متن */
.my-excerpt{
    order:3;
}

/* تاریخ */
.wp-block-post-date{
    order:4;
}

.wp-block-post-title{
    margin-bottom:20px;
    text-align: center !important;
    font-size: 35px !important;
}
.wp-block-post-title a::before{
    content:"✦ ";
    color:#c9a227;
    font-size:18px;
    margin-left:8px;
}


.wp-block-group.is-layout-constrained{
    max-width:1200px !important;
    margin-right:auto !important;
    margin-left:auto !important;
    padding-left:20px !important;
    padding-right:20px !important;
}


/* لیست پست ها */
ul.wp-block-post-template{
    display:grid !important;
    grid-template-columns:1fr;
    gap:40px;
    list-style:none;
    padding:0;
    margin:0;
}

/* دسکتاپ */
@media (min-width:900px){
    ul.wp-block-post-template{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:40px;
    }
}


.wp-block-post{
    width:100%;
    margin:0 !important;
}

.wp-block-post-template {
    display: grid;
    gap: 35px;
}

/* دسکتاپ: دو نوشته در هر سطر */
@media (min-width: 768px){
    .wp-block-post-template{
        grid-template-columns: repeat(2,1fr);
    }
}


/* کارت پست */
.wp-block-post {
    max-width: 100%;
    margin: auto;
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: .3s;
}

.wp-block-post:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* تصویر شاخص */
.wp-block-post-featured-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 14px;
}

/* عنوان */
.wp-block-post-title {
    font-size: 26px;
    margin-top: 18px;
}

.wp-block-post-title a {
    text-decoration: none;
    color: #111;
}

/* متن */
.wp-block-post-excerpt {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* دکمه ادامه */
.blog-read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 26px;
    border-radius: 30px;
    background: #111;
    color: #fff !important;
    text-decoration: none;
}

.blog-read-more:hover {
    background: #ff6a00;
}

/* pagination */
.wp-block-query-pagination {
    text-align: center;
    margin-top: 40px;
}

.blog-read-more{
    display:inline-block;
    margin-top:14px;
    padding:10px 24px;
    background:#111;
    color:#fff !important;
    text-decoration:none;
    border-radius:30px;
    font-size:14px;
    transition:.3s;
}

.blog-read-more:hover{
    background:#ff6a00;
    transform:translateY(-2px);
}


.wp-block-query,
.wp-block-post-template,
.wp-block-post {
    width: 100% !important;
    max-width: 95% !important;
}

.wp-block-post-template li.wp-block-post {
    width: 95% !important;
}

.wp-block-post .wp-block-group {
    width: 100% !important;
    max-width: 100% !important;
}
.wp-block-group.is-layout-constrained {
    max-width: 100% !important;
}



/* تنظیم عرض کانتینر اصلی وبلاگ برای تطابق با منو */
.wp-block-query {
    width: 100% !important;
    max-width: 1200px !important; /* این عدد را با عرض منو تنظیم کن (معمولاً 1100 تا 1200 پیکسل) */
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* باز کردن عرض بلوک‌های داخلی */
.wp-block-post-template, 
.wp-block-post {
    width: 100% !important;
    max-width: 100% !important;
}

/* حذف محدودیت عرض از گروه‌های داخلی */
.wp-block-group.is-layout-constrained {
    max-width: 100% !important;
}

/* =========================
   SINGLE POST STYLING
========================= */

.single-post .wp-block-post-content {
    font-size: 18px;
    line-height: 2.1;
    color: #2d3748;
    max-width: 850px;
    margin: 40px auto;
    padding: 0 20px;
}

/* تیترهای داخل مقاله */
.single-post .wp-block-post-content h2 {
    font-size: 26px;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-right: 14px;
    border-right: 4px solid #d4af37;
    position: relative;
}

.single-post .wp-block-post-content h3 {
    font-size: 22px;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #1a202c;
}

/* پاراگراف‌ها */
.single-post .wp-block-post-content p {
    margin-bottom: 20px;
}

/* لینک‌ها */
.single-post .wp-block-post-content a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed #d4af37;
    transition: .3s;
}

.single-post .wp-block-post-content a:hover {
    color: #111;
    border-bottom: 1px solid #111;
}

/* تصاویر داخل مقاله */
.single-post .wp-block-post-content img {
    border-radius: 16px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* لیست‌ها */
.single-post .wp-block-post-content ul {
    padding-right: 20px;
    margin-bottom: 25px;
}

.single-post .wp-block-post-content li {
    margin-bottom: 10px;
}

/* نقل قول */
.single-post blockquote {
    background: #f9fafb;
    border-right: 4px solid #d4af37;
    padding: 20px;
    margin: 35px 0;
    border-radius: 12px;
    font-style: italic;
}

/* تصویر شاخص بالای نوشته */
.single-post .wp-block-post-featured-image img {
    border-radius: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

/* عنوان اصلی نوشته */
.single-post .wp-block-post-title {
    font-size: 36px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

/* تاریخ نوشته */
.single-post .wp-block-post-date {
    text-align: center;
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 14px;
}


/* end blog */


body {
  background: rgb(245, 243, 243) !important;
}

h1 {
  color: #d32f2f !important;
}
.hero-banner {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0f3b82, #1c64d1);
  color: #fff;
  text-align: center;
}

.hero-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-banner p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.hero-banner .wp-block-button__link {
  background: #fff;
  color: #0f3b82;
  border-radius: 6px;
  padding: 12px 28px;
  font-weight: bold;
}

.hero-banner .wp-block-button__link:hover {
  background: #e5e5e5;
}



/*تغییر اندازه صفحه*/
.wp-block-post-content {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.is-layout-constrained > * {
  max-width: 1200px !important;
}
/*پایان تغییر اندازه صفحه*/

.wp-block-heading.has-text-align-left
{
  text-align: center !important;
  margin-bottom: 16px !important;
}

.hero-banner {
  background: linear-gradient(135deg, #004aad, #007bff);
  color: #fff;
  text-align: center;
  padding: 120px 20px;
}

.hero-inner h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-inner p {
  font-size: 18px;
  margin-bottom: 30px;
}

.btn-primary {
  background: #ffcc00;
  color: #000;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.credit-packages, .scores {
  padding: 80px 20px;
  text-align: center;
}

.credit-packages h2, .scores h2 {
  font-size: 28px;
  margin-bottom: 40px;
}

.packages-grid, .scores-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}


.pack-card, .score-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  width: 280px;
  transition: transform 0.3s ease;
}
.pack-card:hover, .score-card:hover {
  transform: translateY(-6px);
}

.pack-content .inner-content p:first-child {
  font-weight: bold;
  color: #007bff;
}

.details p {
  margin: 6px 0;
}


/*start header section*/
/* -------------------------------------------------- */
/* نوار بالای هدر */
/* -------------------------------------------------- */
.top-bar {
    background-color: #333;
    border-bottom: 1px solid #ddd;
    font-size: 0.9rem;
    padding: 8px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-weight: 600;
    position: sticky;
    top: 0;
}
.top-left{
    text-align:left;
}
.top-bar .price-info {
    text-align: left;
    color:white;
}
.top-bar .price-info > span {
    color:red;
}
.top-bar .auth-buttons a {
    color: white;
    padding: 6px 14px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
}
.top-bar .auth-buttons a:hover {
    background-color: #005177;
}

/* موبایل: باریک‌سازی و تمیز کردن نوار بالا */
@media (max-width: 768px) {
    .top-bar {
        padding: 4px 10px;
        background: #2f2f2f; /* رنگ تیره شیک */
        font-size: 11px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .top-bar-message {
        font-size: 11px !important;
        opacity: 0.8;
    }

    /* دکمه‌های ورود/ثبت‌نام */
    .auth-buttons {
        font-size: 11px;
        gap: 6px;
    }
}



/*استایل موارد در فروشگاه ها*/
/* ==== GRID ==== */
.woocommerce ul.products.columns-4,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* ==== CARD ==== */
.woocommerce ul.products li.product.shop-product.parent {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  box-shadow: 0 2px 12px #be45be12;
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  min-height: 430px;
  padding: 3px !important;
  margin: 0 !important;
  overflow: hidden; /* مهم */
}

/* ==== LABEL ==== */
.pack-type {
  position: absolute;
  top: 10px;
  left: 18px;
  background: #ffe324;
  color: #111;
  font-size: 18px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 3px;
  transform: rotate(-25deg);
  z-index: 20;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px #0002;
  pointer-events: none;
  padding-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ==== PURPLE BOX ==== */
.pack-content {
  background: linear-gradient(180deg, #7c0ca8, #dc19b7 90%);
  border-radius: 11px;
  margin: 18px 8px 0 8px;
  padding-bottom: 55px;
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.inner-content {
  background: #6a167e;
  border-radius: 11px 11px 0 0;
  padding: 20px 10px 12px 10px;
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

/* ==== TEXT ==== */
.pack-content p,
.inner-content p {
  margin: 8px 0 0 0 !important;
  padding: 0;
  color: #fff;
  font-size: 20px;
  text-align: center;
  letter-spacing: 0.1px;
  line-height: 2.05;
}

.inner-content p {
  font-weight: bold;
}

/* ==== BUTTON DESKTOP (ABSOLUTE) ==== */
@media (min-width: 901px) {

  /* فضا برای دکمه فقط در دسکتاپ */
  .product-thumb {
    padding-bottom: 90px;
  }

  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.button,
  .my-pack-btn {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 12px;

    display: block;
    width: auto;

    background: #586f86 !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 0 !important;
    border-radius: 7px;
    border: none;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.25);
    text-decoration: none !important;
  }
}

/* ==== BUTTON MOBILE/TABLET (RELATIVE) ==== */
@media (max-width: 900px) {

  .footer-icons{
    display: block !important;
  }

  /* دکمه طبیعی و بدون absolute */
  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product a.button,
  .my-pack-btn {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    width: 90% !important;
    margin: 16px auto 12px auto !important;

    background: #586f86 !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    padding: 7px 0 !important;
    border-radius: 10px;
    text-align: center;
  }

  /* باکس بنفش فضای اضافی نداشته باشد */
  .pack-content {
    padding-bottom: 20px !important;
  }
}

/* ==== GRID BREAKPOINTS ==== */
@media (max-width: 1200px) {
  .woocommerce ul.products.columns-4,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 900px) {
  .woocommerce ul.products.columns-4,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .woocommerce ul.products li.product.shop-product.parent {
    min-height: 440px;
  }
}

@media (max-width: 600px) 
{

  .woocommerce ul.products.columns-4,
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }

  .woocommerce ul.products li.product.shop-product.parent {
    min-height: 410px;
  }
  .pack-content {
    padding-bottom: 10px !important;
  }

  .wp-block-group.has-global-padding.is-layout-constrained {
    padding: 2px !important;
  }
  /* حذف فاصله‌های اضافی از p و br */
  .wp-block-group p:empty,
  .wp-block-group br {
      margin: 0 !important;
      padding: 0 !important;
      line-height: 0 !important;
      height: 0 !important;
      display: none !important;
  }

  /* چون این باعث فاصله می‌شد */
  .content-area {
      margin-top: 0 !important;
  }

  /* فرم فیلتر – همون حالت شکیل که خودت خواستی */
  form.form-inline {
      margin-top: 4px !important;
      background: #fff;
      padding: 12px !important;
      border-radius: 12px;
      border: 1px solid #eee;
  }
  .site-content{
    margin: -30px 2px !important
  }
}

.content-area{
  margin-top: 10px !important;
}

/* بین 600 تا 300 پیکسل → دو ستونه */
@media (max-width: 600px) and (min-width: 301px) {
  .woocommerce ul.products.columns-4,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important; /* فاصله کمتر */
  }

  .woocommerce ul.products li.product.shop-product.parent {
    min-height: auto !important;
    padding: 0 !important;
  }

  /* دکمه کوچیک‌تر */
  .my-pack-btn {
    font-size: 16px !important;
    padding: 6px 0 !important;
  }

  /* متن کارت کوچیک‌تر */
  .woocommerce ul.products li.product.shop-product.parent p {
    font-size: 14px !important;
    margin: 2px 0 !important;
  }

  .pack-type span {
    font-size: 14px !important;
  }
}

/* زیر 300 پیکسل → تک ستونه + خیلی جمع‌وجور */
@media (max-width: 300px) {
  .woocommerce ul.products.columns-4,
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .woocommerce ul.products li.product.shop-product.parent {
    padding: 4px !important;
    min-height: auto !important;
    border-radius: 10px !important;
  }

  /* متن خیلی کوچک‌تر */
  .woocommerce ul.products li.product.shop-product.parent p {
    font-size: 12px !important;
    margin: 1px 0 !important;
    line-height: 1.3 !important;
  }

  .pack-type span {
    font-size: 12px !important;
  }

  /* دکمه کوچک و جمع‌وجور */
  .my-pack-btn {
    font-size: 14px !important;
    padding: 5px 0 !important;
    width: 95% !important;
  }

  .pack-content {
    padding-bottom: 6px !important;
  }
}


/*پایان استایل فروشگاها*/


/* -------------------------------------------------- */
/* بخش عنوان و معرفی سایت */
/* -------------------------------------------------- */
/* -------------------------------------------------- */
/* منوی اصلی جدید (Navigation Block) */
/* -------------------------------------------------- */
.wp-block-navigation {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  padding: 12px 40px;
  position: sticky;
  top: 58px; /* بعد از نوار بالا */
}

.wp-block-navigation__container {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.row-shop{
  padding-top: 6px;
}
.page-title{
  padding-top: 6px;
}

/* لینک‌ها */
.wp-block-navigation-item > a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.25s ease-in-out;
}

.wp-block-navigation-item > a:hover,
.wp-block-navigation-item.current-menu-item > a {
  color: #0073aa;
  background-color: rgba(0,115,170,0.1);
}

/* -------------------------------------------------- */
/* دکمه موبایل (همان ☰) */
/* -------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
  padding: 6px 10px;
}

/* -------------------------------------------------- */
/* حالت موبایل */
/* -------------------------------------------------- */
@media (max-width: 768px) {
  /* نمایش دکمه ☰ در موبایل */
  .mobile-menu-toggle {
    display: block;
    margin: 10px auto;
  }

  /* مخفی شدن منو در حالت موبایل */
  .wp-block-navigation__container {
    display: none;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 0;
    margin-top: 10px;
    gap: 6px;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }

  /* وقتی فعال شد */
  .menu-open .wp-block-navigation__container {
    display: flex;
  }

  /* لینک‌های موبایل */
  .wp-block-navigation-item > a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    font-size: 1rem;
  }
}


/* Start user dashboard */
/* --- تنظیمات کلی و پس‌زمینه صفحه --- */

body {
    background-color: #f0f2f5; /* رنگ پس‌زمینه طوسی روشن برای کل صفحه */
    font-family: Tahoma, "B Yekan", Arial, sans-serif;
    direction: rtl;
}

.row {
    background-color: #fff;
}
.container.dashboard {
    max-width: 1200px;
    margin: 10px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.tab-link p , br{
  display: none;
}

/* --- اصلاح بخش هدر (داشبورد، موجودی و کد باشگاه) --- */
.dashboard .row.title {
    display: flex;
    flex-wrap: wrap; /* اجازه می‌دهد آیتم‌ها به خط بعدی بروند */
    justify-content: space-between; /* موجودی و کد را از هم جدا می‌کند */
    align-items: center;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.dashboard .row.title .col-12 {
    width: 100%; /* اطمینان از اینکه "داشبورد" یک خط کامل را می‌گیرد */
    margin-bottom: 20px;
}
.dashboard .row.title h2 {
    font-size: 45px;
    color: #555;
    margin: 0;
}
.dashboard .row.title .credit,
.dashboard .row.title .moaref {
    font-size: 16px;
    color: #666;
}

/* --- ایجاد کادر سفید یکپارچه برای محتوای اصلی --- */
/* این کد ردیف اصلی (شامل منو و محتوا) را هدف قرار می‌دهد */
.dashboard .row.title + .row {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
}

/* ستون‌های منو و محتوا */
.col-lg-3 {
    width: 25%;
    padding-left: 0;
    box-sizing: border-box;
}
.col-lg-9 {
    width: 75%;
    padding-right: 0;
    box-sizing: border-box;
    overflow-x: auto;
}
.filter_credit_user_account{
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
}
.btn-success{
  background-color: rgb(140, 231, 140);
  padding: 7px 17px 7px 17px;
  border-radius: 5px;
  border: none;

}
.btn-danger{
  background-color: rgb(230, 71, 95);
  padding: 8px 16px 8px 16px;
  border: none;
  border-radius: 5px;

}



/* استایل منوی سمت راست */
ul.user-dashboard-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.user-dashboard-menu li {
    background-color: #f2f4e8;
    color: #72a865;
    padding: 12px 25px;
    margin-bottom: 12px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
ul.user-dashboard-menu li:hover, 
ul.user-dashboard-menu li.current {
    background-color: #e5ebd3;
    color: #4b8b3b;
    font-weight: bold;
}

/* استایل بخش محتوا (سمت چپ) */
.dashboard_content h3, 
.dashboard_content h4 {
    text-align: center;
    color: #555;
    font-size: 22px;
    margin-bottom: 40px;
}

/* --- فعال کردن اسکرول افقی برای جدول اعتبارات --- */
.table-responsive-xl {
    display: block;
    width: 100%;
    overflow-x: auto; /* مهم‌ترین بخش برای اسکرول افقی */
    -webkit-overflow-scrolling: touch; /* برای اسکرول روان در موبایل */
    border: 1px solid #ddd;
    border-radius: 5px;
}
.table-responsive-xl table {
    width: 100%;
    border-collapse: collapse;
}
/* می‌توانید استایل‌های دیگر جدول را اینجا اضافه کنید */

/* مدیریت نمایش تب‌ها */
.tab-content {
    display: none;
}
.tab-content.current {
    display: block;
}

/* ============ 1) سفید کردن کامل بخش داشبورد بالایی ============ */
.dashboard .row.title {
    background: #fff !important;
    padding: 25px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* عنوان داشبورد */
.dashboard .row.title h2 {
    font-size: 26px;
    color: #333;
    margin-bottom: 10px;
}

/* متن‌های موجودی و کد باشگاه */
.dashboard .row.title h4 {
    color: #444;
    margin: 5px 0;
}


/* ============ 2) کوچک کردن باکس‌های سبز کناری ============ */
ul.user-dashboard-menu li {
    background-color: #f2f4e8;
    color: #72a865;
    padding: 8px 15px !important;   /* کوچک‌تر شد */
    margin-bottom: 10px !important;
    border-radius: 16px;             /* کوچکتر از قبل */
    font-size: 14px !important;
    display: flex;
    align-items: center;
    transition: 0.25s;
}

ul.user-dashboard-menu li i {
    margin-left: 10px;
    font-size: 14px;
}

/* Hover */
ul.user-dashboard-menu li:hover,
ul.user-dashboard-menu li.current {
    background-color: #e5ebd3;
    color: #4b8b3b;
    font-weight: bold;
}

/* حذف خط زیر لینک‌های منو */
ul.user-dashboard-menu li a {
    text-decoration: none !important;
    color: inherit !important;
}


/* ============ 3) ساختار واکنش‌گرا: 
      در حالت Full Width → col-lg-3 مثل الان  
      در حالت صفحه معمولی / موبایل → col-12
   ============================================================ */

.hidden{
  margin: 0;
  padding: 0;
}
p:has(input.hidden) {
    display: none !important;
}


/* حالت موبایل و تبلت = ستون کامل */
@media (max-width: 991px) {
    .col-lg-3 {
        width: 100% !important;
        order: 1;
    }

    .col-lg-9 {
        width: 100% !important;
        order: 2;
        overflow-x: auto;
    }
}

.wp-site-blocks > p:first-of-type {
    display: none !important;
}


/* حالت دسکتاپ = همان col-lg-3 و col-lg-9 */
@media (min-width: 992px) {
    .col-lg-3 { width: 25% !important; }
    .col-lg-9 { width: 75% !important; overflow-x: auto; }
}


/* ============ 4) کادر سفید اطراف کل داشبورد ============ */
.dashboard .row.title + .row {
    background-color: #fff !important;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* حذف خطوط زیر تمام لینک‌های سایت (اختیاری) */
a { text-decoration: none !important; }
a:hover { text-decoration: none !important; }

.credit-filter{
    display:flex;
    gap:12px;
    align-items:flex-end;
    flex-wrap:wrap;
}

.filter-item{
    display:flex;
    flex-direction:column;
    font-size:13px;
}

.filter-item label{
    margin-bottom:4px;
    font-weight:600;
    color:#444;
}

.filter-btn{
    height:38px;
}

.package-table, .score-table{
  font-size: 12px !important;
}

.form-control {
  display: block;           /* تبدیل به عنصر بلاک */
  width: 100%;             /* عرض کامل والد */
  padding: 0.375rem 0.75rem; /* فاصله داخلی بالا/پایین و چپ/راست */
  font-weight: 400;        /* وزن فونت */
  line-height: 1.5;        /* ارتفاع خط */
  color: #495057;          /* رنگ متن */
  background-color: #fff;  /* پس زمینه سفید */
  background-clip: padding-box; /* اطمینان از اینکه پس‌زمینه در padding کلپ شود */
  border: 1px solid #ced4da;  /* حاشیه خاکستری کمرنگ */
  border-radius: 0.25rem;  /* گوشه‌های گرد */
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; /* انیمیشن تغییر حاشیه و سایه */
  box-sizing: border-box;  /* محاسبه عرض و padding به صورت صحیح */
}

.form-control:focus {
  border-color: #80bdff;    /* رنگ حاشیه هنگام فوکوس */
  outline: 0;              /* حذف outline پیش‌فرض */
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25); /* سایه آبی هنگام فوکوس */
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
}

.form-check {
  font-size: 0.95rem;
}
.form-check a , .second-way a {
  color: rgb(140, 231, 140);
}
.second-way p{
  font-size: 1.2rem !important;
}
.second-way ul li{
  font-size: 1rem !important;
}

/* End user dashboard */

/* start footer section */

.custom-footer {
  background: #ffffff !important;
  border-radius: 12px;
  padding: 2rem 1rem;
  color: black !important;
  direction: rtl;
}

/* آیکن‌های بالا */
.footer-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1rem;
  text-align: center;
  margin-bottom: 2rem;
}
.footer-icon img {
  width: 40px;
  height: 40px;
}
.footer-icon h4 {
  font-size: 1rem;
  margin-top: 0.5rem;
  border-top: 2px solid #27ae60;
  display: inline-block;
  padding-top: 5px;
}

/* بخش اصلی پایین */
.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  background-color: #d9f4e0;
  border-radius: 12px;
  padding: 1.5rem;
}
.footer-col h3 {
  color: #00a5ff;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  border-bottom: 2px solid #2ecc71;
  display: inline-block;
  padding-bottom: 4px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  transition: color .3s ease;
}
.footer-col ul li a:hover {
  color: #2ecc71;
}
.logo-footer {
  max-width: 130px;
  margin-bottom: 10px;
}
.footer-col.trust img {
  max-height: 80px;
  margin: 10px auto;
  display: block;
}

/* بخش پایین نهایی */
.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid #cfe9d2;
  font-size: 0.9rem;
  color: #054a36;
}


.custom-footer {
    background-color: #222;
    color: #ddd;
    padding: 40px 20px 20px;
    font-family: Tahoma, sans-serif;
    font-size: 14px;
}

.custom-footer a {
    color: #69c;
    text-decoration: none;
}

.custom-footer a:hover {
    text-decoration: underline;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-widget {
    flex: 1 1 250px;
    margin: 10px;
}

.footer-widget h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
    }
    .footer-widget {
        margin: 15px 0;
        text-align: center;
    }
    .wp-block-post-template li.wp-block-post {
      width: 75% !important;
    }
}


/* end footer section */

/* =========================
   ABOUT PAGE STYLING
========================= */

/* کانتینر کلی صفحه درباره ما */
.page .wp-block-post-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 18px;
    line-height: 2.1;
    color: #374151;
}

/* عنوان صفحه */
.page .wp-block-post-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 20px;
    position: relative;
}

.page .wp-block-post-title::after {
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #d4af37, #f5d76e);
}

/* پاراگراف اول وسط‌چین و برجسته */
.page .wp-block-post-content > p.has-text-align-center:first-of-type {
    font-size: 22px;
    line-height: 2;
    color: #1f2937;
    max-width: 760px;
    margin: 0 auto 35px;
    font-weight: 600;
}

/* پاراگراف‌های عمومی */
.page .wp-block-post-content p {
    margin-bottom: 22px;
}

/* لینک‌ها */
.page .wp-block-post-content a {
    color: #0f766e;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px dashed #0f766e;
    transition: all .25s ease;
}

.page .wp-block-post-content a:hover {
    color: #d4af37;
    border-bottom-color: #d4af37;
}

/* تصویر */
.page .wp-block-post-content .wp-block-image {
    margin: 40px auto;
    text-align: center;
}

.page .wp-block-post-content .wp-block-image img {
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
    width: 100%;
    max-width: 860px;
    height: auto;
}

/* تاکید روی متن هشدار/توضیح پایانی */
.page .wp-block-post-content p:last-of-type {
    background: #f9fafb;
    border-right: 4px solid #d4af37;
    padding: 18px 20px;
    border-radius: 14px;
    color: #4b5563;
    font-size: 16px;
}

/* باکس کلی زیباتر */
.page .wp-block-group.alignfull {
    background: linear-gradient(180deg, #ffffff 0%, #fcfcf8 100%);
}

/* حالت ریسپانسیو */
@media (max-width: 768px) {
    .page .wp-block-post-title {
        font-size: 32px;
    }

    .page .wp-block-post-content {
        font-size: 16px;
        line-height: 2;
    }

    .page .wp-block-post-content > p.has-text-align-center:first-of-type {
        font-size: 19px;
    }

    .page .wp-block-post-content .wp-block-image img {
        border-radius: 16px;
    }
}


/* end about page */

/* ===== بخش نوشته‌های بیشتر ===== */

.wp-block-query.alignwide {
    margin-top: -30px; /* چسبیدن به فرم بالا */
}

.wp-block-group:has(.wp-block-query) {
    background: #fafaf7;
    border-top: 1px solid #eee;
}

/* عنوان بخش */
.wp-block-heading {
    text-align: center;
    font-size: 14px;
    letter-spacing: 2px;
    color: #6b7280;
    margin-bottom: 40px;
    position: relative;
}

.wp-block-heading::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    margin: 12px auto 0;
    background: linear-gradient(90deg,#d4af37,#f5d76e);
    border-radius: 10px;
}

/* لیست نوشته‌ها */
.wp-block-post-template {
    display: grid !important;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 20px;
}

/* کارت هر نوشته */
.wp-block-post-template .wp-block-post {
    background: #fff;
    border-radius: 16px;
    padding: 20px 22px;
    transition: all .25s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border: 1px solid #f1f1f1;
}

.wp-block-post-template .wp-block-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.08);
}

/* عنوان نوشته */
.wp-block-post-template .wp-block-post-title {
    font-size: 18px !important;
    line-height: 1.7;
    margin: 0 0 8px;
}

.wp-block-post-template .wp-block-post-title a {
    text-decoration: none;
    color: #111827;
    transition: .25s;
}

.wp-block-post-template .wp-block-post-title a:hover {
    color: #d4af37;
}

/* تاریخ */
.wp-block-post-template .wp-block-post-date {
    font-size: 13px;
    color: #9ca3af;
}
/* ===== پایان بخش نوشته‌های بیشتر ===== */

/* start banner */
.hero-banner{
    min-height:420px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    position:relative;
    color:#fff;
}

/* لایه تیره روی تصویر */
.hero-banner::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
}

.hero-banner h1,
.hero-banner p,
.hero-banner .wp-block-buttons{
    position:relative;
    z-index:2;
}

.hero-banner h1{
    font-size:42px;
    margin-bottom:15px;
}

.hero-banner p{
    font-size:18px;
    margin-bottom:25px;
}


/* end banner */


/* ظرف اصلی دکمه‌ها */
.header-auth-container {
    display: flex;
    gap: 8px; /* فاصله کم بین دکمه‌ها */
    justify-content: flex-start; /* در حالت RTL راست‌چین می‌شود */
    align-items: center;
}

/* استایل عمومی برای همه دکمه‌ها */
.header-auth-container a {
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap; /* جلوگیری از شکستن متن در دو خط */
}

/* دکمه ورود و ویرایش اطلاعات (اصلی) */
.login-button, .profile-button {
    background-color: #007cba; /* رنگ آبی وردپرس - می‌توانید تغییر دهید */
    color: #ffffff !important;
    border: 1px solid #007cba;
}

.login-button:hover, .profile-button:hover {
    background-color: #006799;
    border-color: #006799;
}

/* دکمه ثبت‌نام و خروج (فرعی) */
.register-button, .logout-button {
    background-color: red;
    color: white !important;
    border: 1px solid #ddd;
}

.register-button:hover, .logout-button:hover {
    background-color: #f6f6f6;
    border-color: #ccc;
}

/* استایل خاص برای دکمه خروج (قرمز ملایم در صورت تمایل) */
.logout-button:hover {
    color: #d63638 !important;
    border-color: #d63638;
}





/*start otp section*/

.verify-mobile-content {
    display: flex;
    justify-content: center;
}

.confirm_mobile {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f1f1f1;
}

/* label */
.confirm_mobile label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #333;
}

/* input */
.confirm_mobile .form-control {
    border-radius: 10px;
    border: 1px solid #e3e3e3;
    padding: 10px 14px;
    font-size: 14px;
    transition: all .25s ease;
}

.confirm_mobile .form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40,167,69,0.12);
}

/* button */
.confirm_mobile .btn-success {
    width: 100%;
    border-radius: 10px;
    padding: 10px;
    font-weight: 600;
    font-size: 15px;
    background: linear-gradient(135deg,#28a745,#20c997);
    border: none;
    transition: all .25s ease;
}

.confirm_mobile .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40,167,69,0.25);
}

/* timer */
.countdown-timer {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background: #fff3cd;
    color: #856404;
    border-radius: 8px;
    font-weight: 600;
}

/* spacing */
.confirm_mobile .form-group {
    margin-bottom: 18px;
}

.confirm_mobile p {
    margin-top: 10px;
    font-size: 14px;
}

/*end otp section*/


/* ظرف اصلی لودر */
.ajax-loader {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 9999999 !important;
    display: block !important; /* در حالت عادی مخفی */
}

/* وقتی کلاس active اضافه می‌شود */
.ajax-loader.active {
    display: block !important;
}

/* خودِ تصویر GIF */
.ajax-loader img {
    /* خارج کردن از جریان عادی برای وسط‌چین کردن دقیق */
    position: absolute !important;
    
    /* انتقال به مرکز */
    top: 50% !important;
    left: 55% !important;
    transform: translate(-50%, -50%) !important;

    /* تنظیمات ظاهری */
    width: 200px !important; /* اندازه را اینجا تغییر بده */
    height: auto !important;
    
    /* حذف تداخل‌های احتمالی قالب */
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    display: block !important;
}

