        @font-face {
            font-family: 'Peyda';
            src: url('../fonts/PeydaMedium.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
            size-adjust: 100%; /* این خط باعث می‌شود فونت از اول با سایز نهایی لود شود */
         }
          :root {
              --primary-color: #0189fe;
              --bg-light: rgb(208 231 255 / 13%);
              --white: #ffffff;
              --font-family: 'Peyda';
          }
          * { box-sizing: border-box; margin: 0; padding: 0; }
          body {
              font-family: var(--font-family);
              background-color: var(--bg-light);
              direction: rtl;
              overflow-x: hidden;
              line-height: 1.6 !important; 
          }
          
          a { text-decoration: none; color: inherit; }
          ul { list-style: none; padding: 0; margin: 0; }
          img { max-width: 100%; height: auto; display: block; }
  
          .container { max-width: 1200px; margin: 0 auto; padding: 0px 10px; }
          .dashboard-page-section .container { max-width: 1600px; margin: 0 auto; padding: 0px 10px; }
          .section-title-wrap { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
          .section-title { font-size: 15px; font-weight: 700; color: #333; }
          .view-more { font-size: 11px; color: var(--primary-color); display: flex; align-items: center; gap: 4px; }
  
          /* --- HEADER --- */
          .header {
              background: var(--white);
              padding: 10px 0;
              position: sticky;
              position: -webkit-sticky; 
              top: 0;
              z-index: 1000;
              box-shadow: 0 2px 8px rgba(0,0,0,0.05);
              width: 100%;
          }
          .header-inner {
              max-width: 1200px;
              margin: 0 auto;
              padding: 0 20px;
              width: 100%;
              display: flex;
              align-items: center;
              justify-content: space-between;
          }
          .header .logo img { height: 28px; }
          .header .user-icon { width: 30px; height: 30px; background: var(--primary-color); color: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 13px; cursor: pointer; }
          .header .menu-toggle { font-size: 22px; cursor: pointer; color: #333; }
  
          /* --- منوی دسکتاپ --- */
          .desktop-nav {
              display: none; flex: 1; justify-content: center; gap: 25px; align-items: center;
          }
          .desktop-nav a { font-size: 14px; color: #333; font-weight: 500; }
          .desktop-nav a:hover { color: var(--primary-color); }
  
          /* --- منوی موبایل (کشویی از راست) --- */
          .mobile-menu-panel {
              position: fixed; top: 0; right: -100%; width: 70%; max-width: 300px; height: 100%;
              background: #fff; z-index: 9999; transition: right 0.35s ease; box-shadow: -4px 0 15px rgba(0,0,0,0.1);
              display: flex; flex-direction: column; padding: 20px; box-sizing: border-box;
          }
          .mobile-menu-panel.open { right: 0; }
          .mobile-menu-overlay {
              position: fixed; top: 0; left: 0; width: 100%; height: 100%;
              background: rgba(0,0,0,0.4); z-index: 9998; display: none; opacity: 0; transition: opacity 0.3s ease;
          }
          .mobile-menu-overlay.open { display: block; opacity: 1; }
          
          .menu-panel-header { display: flex; justify-content: flex-start; margin-bottom: 20px; }
          .menu-close-btn { font-size: 24px; cursor: pointer; color: #333; }
          
          .mobile-menu-panel .search-wrapper { margin-bottom: 20px; position: relative; }
          .mobile-menu-panel .search-wrapper input {
              width: 100%; padding: 10px 40px 10px 15px; border: 1px solid #eee; border-radius: 10px;
              font-family: var(--font-family); font-size: 13px; outline: none; background: #fdfdfd;
          }
          .mobile-menu-panel .search-wrapper i {
              position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--primary-color); font-size: 16px;
          }
          .mobile-menu-panel ul { display: flex; flex-direction: column; gap: 5px; }
          .mobile-menu-panel ul li a {
              display: flex; align-items: center; gap: 12px; padding: 10px 5px; font-size: 13px; color: #333;
              border-bottom: 1px solid #f5f5f5; transition: 0.2s;
          }
          .mobile-menu-panel ul li a:hover { background: #f9f9f9; border-radius: 8px; }
          .mobile-menu-panel ul li a i { color: var(--primary-color); width: 20px; text-align: center; }
  
          /* --- HERO & SEARCH --- */
          .hero {
              background: linear-gradient(180deg, #2c7be5 0%, #6aa2e0 100%);
              padding: 25px 15px 40px; text-align: center; color: #fff;
              min-height: 280px !important; /* جلوگیری از پرش کل هیرو */
          }
          .hero h1 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
          .hero p { font-size: 18px; font-weight: 500; margin-bottom: 20px; }
          .search-box {
              background: rgba(255, 255, 255, 0.15);
              backdrop-filter: blur(4px); border: 1px solid rgba(255, 255, 255, 0.4);
              border-radius: 20px; padding: 15px; max-width: 600px; margin: 0 auto;
              display: flex; flex-direction: column; gap: 10px; box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.08);
              min-height: 182px !important;
              max-height: 182px !important;
          }
          .search-box input[type="search"] {
              width: 100%; padding: 10px 14px; border: none; border-radius: 10px;
              font-family: var(--font-family); font-size: 13px; outline: none;
              color: #333; background: rgba(255, 255, 255, 0.9);
              min-height: 44px !important; /* جلوگیری از پرش فیلدها */
              line-height: normal !important;
          }
          /* --- استایل دکمه‌های جدید مودال (جایگزین سلکت‌های قبلی) --- */
          .search-box .dropdowns { display: flex; gap: 10px; width: 100%; }
          .search-box .nn-modal-btn {
              flex: 1;
              background: rgba(255, 255, 255, 0.9) !important;
              border: none !important;
              border-radius: 10px !important;
              padding: 10px 14px 10px 30px !important;
              font-family: var(--font-family);
              font-size: 13px !important;
              color: #333 !important;
              min-height: 44px !important;
              line-height: normal !important;
              text-align: right !important;
              cursor: pointer;
              transition: 0.2s;
              display: flex;
              align-items: center;
              justify-content: space-between;
          }
          /* استفاده از فلش اختصاصی (دقیقاً مثل سلکت قبلی) */
          .search-box .nn-modal-btn::after {
              content: "";
              background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%23777777' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
              background-repeat: no-repeat;
              background-position: center;
              width: 12px;
              height: 12px;
              display: block;
          }
          .search-box .nn-modal-btn:hover {
              border-color: var(--primary-color) !important;
          }
          .search-box button[type="submit"] {
              background: var(--primary-color); color: #fff; font-weight: 700; cursor: pointer;
              width: 100%; padding: 10px 14px; border: none; border-radius: 10px;
              font-family: var(--font-family); font-size: 13px;
              min-height: 44px !important;
          }
  
          /* --- SWIPER & CARDS (دست‌نخورده) --- */
          .my-swiper { 
              padding-bottom: 0 !important; 
              margin-bottom: 0 !important; 
          }
          .swiper-pagination-bullet-active { background: var(--primary-color); }
  
          .elementor-section[id^="my-slider-"] {
              display: flex !important;
              flex-wrap: nowrap !important;
              overflow-x: auto !important;
              gap: 10px !important;
              margin-bottom: 45px !important; 
              padding-bottom: 0 !important;
              -webkit-overflow-scrolling: touch;
              scrollbar-width: none;
              width: 100% !important;
              box-sizing: border-box !important;
              position: relative !important; 
          }
          .elementor-section[id^="my-slider-"]::-webkit-scrollbar { display: none; }
  
          .elementor-section[id^="my-slider-"] .slide-group {
              display: flex;
              flex-direction: column;
              gap: 10px;
              height: auto;
          }
  
          .elementor-section[id^="my-slider-"] > .card {
              height: 100%;
          }
          
          .my-swiper {
              width: 100%;
              height: auto;
          }
          .my-swiper .swiper-wrapper { display: flex; }
          .my-swiper .swiper-slide { height: auto; }
  
          .card {
              background: #fff; border-radius: 10px; padding: 12px;
              text-align: center; box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.04);
              border: 1px solid #f0f0f0; height: 100%;
              min-height: 70px !important; /* جلوگیری از پرش کارت‌های اسلایدر در لود اولیه */
          }
          .card-icon { width: 65px; height: 55px; margin: 0 auto 10px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--primary-color); font-size: 24px; }
          .card h3 { font-size: 12px; font-weight: 600; margin-bottom: 3px; }
          .card p { font-size: 10px; color: #777; }
  
          /* =======================================================
             استایل اختصاصی اسلایدر شهرها (بازگردانی به حالت مرتب و مستطیلی)
             ======================================================= */
          #my-slider-2 .card {
              display: flex;
              flex-direction: row;
              align-items: center;
              justify-content: space-between;
              padding: 8px 12px 8px 8px;
              border-radius: 12px;
              box-shadow: 0 4px 12px rgba(0,0,0,0.05);
              border: none;
              background: #fff;
              gap: 10px;
              min-height: 70px;
              height: auto;
              text-align: right;
          }
          #my-slider-2 .card .city-arrow {
              width: 24px; height: 24px;
              background: #fff;
              border-radius: 50%;
              display: flex; align-items: center; justify-content: center;
              color: #888;
              font-size: 11px;
              /* box-shadow: 0 2px 8px rgba(0,0,0,0.04); */
              flex-shrink: 0;
          }
          #my-slider-2 .card .city-info { flex: 1; }
          #my-slider-2 .card .city-info h3 { font-size: 13px; font-weight: 600; margin: 0 0 3px 0; color: #222; }
          #my-slider-2 .card .city-info p { font-size: 10px; color: #777; margin: 0; line-height: 1.3; }
  
          /* باکس رنگی جایگزین عکس خارجی */
          #my-slider-2 .card .city-box {
              width: 58px; height: 58px;
              border-radius: 6px;
              display: flex;
              align-items: center;
              justify-content: center;
              font-size: 18px;
              color: #fff;
              flex-shrink: 0;
          }
  
          /* --- استایل اختصاصی اسلایدر نظرات --- */
          .testimonial-card-new {
              background: #fff; border-radius: 12px; padding: 20px 15px;
              display: flex; flex-direction: column; align-items: center; text-align: center;
              box-shadow: 0px 4px 12px rgba(0,0,0,0.05); border: none; height: 100%;
          }
          .testimonial-card-new .avatar-box {
              width: 45px; height: 45px; border-radius: 50%; background: #e0e0e0;
              display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 10px;
          }
          .testimonial-card-new .avatar-box i {
              font-size: 13px; color: #e1306c;
              position: absolute; right: -3px; bottom: 3px;
              background: #fff; border-radius: 50%; padding: 4px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);
          }
          .testimonial-card-new .stars { color: #f4c150; font-size: 13px; margin-bottom: 8px; }
          .testimonial-card-new .desc { font-size: 10px; color: #555; line-height: 1.8; margin-bottom: 12px; text-align: center; }
          .testimonial-card-new .user-meta { display: flex; flex-direction: column; align-items: center; }
          .testimonial-card-new .user-meta strong { font-size: 12px; color: #222; font-weight: 700; }
          .testimonial-card-new .user-meta span { font-size: 9px; color: #888; }
  
          .blog-card .img-wrap { width: 100%; height: 80px; background: #eee; border-radius: 6px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; }
  
          /* --- FOOTER --- */
          .footer { background: #fff; padding: 30px 15px; margin-top: 30px; border-top: 1px solid #eee; }
          
          .footer-desktop-grid {
              display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 25px; max-width: 1200px; margin: 0 auto;
          }
          .footer-logo { max-width: 80px; margin-bottom: 12px; }
          .footer h4 { font-size: 13px; margin-bottom: 12px; }
          .footer ul li { margin-bottom: 6px; }
          .footer ul li a { font-size: 12px; color: #777; }
          .footer-bottom { text-align: center; margin-top: 25px; font-size: 11px; color: #777; border-top: 1px solid #eee; padding-top: 15px; }
  
          /* --- شبکه های اجتماعی و توضیحات "مشاهده بیشتر" --- */
          .social-icons { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
          .social-icons a {
              width: 35px; height: 35px; background: #f0f4ff; border-radius: 8px;
              display: flex; align-items: center; justify-content: center;
              color: var(--primary-color); font-size: 16px; transition: all 0.3s ease;
          }
          .social-icons a:hover { background: var(--primary-color); color: #fff; transform: translateY(-3px); }
          
          .footer-desc .more-text { display: none; }
          .footer-desc.open .more-text { display: inline; }
          .read-more-btn, .read-less-btn {
              color: var(--primary-color); cursor: pointer; font-weight: 600; font-size: 12px; margin-right: 4px;
          }
          .read-less-btn { display: none !important; }
          .footer-desc.open .read-more-btn { display: none !important; }
          .footer-desc.open .read-less-btn { display: inline-block !important; }
  
          /* --- آکاردئون فوتر موبایل --- */
          .footer-mobile-accordion { display: none; flex-direction: column; gap: 10px; max-width: 600px; margin: 0 auto; }
          .footer-acc-item {
              background: #fff; border: 1px solid #e2e5ea; border-radius: 8px; overflow: hidden; transition: 0.2s;
          }
          .footer-acc-item.active { border-color: var(--primary-color); box-shadow: 0 4px 14px rgba(65, 135, 255, 0.08); }
          
          .footer-acc-header {
              width: 100%; background: transparent; border: none; cursor: pointer; padding: 15px 18px;
              display: flex;
              align-items: center;
              justify-content: space-between;
              flex-direction: row;
              font-size: 13px; font-weight: 500; color: #1a1a1a; text-align: right;
              font-family: var(--font-family) !important; /* ← این خط را اضافه کنید */
          }
          .footer-acc-title { text-align: right; }
          
          .footer-acc-icon {
              transition: transform 0.3s ease;
              color: #333;
          }
          .footer-acc-item.active .footer-acc-icon i {
              transform: rotate(180deg);
              color: var(--primary-color);
          }
          
          .footer-acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
          .footer-acc-list { padding: 10px 0 15px !important; }
          .footer-acc-list li { padding: 8px 20px; border-bottom: 1px solid #f2f3f5; }
          .footer-acc-list li:last-child { border-bottom: none; }
  
          /* بلاک مخصوص موبایل فوتر (شامل لوگو، توضیحات و تماس) */
          .footer-mobile-block { display: none; text-align: center; max-width: 600px; margin: 20px auto 0; }
  
          /* --- RESPONSIVE MEDIA QUERIES (دست‌نخورده) --- */
          @media (min-width: 992px) {
              .desktop-nav { display: flex; }
              .header-left-buttons { order: 1; margin-left: 0; gap: 20px; }
              .header-right-menu { display: none; }
              
              .footer-desktop-grid { display: grid; }
              .footer-mobile-accordion { display: none !important; }
              .footer-mobile-block { display: none !important; }
          }
  
          @media (max-width: 991px) {
              .desktop-nav { display: none; }
              .header-left-buttons { margin-left: 0; }
              .header-right-menu { margin-right: 0; }
              
              .footer-desktop-grid { display: none !important; }
              .footer-mobile-accordion { display: flex; }
              .footer-mobile-block { display: block !important; }
          }
  
          @media (max-width: 767px) {
              /* =======================================================
                 رفع نهایی پرش تیتر اصلی در موبایل (ارتفاع کاملاً ثابت 85px)
                 ======================================================= */
              .hero h1 {
                  font-size: 16px !important;
                  /*  min-height: 85px !important; */
                  max-height: 85px !important; /* این خط باعث می‌شود ارتفاع اصلاً تغییر نکند */
                  display: flex !important;
                  align-items: center !important;
                  justify-content: center !important;
                  line-height: 1.3 !important;
                  margin-bottom: 10px !important;
                  padding: 0 5px !important;
              }
              .hero p {
                font-size: 15px !important;
                /*  min-height: 85px !important; */
                max-height: 85px !important; /* این خط باعث می‌شود ارتفاع اصلاً تغییر نکند */
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                line-height: 1.3 !important;
                margin-bottom: 20px !important;
                padding: 0 5px !important;
            }

  
              .search-box { padding: 12px; border-radius: 16px; gap: 8px; }
              .search-box .dropdowns { flex-direction: row !important; gap: 5px; flex-wrap: nowrap !important; }
              .search-box .nn-modal-btn { font-size: 12px !important; padding: 8px 10px !important; }
              
              .card { padding: 8px; }
              .card-icon { width: 55px; height: 50px; font-size: 18px; }
              .card h3 { font-size: 11px; }
              .card p { font-size: 9px; }
              
              /* اسلایدر شهرها در موبایل (مستطیلی و مرتب) */
              #my-slider-2 .card { padding: 6px 10px 6px 6px; min-height: 58px; gap: 8px; }
              #my-slider-2 .card .city-box { width: 50px; height: 50px; font-size: 12px; }
              #my-slider-2 .card .city-arrow { width: 20px; height: 20px; font-size: 9px; }
              #my-slider-2 .card .city-info h3 { font-size: 11px; margin-bottom: 2px; }
              #my-slider-2 .card .city-info p { font-size: 9px; }
  
              /* مخفی کردن نقطه‌های پیجینیشن برای تخصص‌ها و شهرها در موبایل */
              #my-slider-1 .swiper-pagination,
              #my-slider-2 .swiper-pagination {
                  display: none !important;
              }
          }
  
/* =======================================================
   تنظیمات دقیق اسلایدرها (بازگشت به flex-basis و استفاده از margin)
   ======================================================= */

/* ۱. پاک‌سازی فاصله‌های مزاحم روی والد */
.elementor-section[id^="my-slider-"] .slide-group,
.elementor-section[id^="my-slider-"] > .card {
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* =======================================================
   کنترل کامل فاصله‌ها با gap (مطابق با breakpoints جدید JS)
   ======================================================= */

/* موبایل‌های خیلی کوچک (320px تا 479px) */
@media (max-width: 479px) {
    /* تخصص‌ها: 2.6 اسلاید، فاصله 6px */
    #my-slider-1 { gap: 6px !important; }
    #my-slider-1 .slide-group { flex: 0 0 calc((100% - 1.6 * 6px) / 2.6) !important; }

    /* شهرها: 1.6 اسلاید، فاصله 8px */
    #my-slider-2 { gap: 8px !important; }
    #my-slider-2 .slide-group { flex: 0 0 calc((100% - 0.6 * 8px) / 1.6) !important; } /* (1.6 - 1) * 8 = 4.8 */

    /* نظرات و وبلاگ: 2 اسلاید، فاصله 8px */
    #my-slider-3 { gap: 8px !important; }
    #my-slider-3 > .card { flex: 0 0 calc((100% - 8px) / 2) !important; }

    #my-slider-4 { gap: 8px !important; }
    #my-slider-4 > .card { flex: 0 0 calc((100% - 8px) / 2) !important; }
    #my-slider-4 .card {
        margin-left: 5px !important;
    }        
}

/* موبایل‌های متوسط و بزرگ (480px تا 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    /* تخصص‌ها: 2.7 اسلاید، فاصله 8px */
    #my-slider-1 { gap: 8px !important; }
    #my-slider-1 .slide-group { flex: 0 0 calc((100% - 1.7 * 8px) / 2.7) !important; } /* (2.7 - 1) * 8 = 13.6 */

    /* شهرها: 2.2 اسلاید، فاصله 10px */
    #my-slider-2 { gap: 10px !important; }
    #my-slider-2 .slide-group { flex: 0 0 calc((100% - 1.2 * 10px) / 2.2) !important; } /* (2.2 - 1) * 10 = 12 */

    /* نظرات: 2.5 اسلاید، فاصله 10px */
    #my-slider-3 { gap: 10px !important; }
    #my-slider-3 > .card { flex: 0 0 calc((100% - 1.5 * 10px) / 2.5) !important; } /* (2.5 - 1) * 10 = 15 */

    /* وبلاگ: 2 اسلاید، فاصله 10px */
    #my-slider-4 { gap: 10px !important; }
    #my-slider-4 > .card { flex: 0 0 calc((100% - 10px) / 2) !important; }
    #my-slider-4 .card {
        margin-left: 5px !important;
    }        
}

/* تبلت‌ها (768px تا 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    /* تخصص‌ها: 4.5 اسلاید، فاصله 10px */
    #my-slider-1 { gap: 10px !important; }
    #my-slider-1 .slide-group { flex: 0 0 calc((100% - 3.5 * 10px) / 4.5) !important; } /* (4.5 - 1) * 10 = 35 */

    /* شهرها: 2.5 اسلاید، فاصله 12px */
    #my-slider-2 { gap: 12px !important; }
    #my-slider-2 .slide-group { flex: 0 0 calc((100% - 1.5 * 12px) / 2.5) !important; } /* (2.5 - 1) * 12 = 18 */

    /* نظرات و وبلاگ: 2.5 اسلاید، فاصله 10px */
    #my-slider-3 { gap: 10px !important; }
    #my-slider-3 > .card { flex: 0 0 calc((100% - 1.5 * 10px) / 2.5) !important; }

    #my-slider-4 { gap: 10px !important; }
    #my-slider-4 > .card { flex: 0 0 calc((100% - 1.5 * 10px) / 2.5) !important; }
    #my-slider-4 .card {
        margin-left: 0px !important;
    }        
}

/* دسکتاپ (1024px به بالا) */
@media (min-width: 1024px) {
    /* تنظیم فاصله یکسان برای همه اسلایدرها در دسکتاپ */
    .elementor-section[id^="my-slider-"] { gap: 12px !important; }
    
    /* تخصص‌ها: 5.5 اسلاید */
    #my-slider-1 .slide-group { flex: 0 0 calc((100% - 4.5 * 12px) / 5.5) !important; }
    
    /* شهرها، نظرات و وبلاگ: 4 اسلاید */
    #my-slider-2 .slide-group,
    #my-slider-3 > .card,
    #my-slider-4 > .card { flex: 0 0 calc((100% - 3 * 12px) / 4) !important; }
    #my-slider-4 .card {
        margin-left: 0px !important;
    }        
}        
        
        .margin-top-20{
              margin-top: 20px !important;
          }
  
          /* =======================================================
             استایل مودال سلکت 2 (جدید)
             ======================================================= */
          .nn-modal-overlay {
              position: fixed;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              background: rgba(0, 0, 0, 0.4);
              backdrop-filter: blur(4px);
              -webkit-backdrop-filter: blur(4px);
              z-index: 99999;
              display: none;
              align-items: center;
              justify-content: center;
              opacity: 0;
              transition: opacity 0.3s ease;
              padding: 20px;
          }
          .nn-modal-overlay.active {
              display: flex;
              opacity: 1;
          }
  
          .nn-modal-box {
              background: #fff;
              border-radius: 20px;
              width: 100%;
              max-width: 450px;
              max-height: 85vh;
              padding: 25px;
              box-shadow: 0 10px 30px rgba(0,0,0,0.1);
              display: flex;
              flex-direction: column;
              gap: 15px;
              position: relative;
              transform: translateY(20px);
              transition: transform 0.3s ease;
          }
          .nn-modal-overlay.active .nn-modal-box {
              transform: translateY(0);
          }
  
          .nn-modal-header {
              display: flex;
              justify-content: space-between;
              align-items: center;
              padding-bottom: 10px;
          }
          .nn-modal-header h2 {
              font-size: 18px;
              font-weight: 700;
              color: #333;
              margin: 0;
          }
          .nn-modal-close-btn {
              width: 30px;
              height: 30px;
              background: #f5f5f5;
              border-radius: 50%;
              display: flex;
              align-items: center;
              justify-content: center;
              border: none;
              cursor: pointer;
              color: #888;
              font-size: 18px;
              transition: 0.2s;
          }
          .nn-modal-close-btn:hover { background: #eee; color: #333; }
  
          .nn-modal-search-wrap {
              position: relative;
              margin-bottom: 5px;
          }
          .nn-modal-search-wrap input {
              width: 100%;
              padding: 10px 14px;
              border: 1px solid #e2e5ea;
              border-radius: 10px;
              font-family: var(--font-family);
              font-size: 14px;
              outline: none;
              color: #333;
              background: #fff;
              box-sizing: border-box;
              transition: border 0.2s;
          }
          .nn-modal-search-wrap input:focus {
              border-color: var(--primary-color);
              box-shadow: 0 0 0 3px rgba(65, 135, 255, 0.1);
          }
          .nn-modal-search-wrap input::placeholder {
              color: #999;
          }
  
          .nn-modal-list {
              overflow-y: auto;
              display: flex;
              flex-direction: column;
              gap: 8px;
              max-height: 400px;
              padding-right: 5px;
          }
          .nn-modal-list::-webkit-scrollbar {
              width: 6px;
          }
          .nn-modal-list::-webkit-scrollbar-track {
              background: #f5f5f5;
              border-radius: 10px;
          }
          .nn-modal-list::-webkit-scrollbar-thumb {
              background: #ccc;
              border-radius: 10px;
          }
  
          .nn-modal-item {
              background: #fff;
              border: 1px solid #eef0f3;
              border-radius: 10px;
              padding: 12px 14px;
              cursor: pointer;
              font-size: 14px;
              color: #333;
              transition: all 0.2s ease;
              text-align: right;
              box-shadow: 0 2px 4px rgba(0,0,0,0.02);
          }
          .nn-modal-item:hover {
              border-color: var(--primary-color);
              box-shadow: 0 4px 10px rgba(65, 135, 255, 0.06);
          }
          .nn-modal-item.active {
              border-color: var(--primary-color);
              box-shadow: 0 0 0 1px var(--primary-color);
              background: #f8faff;
          }
          .nn-modal-item.no-results {
              border: 1px solid transparent;
              cursor: default;
              color: #999;
              text-align: center;
              padding: 20px;
          }
          .nn-modal-item.no-results:hover {
              border-color: transparent;
              box-shadow: none;
          }
          #my-slider-1 .card,
          #my-slider-2 .card,
          #my-slider-4 .card {
              cursor: pointer !important;
          }  
html, body {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
}
html {
    overflow-x: hidden !important;
}
body {
    overflow-x: visible !important;
}
.header {
    background: var(--white);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    width: 100% !important;
    box-sizing: border-box !important;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header .logo img { height: 28px; }

/* منوی دسکتاپ */
.desktop-nav { display: none; flex: 1; justify-content: center; gap: 25px; align-items: center; }
.desktop-nav ul { display: flex; gap: 25px; align-items: center; list-style: none; }
.desktop-nav ul li a {
    font-size: 15px;
    color: #525969; 
    font-weight: 500;
    text-shadow: 0 0 1px rgba(0,0,0,0.1);
 }
.desktop-nav ul li a:hover { color: var(--primary-color); }
.desktop-nav li.menu-item-has-children { position: relative; }
.desktop-nav li.menu-item-has-children > a { display: flex; align-items: center; gap: 6px; }
.desktop-nav li.menu-item-has-children > a i { font-size: 11px; color: #777; transition: transform 0.3s; }
.desktop-nav li.menu-item-has-children:hover > a i { transform: rotate(180deg); }
.desktop-nav li.menu-item-has-children .sub-menu {
    position: absolute; top: 100%; right: 0; min-width: 170px;
    background: #fff; border-radius: 10px; box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid #eee; padding: 5px 0; opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: all 0.25s ease; z-index: 999;
    text-align: right; display: flex !important; flex-direction: column !important;
}
.desktop-nav li.menu-item-has-children:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.desktop-nav li.menu-item-has-children .sub-menu li a {
    display: flex; align-items: center; gap: 6px; padding: 6px 15px; font-size: 13px;
    color: #333; transition: 0.2s; text-align: right; white-space: nowrap;
    border-bottom: none !important;
}
.desktop-nav li.menu-item-has-children .sub-menu li a:hover { background: #f8faff; color: var(--primary-color); }
.desktop-nav li.menu-item-has-children .sub-menu li a i { color: var(--primary-color); font-size: 16px; width: 22px; text-align: center; }
/* دکمه آبی و منوی شیشه‌ای کاربر (رفع بیرون‌زدگی در موبایل) */
.user-menu-container { position: relative; display: inline-block; }
.user-icon {
    width: 30px; height: 30px; background: var(--primary-color) !important;
    color: #fff !important; border-radius: 6px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 13px !important; cursor: pointer !important; border: none !important;
    transition: background 0.2s ease;
}
.user-icon:hover { background: #2b6cb0 !important; }

/* منوی شیشه‌ای */
.user-dropdown {
    position: absolute; top: 40px; right: 0; min-width: 150px;
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(3px) !important; -webkit-backdrop-filter: blur(3px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important; border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important; padding: 8px 0 !important;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all 0.25s ease; z-index: 999;
}
.user-menu-container.open .user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.user-dropdown li a {
    display: flex; align-items: center; gap: 10px; padding: 8px 18px; font-size: 13px;
    color: #000; transition: 0.2s; border-bottom: none !important;
}
.user-dropdown li a:hover { background: rgba(65, 135, 255, 0.08) !important; color: var(--primary-color); }
.user-dropdown li a i { width: 16px; text-align: center; color: var(--primary-color); }
/* همبرگر */
.header .menu-toggle { font-size: 22px; cursor: pointer; color: #333; }

/* موبایل و تبلت (اصلاح چپ/راست و رفع اسکرول) */
@media (max-width: 991px) {
    .desktop-nav { display: none !important; }
    .header-right-menu { order: -1 !important; margin-right: 0 !important; margin-left: 0 !important; flex: 0 0 auto; }
    .header-left-buttons { order: 1 !important; margin-left: 0 !important; margin-right: auto !important; padding-left: 0px !important; }
    .logo { order: 0 !important; flex: 0 1 auto !important; margin-right: 12px; min-width: 0; display: flex !important; justify-content: flex-start !important; }
    .header .logo img { height: 26px; max-width: 100%; }
    
    /* رفع بیرون‌زدگی منوی شیشه‌ای در موبایل */
    .user-dropdown {
        right: auto !important;
        left: 0 !important; /* در موبایل منو از سمت چپ دکمه باز شود */
        min-width: 130px !important;
    }

    /* منوی موبایل (رفع وسط چین شدن و هماهنگی) */
    .mobile-menu-panel ul { width: 100% !important; }
    .mobile-menu-panel ul li { width: 100% !important; text-align: right !important; }
    .mobile-menu-panel ul li a { text-align: right !important; justify-content: flex-start !important; width: 100% !important; box-sizing: border-box !important; }
    
    .mobile-menu-panel ul li.menu-item-has-children { position: relative; }
    .mobile-menu-panel ul li.menu-item-has-children > a { display: flex; justify-content: flex-start !important; align-items: center; gap: 5px; }
    .mobile-menu-panel ul li.menu-item-has-children > a i.fa-chevron-down { font-size: 12px; margin-right: auto !important; transition: transform 0.3s ease; }
    .mobile-menu-panel ul li.menu-item-has-children.open > a i.fa-chevron-down { transform: rotate(180deg); }
    .mobile-menu-panel ul li.menu-item-has-children ul.sub-menu { display: none; padding-right: 0 !important; padding-bottom: 5px; width: 100% !important; }
    .mobile-menu-panel ul li.menu-item-has-children.open ul.sub-menu { display: block; }
    .mobile-menu-panel ul li.menu-item-has-children ul.sub-menu li a { font-size: 12px; padding: 6px 20px !important; border-bottom: none !important; color: #777; }
    .mobile-menu-panel ul li.menu-item-has-children ul.sub-menu li a:hover { color: var(--primary-color); }
}
@media (min-width: 992px) { .desktop-nav { display: flex !important; } }

/* تنظیمات تیتر دسکتاپ برای جلوگیری از پرش فونت */
.hero h1 {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 0px !important;
    min-height: 50px !important; /* اضافه کنید */
    max-height: 50px !important; /* اضافه کنید */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.hero p {
    font-size: 18px !important;
    font-weight: 500 !important;
    margin-bottom: 20px !important;
    min-height: 40px !important; /* اضافه کنید */
    max-height: 40px !important; /* اضافه کنید */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.header {
    background: var(--white);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    width: 100% !important;
    box-sizing: border-box !important;
    height: 55px !important; /* یک ارتفاع ثابت برای هدر در دسکتاپ و موبایل */
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100% !important; /* مطمئن می‌شود محتوا دقیقاً در مرکز هدر قرار گیرد */
}
   @media (min-width: 992px) {
    .desktop-nav li.menu-item-has-children .sub-menu {
        gap: 10px !important; /* کاهش فاصله بین آیتم‌های زیرمنو */
        padding: 10px 0 !important; /* کاهش پدینگ کلی باکس زیرمنو */
    }
    .desktop-nav li.menu-item-has-children .sub-menu li a {
        padding: 4px 15px !important; /* کاهش پدینگ داخل هر آیتم زیرمنو */
    }
}
.icon-size{
    width: 20px;
}

/* =======================================================
   استایل مودال ورود/ثبت‌نام (دو مرحله‌ای)
   ======================================================= */
   .nn-auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}
.nn-auth-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.nn-auth-modal-box {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    padding: 30px 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.nn-auth-modal-overlay.active .nn-auth-modal-box {
    transform: translateY(0);
}

.nn-auth-close-btn {
    position: absolute;
    top: 12px;
    right: 12px; /* تغییر از left به right */
    background: transparent;
    border: none;
    font-size: 22px;
    color: #888;
    cursor: pointer;
    transition: 0.2s;
}
.nn-auth-close-btn:hover {
    color: #333;
}

.nn-auth-header {
    text-align: center;
    margin-bottom: 25px;
}
.nn-auth-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}
.nn-auth-header p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

/* گروه ورودی موبایل (پیش‌شماره در سمت چپ) */
.nn-auth-input-group {
    display: flex;
    flex-direction: row-reverse; /* برای انتقال پیش‌شماره به سمت چپ */
    align-items: center;
    border: 1px solid #e2e5ea;
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    margin-bottom: 15px;
    gap: 8px; /* فاصله بین پیش‌شماره و ورودی */
}
.nn-auth-input-group .nn-prefix {
    padding: 0 15px;
    font-weight: 700;
    color: #333;
    font-size: 14px;
    background: #f9fafb;
    height: 48px;
    display: flex;
    align-items: center;
    border-right: 1px solid #e2e5ea; /* تغییر از border-left به border-right */
    
}
.nn-auth-input-group input {
    flex: 1;
    border: none;
    padding: 0 15px;
    height: 48px;
    font-family: var(--font-family);
    font-size: 14px;
    outline: none;
    color: #333;
    background: #fff;
    width: 100%;
}
.nn-auth-input-group input:focus {
    border-color: var(--primary-color);
}

/* استایل قوانین */
.nn-auth-terms {
    text-align: center;
    font-size: 11px;
    color: #777;
    margin-bottom: 20px;
    line-height: 1.5;
}
.nn-auth-terms a {
    color: var(--primary-color);
}

/* دکمه ادامه (غیرفعال/فعال) */
.nn-auth-submit-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    background: #e2e5ea; /* خاکستری (غیرفعال) */
    pointer-events: none;
}
.nn-auth-submit-btn.active {
    background: var(--primary-color);
    pointer-events: auto;
}
.nn-auth-submit-btn.active:hover {
    background: #2b6cb0;
}

/* استپ ۲: نمایش شماره و دکمه ویرایش */
.nn-auth-phone-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
}
.nn-auth-phone-display span {
    font-weight: 600;
    color: #222;
    font-size: 14px;
}
.nn-auth-edit-link {
    font-size: 12px;
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: none;
}

/* استایل فیلدهای ۵ تایی OTP */
.nn-auth-otp-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 15px;
    direction: ltr; /* مهم: ترتیب چپ→راست */
}
.nn-auth-otp-group .otp-input {
    width: 44px;
    height: 48px;
    text-align: center;
    border: 1px solid #e2e5ea;
    border-radius: 8px;
    font-size: 18px;
    font-family: var(--font-family);
    outline: none;
    background: #fff;
    color: #333;
}
.nn-auth-otp-group .otp-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(65, 135, 255, 0.1);
}

/* استایل تایمر */
.nn-auth-timer {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
    margin-top: 5px;
}

/* موبایل */
@media (max-width: 480px) {
    .nn-auth-modal-box {
        padding: 25px 15px;
        max-width: 95%;
    }
    .nn-auth-otp-group .otp-input {
        width: 38px;
        height: 42px;
    }
}
        /* =======================================================
           استایل‌های اختصاصی صفحه تماس با ما
           ======================================================= */

        /* بخش تماس با ما */
        .contact-page-section {
            padding: 40px 0;
        }
        .contact-page-section .section-title-wrap {
            justify-content: center;
            margin-bottom: 30px;
        }
        .contact-page-section .section-title {
            font-size: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* کارت‌های اطلاعات */
        .contact-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 40px;
        }
        .contact-card {
            background: #fff;
            border-radius: 12px;
            padding: 25px 20px;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0,0,0,0.04);
            border: 1px solid #f0f0f0;
            transition: transform 0.2s;
        }
        .contact-card:hover {
            transform: translateY(-5px);
        }
        .contact-card .icon-wrap {
            font-size: 36px;
            color: var(--primary-color);
            margin-bottom: 15px;
        }
        .contact-card h4 {
            font-size: 16px;
            font-weight: 700;
            color: #222;
            margin-bottom: 8px;
        }
        .contact-card p {
            font-size: 13px;
            color: #777;
            line-height: 1.6;
            margin: 0;
        }
        .contact-card .contact-value {
            font-weight: 600;
            color: #333;
            margin-top: 5px;
        }

        /* نقشه */
        .contact-map {
            width: 100%;
            height: 350px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.04);
            border: 1px solid #f0f0f0;
            margin-bottom: 40px;
        }
        .contact-map iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        /* بخش فرم تماس */
        .contact-form-wrapper {
            background: #fff;
            border-radius: 12px;
            padding: 30px 25px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.04);
            border: 1px solid #f0f0f0;
            position: relative;
        }
        .contact-form-wrapper .form-title-bg {
            position: absolute;
            top: 20px;
            left: 20px;
            font-size: 50px;
            font-weight: 900;
            color: #f5f7fa;
            z-index: 0;
            pointer-events: none;
            letter-spacing: -2px;
        }
        .contact-form-wrapper .form-header {
            position: relative;
            z-index: 1;
            margin-bottom: 20px;
        }
        .contact-form-wrapper .form-header h3 {
            font-size: 22px;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 10px;
        }
        .contact-form-wrapper .form-header p {
            font-size: 13px;
            color: #777;
            line-height: 1.6;
        }
        .contact-form-wrapper .form-header p strong {
            color: #333;
        }
        .contact-form-wrapper form {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .contact-form-wrapper form input,
        .contact-form-wrapper form textarea {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #e2e5ea;
            border-radius: 10px;
            font-family: var(--font-family);
            font-size: 14px;
            outline: none;
            background: #fff;
            transition: border 0.2s;
            color: #333;
        }
        .contact-form-wrapper form input:focus,
        .contact-form-wrapper form textarea:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(65, 135, 255, 0.1);
        }
        .contact-form-wrapper form textarea {
            resize: vertical;
            min-height: 120px;
        }
        .contact-form-wrapper form .submit-btn {
            align-self: flex-end;
            background: var(--primary-color);
            color: #fff;
            border: none;
            padding: 12px 40px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            font-family: var(--font-family);
            cursor: pointer;
            transition: background 0.2s;
        }
        .contact-form-wrapper form .submit-btn:hover {
            background: #2b6cb0;
        }

        /* موبایل */
        @media (max-width: 768px) {
            .contact-cards {
                grid-template-columns: 1fr;
            }
            .contact-map {
                height: 250px;
            }
            .contact-form-wrapper .form-title-bg {
                font-size: 30px;
                top: 10px;
                left: 10px;
            }
        }
        /* استایل لینک فعال در منو */
        .desktop-nav ul li a.active,
        .mobile-menu-panel ul li a.active {
            color: var(--primary-color) !important;
        }
                /* =======================================================
           استایل‌های اختصاصی صفحه درباره ما
           ======================================================= */
           .about-page-section {
            padding: 40px 0;
            text-align: center;
        }
        .about-page-section .about-logo-wrap {
            margin-bottom: 30px;
        }
        .about-page-section .about-logo-wrap img {
            max-width: 180px;
            height: auto;
            display: inline-block;
        }
        .about-page-section h1 {
            font-size: 28px;
            font-weight: 700;
            color: #222;
            margin-bottom: 15px;
        }
        .about-page-section .about-desc {
            font-size: 15px;
            color: #667085;
            line-height: 1.8;
            max-width: 800px;
            margin: 0 auto 40px;
            text-align: justify;
        }

        /* باکس‌های ویژگی‌ها (4 ستونه) */
        .about-features {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 10px;
        }
        .about-feature-card {
            background: #fff;
            border-radius: 12px;
            padding: 25px 20px;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0,0,0,0.04);
            border: 1px solid #f0f0f0;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .about-feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.06);
        }
        .about-feature-card .icon-wrap {
            font-size: 38px;
            color: var(--primary-color);
            margin-bottom: 15px;
        }
        .about-feature-card h4 {
            font-size: 16px;
            font-weight: 700;
            color: #222;
            margin-bottom: 8px;
        }
        .about-feature-card p {
            font-size: 13px;
            color: #777;
            line-height: 1.6;
            margin: 0;
        }

        /* موبایل و تبلت */
        @media (max-width: 992px) {
            .about-features {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 576px) {
            .about-features {
                grid-template-columns: 1fr;
            }
            .about-page-section h1 {
                font-size: 24px;
            }
            .about-page-section .about-desc {
                font-size: 14px;
                text-align: justify;
            }
        }
        /* =======================================================
           استایل‌های اختصاصی صفحه سوالات متداول (آکاردئون)
           ======================================================= */
           .faq-page-section {
            padding: 40px 0;
        }
        .faq-page-section .section-title-wrap {
            justify-content: center;
            margin-bottom: 30px;
        }
        .faq-page-section .section-title {
            font-size: 22px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .faq-category-title {
            font-size: 18px;
            font-weight: 700;
            color: #222;
            margin: 30px auto 15px; 
            max-width: 850px; 
            padding-bottom: 10px;
            border-bottom: 2px solid #f0f0f0;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .faq-category-title i {
            color: var(--primary-color);
            font-size: 20px;
        }

        /* ساختار آکاردئون */
        .faq-accordion {
            display: flex;
            flex-direction: column;
            gap: 10px;
            max-width: 850px; 
            margin: 0 auto;   
        }
        .faq-item {
            background: #fff;
            border: 1px solid #e2e5ea;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.2s ease;
        }
        .faq-item.active {
            border-color: var(--primary-color);
            box-shadow: 0 4px 14px rgba(65, 135, 255, 0.08);
        }
        .faq-header {
            width: 100%;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 15px 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-direction: row;
            font-size: 15px;
            font-weight: 500;
            font-family: var(--font-family) !important;
            color: #1a1a1a;
            text-align: right;
        }
        .faq-header:hover {
            color: var(--primary-color);
        }
        .faq-title {
            flex: 1;
            text-align: right;
        }
        .faq-icon {
            transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); 
            color: #333;
        }
        .faq-item.active .faq-icon i {
            transform: rotate(180deg);
            color: var(--primary-color);
        }
        .faq-panel {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.25s ease;
            will-change: max-height;
            padding: 0 18px;
        }
        .faq-item.active .faq-panel {
            max-height: 500px; /* ارتفاع کافی برای محتوای پاسخ */
            padding-bottom: 18px;
        }
        .faq-panel p {
            font-size: 14px;
            color: #555;
            line-height: 1.8;
            margin: 0;
        }
        .faq-header:active {
            background-color: #f0f7ff !important; /* هایلایت آبی روشن هنگام کلیک */
            border-radius: 8px !important;
        }
        /* =======================================================
           استایل‌های اختصاصی صفحه قوانین و مقررات
           ======================================================= */
           .terms-page-section {
            padding: 40px 0;
        }
        .terms-page-section .section-title-wrap {
            justify-content: center;
            margin-bottom: 30px;
        }
        .terms-page-section .section-title {
            font-size: 22px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        /* باکس اصلی محتوا */
        .terms-box {
            background: #fff;
            border-radius: 12px;
            padding: 30px 25px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.04);
            border: 1px solid #f0f0f0;
            max-width: 900px;
            margin: 0 auto;
        }
        .terms-box h3 {
            font-size: 18px;
            font-weight: 700;
            color: #222;
            margin-top: 25px;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .terms-box h3:first-of-type {
            margin-top: 0;
        }
        .terms-box h3 i {
            color: var(--primary-color);
            font-size: 18px;
        }
        .terms-box p {
            font-size: 14px;
            color: #555;
            line-height: 1.9;
            margin-bottom: 15px;
            text-align: justify;
        }
        .terms-box ul {
            list-style: disc;
            padding-right: 20px;
            margin-bottom: 15px;
        }
        .terms-box ul li {
            font-size: 14px;
            color: #555;
            line-height: 1.9;
            margin-bottom: 5px;
        }
        
        /* موبایل */
        @media (max-width: 576px) {
            .terms-box {
                padding: 20px 15px;
            }
            .terms-box h3 {
                font-size: 16px;
            }
            .terms-box p, .terms-box ul li {
                font-size: 13px;
            }
        }
        /* =======================================================
           استایل‌های اختصاصی صفحه مجله سلامت
           ======================================================= */
        .blog-page-section {
            padding: 40px 0;
            background: #f8faff;
        }
        .blog-page-section .section-title-wrap {
            justify-content: center;
            margin-bottom: 30px;
        }
        .blog-page-section .section-title {
            font-size: 24px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #222;
        }
        .blog-page-section .section-title i {
            color: var(--primary-color);
        }

        /* باکس‌های دسته‌بندی */
        .category-filter-wrap {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            margin-bottom: 40px;
        }
        .category-filter-wrap a {
            display: inline-block;
            padding: 8px 20px;
            background: #fff;
            border: 1px solid #e2e5ea;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 500;
            color: #555;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        .category-filter-wrap a:hover,
        .category-filter-wrap a.active {
            background: var(--primary-color);
            color: #fff;
            border-color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(65, 135, 255, 0.25);
        }

        /* شبکه مقالات */
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin-bottom: 40px;
        }
        .blog-card {
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 16px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            border: 1px solid #f0f0f0;
        }
        .blog-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.08);
            border-color: var(--primary-color);
        }
        
        /* جایگزین عکس با باکس رنگی و آیکون */
        .blog-card .card-img-placeholder {
            width: 100%;
            height: 220px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #eef6ff 0%, #dbeafe 100%);
            color: var(--primary-color);
            font-size: 60px;
            border-bottom: 3px solid var(--primary-color);
        }
        .blog-card:nth-child(even) .card-img-placeholder {
            background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
            color: #f87171;
            border-bottom-color: #f87171;
        }
        .blog-card:nth-child(3n) .card-img-placeholder {
            background: linear-gradient(135deg, #fefce8 0%, #fef08a 100%);
            color: #ca8a04;
            border-bottom-color: #ca8a04;
        }
        
        .blog-card .card-body {
            padding: 20px;
        }
        .blog-card .card-body .meta {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 12px;
            color: #999;
            margin-bottom: 10px;
        }
        .blog-card .card-body .meta i {
            margin-left: 4px;
            color: var(--primary-color);
        }
        .blog-card .card-body h3 {
            font-size: 17px;
            font-weight: 700;
            color: #222;
            margin-bottom: 10px;
            line-height: 1.4;
        }
        .blog-card .card-body h3 a {
            color: inherit;
            text-decoration: none;
            transition: color 0.2s;
        }
        .blog-card .card-body h3 a:hover {
            color: var(--primary-color);
        }
        .blog-card .card-body p {
            font-size: 13px;
            color: #777;
            line-height: 1.7;
            margin-bottom: 15px;
        }
        .blog-card .card-body .read-more {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            font-weight: 600;
            color: var(--primary-color);
            text-decoration: none;
            transition: gap 0.2s;
        }
        .blog-card .card-body .read-more:hover {
            gap: 10px;
        }

        /* پیجینیشن */
        .pagination-wrap {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-bottom: 30px;
        }
        .pagination-wrap a,
        .pagination-wrap span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            padding: 0 10px;
            border-radius: 8px;
            border: 1px solid #e2e5ea;
            font-size: 14px;
            color: #555;
            text-decoration: none;
            transition: all 0.2s ease;
        }
        .pagination-wrap a:hover {
            background: var(--primary-color);
            color: #fff;
            border-color: var(--primary-color);
        }
        .pagination-wrap a.active {
            background: var(--primary-color);
            color: #fff;
            border-color: var(--primary-color);
        }
        .pagination-wrap .prev,
        .pagination-wrap .next {
            font-weight: 600;
        }

        /* سایدبار */
        .blog-sidebar {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }
        .sidebar-widget {
            background: #fff;
            border-radius: 16px;
            padding: 20px;
            border: 1px solid #f0f0f0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
        }
        .sidebar-widget h4 {
            font-size: 16px;
            font-weight: 700;
            color: #222;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f0f0f0;
        }
        .sidebar-widget ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .sidebar-widget ul li {
            margin-bottom: 10px;
        }
        .sidebar-widget ul li:last-child {
            margin-bottom: 0;
        }
        .sidebar-widget ul li a {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: #555;
            text-decoration: none;
            transition: color 0.2s;
        }
        .sidebar-widget ul li a:hover {
            color: var(--primary-color);
        }

        /* ویجت شبکه‌های اجتماعی (جایگزین تگ‌ها) */
        .social-widget {
            text-align: center;
        }
        .social-widget .social-icons {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin: 15px 0;
        }
        .social-widget .social-icons a {
            width: 45px;
            height: 45px;
            background: #f5f7fa;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #555;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        .social-widget .social-icons a:hover {
            transform: translateY(-4px);
        }
        .social-widget .social-icons a.telegram:hover { background: #0088cc; color: #fff; }
        .social-widget .social-icons a.instagram:hover { background: #e1306c; color: #fff; }
        .social-widget .social-icons a.whatsapp:hover { background: #25d366; color: #fff; }

        .social-widget .cta-btn {
            display: inline-block;
            margin-top: 10px;
            padding: 8px 24px;
            background: var(--primary-color);
            color: #fff;
            border-radius: 20px;
            font-weight: 600;
            font-size: 13px;
            text-decoration: none;
            transition: background 0.2s;
        }
        .social-widget .cta-btn:hover {
            background: #2b6cb0;
        }

        /* چیدمان دسکتاپ (سایدبار کنار) */
        @media (min-width: 992px) {
            .blog-layout {
                display: grid;
                grid-template-columns: 1fr 320px;
                gap: 30px;
            }
        }

        /* چیدمان تبلت و موبایل */
        @media (max-width: 991px) {
            .blog-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .blog-sidebar {
                margin-top: 30px;
                order: 10; /* سایدبار به پایین صفحه منتقل می‌شود */
            }
            .blog-layout {
                display: flex;
                flex-direction: column;
            }
        }
        @media (max-width: 576px) {
            .blog-grid {
                grid-template-columns: 1fr;
            }
            .blog-card .card-img-placeholder {
                height: 160px;
                font-size: 40px;
            }
        }
        /* استایل اختصاصی آیکون SVG آپارات */
.social-icon-svg {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: all 0.3s ease;
    /* رنگ آیکون در حالت عادی (خاکستری) */
    filter: invert(0.5) brightness(1) sepia(0) saturate(0);
}

/* حالت هاور: تغییر رنگ آیکون به قرمز آپارات */
.social-icon-svg:hover {
    /* تغییر فیلتر رنگ برای تبدیل خاکستری به قرمز */
    filter: invert(0.2) sepia(1) saturate(5) hue-rotate(-50deg);
}

/* سایز بزرگ‌تر برای سایدبار بلاگ */
.blog-sidebar .social-icon-svg {
    width: 24px;
    height: 24px;
}
/* =======================================================
   هماهنگ‌سازی آیکون آپارات با سایر شبکه‌های اجتماعی (بدون تغییر رنگ)
   ======================================================= */
   .social-icons .social-icon-svg {
    width: 16px; /* هم‌اندازه با آیکون‌های فونت‌آسوم */
    height: 16px;
    object-fit: contain;
    transition: all 0.3s ease;
    /* حالت عادی: آیکون آبی (مثل بقیه آیکون‌ها در حالت عادی) */
    filter: invert(42%) sepia(66%) saturate(1400%) hue-rotate(195deg);
}

/* حالت هاور: وقتی روی لینک والد (`a`) هاور می‌شود */
.social-icons a:hover .social-icon-svg {
    /* آیکون سفید می‌شود (زمینه آبی توسط استایل `a:hover` اعمال می‌شود) */
    filter: invert(100%) brightness(100%);
}
/* =======================================================
   استایل اختصاصی آیکون آپارات در سایدبار مجله سلامت
   ======================================================= */

/* ۱. تنظیمات پایه برای آیکون در سایدبار */
.blog-sidebar .social-widget .social-icon-svg {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: all 0.3s ease;
    /* حالت عادی: آیکون خاکستری (مثل بقیه آیکون‌های سایدبار) */
    filter: invert(70%) brightness(70%);
}

/* ۲. تنظیمات کانتینر دایره‌ای برای آیکون آپارات */
.blog-sidebar .social-widget a.aparad {
    background: #f5f7fa; /* پس‌زمینه خاکستری روشن در حالت عادی */
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* ۳. حالت هاور (وقتی ماوس روی آیکون می‌رود) */
.blog-sidebar .social-widget a.aparad:hover {
    background: #e1306c; /* پس‌زمینه قرمز آپارات در هاور */
    transform: translateY(-4px);
}

/* ۴. تغییر رنگ آیکون به سفید در حالت هاور */
.blog-sidebar .social-widget a.aparad:hover .social-icon-svg {
    filter: invert(100%) brightness(100%);
}
        /* =======================================================
           استایل‌های اختصاصی صفحه نوبت آنلاین
           ======================================================= */
           .doctor-page-section {
            padding: 30px 0;
        }
        
        .breadcrumb-top {
            font-size: 13px;
            color: #777;
            margin-bottom: 20px;
            text-align: right; /* در حالت RTL، المان‌ها را به سمت راست (چپ بصری) می‌برد */
            width: 100%;
        }
        .breadcrumb-top i {
            margin: 0 6px;
            color: var(--primary-color);
        }

        /* --- چیدمان اصلی دسکتاپ (فیلتر راست + کارت چپ) --- */
        .doctor-layout {
            display: flex;
            flex-direction: row-reverse; /* در حالت RTL، فیلتر (عنصر دوم) را در سمت راست قرار می‌دهد */
            gap: 30px;
            align-items: flex-start;
        }

        /* --- فیلتر دسکتاپ (Sticky) --- */
        .filter-sidebar {
            flex: 0 0 290px; /* عرض کاملاً ثابت */
            position: sticky;
            top: 80px;
            background: #fff;
            border-radius: 12px;
            border: 1px solid #f0f0f0;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
            max-height: calc(100vh - 120px);
            overflow-y: auto;
            z-index: 10;
        }
        .filter-sidebar::-webkit-scrollbar {
            width: 6px;
        }
        .filter-sidebar::-webkit-scrollbar-thumb {
            background: #e0e0e0;
            border-radius: 10px;
        }
        .doctors-list {
            flex: 1;
            min-width: 0; /* جلوگیری از سرریز محتوا در حالت فشرده */
        }

        .filter-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 15px;
            margin-bottom: 15px;
            border-bottom: 1px solid #f0f0f0;
        }
        .filter-header h3 {
            font-size: 16px;
            font-weight: 700;
            color: #222;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .filter-header h3 i { color: var(--primary-color); }
        .filter-header .close-filter {
            cursor: pointer;
            color: #999;
            font-size: 14px;
            transition: 0.2s;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .filter-header .close-filter:hover { color: #333; }

        .filter-group {
            margin-bottom: 20px;
        }
        .filter-group label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
        }
        .filter-group .checkbox-group {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }
        .filter-group .checkbox-group label {
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 400;
            font-size: 13px;
            color: #555;
            cursor: pointer;
        }
        .filter-group .checkbox-group input[type="checkbox"] {
            accent-color: var(--primary-color);
            width: 16px;
            height: 16px;
        }
        .filter-group select,
        .filter-group input[type="text"] {
            width: 100%;
            padding: 8px 12px 8px 30px; /* ← فضای خالی برای فلش در سمت چپ */
            border: 1px solid #e2e5ea;
            border-radius: 8px;
            font-family: var(--font-family);
            font-size: 13px;
            outline: none;
            background: #fff;
            color: #333;
            
            /* مخفی کردن فلش دیفالت */
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            
            /* فلش سفارشی (دقیقاً مثل هدر) */
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%23777777' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: left 10px center;
            background-size: 12px;
        }
        .filter-group select:focus,
        .filter-group input[type="text"]:focus {
            border-color: var(--primary-color);
        }
        
        .filter-group .radio-group {
            display: flex;
            gap: 15px;
            padding: 5px 0;
        }
        .filter-group .radio-group label {
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 400;
            font-size: 13px;
            color: #555;
            cursor: pointer;
        }

        .filter-toggle-switch {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 0;
            font-size: 13px;
            color: #555;
            cursor: pointer;
        }
        .switch {
            position: relative;
            display: inline-block;
            width: 38px;
            height: 20px;
        }
        .switch input { opacity: 0; width: 0; height: 0; }
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 20px;
        }
        .slider:before {
            position: absolute;
            content: "";
            height: 14px;
            width: 14px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        input:checked + .slider {
            background-color: var(--primary-color);
        }
        input:checked + .slider:before {
            transform: translateX(18px);
        }

        /* --- فیلتر موبایل (مودال تمام صفحه) --- */
        .mobile-filter-toolbar {
            display: none;
            justify-content: space-between;
            align-items: center;
            padding: 12px 15px;
            background: #fff;
            border: 1px solid #f0f0f0;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        .mobile-filter-toolbar .filter-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
            font-weight: 600;
            color: #333;
            cursor: pointer;
        }
        .mobile-filter-toolbar .filter-btn i {
            font-size: 16px;
            color: var(--primary-color);
        }
        .mobile-filter-toolbar .filter-badge {
            position: relative;
        }
        .mobile-filter-toolbar .filter-badge i {
            font-size: 20px;
            color: #555;
        }
        .mobile-filter-toolbar .filter-badge span {
            position: absolute;
            top: -6px;
            right: -6px;
            background: #f44336;
            color: #fff;
            font-size: 10px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .mobile-filter-toolbar .sort-select {
            border: none;
            background: transparent;
            font-family: var(--font-family);
            font-size: 13px;
            font-weight: 500;
            color: #333;
            outline: none;
            cursor: pointer;
        }

        /* مودال فیلتر موبایل */
        .filter-modal-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.4);
            backdrop-filter: blur(4px);
            z-index: 999999;
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
            align-items: flex-start;
            justify-content: center;
            padding: 0;
        }
        .filter-modal-overlay.open {
            display: flex;
            opacity: 1;
        }
        .filter-modal-box {
            background: #fff;
            width: 100%;
            height: 100%;
            max-height: 100vh;
            overflow-y: auto;
            padding: 20px;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }
        .filter-modal-overlay.open .filter-modal-box {
            transform: translateY(0);
        }
        .filter-modal-box .filter-header {
            border-bottom: 1px solid #f0f0f0;
            padding-bottom: 15px;
            margin-bottom: 20px;
        }

        /* --- بنر تبلیغاتی (داخلی و بدون عکس خارجی) --- */
        .ad-banner {
            width: 100%;
            border-radius: 16px;
            background: linear-gradient(135deg, #1b7a4c 0%, #2d9e6b 100%);
            padding: 30px;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
            position: relative;
            overflow: hidden;
            color: #fff;
        }
        .ad-banner::after {
            content: "\f0e0"; /* آیکون جایگزین عکس */
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            font-size: 80px;
            position: absolute;
            left: -10px;
            bottom: -20px;
            opacity: 0.15;
            color: #fff;
        }
        .ad-banner .right-content {
            flex: 1;
            min-width: 200px;
        }
        .ad-banner .right-content h2 {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .ad-banner .right-content p {
            font-size: 14px;
            opacity: 0.9;
            margin: 0;
        }
        .ad-banner .badge-wrap {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }
        .ad-banner .badge-wrap span {
            background: rgba(255,255,255,0.2);
            padding: 6px 16px;
            border-radius: 30px;
            font-size: 13px;
            font-weight: 500;
        }
        .ad-banner .cta-btn {
            background: #f97316;
            color: #fff;
            border: none;
            padding: 10px 25px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: background 0.2s;
        }
        .ad-banner .cta-btn:hover {
            background: #ea580c;
        }

        /* --- کارت‌های پزشکان --- */
        .doctors-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
        .doctor-card {
            background: #fff;
            border-radius: 12px;
            border: 1px solid #f0f0f0;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03); /* عدد سایه را با سایدبار یکی کنید */
            transition: box-shadow 0.2s ease; /* فقط سایه تغییر کند، نه transform */
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 100%;
            cursor: pointer; 
        }
        .doctor-card:hover {
            box-shadow: 0 6px 16px rgba(0,0,0,0.07);
        }
        .doctor-card .card-top {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 12px;
        }
        .doctor-card .card-top .doc-img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #4187ff;
            color: #fff;
            font-size: 24px;
            font-weight: 700;
            flex-shrink: 0;
        }
        .doctor-card .card-top .doc-img.alt1 { background: #6aa2e0; }
        .doctor-card .card-top .doc-img.alt2 { background: #2c7be5; }
        .doctor-card .card-top .doc-img.alt3 { background: #2b6cb0; }
        .doctor-card .card-top .doc-info {
            flex: 1;
        }
        .doctor-card .card-top .doc-info h3 {
            font-size: 16px;
            font-weight: 700;
            color: #222;
            margin-bottom: 4px;
        }
        .doctor-card .card-top .doc-info .specialty {
            font-size: 13px;
            color: #555;
            margin-bottom: 4px;
            display: block;
        }
        .doctor-card .card-top .doc-info .rating {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 13px;
            color: #777;
        }
        .doctor-card .card-top .doc-info .rating .stars {
            color: #f4c150;
        }
        .doctor-card .card-top .doc-info .rating .score {
            font-weight: 700;
            color: #222;
        }
        .doctor-card .card-body {
            margin-bottom: 15px;
        }
        .doctor-card .card-body .desc {
            font-size: 12px;
            color: #555;
            line-height: 1.6;
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .doctor-card .card-body .info-row {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            font-size: 12px;
            color: #555;
            align-items: center;
        }
        .doctor-card .card-body .info-row i {
            color: var(--primary-color);
            margin-left: 4px;
        }
        .doctor-card .card-body .info-row .services {
            display: flex;
            gap: 8px;
        }
        .doctor-card .card-body .info-row .services span {
            background: #f5f7fa;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 11px;
            color: #555;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .doctor-card .card-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 5px;
        }
        .doctor-card .card-actions .btn-nobat {
            background: var(--primary-color);
            color: #fff;
            border: none;
            padding: 8px 18px;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: background 0.2s;
        }
        .doctor-card .card-actions .btn-nobat:hover {
            background: #2b6cb0;
        }
        @media (max-width: 767px) {
            .doctor-card .card-actions .btn-nobat { font-size: 12px; }
        }
        .doctor-card .card-actions .btn-profile {
            background: #fff;
            color: var(--primary-color);
            border: 1px solid #e2e5ea;
            padding: 0px 10px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: all 0.2s;
        }
        .doctor-card .card-actions .btn-profile:hover {
            background: #f8faff;
            border-color: var(--primary-color);
        }

        /* --- صفحه‌بندی --- */
        .pagination-wrap {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #f0f0f0;
        }
        .pagination-wrap a,
        .pagination-wrap span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 36px;
            height: 36px;
            border-radius: 8px;
            font-size: 13px;
            color: #555;
            text-decoration: none;
            transition: all 0.2s ease;
        }
        .pagination-wrap a:hover {
            background: #f8faff;
            color: var(--primary-color);
        }
        .pagination-wrap a.active {
            background: var(--primary-color);
            color: #fff;
        }
        .pagination-wrap .prev,
        .pagination-wrap .next {
            font-weight: 600;
            background: #fff;
            border: 1px solid #e2e5ea;
        }
        .pagination-wrap .prev:hover,
        .pagination-wrap .next:hover {
            border-color: var(--primary-color);
            background: #f8faff;
        }

        /* --- باکس متن پایین (آکاردئون) - فقط در بخش محتوا --- */
        .bottom-accordion-box {
            margin-top: 40px;
            background: #fff;
            border-radius: 12px;
            border: 1px solid #f0f0f0;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.02);
            position: relative;
        }
        .bottom-accordion-box .toggle-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            cursor: pointer;
            color: var(--primary-color);
            font-weight: 600;
            font-size: 13px;
            padding: 10px 0;
            margin-top: 10px;
            border-top: 1px solid #f0f0f0;
            transition: all 0.3s ease;
        }
        .bottom-accordion-box .toggle-btn i {
            transition: transform 0.3s ease;
        }
        .bottom-accordion-box.open .toggle-btn i {
            transform: rotate(180deg);
        }
        .bottom-accordion-box .content {
            display: -webkit-box;
            -webkit-line-clamp: 2; /* فقط ۲ خط نمایش داده بشه */
            -webkit-box-orient: vertical;
            overflow: hidden;
            font-size: 13px;
            color: #555;
            line-height: 1.8;
            max-height: 3.6em; /* fallback برای مرورگرهای قدیمی */
            transition: max-height 0.3s ease;
        }
        .bottom-accordion-box.open .content {
            max-height: 500px;
            -webkit-line-clamp: unset; /* برداشتن محدودیت خطوط */
        }

        /* --- مرتب‌سازی در دسکتاپ --- */
        .sort-wrapper {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 25px;
        font-size: 14px;
        color: #333;
        flex-wrap: wrap;
        background: #fff;
        border: 1px solid #f0f0f0;
        border-radius: 12px;
        padding: 10px 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.03);
        }       
        .sort-wrapper .sort-label {
            font-weight: 600;
            color: #333;
        }
        .sort-options {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 16px;
        }
        .sort-item {
            cursor: pointer;
            padding: 4px 0;
            color: #555;
            font-size: 13px;
            transition: 0.2s;
            border-bottom: 2px solid transparent;
        }
        .sort-item:hover {
            color: var(--primary-color);
        }
        .sort-item.active {
            color: var(--primary-color);
            border-bottom-color: var(--primary-color);
            font-weight: 600;
        }
        .sort-wrapper label {
            font-size: 13px;
            color: #555;
            font-weight: 500;
        }
        .sort-wrapper select {
            border: none;
            background: #f8faff;
            padding: 6px 30px 6px 12px;
            border-radius: 8px;
            font-family: var(--font-family);
            font-size: 13px;
            color: #333;
            outline: none;
            cursor: pointer;
            direction: rtl;
            text-align: right;
            
            /* مخفی کردن فلش دیفالت */
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            
            /* فلش سفارشی (دقیقاً مثل هدر) */
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%23777777' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: left 10px center;
            background-size: 12px;
        }
        .sort-wrapper select:focus {
            border-color: var(--primary-color);
        }
        .sort-wrapper .sort-icon {
            color: var(--primary-color);
            font-size: 16px;
            margin-left: 4px; /* فاصله آیکون از سلکت در راست‌چین */
        }

        /* --- ریسپانسیو --- */
        @media (max-width: 991px) {
            .doctor-page-section {
            padding: 3px 0;
            }
            .doctor-layout {
                flex-direction: column; /* در موبایل زیر هم قرار بگیرند */
            }
            .filter-sidebar {
                display: none; /* فیلتر دسکتاپ مخفی می‌شود */
                flex: none;
            }
            .mobile-filter-toolbar {
                display: flex;
            }
            .sort-wrapper {
                display: none;
            }
            .ad-banner::after {
                font-size: 60px;
                left: -5px;
                bottom: -10px;
            }
            .ad-banner .right-content h2 {
                font-size: 20px;
            }
            .ad-banner .badge-wrap {
                justify-content: center;
            }
        }
        @media (max-width: 576px) {
            .doctors-grid {
                grid-template-columns: 1fr;
            }
            .doctor-card .card-top .doc-img {
                width: 60px;
                height: 60px;
                font-size: 18px;
            }
            .doctor-card .card-top .doc-info h3 {
                font-size: 14px;
            }
        }
        /* ========================================================
        استایل‌های سفارشی Select2
        ======================================================== */
        /* باکس اصلی سلکت */
        .select2-container--default .select2-selection--single {
            background-color: #fff !important;
            border: 1px solid #e2e5ea !important;
            border-radius: 8px !important;
            height: 40px !important;
            padding: 0 12px !important;
            display: flex !important;
            align-items: center !important;
        }

        /* متن انتخاب شده */
        .select2-container--default .select2-selection--single .select2-selection__rendered {
            color: #333 !important;
            font-size: 13px !important;
            font-family: var(--font-family) !important;
            line-height: 38px !important;
            padding-right: 0 !important;
            text-align: right !important;
        }

        /* فلش سفارشی (جایگزین فلش دیفالت) */
        .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 38px !important;
            width: 30px !important;
            left: 5px !important; /* در راست‌چین، فلش در سمت چپ */
            right: auto !important;
        }

        .select2-container--default .select2-selection--single .select2-selection__arrow b {
            border-color: #777 transparent transparent transparent !important;
            border-width: 6px 5px 0 5px !important;
            margin-left: -5px !important;
            margin-top: -3px !important;
        }

        /* باکس باز شده (dropdown) */
        .select2-dropdown {
            border: 1px solid #e2e5ea !important;
            border-radius: 8px !important;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
            margin-top: 4px !important;
            background: #fff !important;
        }

        /* آیتم‌های لیست */
        .select2-results__option {
            padding: 10px 14px !important;
            font-size: 13px !important;
            font-family: var(--font-family) !important;
            color: #333 !important;
            text-align: right !important;
        }

        /* هاور روی آیتم‌ها */
        .select2-results__option--highlighted {
            background-color: #f8faff !important;
            color: var(--primary-color) !important;
        }

        /* آیتم انتخاب شده */
        .select2-results__option[aria-selected="true"] {
            background-color: #f0f4ff !important;
            color: var(--primary-color) !important;
        }

        /* هماهنگی با موبایل */
        @media (max-width: 767px) {
            .select2-container--default .select2-selection--single {
                height: 44px !important;
            }
            .select2-container--default .select2-selection--single .select2-selection__rendered {
                line-height: 42px !important;
            }
            .select2-container--default .select2-selection--single .select2-selection__arrow {
                height: 42px !important;
            }
        }
        /* افزایش z-index برای dropdown Select2 */
        .select2-container--open {
            z-index: 9999999 !important; /* بالاتر از مودال */
        }

        /* اطمینان از اینکه مودال overflow رو مخفی نکنه */
        .filter-modal-box {
            overflow: visible !important; /* مهم: اجازه میده dropdown بیرون از باکس دیده بشه */
        }

        .filter-modal-overlay {
            overflow-y: auto !important; /* اجازه اسکرول به مودال */
        }

        /* خود dropdown در مودال */
        .filter-modal-box .select2-dropdown {
            position: relative !important; /* برای هماهنگی با dropdownParent */
        }
        /* ========================================================
   استایل باکس جستجوی Select2
   ======================================================== */

        /* باکس جستجو */
        .select2-search--dropdown {
            padding: 8px 10px !important;
            background: #f8faff !important;
            border-bottom: 1px solid #e2e5ea !important;
        }

        /* فیلد جستجو */
        .select2-search--dropdown .select2-search__field {
            width: 100% !important;
            padding: 10px 14px !important;
            border: 1px solid #e2e5ea !important;
            border-radius: 8px !important;
            font-family: var(--font-family) !important;
            font-size: 13px !important;
            color: #333 !important;
            background: #fff !important;
            outline: none !important;
            transition: all 0.2s ease !important;
            text-align: right !important;
            padding-right: 35px !important; /* فاصله برای آیکون */
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") !important;
            background-repeat: no-repeat !important;
            background-position: right 10px center !important;
            background-size: 16px !important;
        }

        .select2-search--dropdown .select2-search__field:focus {
            border-color: var(--primary-color) !important;
            box-shadow: 0 0 0 3px rgba(65, 135, 255, 0.1) !important;
        }

        .select2-search--dropdown .select2-search__field::placeholder {
            color: #999 !important;
            font-size: 13px !important;
        }

        /* وقتی کاربر مشغول تایپ است */
        .select2-search--dropdown .select2-search__field:focus::placeholder {
            opacity: 0.5 !important;
        }

        /* هماهنگی با مودال موبایل */
        .filter-modal-box .select2-search--dropdown .select2-search__field {
            font-size: 14px !important;
            padding: 12px 14px !important;
            padding-right: 35px !important;
            height: 48px !important;
        }
        /* ========================================================
        استایل Select2 برای سلکت مرتب‌سازی در موبایل (بدون جستجو)
        ======================================================== */

        /* باکس اصلی سلکت */
        .mobile-filter-toolbar .select2-container--default .select2-selection--single {
            background-color: transparent !important; /* پس‌زمینه شفاف برای هماهنگی با نوار ابزار */
            border: none !important; /* بدون حاشیه */
            height: auto !important;
            padding: 0 !important;
            min-height: 30px !important;
        }

        /* متن انتخاب شده */
        .mobile-filter-toolbar .select2-container--default .select2-selection--single .select2-selection__rendered {
            color: #333 !important;
            font-size: 13px !important;
            font-weight: 500 !important;
            font-family: var(--font-family) !important;
            line-height: 30px !important;
            padding-right: 0 !important;
            padding-left: 20px !important; /* فاصله برای فلش */
            text-align: right !important;
        }

        /* فلش Select2 (هماهنگ با بقیه) */
        .mobile-filter-toolbar .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 30px !important;
            width: 20px !important;
            left: 0 !important;
            right: auto !important;
        }

        .mobile-filter-toolbar .select2-container--default .select2-selection--single .select2-selection__arrow b {
            border-color: #777 transparent transparent transparent !important;
            border-width: 6px 5px 0 5px !important;
            margin-left: -5px !important;
            margin-top: -3px !important;
        }

        /* باکس باز شده (dropdown) */
        .mobile-filter-toolbar .select2-dropdown {
            border: 1px solid #e2e5ea !important;
            border-radius: 8px !important;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
            margin-top: 4px !important;
            background: #fff !important;
            min-width: 150px !important;
        }

        /* آیتم‌های لیست */
        .mobile-filter-toolbar .select2-results__option {
            padding: 10px 14px !important;
            font-size: 13px !important;
            font-family: var(--font-family) !important;
            color: #333 !important;
            text-align: right !important;
        }

        /* هاور روی آیتم‌ها */
        .mobile-filter-toolbar .select2-results__option--highlighted {
            background-color: #f8faff !important;
            color: var(--primary-color) !important;
        }

        /* آیتم انتخاب شده */
        .mobile-filter-toolbar .select2-results__option[aria-selected="true"] {
            background-color: #f0f4ff !important;
            color: var(--primary-color) !important;
        }

        /* مهم: مخفی کردن باکس جستجو (در صورت وجود) */
        .mobile-filter-toolbar .select2-search {
            display: none !important;
        }
        /* ========================================================
   اصلاح نوار ابزار موبایل و سلکت مرتب‌سازی
   ======================================================== */

        /* نوار ابزار */
        .mobile-filter-toolbar {
            width: 100% !important;
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            padding: 10px 15px !important;
            background: #fff !important;
            border: 1px solid #f0f0f0 !important;
            border-radius: 0px !important;
            margin: 0 !important; /* حذف فاصله‌های اضافی */
            margin-bottom: 20px !important;
            flex-wrap: nowrap !important; /* ← مهم */
            gap: 6px !important;
            position: sticky;
            top: 55px; /* ارتفاع هدر سایت (55px) */
            z-index: 999; /* بالاتر از محتوا ولی پایین‌تر از هدر */
            background: #fff; /* برای جلوگیری از شفافیت در هنگام اسکرول */
            box-shadow: 0 1px 3px rgba(0,0,0,0.06); /* سایه‌ی ملایم برای جداسازی از محتوا */    
            width: 100% !important;
            left: 0 !important;
            right: 0 !important;    
        }

        .mobile-filter-toolbar .filter-btn {
            display: flex !important;
            align-items: center !important;
            gap: 4px !important;
            white-space: nowrap !important; /* ← مهم */
            flex-shrink: 0 !important;
            font-size: 13px !important;
            padding: 0 5px; /* فاصله‌ی اضافی برای هر آیتم */
        }

        /* سلکت Select2 */
        .mobile-filter-toolbar .select2-container {
            width: auto !important;
            min-width: auto !important;
        }

        .mobile-filter-toolbar .select2-container--default .select2-selection--single {
            background: transparent !important;
            border: none !important;
            height: auto !important;
            padding: 0 !important;
            min-height: 30px !important;
        }

        .mobile-filter-toolbar .select2-container--default .select2-selection--single .select2-selection__rendered {
            color: #333 !important;
            font-size: 13px !important;
            font-weight: 500 !important;
            font-family: var(--font-family) !important;
            line-height: 30px !important;
            padding-right: 3px !important;
            padding-left: 14px !important; /* ← فاصله کم از فلش */
            text-align: right !important;
        }

        .mobile-filter-toolbar .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 30px !important;
            width: 14px !important; /* ← فلش باریک‌تر */
            left: 0 !important;
            right: auto !important;
            position: absolute !important;
        }

        .mobile-filter-toolbar .select2-container--default .select2-selection--single .select2-selection__arrow b {
            border-color: #777 transparent transparent transparent !important;
            border-width: 5px 4px 0 4px !important;
            margin-left: -4px !important;
            margin-top: -2px !important;
        }

        /* باکس باز شده */
        .mobile-filter-toolbar .select2-dropdown {
            border: 1px solid #e2e5ea !important;
            border-radius: 8px !important;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
            margin-top: 4px !important;
            background: #fff !important;
            min-width: 140px !important;
        }

        .mobile-filter-toolbar .select2-results__option {
            padding: 8px 14px !important;
            font-size: 13px !important;
            font-family: var(--font-family) !important;
            color: #333 !important;
            text-align: right !important;
        }

        .mobile-filter-toolbar .select2-results__option--highlighted {
            background-color: #f8faff !important;
            color: var(--primary-color) !important;
        }

        .mobile-filter-toolbar .select2-results__option[aria-selected="true"] {
            background-color: #f0f4ff !important;
            color: var(--primary-color) !important;
        }

        /* مخفی کردن باکس جستجو */
        .mobile-filter-toolbar .select2-search {
            display: none !important;
        }
        /* مخفی کردن نوار ابزار موبایل در دسکتاپ */
        @media (min-width: 992px) {
            .mobile-filter-toolbar {
                display: none !important;
            }
        }
        /* ----------------------- */
        .doctor-card .card-actions .btn-nobat,
        .doctor-card .card-actions .btn-profile {
            font-family: var(--font-family);
        }
        @media (max-width: 991px) {
            .doctor-card {
                box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
            }
        }
        .doctor-page-section {
            background-color: #eff1f3;
            padding: 30px 0;
            margin-top: -30px; /* برای چسبیدن به هدر (اختیاری) */
        }
        /* تنظیمات رتبه‌بندی */
        .rating {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 4px 10px;
            font-size: 13px;
            color: #777;
        }

        .rating-main {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
        }

        .rating-suggestion {
            display: flex;
            align-items: center;
            gap: 4px;
            font-weight: 500;
            font-size: 13px;
        }

        /* فقط برای گوشی‌های خیلی کوچک (عرض کمتر از 400px) */
        @media (max-width: 400px) {
            .rating {
                flex-direction: column;
                align-items: flex-end;
                gap: 2px;
            }
            .rating-main {
                font-size: 12px;
                gap: 4px;
            }
            .rating-suggestion {
                font-size: 12px;
            }
            .rating-suggestion img {
                width: 14px !important;
                height: 14px !important;
            }
            .doctor-card .card-top .doc-info .rating {
                align-items: flex-start;
            }
        }

        /* ========================================================
        دکمه‌های پایین مودال فیلتر موبایل (فقط در موبایل)
        ======================================================== */
        .filter-actions {
            display: none; /* پیش‌فرض مخفی در دسکتاپ */
            flex-direction: row-reverse;
            gap: 12px;
            margin-top: 25px;
            padding-top: 15px;
            border-top: 1px solid #f0f0f0;
        }

        /* نمایش در موبایل (عرض کمتر از 992px) */
        @media (max-width: 991px) {
            .filter-actions {
                display: flex !important;
            }
        }

        .btn-apply-filters {
            flex: 1;
            background: var(--primary-color);
            color: #fff;
            border: none;
            padding: 12px 20px;
            border-radius: 10px;
            font-family: var(--font-family);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
            text-align: center;
        }

        .btn-apply-filters:hover {
            background: #2b6cb0;
        }

        .btn-reset-filters {
            flex: 1;
            background: #fff;
            color: var(--primary-color);
            border: 1px solid #e2e5ea;
            padding: 12px 20px;
            border-radius: 10px;
            font-family: var(--font-family);
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            text-align: center;
        }

        .btn-reset-filters:hover {
            background: #f8faff;
            border-color: var(--primary-color);
        }

        /* در موبایل‌های خیلی کوچک */
        @media (max-width: 400px) {
            .filter-actions {
                flex-direction: column-reverse;
                gap: 10px;
            }
            .btn-apply-filters,
            .btn-reset-filters {
                flex: none;
                width: 100%;
            }
        }
        @media (min-width: 992px) {
            .breadcrumb-top {
                margin-top: 15px;
            }
        }
        button, .btn, .cta-btn {
            font-family: var(--fo   nt-family);
        }
        /* ========================================================
        مودال انتخاب موقعیت مکانی
        ======================================================== */
        .location-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            z-index: 9999999;
            display: none;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            padding: 20px;
        }

        .location-modal-overlay.active {
            display: flex;
            opacity: 1;
        }

        .location-modal-box {
            background: #fff;
            border-radius: 20px;
            padding: 25px;
            width: 90%;
            max-width: 650px;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            gap: 15px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.2);
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }

        .location-modal-overlay.active .location-modal-box {
            transform: translateY(0);
        }

        .location-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .location-modal-header h4 {
            font-size: 18px;
            font-weight: 700;
            color: #222;
            margin: 0;
        }

        .location-modal-close {
            width: 32px;
            height: 32px;
            background: #f5f5f5;
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #888;
            cursor: pointer;
            transition: 0.2s;
        }

        .location-modal-close:hover {
            background: #eee;
            color: #333;
        }

        #locationMap {
            height: 400px;
            width: 100%;
            border-radius: 12px;
            border: 1px solid #e2e5ea;
            z-index: 1;
        }

        .location-actions {
            display: flex;
            gap: 12px;
            margin-top: 5px;
        }

        .btn-find-location {
            flex: 1;
            background: #f8faff;
            color: var(--primary-color);
            border: 1px solid #e2e5ea;
            padding: 12px 20px;
            border-radius: 10px;
            font-family: var(--font-family);
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-find-location:hover {
            background: #f0f4ff;
            border-color: var(--primary-color);
        }

        .btn-confirm-location {
            flex: 1;
            background: var(--primary-color);
            color: #fff;
            border: none;
            padding: 12px 20px;
            border-radius: 10px;
            font-family: var(--font-family);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
        }

        .btn-confirm-location:hover {
            background: #2b6cb0;
        }

    /* حالت موبایل (تمام صفحه) */
    @media (max-width: 768px) {
        .location-modal-overlay {
            padding: 0;
            align-items: stretch;
        }
        .location-modal-box {
            width: 100%;
            max-width: 100%;
            border-radius: 0;
            padding: 15px;
            max-height: 100vh;
            gap: 12px;
            justify-content: center;
        }
        #locationMap {
            height: calc(100vh - 140px);
            min-height: 550px;
            border-radius: 8px;
        }
        .location-actions {
            flex-direction: column;
            gap: 10px;
        }
        .btn-find-location,
        .btn-confirm-location {
            padding: 10px 20px;
        }
    }

        /* === استایل‌های اختصاصی صفحه پروفایل پزشک === */
        .doctor-profile-page-section {
            padding: 30px 0;
            background-color: #eff1f3;
        }

        /* چیدمان اصلی با Grid (سایدبار چسبنده در سمت چپ، محتوا در سمت راست) */
        .doctor-profile-layout {
            display: grid;
            grid-template-columns: 35% 65%;
            gap: 30px;
            align-items: start;
        }

        .breadcrumb-top {
            font-size: 13px;
            color: #777;
            margin-bottom: 25px;
            text-align: right;
            width: 100%;
        }
        .breadcrumb-top i { margin: 0 6px; color: var(--primary-color); }

        /* --- بخش سایدبار (سمت چپ) --- */
        .profile-sidebar {
            position: sticky;
            top: 80px;
            align-self: start; /* مهم: باعث می‌شود سایدبار در گرید کوتاه نچسبد و با اسکرول حرکت کند */
            display: flex;
            flex-direction: column;
            gap: 20px;
            max-height: calc(100vh - 100px);
            overflow-y: auto;
            /* مخفی کردن اسکرول‌بار در مرورگرهای مختلف */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE/Edge */
        }
        .profile-sidebar::-webkit-scrollbar {
            display: none;
        }

        /* مخفی کردن اسکرول بار سایدبار برای زیبایی بیشتر */
        .profile-sidebar::-webkit-scrollbar { width: 4px; }
        .profile-sidebar::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

        .profile-sidebar-card {
            background: #fff;
            border-radius: 12px;
            border: 1px solid #f0f0f0;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
        }

        .profile-sidebar-card .doc-summary {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            margin-bottom: 15px;
        }
        .profile-sidebar-card .doc-summary img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 12px;
            border: 3px solid #f0f4ff;
        }
        .profile-sidebar-card .doc-summary h3 {
            font-size: 18px;
            font-weight: 700;
            color: #222;
        }
        .profile-sidebar-card .doc-summary .specialty {
            font-size: 14px;
            color: #555;
        }

        /* استایل آدرس‌ها و دکمه‌های نوبت (بدون تغییر) */
        .address-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .address-item {
            border: 1px solid #f0f0f0;
            border-radius: 10px;
            padding: 15px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .address-item .addr-info {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 14px;
            color: #555;
            line-height: 1.6;
        }
        .address-item .addr-info i { color: var(--primary-color); margin-top: 2px; }
        .address-item .addr-info strong { display: block; color: #222; }
        .address-item .btn-addr-book {
            align-self: flex-end;
            background: var(--primary-color);
            color: #fff;
            border: none;
            padding: 8px 24px;
            border-radius: 8px;
            font-family: var(--font-family);
            font-size: 13px !important;
            cursor: pointer;
            transition: 0.2s;
        }
        .address-item .btn-addr-book:hover { background: #2b6cb0; }

        /* استایل مشاوره پزشکی */
        .consulting-services { display: flex; flex-direction: column; gap: 12px; }
        .service-item { 
            display: flex; 
            align-items: center; 
            gap: 15px; 
            padding: 10px 15px; 
            background: #f8faff; 
            border-radius: 10px; 
        }
        .service-icon { 
            width: 40px; height: 40px; 
            background: #eef6ff; 
            border-radius: 50%; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            color: var(--primary-color); 
            font-size: 18px; 
        }
        .service-item strong { font-size: 14px; color: #222; display: block; }
        .service-item p { font-size: 12px; color: #777; margin: 2px 0 0; }

        /* استایل اطلاعات تماس و موقعیت */
        .contact-info-box h4 { font-size: 15px; margin-bottom: 15px; }
        .contact-location-item {
            padding: 12px 0;
            border-bottom: 1px solid #f5f5f5;
        }
        .contact-location-item:last-child { border-bottom: none; }
        .contact-location-item strong {
            display: block;
            font-size: 14px;
            color: #222;
            margin-bottom: 4px;
        }
        .contact-location-item .phone-number {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: #555;
            margin-bottom: 6px;
        }
        .contact-location-item .phone-number i { color: var(--primary-color); }
        .contact-location-item .map-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--primary-color);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            transition: 0.2s;
        }
        .contact-location-item .map-link:hover { opacity: 0.8; }

        .contact-info-box .social-icons {
            display: flex;
            gap: 10px;
            margin-top: 15px;
            justify-content: center;
        }
        .contact-info-box .social-icons a {
            color: #555;
            font-size: 20px;
            transition: 0.2s;
        }
        .contact-info-box .social-icons a:hover { color: var(--primary-color); }

        /* --- بخش محتوا (سمت راست) --- */
        .profile-content-area {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .profile-card {
            background: #fff;
            border-radius: 12px;
            border: 1px solid #f0f0f0;
            padding: 25px 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
        }
        .profile-card .section-title-wrap {
            margin-bottom: 15px;
            border-bottom: 1px solid #f0f0f0;
            padding-bottom: 10px;
        }
        .profile-card .section-title-wrap .section-title { font-size: 17px; }

        .specialty-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .specialty-tags span {
            background: #f0f4ff;
            color: var(--primary-color);
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 13px;
        }

        .insurance-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        .insurance-item {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #f8faff;
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 13px;
            color: #333;
            border: 1px solid #e2e5ea;
        }

        .profile-banner {
            width: 100%;
            border-radius: 16px;
            background: linear-gradient(135deg, #1e2a47 0%, #2c3e6b 100%);
            padding: 25px 30px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 15px;
            position: relative;
            overflow: hidden;
            color: #fff;
        }
        .profile-banner::after {
            content: "\f0e0";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            font-size: 60px;
            position: absolute;
            left: -10px;
            bottom: -10px;
            opacity: 0.1;
            color: #fff;
        }
        .profile-banner h4 { font-size: 20px; font-weight: 700; margin: 0; }
        .profile-banner p { font-size: 14px; opacity: 0.9; margin: 5px 0 0; }
        .profile-banner .btn-banner {
            background: #f97316;
            color: #fff;
            border: none;
            padding: 8px 24px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: 0.2s;
            z-index: 2;
            font-family: var(--font-family);
        }
        .profile-banner .btn-banner:hover { background: #ea580c; }

        /* نظرات کاربران */
        .review-summary {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
            padding: 10px 15px;
            background: #f8faff;
            border-radius: 10px;
        }
        .review-summary .avg-score {
            font-size: 32px;
            font-weight: 700;
            color: #222;
        }
        .review-summary .avg-stars { color: #f4c150; font-size: 16px; }
        .review-list { display: flex; flex-direction: column; gap: 15px; }
        .review-item {
            border-bottom: 1px solid #f0f0f0;
            padding-bottom: 15px;
        }
        .review-item:last-child { border-bottom: none; padding-bottom: 0; }
        .review-item .meta {
            display: flex;
            justify-content: space-between;
            font-size: 13px;
            color: #777;
        }
        .review-item .meta .name { font-weight: 600; color: #222; }
        .review-item .meta .r-stars { color: #f4c150; font-size: 13px; }
        .review-item .text {
            font-size: 14px;
            color: #555;
            line-height: 1.6;
            margin-top: 5px;
        }

        .btn-review-actions {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }
        .btn-review-actions button {
            flex: 1;
            padding: 10px;
            border-radius: 8px;
            font-family: var(--font-family);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.2s;
            text-align: center;
        }
        .btn-view-all-reviews {
            background: #fff;
            border: 1px solid #e2e5ea;
            color: #333;
        }
        .btn-view-all-reviews:hover { background: #f8faff; border-color: var(--primary-color); }
        .btn-write-review {
            background: var(--primary-color);
            border: none;
            color: #fff;
        }
        .btn-write-review:hover { background: #2b6cb0; }

        /* نظرات همکاران */
        .peer-reviews-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 15px;
        }
        .peer-card {
            background: #f8faff;
            border-radius: 10px;
            padding: 15px;
            text-align: center;
            border: 1px solid #f0f0f0;
        }
        .peer-card img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-bottom: 8px;
        }
        .peer-card h5 { font-size: 13px; font-weight: 700; color: #222; margin: 0; }
        .peer-card p { font-size: 11px; color: #777; margin: 5px 0; line-height: 1.4; }

        .profile-faq-item {
            border: 1px solid #f0f0f0;
            border-radius: 8px;
            margin-bottom: 10px;
            overflow: hidden;
        }
        .profile-faq-item .faq-header {
            background: transparent;
            border: none;
            width: 100%;
            padding: 12px 15px;
            display: flex;
            justify-content: space-between;
            font-family: var(--font-family);
            font-size: 14px;
            font-weight: 500;
            color: #333;
            cursor: pointer;
        }
        .profile-faq-item .faq-header i { transition: 0.3s; }
        .profile-faq-item.active .faq-header i { transform: rotate(180deg); color: var(--primary-color); }
        .profile-faq-item .faq-panel {
            max-height: 0;
            overflow: hidden;
            transition: 0.3s ease;
            padding: 0 15px;
        }
        .profile-faq-item.active .faq-panel {
            max-height: 200px;
            padding-bottom: 15px;
        }
        .profile-faq-item .faq-panel p {
            font-size: 13px;
            color: #555;
            line-height: 1.6;
            margin: 0;
        }

        /* استایل "مشاهده بیشتر/بستن" */
        .text-toggle-wrap { position: relative; }
        .text-toggle-wrap .short-text { display: block; overflow: hidden; }
        .text-toggle-wrap .full-text { display: none; }
        .text-toggle-wrap.open .short-text { display: none; }
        .text-toggle-wrap.open .full-text { display: block; }
        
        .text-toggle-btn {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin-top: 10px;
            color: var(--primary-color);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            font-family: var(--font-family);
        }
        .text-toggle-btn i { transition: transform 0.3s ease; }
        .text-toggle-wrap.open .text-toggle-btn i { transform: rotate(180deg); }

        /* === استایل مودال ثبت نظر === */
        .nn-review-modal-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            z-index: 999999;
            display: none;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            padding: 20px;
        }
        .nn-review-modal-overlay.active {
            display: flex;
            opacity: 1;
        }
        .nn-review-modal-box {
            background: #fff;
            border-radius: 20px;
            width: 100%;
            max-width: 600px;
            padding: 30px 25px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
            position: relative;
            transform: translateY(20px);
            transition: transform 0.3s ease;
            max-height: 90vh;
            overflow-y: auto;
        }
        .nn-review-modal-overlay.active .nn-review-modal-box {
            transform: translateY(0);
        }
        .nn-review-modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #f5f5f5;
            border: none;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #888;
            cursor: pointer;
            transition: 0.2s;
        }
        .nn-review-modal-close:hover { background: #eee; color: #333; }
        .nn-review-modal-box h3 {
            font-size: 20px;
            font-weight: 700;
            color: #222;
            margin-bottom: 20px;
            text-align: center;
        }

        .review-rating-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #f0f0f0;
        }
        .review-rating-row:last-of-type { border-bottom: none; }
        .review-rating-row span { font-size: 14px; color: #333; font-weight: 500; }
        .star-group {
            display: flex;
            gap: 4px;
        }
        .star-group i {
            font-size: 20px;
            color: #e0e0e0;
            cursor: pointer;
            transition: color 0.2s;
        }
        .star-group i.active { color: #f4c150; }
        .star-group i:hover, .star-group i:hover ~ i { color: #f4c150; }

        .review-textarea-group {
            margin-top: 20px;
        }
        .review-textarea-group textarea {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #e2e5ea;
            border-radius: 10px;
            font-family: var(--font-family);
            font-size: 14px;
            outline: none;
            resize: vertical;
            min-height: 100px;
            background: #fff;
        }
        .review-textarea-group textarea:focus { border-color: var(--primary-color); }
        
        .btn-submit-review {
            width: 100%;
            padding: 14px;
            margin-top: 15px;
            background: var(--primary-color);
            color: #fff;
            border: none;
            border-radius: 10px;
            font-family: var(--font-family);
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.2s;
        }
        .btn-submit-review:hover { background: #2b6cb0; }

        /* === استایل مودال نقشه مسیریابی === */
        .nn-map-modal-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            z-index: 999999;
            display: none;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            padding: 20px;
        }
        .nn-map-modal-overlay.active {
            display: flex;
            opacity: 1;
        }
        .nn-map-modal-box {
            background: #fff;
            border-radius: 20px;
            width: 100%;
            max-width: 650px;
            padding: 25px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
            position: relative;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }
        .nn-map-modal-overlay.active .nn-map-modal-box {
            transform: translateY(0);
        }
        .nn-map-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        .nn-map-modal-header h4 {
            font-size: 18px;
            font-weight: 700;
            color: #222;
            margin: 0;
        }
        .nn-map-modal-close {
            background: #f5f5f5;
            border: none;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #888;
            cursor: pointer;
            transition: 0.2s;
        }
        .nn-map-modal-close:hover { background: #eee; color: #333; }
        
        #mapModalContainer {
            height: 350px;
            width: 100%;
            border-radius: 12px;
            border: 1px solid #e2e5ea;
            z-index: 1;
        }
        
        .nn-map-modal-actions {
            display: flex;
            justify-content: flex-end;
            margin-top: 15px;
        }
        .btn-navigate {
            background: var(--primary-color);
            color: #fff;
            border: none;
            padding: 10px 30px;
            border-radius: 10px;
            font-family: var(--font-family);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .btn-navigate:hover { background: #2b6cb0; }

        /* === ریسپانسیو موبایل === */
        @media (max-width: 991px) {
            .doctor-profile-layout {
                display: flex;
                flex-direction: column;
                gap: 20px;
            }
            .profile-sidebar {
                position: static !important;
                top: unset !important;
                max-height: none !important;
                overflow-y: visible !important;
                order: 1;
            }
            .profile-content-area { order: 2; } 
            
            .profile-sidebar-card .doc-summary {
                flex-direction: row;
                text-align: right;
                align-items: flex-start;
                gap: 15px;
            }
            .profile-sidebar-card .doc-summary img {
                width: 70px;
                height: 70px;
                margin-bottom: 0;
            }
            .profile-sidebar, 
            .profile-content-area {
                width: 100% !important;
                flex: 1 1 100% !important;
                max-width: 100% !important;
                box-sizing: border-box !important;
            }
            .address-item .btn-addr-book { align-self: flex-end; width: auto; }
            .peer-reviews-grid { grid-template-columns: 1fr 1fr; }
            .btn-review-actions { flex-direction: column; }
            
            /* مودال ثبت نظر در موبایل تمام صفحه */
            .nn-review-modal-overlay { padding: 0; align-items: stretch; }
            .nn-review-modal-box {
                width: 100%;
                max-width: 100%;
                border-radius: 0;
                max-height: 100vh;
                padding: 20px;
                transform: translateY(0);
            }
            .nn-review-modal-close { top: 10px; right: 10px; }

            /* مودال نقشه در موبایل */
            .nn-map-modal-overlay { padding: 0; align-items: stretch; }
            .nn-map-modal-box {
                width: 100%;
                max-width: 100%;
                border-radius: 0;
                padding: 15px;
                max-height: 100vh;
                transform: translateY(0);
            }
            #mapModalContainer { height: 60vh; }
            .nn-map-modal-actions { justify-content: center; }
            
        }
        @media (max-width: 480px) {
            .peer-reviews-grid { grid-template-columns: 1fr; }
            .profile-banner { flex-direction: column; text-align: center; }
        }

        /* تنظیمات اختصاصی امتیازات در پروفایل (دقیقاً مثل صفحه پزشکان) */
        .profile-sidebar-card .rating {
            display: flex;
            flex-wrap: wrap; /* اگر فضای کافی نباشد، عناصر به خط بعد می‌روند */
            gap: 8px 15px;   /* فاصله بین "نظر" و "پیشنهاد" در حالت یک خط (افقی) */
            margin-top: 8px; /* فاصله از نام و تخصص پزشک */
        }

        /* تنظیم یک ستاره طلایی */
        .profile-sidebar-card .rating .stars {
            color: #f4c150 !important;
        }

        /* اصلاح آیکون لایک (حذف پس‌زمینه و تنظیم سایز دقیق) */
        .profile-sidebar-card .rating .rating-suggestion img {
            width: 16px !important;
            height: 16px !important;
            display: inline-block !important;
            vertical-align: middle !important;
            background: none !important;
            border: none !important;
            margin: 0 !important;
        }

        /* ----- تنظیمات موبایل‌های خیلی کوچک (زیر ۴۰۰ پیکسل) ----- */
        @media (max-width: 400px) {
            .profile-sidebar-card .rating {
                flex-direction: column !important; /* تبدیل به دو خط عمودی */
                align-items: flex-start !important; /* در حالت RTL یعنی سمت راست */
                gap: 6px !important; /* فاصله عمودی بین دو خط در موبایل کوچک */
            }
            
            .profile-sidebar-card .rating .rating-main {
                font-size: 12px !important;
                gap: 4px !important;
            }
            
            .profile-sidebar-card .rating .rating-suggestion {
                font-size: 12px !important;
                align-items: flex-start !important;
            }
            
            .profile-sidebar-card .rating .rating-suggestion img {
                width: 14px !important;
                height: 14px !important;
            }
        }
        /* === متغیر رنگ جدید (زرد تیره به جای آبی) === */
        :root {
            --primary-yellow: #D4A017; /* زرد تیره/طلایی */
            --primary-yellow-dark: #B8860B; /* زرد تیره‌تر برای هاور */
            --primary-yellow-light: #FFF3CD; /* برای پس‌زمینه‌های روشن */
        }

        /* === استایل‌های اختصاصی صفحه داشبورد === */
        .dashboard-page-section {
            padding: 30px 0;
            background-color: #eff1f3;
            min-height: calc(100vh - 150px);
        }

        /* --- انتخاب نقش (تب‌ها) --- */
        .role-selector-wrap {
            background: #fff;
            border-radius: 12px;
            border: 1px solid #f0f0f0;
            padding: 20px;
            margin-bottom: 25px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
        }
        .role-selector-wrap .section-title {
            font-size: 16px;
            margin-bottom: 15px;
            color: #222;
        }
        .role-tabs {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        .role-tab {
            padding: 10px 24px;
            border-radius: 30px;
            border: 2px solid #e2e5ea;
            background: #fff;
            font-family: var(--font-family);
            font-size: 14px;
            font-weight: 600;
            color: #555;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .role-tab:hover {
            border-color: var(--primary-yellow);
            color: var(--primary-yellow);
        }
        .role-tab.active {
            background: var(--primary-yellow);
            color: #fff;
            border-color: var(--primary-yellow);
        }

        /* --- چیدمان اصلی دسکتاپ (سایدبار + محتوا) --- */
        .dashboard-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 25px;
            align-items: start;
        }

        /* --- سایدبار دسکتاپ --- */
        .dashboard-sidebar {
            background: #fff;
            border-radius: 12px;
            border: 1px solid #f0f0f0;
            padding: 20px 15px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
            position: sticky;
            top: 80px;
            align-self: start;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        .dashboard-sidebar .sidebar-title {
            font-size: 14px;
            font-weight: 700;
            color: #222;
            padding: 10px 5px 15px;
            border-bottom: 2px solid #f0f0f0;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .dashboard-sidebar .sidebar-title i { color: var(--primary-yellow); }
        .dashboard-sidebar .menu-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 15px;
            border-radius: 10px;
            color: #555;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none;
        }
        .dashboard-sidebar .menu-item i {
            width: 20px;
            color: #888;
            transition: color 0.2s;
        }
        .dashboard-sidebar .menu-item:hover {
            background: var(--primary-yellow-light);
            color: var(--primary-yellow);
        }
        .dashboard-sidebar .menu-item:hover i {
            color: var(--primary-yellow);
        }
        .dashboard-sidebar .menu-item.active {
            background: var(--primary-yellow-light);
            color: var(--primary-yellow);
            border-right: 3px solid var(--primary-yellow);
        }
        .dashboard-sidebar .menu-item.active i {
            color: var(--primary-yellow);
        }

        /* --- محتوای اصلی --- */
        .dashboard-content {
            background: #fff;
            border-radius: 12px;
            border: 1px solid #f0f0f0;
            padding: 25px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
            min-height: 400px;
        }
        .dashboard-content .content-panel {
            display: none;
        }
        .dashboard-content .content-panel.active {
            display: block;
        }
        .dashboard-content .panel-title {
            font-size: 20px;
            font-weight: 700;
            color: #222;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .dashboard-content .panel-title i { color: var(--primary-yellow); }
        .dashboard-content .panel-body {
            font-size: 14px;
            color: #555;
            line-height: 1.8;
        }

        /* --- دکمه همبرگر موبایل برای سایدبار --- */
        .mobile-sidebar-toggle {
            display: none;
            background: #fff;
            border: 1px solid #f0f0f0;
            border-radius: 10px;
            padding: 12px 18px;
            margin-bottom: 15px;
            cursor: pointer;
            font-family: var(--font-family);
            font-size: 14px;
            font-weight: 600;
            color: #333;
            width: 100%;
            text-align: right;
            align-items: center;
            gap: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.03);
        }
        .mobile-sidebar-toggle i { color: var(--primary-yellow); font-size: 18px; }

        /* --- مودال سایدبار موبایل --- */
        .sidebar-mobile-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.4);
            backdrop-filter: blur(4px);
            z-index: 99999;
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .sidebar-mobile-overlay.open {
            display: block;
            opacity: 1;
        }
        .sidebar-mobile-panel {
            position: fixed;
            top: 0; right: -100%;
            width: 80%;
            max-width: 320px;
            height: 100%;
            background: #fff;
            z-index: 99999;
            transition: right 0.35s ease;
            box-shadow: -4px 0 15px rgba(0,0,0,0.1);
            padding: 20px;
            overflow-y: auto;
        }
        .sidebar-mobile-panel.open { right: 0; }
        .sidebar-mobile-panel .panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #f0f0f0;
        }
        .sidebar-mobile-panel .panel-header h4 {
            font-size: 18px;
            font-weight: 700;
            color: #222;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .sidebar-mobile-panel .panel-header h4 i { color: var(--primary-yellow); }
        .sidebar-mobile-panel .close-sidebar {
            font-size: 24px;
            color: #888;
            cursor: pointer;
            transition: 0.2s;
        }
        .sidebar-mobile-panel .close-sidebar:hover { color: #333; }

        .sidebar-mobile-panel .menu-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 15px !important;
            border-radius: 10px !important;
            color: #555 !important;
            font-size: 15px !important;
            font-weight: 500 !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
            border-bottom: 1px solid #f5f5f5 !important;
            font-family: var(--font-family) !important;
        }
        .sidebar-mobile-panel .menu-item:last-child {
            border-bottom: none !important;
        }
        .sidebar-mobile-panel .menu-item i {
            width: 22px !important;
            color: #888 !important;
            transition: color 0.2s !important;
            font-size: 16px !important;
        }
        .sidebar-mobile-panel .menu-item:hover {
            background: var(--primary-yellow-light) !important;
            color: var(--primary-yellow) !important;
            padding-right: 20px !important;
        }
        .sidebar-mobile-panel .menu-item:hover i {
            color: var(--primary-yellow) !important;
        }
        .sidebar-mobile-panel .menu-item.active {
            background: var(--primary-yellow-light) !important;
            color: var(--primary-yellow) !important;
            border-right: 3px solid var(--primary-yellow) !important;
        }
        .sidebar-mobile-panel .menu-item.active i {
            color: var(--primary-yellow) !important;
        }

        /* --- استایل‌های جدید برای پنل پزشک --- */
        .clinic-info-bar {
            background: #f8faff;
            padding: 12px 15px;
            border-radius: 10px;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: #333;
        }
        .clinic-info-bar i { color: var(--primary-color); }
        
        .dash-banner {
            background: linear-gradient(135deg, #1e2a47, #2c3e6b);
            color: #fff;
            padding: 20px 25px;
            border-radius: 12px;
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
        }
        .dash-banner h4 { font-size: 18px; margin: 0; }
        .dash-banner p { font-size: 13px; opacity: 0.9; margin: 5px 0 0; }

        .filter-toolbar {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
            margin-bottom: 20px;
            padding: 12px 0;
            border-bottom: 1px solid #f0f0f0;
            border-top: 1px solid #f0f0f0;
        }
        .filter-toolbar .search-input {
            flex: 1;
            padding: 10px 15px;
            border: 1px solid #e2e5ea;
            border-radius: 8px;
            font-family: var(--font-family);
            font-size: 13px;
            outline: none;
            background: #fff;
            min-width: 200px;
        }
        .filter-toolbar .search-input:focus { border-color: var(--primary-color); }
        .filter-toolbar .filter-btn, 
        .filter-toolbar .sort-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 15px;
            border: 1px solid #e2e5ea;
            border-radius: 8px;
            background: #fff;
            font-family: var(--font-family);
            font-size: 13px;
            color: #555;
            cursor: pointer;
            transition: 0.2s;
        }
        .filter-toolbar .filter-btn:hover, 
        .filter-toolbar .sort-btn:hover {
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        .toggle-switch-wrap {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 13px;
            color: #555;
        }
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 40px;
            height: 22px;
        }
        .toggle-switch input { opacity: 0; width: 0; height: 0; }
        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 22px;
        }
        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        input:checked + .toggle-slider {
            background-color: var(--primary-yellow);
        }
        input:checked + .toggle-slider:before {
            transform: translateX(18px);
        }

        .data-table-wrapper {
            overflow-x: auto;
            border-radius: 8px;
            border: 1px solid #f0f0f0;
        }
        .data-table {
            width: 100%;
            border-collapse: collapse;
            min-width: 800px;
        }
        .data-table th, .data-table td {
            padding: 14px 12px;
            text-align: right;
            border-bottom: 1px solid #f0f0f0;
            font-size: 13px;
            white-space: nowrap;
        }
        .data-table th {
            background: #f8faff;
            color: #333;
            font-weight: 600;
        }
        .data-table tr:hover { background: #f9f9f9; }
        .data-table td .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }
        .status-badge.green { background: #e8f5e9; color: #2e7d32; }
        .status-badge.red { background: #ffebee; color: #c62828; }
        .status-badge.blue { background: #e3f2fd; color: #1565c0; }
        .data-table td .action-btn {
            background: transparent;
            border: none;
            color: #555;
            font-size: 18px;
            cursor: pointer;
            padding: 5px;
            border-radius: 5px;
            transition: 0.2s;
        }
        .data-table td .action-btn:hover { background: #f0f0f0; }
        .data-table td .chat-btn {
            background: #fff;
            border: 1px solid #e2e5ea;
            color: var(--primary-color);
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 13px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .data-table td .chat-btn:hover { border-color: var(--primary-color); background: #f8faff; }

        /* مودال اکشن (سه نقطه) */
        .action-dropdown {
            position: relative;
            display: inline-block;
        }
        .action-dropdown-content {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: #fff;
            border: 1px solid #e2e5ea;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            min-width: 150px;
            z-index: 10;
            text-align: right;
            padding: 5px 0;
        }
        .action-dropdown.open .action-dropdown-content {
            display: block;
        }
        .action-dropdown-content a {
            display: block;
            padding: 8px 15px;
            font-size: 13px;
            color: #333;
            transition: 0.2s;
        }
        .action-dropdown-content a:hover { background: #f8faff; color: var(--primary-color); }

        /* کارت‌های آماری (داشبورد و تیکت) */
        .stats-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
            margin-bottom: 25px;
        }
        .stats-card {
            background: #fff;
            border-radius: 10px;
            padding: 20px;
            border: 1px solid #f0f0f0;
            display: flex;
            align-items: center;
            gap: 15px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.02);
        }
        .stats-card .stat-icon {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: #f0f4ff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: var(--primary-color);
        }
        .stats-card .stat-info h4 { font-size: 14px; margin: 0; color: #777; font-weight: 500; }
        .stats-card .stat-info p { font-size: 22px; margin: 5px 0 0; font-weight: 700; color: #222; }

        /* جزئیات بیمار */
        .patient-info-card {
            background: #f8faff;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
        }
        .patient-info-card h4 {
            font-size: 16px;
            font-weight: 700;
            color: #222;
            margin-bottom: 15px;
            border-bottom: 1px solid #e2e5ea;
            padding-bottom: 10px;
        }
        .patient-detail-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
        }
        .patient-detail-item .label { font-size: 12px; color: #777; }
        .patient-detail-item .value { font-size: 15px; font-weight: 600; color: #222; margin-top: 4px; }

        /* امور مالی */
        .financial-summary-box {
            background: #e8f5e9;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .financial-summary-box h4 { font-size: 15px; margin: 0; color: #1b5e20; }
        .financial-summary-box p { font-size: 22px; font-weight: 700; margin: 5px 0 0; color: #2e7d32; }

        /* تنظیمات حساب */
        .settings-section {
            margin-bottom: 25px;
            border: 1px solid #f0f0f0;
            border-radius: 10px;
            padding: 20px;
        }
        .settings-section h4 {
            font-size: 16px;
            font-weight: 700;
            color: #222;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .settings-section h4 i { color: var(--primary-yellow); }
        .settings-form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
        }
        .settings-form-group label {
            display: block;
            font-size: 13px;
            font-weight: 500;
            color: #333;
            margin-bottom: 5px;
        }
        .settings-form-group input, 
        .settings-form-group textarea,
        .settings-form-group select {
            width: 100%;
            padding: 10px 15px;
            border: 1px solid #e2e5ea;
            border-radius: 8px;
            font-family: var(--font-family);
            font-size: 13px;
            outline: none;
            background: #fff;
        }
        .settings-form-group input:focus, 
        .settings-form-group textarea:focus,
        .settings-form-group select:focus {
            border-color: var(--primary-color);
        }
        .settings-form-group textarea { resize: vertical; min-height: 80px; }
        .settings-radio-group {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            padding: 10px 0;
        }
        .settings-radio-group label {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 13px;
            color: #333;
            cursor: pointer;
        }
        .settings-radio-group input[type="radio"] { accent-color: var(--primary-yellow); }

        .doctor-avatar-upload {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 10px;
        }
        .doctor-avatar-upload img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #f0f0f0;
        }
        .doctor-avatar-upload .btn-upload {
            background: #fff;
            border: 1px solid #e2e5ea;
            padding: 8px 15px;
            border-radius: 8px;
            font-size: 13px;
            color: #555;
            cursor: pointer;
            font-family: var(--font-family);
        }

        /* ریسپانسیو */
        @media (max-width: 991px) {
            .dashboard-layout {
                grid-template-columns: 1fr;
            }
            .dashboard-sidebar {
                display: none;
            }
            .mobile-sidebar-toggle {
                display: flex;
            }
            .role-tabs {
                justify-content: center;
            }
            .role-tab {
                padding: 8px 18px;
                font-size: 13px;
            }
        }
        @media (max-width: 480px) {
            .role-tabs {
                flex-direction: column;
                align-items: stretch;
            }
            .role-tab {
                text-align: center;
            }
            .dashboard-content {
                padding: 15px;
            }
            .filter-toolbar {
                flex-direction: column;
                align-items: stretch;
            }
            .search-input { min-width: auto; }
            .dash-banner { flex-direction: column; align-items: flex-start; }
        }
        /* استایل دکمه‌های اصلی */
        .btn-primary-yellow {
            background: #D4A017 !important; /* رنگ زرد طلایی */
            color: #fff !important;
            border: none !important;
            padding: 10px 25px !important;
            border-radius: 8px !important;
            font-family: var(--font-family) !important;
            font-size: 14px !important;
            font-weight: 600 !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 10px rgba(212, 160, 23, 0.2);
        }
        .btn-primary-yellow:hover {
            background: #B8860B !important; /* زرد تیره‌تر برای هاور */
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(212, 160, 23, 0.3);
        }

        /* استایل دکمه‌های فیلتر و مرتب‌سازی */
        .filter-btn, .sort-btn {
            background: #fff !important;
            border: 1px solid #e2e5ea !important;
            border-radius: 8px !important;
            padding: 8px 15px !important;
            font-family: var(--font-family) !important;
            font-size: 13px !important;
            color: #555 !important;
            cursor: pointer !important;
            transition: 0.2s !important;
        }
        .filter-btn:hover, .sort-btn:hover {
            border-color: #D4A017 !important;
            color: #D4A017 !important;
            background: #FFF3CD !important;
        }

        /* استایل دکمه گفتگو (مشاوره تلفنی/متنی) */
        .chat-btn {
            background: #fff !important;
            border: 1px solid #e2e5ea !important;
            border-radius: 20px !important;
            padding: 6px 15px !important;
            font-size: 13px !important;
            font-family: var(--font-family) !important;
            color: #D4A017 !important;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            transition: 0.2s;
        }
        .chat-btn:hover {
            border-color: #D4A017 !important;
            background: #FFF3CD !important;
        }

        /* استایل دکمه آپلود عکس */
        .btn-upload {
            background: #fff !important;
            border: 1px solid #e2e5ea !important;
            border-radius: 8px !important;
            padding: 8px 15px !important;
            font-size: 13px !important;
            font-family: var(--font-family) !important;
            color: #555 !important;
            cursor: pointer !important;
            transition: 0.2s !important;
        }
        .btn-upload:hover {
            border-color: #D4A017 !important;
            color: #D4A017 !important;
        }
        /* استایل اصلی دسکتاپ (همان استایل اولیه و تمیز) */
        .dashboard-content {
            background: #fff;
            border-radius: 12px;
            border: 1px solid #f0f0f0;
            padding: 25px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
            min-height: 400px;
            overflow: visible; /* برگرداندن به حالت پیش‌فرض */
        }

        .data-table-wrapper {
            border-radius: 8px;
            border: 1px solid #f0f0f0;
            overflow: visible; /* برگرداندن به حالت پیش‌فرض */
        }

        /* جدول در دسکتاپ دقیقاً داخل باکس جا بگیرد */
        @media (min-width: 992px) {
            .data-table {
                width: 100% !important;
                min-width: 100% !important;
            }
            .data-table th, .data-table td {
                white-space: nowrap;
                padding: 12px;
            }
        }

        /* فقط در موبایل و تبلت (زیر 992 پیکسل) اسکرول افقی فعال شود */
        @media (max-width: 991px) {
            .dashboard-content,
            .data-table-wrapper {
                min-width: 0 !important;
                max-width: 100% !important;
                overflow-x: auto !important;
                -webkit-overflow-scrolling: touch;
                display: block;
                width: 100%;
            }
            
            /* تنظیم اسکرول‌بار موبایل */
            .data-table-wrapper::-webkit-scrollbar {
                height: 6px;
            }
            .data-table-wrapper::-webkit-scrollbar-thumb {
                background: #ccc;
                border-radius: 10px;
            }
            
            /* جدول در موبایل حداقل عرض مشخص داشته باشد تا اسکرول فعال شود */
            .data-table {
                min-width: 800px;
            }
            
            /* کوچک‌تر کردن فونت جدول در موبایل‌های خیلی کوچک */
            @media (max-width: 576px) {
                .data-table th, .data-table td {
                    padding: 10px 8px;
                    font-size: 12px;
                }
            }
        }
        /* باکس انتخاب پزشک/مرکز */
        .clinic-select-box {
            background: #f8faff;
            border-radius: 12px;
            padding: 20px;
            border: 1px solid #e2e5ea;
            margin-bottom: 20px;
        }
        .clinic-select-box h4 {
            font-size: 16px;
            font-weight: 700;
            color: #333;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .clinic-select-box h4 i { color: var(--primary-color); }
        .clinic-select-box p {
            font-size: 13px;
            color: #777;
            margin-bottom: 15px;
        }

        /* لیست کارت‌های پزشک */
        .doctor-list-cards {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 15px;
        }
        .doctor-select-card {
            background: #fff;
            border-radius: 10px;
            padding: 15px;
            text-align: center;
            border: 1px solid #f0f0f0;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.03);
        }
        .doctor-select-card:hover {
            border-color: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0,0,0,0.06);
        }
        .doctor-select-card img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 10px;
            border: 3px solid #f0f4ff;
        }
        .doctor-select-card h5 {
            font-size: 13px;
            font-weight: 700;
            color: #222;
            margin: 0 0 3px;
        }
        .doctor-select-card span {
            font-size: 11px;
            color: #777;
        }
        /* ------------------ استایل‌های پنل مراجع ------------------ */
        /* فرم اطلاعات کاربری */
        .patient-form {
            max-width: 700px;
            margin: 0 auto;
        }
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }
        .form-group label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: #333;
            margin-bottom: 6px;
        }
        .form-group label span { color: #e74c3c; }
        .form-group input, 
        .form-group select {
            width: 100%;
            padding: 10px 14px;
            border: 1px solid #e2e5ea;
            border-radius: 8px;
            font-family: var(--font-family);
            font-size: 14px;
            color: #333;
            background: #fff;
            outline: none;
        }
        .form-group input:focus, .form-group select:focus { border-color: var(--primary-color); }
        /* اصلاح ساختار شماره موبایل (۹۸ در چپ، شماره در راست) */
        .form-group .mobile-input-group {
            display: flex;
            direction: ltr; /* این خط باعث می‌شود ۹۸ به سمت چپ برود */
            border: 1px solid #e2e5ea;
            border-radius: 8px;
            overflow: hidden;
        }
        .form-group .mobile-input-group span.prefix {
            background: #f8faff;
            padding: 0 12px;
            display: flex;
            align-items: center;
            border-right: 1px solid #e2e5ea; /* خط جداکننده بین ۹۸ و شماره */
            font-size: 13px;
            color: #333;
        }
        .form-group .mobile-input-group input {
            border: none;
            border-radius: 0;
            text-align: right; /* شماره موبایل در سمت راست (نزدیک به کاربر) تایپ می‌شود */
            direction: rtl; /* برای درست نمایش داده شدن اعداد فارسی/انگلیسی */
            width: 100%;
        }
        .submit-form-btn {
            width: 100%;
            background: var(--primary-yellow);
            color: #fff;
            border: none;
            padding: 12px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            transition: 0.2s;
        }
        .submit-form-btn:hover { background: var(--primary-yellow-dark); }

        /* تب‌های نوبت‌ها */
        .appointment-tabs {
            display: flex;
            gap: 5px;
            border-bottom: 1px solid #f0f0f0;
            margin-bottom: 20px;
            overflow-x: auto;
        }
        .appointment-tab {
            padding: 10px 20px;
            font-size: 14px;
            color: #777;
            cursor: pointer;
            white-space: nowrap;
            border-bottom: 2px solid transparent;
            transition: 0.2s;
        }
        .appointment-tab.active {
            color: var(--primary-yellow);
            border-bottom-color: var(--primary-yellow);
            font-weight: 600;
        }

        /* کارت‌های نوبت */
        .appointment-list { display: flex; flex-direction: column; gap: 20px; }
        .appointment-card {
            border: 1px solid #f0f0f0;
            border-radius: 12px;
            padding: 20px;
            position: relative;
            transition: 0.2s;
        }
        .appointment-card:hover { border-color: var(--primary-yellow); box-shadow: 0 4px 12px rgba(212,160,23,0.08); }
        .appointment-card .doc-info {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px dashed #e2e5ea;
        }
        .appointment-card .doc-img {
            width: 60px; height: 60px;
            border-radius: 50%;
            background: #f0f4ff;
            display: flex; align-items: center; justify-content: center;
            color: var(--primary-color); font-size: 24px;
        }
        .appointment-card .doc-info h3 { font-size: 16px; font-weight: 700; margin: 0 0 5px; color: #222; }
        .appointment-card .doc-info span { font-size: 13px; color: #777; }
        .appointment-card .details-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 10px;
            margin-bottom: 15px;
        }
        .appointment-card .detail-item .label { font-size: 11px; color: #999; }
        .appointment-card .detail-item .value { font-size: 14px; font-weight: 600; color: #333; margin-top: 2px; }
        .appointment-card .card-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #f0f0f0;
            padding-top: 15px;
        }
        .btn-outline-yellow {
            background: #fff;
            border: 1px solid var(--primary-yellow);
            color: var(--primary-yellow);
            padding: 8px 20px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.2s;
        }
        .btn-outline-yellow:hover { background: var(--primary-yellow-light); }
        .btn-secondary-outline {
            background: #fff;
            border: 1px solid #ccc;
            color: #555;
            padding: 8px 20px;
            border-radius: 8px;
            font-size: 13px;
            cursor: pointer;
            transition: 0.2s;
        }
        .btn-secondary-outline:hover { border-color: #333; color: #333; }

        /* جزئیات نوبت */
        .appointment-detail-box { padding: 20px; }
        .appointment-detail-header {
            display: flex;
            align-items: center;
            gap: 15px;
            padding-bottom: 20px;
            border-bottom: 1px solid #f0f0f0;
            margin-bottom: 20px;
        }
        .appointment-detail-header .doc-img {
            width: 70px; height: 70px;
            background: #f0f4ff; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 30px; color: var(--primary-color);
        }
        .detail-section-title { font-size: 15px; font-weight: 700; color: #222; margin: 20px 0 10px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f0; }
        .detail-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 20px; }
        .payment-summary-list { margin-top: 10px; }
        .payment-summary-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed #e2e5ea; font-size: 13px; }
        .payment-summary-item.total { font-weight: 700; font-size: 15px; border-bottom: none; padding-top: 15px; }
        .payment-summary-item span:first-child { color: #777; }

        /* کیف پول */
        .wallet-box { max-width: 500px; margin: 0 auto; text-align: center; }
        .wallet-box h3 { font-size: 16px; color: #555; margin-bottom: 10px; }
        .wallet-balance { font-size: 42px; font-weight: 800; color: #333; margin-bottom: 20px; }
        .wallet-input-group { display: flex; justify-content: center; gap: 10px; margin-bottom: 15px; }
        .wallet-input-group input { width: 200px; padding: 10px; border: 1px solid #e2e5ea; border-radius: 8px; text-align: center; font-size: 14px; }
        .quick-amounts { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
        .quick-amount-btn { background: #fff; border: 1px solid #e2e5ea; padding: 5px 15px; border-radius: 8px; cursor: pointer; transition: 0.2s; }
        .quick-amount-btn:hover { border-color: var(--primary-yellow); color: var(--primary-yellow); }
        .payment-gateway-title { font-size: 13px; color: #777; margin-bottom: 10px; }
        .gateway-options { display: flex; justify-content: center; gap: 15px; margin-bottom: 20px; }
        .gateway-option { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
        .gateway-option input { accent-color: var(--primary-yellow); }
        .btn-pay { width: 100%; background: var(--primary-yellow); color: #fff; padding: 12px; border: none; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; transition: 0.2s; }
        .btn-pay:hover { background: var(--primary-yellow-dark); }
        .btn-add-gift-card { margin-top: 15px; color: var(--primary-yellow); font-size: 13px; font-weight: 600; background: none; border: none; cursor: pointer; }

        /* دعوت از دوستان */
        .invite-box { text-align: center; padding: 40px 20px; }
        .invite-gift-icon { font-size: 80px; color: #ddd; margin-bottom: 20px; }
        .invite-box h4 { font-size: 18px; color: #333; margin-bottom: 10px; }
        .invite-box p { font-size: 14px; color: #777; margin-bottom: 30px; }
        .invite-code-box {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            max-width: 350px;
            margin: 0 auto 20px;
        }
        .invite-code-box .code {
            flex: 1;
            background: #f8faff;
            border: 1px dashed #e2e5ea;
            border-radius: 8px;
            padding: 12px;
            font-size: 20px;
            font-weight: 700;
            letter-spacing: 2px;
            color: #333;
        }
        .btn-copy-code { background: var(--primary-yellow); color: #fff; border: none; padding: 12px 20px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 600; transition: 0.2s; }
        .btn-copy-code:hover { background: var(--primary-yellow-dark); }

        /* تراکنش‌ها */
        .transaction-list { display: flex; flex-direction: column; gap: 0; }
        .transaction-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 15px 0;
            border-bottom: 1px dashed #e2e5ea;
            font-size: 14px;
            color: #555;
        }
        .transaction-item input[type="checkbox"] { margin-top: 4px; accent-color: var(--primary-yellow); }
        .transaction-item .tx-text { line-height: 1.6; }
                /* اصلاح فونت دکمه‌های پنل مراجع */
        .patient-form .submit-form-btn,
        .appointment-card .btn-outline-yellow,
        .appointment-card .btn-secondary-outline,
        .appointment-card .view-details-link,
        .wallet-box .btn-pay,
        .wallet-box .quick-amount-btn,
        .wallet-box .btn-add-gift-card,
        .invite-box .btn-copy-code,
        .transaction-list button {
            font-family: var(--font-family) !important;
        }

        /* اصلاح فونت ورودی‌ها و لیبل‌های فرم */
        .patient-form input,
        .patient-form select,
        .patient-form label,
        .wallet-box input,
        .wallet-box h3,
        .invite-box p,
        .invite-box .code,
        .transaction-list .tx-text,
        .detail-item .label,
        .detail-item .value {
            font-family: var(--font-family);
        }

        /* ========================================================
           استایل‌های مدیریت نوبت پزشک - نسخه نهایی
           ======================================================== */

        /* --- کلاس‌های پایه فرم‌ها --- */
        .schedule-management-container .form-control {
            display: block !important;
            width: 100% !important;
            padding: 6px 12px !important;
            font-family: var(--font-family) !important;
            font-size: 13px !important;
            font-weight: 400 !important;
            line-height: 1.5 !important;
            color: #333 !important;
            background-color: #fff !important;
            border: 1px solid #ced4da !important;
            border-radius: 6px !important;
            transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
            box-shadow: none !important;
            min-height: 38px !important;
            height: auto !important;
        }
        .schedule-management-container .form-control:focus {
            border-color: var(--primary-color) !important;
            box-shadow: 0 0 0 3px rgba(65, 135, 255, 0.1) !important;
            outline: 0 !important;
        }
        .schedule-management-container .form-control[readonly] {
            background-color: #f8f9fa !important;
            opacity: 1 !important;
        }
        .schedule-management-container textarea.form-control {
            min-height: 80px !important;
            resize: vertical !important;
        }

        /* --- فیلدهای زمان (ساعت) با آیکون --- */
        .schedule-management-container .time-picker {
            background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>') no-repeat left 8px center !important;
            background-size: 16px !important;
            padding-right: 8px !important;
            padding-left: 32px !important;
            cursor: pointer !important;
            border: 1px solid #ced4da !important;
            border-radius: 6px !important;
            min-height: 38px !important;
        }
        .schedule-management-container .time-picker::-webkit-calendar-picker-indicator {
            opacity: 0 !important;
            width: 0 !important;
            height: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
            pointer-events: none !important;
            background: none !important;
        }
        .schedule-management-container .time-picker::-webkit-datetime-edit {
            padding: 0 4px !important;
            color: #333 !important;
        }
        .schedule-management-container .time-picker:hover {
            border-color: var(--primary-color) !important;
        }
        .schedule-management-container .time-picker:focus {
            border-color: var(--primary-color) !important;
            box-shadow: 0 0 0 3px rgba(65, 135, 255, 0.1) !important;
        }

        /* --- تب‌ها --- */
        .schedule-tabs {
            display: flex;
            gap: 8px;
            margin-bottom: 20px;
            border-bottom: 2px solid var(--gray-200);
            padding-bottom: 8px;
            flex-wrap: wrap;
        }
        .schedule-tab {
            padding: 8px 20px;
            border-radius: 30px;
            background: var(--gray-100);
            color: var(--gray-600);
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            border: none;
            transition: all 0.2s;
            font-family: var(--font-family) !important;
        }
        .schedule-tab:hover {
            background: var(--primary-light);
            color: var(--primary-color);
        }
        .schedule-tab.active {
            background: var(--primary-color);
            color: #fff;
        }

        /* --- کارت روزهای هفته --- */
        .weekly-schedule-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
            margin-bottom: 15px;
        }
        .schedule-day-card {
            background: var(--white);
            border: 1px solid #0090f6;
            border-radius: 12px;
            padding: 15px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.02);
        }
        .schedule-day-card h5 {
            font-size: 14px;
            font-weight: 600;
            color: var(--gray-800);
            margin-bottom: 10px;
            border-bottom: 1px solid var(--gray-200);
            padding-bottom: 6px;
            font-family: var(--font-family);
        }
        .day-hours {
            display: flex;
            flex-direction: column;
            gap: 6px;
            margin-bottom: 10px;
        }
        .day-hours .time-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 6px;
            font-size: 13px;
            color: var(--gray-600);
            font-family: var(--font-family);
        }
        .day-hours .time-row .form-control {
            width: 110px !important;
        }
        .day-settings {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            font-size: 13px;
            color: var(--gray-600);
            font-family: var(--font-family);
            margin-top: 8px;
        }
        .day-settings label {
            display: flex;
            align-items: center;
            gap: 4px;
            cursor: pointer;
            font-family: var(--font-family);
            font-size: 12px;
        }
        .day-settings input[type="checkbox"] {
            accent-color: var(--primary-color);
            width: 16px;
            height: 16px;
        }
        .day-settings input[type="number"].form-control {
            width: 60px !important;
            padding: 2px 6px !important;
            min-height: 30px !important;
            text-align: center;
        }

        /* --- دکمه‌ها --- */
        .schedule-management-container .btn-primary-yellow {
            background: #D4A017 !important;
            color: #fff !important;
            border: none !important;
            padding: 8px 20px !important;
            border-radius: 8px !important;
            font-family: var(--font-family) !important;
            font-size: 13px !important;
            font-weight: 600 !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
            min-height: 38px !important;
        }
        .schedule-management-container .btn-primary-yellow:hover {
            background: #B8860B !important;
            transform: translateY(-2px);
        }
        .schedule-management-container .btn-secondary-outline {
            background: #fff !important;
            border: 1px solid var(--gray-300) !important;
            color: var(--gray-600) !important;
            padding: 8px 20px !important;
            border-radius: 8px !important;
            font-family: var(--font-family) !important;
            font-size: 13px !important;
            font-weight: 500 !important;
            cursor: pointer !important;
            transition: all 0.2s !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
            min-height: 38px !important;
        }
        .schedule-management-container .btn-secondary-outline:hover {
            border-color: var(--primary-color) !important;
            color: var(--primary-color) !important;
        }
        .schedule-management-container .btn-danger-sm {
            background: #dc3545 !important;
            color: #fff !important;
            border: none !important;
            padding: 4px 12px !important;
            border-radius: 6px !important;
            font-family: var(--font-family) !important;
            font-size: 12px !important;
            font-weight: 500 !important;
            cursor: pointer !important;
            transition: background 0.2s !important;
        }
        .schedule-management-container .btn-danger-sm:hover {
            background: #bd2130 !important;
        }

        /* --- فیلترها و فرم استثناها --- */
        .schedule-management-container .filter-item {
            display: inline-flex !important;
            align-items: center !important;
            gap: 8px !important;
            flex-wrap: nowrap !important;
            margin-bottom: 0 !important;
        }
        .schedule-management-container .filter-item label {
            font-family: var(--font-family);
            font-size: 13px;
            color: var(--gray-600);
            font-weight: 500;
            margin: 0;
            white-space: nowrap;
        }
        .schedule-management-container .filter-item .form-control {
            width: auto !important;
            min-width: 120px !important;
        }
        .exceptions-form {
            display: flex !important;
            flex-wrap: wrap !important;
            gap: 12px !important;
            align-items: center !important;
            padding: 15px !important;
            background: var(--gray-100) !important;
            border-radius: 10px !important;
            margin-bottom: 15px !important;
        }
        #exceptionTimeFields {
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
            flex-wrap: nowrap !important;
        }
        #exceptionTimeFields .form-control {
            width: 100px !important;
        }
        #exceptionTimeFields span {
            color: var(--gray-600);
            font-size: 13px;
        }

        /* --- اسلات‌های گرافیکی --- */
        .slots-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 12px;
            margin-top: 10px;
        }
        .slot-card {
            background: var(--white);
            border: 1px solid var(--gray-200);
            border-radius: 10px;
            padding: 12px;
            text-align: center;
            transition: all 0.2s;
            font-family: var(--font-family);
            cursor: default;
        }
        .slot-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.06);
        }
        .slot-card.available {
            border: 1px solid #28a745;
        }
        .slot-card.booked {
            border: 1px solid #dc3545;
        }
        .slot-time {
            font-size: 14px;
            font-weight: 600;
            color: var(--gray-800);
        }
        .slot-status {
            margin-top: 4px;
        }
        .slot-patient {
            margin-top: 4px;
            font-size: 12px;
            color: var(--gray-600);
        }

        /* --- تب ثبت نوبت جدید --- */
        #new-appointment .form-group {
            margin-bottom: 18px;
        }
        #new-appointment .form-group label {
            display: block;
            font-family: var(--font-family);
            font-size: 13px;
            font-weight: 600;
            color: var(--gray-800);
            margin-bottom: 6px;
        }
        #new-appointment .form-group .required {
            color: #dc3545;
        }

        /* --- استایل Select2 --- */
        .schedule-management-container .select2-container--default .select2-selection--single {
            height: 38px !important;
            padding: 0 12px !important;
            border: 1px solid #ced4da !important;
            border-radius: 6px !important;
            background-color: #fff !important;
            display: flex !important;
            align-items: center !important;
        }
        .schedule-management-container .select2-container--default .select2-selection--single .select2-selection__rendered {
            font-family: var(--font-family) !important;
            font-size: 13px !important;
            color: #333 !important;
            line-height: 36px !important;
            padding-right: 0 !important;
            text-align: right !important;
        }
        .schedule-management-container .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 36px !important;
            width: 30px !important;
            left: 5px !important;
            right: auto !important;
        }
        .schedule-management-container .select2-dropdown {
            border: 1px solid #ced4da !important;
            border-radius: 6px !important;
        }
        .schedule-management-container .select2-results__option {
            font-family: var(--font-family) !important;
            font-size: 13px !important;
            padding: 8px 14px !important;
        }

        /* --- رسپانسیو --- */
        @media (max-width: 768px) {
            .schedule-tabs {
                overflow-x: auto;
                flex-wrap: nowrap;
                -webkit-overflow-scrolling: touch;
            }
            .schedule-tab {
                font-size: 12px;
                padding: 6px 14px;
                white-space: nowrap;
            }
            .weekly-schedule-grid {
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }
            .schedule-day-card {
                padding: 10px;
            }
            .day-hours .time-row .form-control {
                width: 100% !important;
            }
            .slots-grid {
                grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            }
            .exceptions-form {
                flex-direction: column;
                align-items: stretch;
            }
            .exceptions-form .filter-item {
                width: 100%;
                flex-wrap: wrap !important;
            }
            .exceptions-form .filter-item .form-control {
                width: 100% !important;
                min-width: 0 !important;
            }
            #exceptionTimeFields {
                flex-wrap: wrap !important;
            }
            #exceptionTimeFields .form-control {
                width: 100% !important;
            }
            .schedule-management-container .filter-item {
                width: 100%;
                flex-wrap: wrap !important;
            }
            .schedule-management-container .filter-item label {
                white-space: normal;
                width: 100%;
            }
            .schedule-management-container .filter-item .form-control {
                width: 100% !important;
                min-width: 0 !important;
            }
            #new-appointment {
                padding: 0 10px;
            }
            .schedule-management-container .time-picker {
                width: 100% !important;
                background-position: left 8px center !important;
            }
        }
        @media (max-width: 480px) {
            .weekly-schedule-grid {
                grid-template-columns: 1fr;
            }
        }
        @media (min-width: 992px) {
            .dashboard-layout {
                grid-template-columns: 280px 1fr !important;
                gap: 30px !important;
            }
            .dashboard-content {
                padding: 30px !important;
            }
            .weekly-schedule-grid {
                grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
                gap: 20px !important;
            }
            .slots-grid {
                grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
                gap: 16px !important;
            }
        }

        /* استایل پنل‌های مخفی */
        .content-panel {
            display: none;
        }
        .content-panel.active {
            display: block;
        }
        .role-content {
            display: none;
        }
        .role-content.active {
            display: block;
        }
        .sidebar-menu .menu-item {
            cursor: pointer;
            padding: 12px 15px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            gap: 12px;
            color: #555;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s ease;
            border-right: 3px solid transparent;
        }
        .sidebar-menu .menu-item:hover {
            background: var(--primary-yellow-light);
            color: var(--primary-yellow);
        }
        .sidebar-menu .menu-item.active {
            background: var(--primary-yellow-light);
            color: var(--primary-yellow);
            border-right: 3px solid var(--primary-yellow);
        }
        .sidebar-menu .menu-item i {
            width: 20px;
            color: #888;
        }
        .sidebar-menu .menu-item.active i {
            color: var(--primary-yellow);
        }

        /* استایل Select2 برای پنل کاربری */
        .dashboard-content .select2-container--default .select2-selection--single {
            height: 38px !important;
            border: 1px solid #ced4da !important;
            border-radius: 6px !important;
            background-color: #fff !important;
            display: flex !important;
            align-items: center !important;
        }
        .dashboard-content .select2-container--default .select2-selection--single .select2-selection__rendered {
            font-family: var(--font-family) !important;
            font-size: 13px !important;
            color: #333 !important;
            line-height: 36px !important;
            padding-right: 0 !important;
            text-align: right !important;
        }
        .dashboard-content .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 36px !important;
            width: 30px !important;
            left: 5px !important;
            right: auto !important;
        }
        .dashboard-content .select2-dropdown {
            border: 1px solid #ced4da !important;
            border-radius: 6px !important;
        }
        .dashboard-content .select2-results__option {
            font-family: var(--font-family) !important;
            font-size: 13px !important;
            padding: 8px 14px !important;
        }
        .dashboard-content .select2-results__option--highlighted {
            background-color: #f8faff !important;
            color: var(--primary-color) !important;
        }

        .schedule-management-container {
            padding: 0 !important;
            margin: 0 !important;
            overflow-x: hidden !important;
        }

.header-left-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}
        

/* Keep native Chrome time inputs inside the appointment-management mobile layout. */
@media (max-width: 991px) {
    [data-doctor-panel] .dashboard-layout:has(#panel-schedule-management) {
        grid-template-columns: minmax(0, 1fr);
    }
    #panel-schedule-management,
    #panel-schedule-management .schedule-management-container,
    #panel-schedule-management .schedule-panel,
    #panel-schedule-management .schedule-day-card,
    #panel-schedule-management .day-hours,
    #panel-schedule-management .time-row {
        min-width: 0;
        max-width: 100%;
    }
    #panel-schedule-management .form-control,
    #panel-schedule-management .select2-container {
        min-width: 0;
        max-width: 100%;
    }
    #panel-schedule-management .time-row > .time-picker {
        flex: 1 1 0;
        width: 0 !important;
        min-width: 0 !important;
    }
    #panel-schedule-management .time-row > span {
        flex: 0 0 auto;
    }
}
@media (max-width: 768px) {
    #panel-schedule-management .weekly-schedule-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #panel-schedule-management .schedule-tabs {
        min-width: 0;
        max-width: 100%;
    }
    #panel-schedule-management .schedule-tab {
        flex-shrink: 0;
    }
}
@media (max-width: 480px) {
    #panel-schedule-management .weekly-schedule-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Keep the public header visible beyond its Livewire persist wrapper. */
[x-persist="site-header"] {
    height: 55px;
}
[x-persist="site-header"] > .header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
}

/* Keep the blog filters stationary so hovering their edge cannot pulse the glow. */
.blog-page-section .category-filter-wrap a {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.blog-page-section .category-filter-wrap a:hover,
.blog-page-section .category-filter-wrap a.active {
    transform: none;
    box-shadow: none;
}
