
@font-face {
  font-family: Vazirmatn;
  src: url('fonts/Vazirmatn-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

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

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

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

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

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

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

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

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Vazirmatn, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  overflow: hidden;
  position: relative;
  padding: 20px;
    font-family: Vazirmatn;
  background: url("images/bg-img-01.jpg") center center/cover no-repeat;

}

/* هاله نورانی پشت باکس برای تقویت حس شیشه‌ای */
.bg-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99,102,241,0.3) 0%, rgba(0,0,0,0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* باکس اصلی کریستالی */
.glass-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* منوی دکمه‌های تب */
.tab-menu {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* استایل دکمه‌ها */
.tab-btn {
  flex: 1;
  padding: 12px 8px;
  background: transparent;
  border: none;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

/* افکت هاور دکمه‌ها */
.tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* استایل تب فعال (بک‌گراند مشخص و واضح) */
.tab-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* کانتینر محتوا */
.tab-container {
  margin-top: 24px;
  min-height: 150px;
}

/* استایل متون داخل تب */
.tab-content {
  display: none;
  color: rgba(255, 255, 255, 0.85);
  animation: fadeIn 0.4s ease-in-out;
}

.tab-content h3 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.tab-content p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* نمایش تب فعال */
.tab-content.active {
  display: block;
}

/* انیمیشن نرم برای ظاهر شدن متن */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ریسپانسیو برای موبایل‌های کوچک */
@media (max-width: 480px) {
  .tab-menu {
    flex-direction: column;
    gap: 6px;
  }
  .tab-btn {
    padding: 10px;
    font-size: 0.9rem;
  }
}





.custom-dropdown {
  position: relative;
  width: 100%;
  max-width: 350px; /* در دسکتاپ محدود و در موبایل کامل رسپانسیو می‌شود */
  margin: auto;
  color: black;
}

.dropdown-select {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dropdown-select:hover {
  border-color: var(--primary-color);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 10;
  max-height: 300px;
  overflow: hidden;
}

/* نمایش منو هنگام فعال شدن */
.dropdown-menu.show {
  display: flex;
  flex-direction: column;
}

.search-box {
  padding: 8px;
  border-bottom: 1px solid var(--border-color);
}

.search-box input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  outline: none;
  box-sizing: border-box;
}

.search-box input:focus {
  border-color: var(--primary-color);
}

.options-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto; /* فعال کردن اسکرول برای گزینه‌های زیاد */
  max-height: 200px;
}

.options-list li {
  padding: 12px 16px;
  cursor: pointer;
  color: var(--text-color);
  transition: background 0.2s;
}

.options-list li:hover {
  background-color: #f3f4f6;
  color: var(--primary-color);
}

/* برای گزینه‌هایی که با سرچ همخوانی ندارند */
.options-list li.hidden {
  display: none;
}



/* ردیف اصلی: المان‌ها را کنار هم می‌چیند */
.row {
  display: flex;
  flex-wrap: wrap; /* اجازه می‌دهد در صورت کمبود جا، آیتم‌ها به خط بعد بروند (موبایل) */
  margin-right: -12px;
  margin-left: -12px;
  margin-top: 10px;
}

/* استایل پایه برای تمام ستون‌ها */
[class*="col-"] {
  box-sizing: border-box;
  padding-right: 12px;
  margin: auto;
  padding-left: 12px;
  margin-top: 10px;
  width: 100%; /* در حالت پیش‌فرض (موبایل) عرض کامل دارند تا زیر هم بیفتند */
}

/* تنظیمات عرض ستون‌ها برای دسکتاپ و تبلت (صفحه‌های بزرگتر از 768 پیکسل) */
@media (min-width: 768px) {
  .col-1  { width: 8.33%; }
  .col-2  { width: 16.66%; }
  .col-3  { width: 25%; }
  .col-4  { width: 33.33%; }
  .col-5  { width: 41.66%; }
  .col-6  { width: 50%; } /* نصف صفحه */
  .col-7  { width: 58.33%; }
  .col-8  { width: 66.66%; }
  .col-9  { width: 75%; }
  .col-10 { width: 83.33%; }
  .col-11 { width: 91.66%; }
  .col-12 { width: 100%; } /* کل صفحه */
}

.button-42 {
  background-color: initial;
  background-image: linear-gradient(-180deg, #FF7E31, #E62C03);
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  height: 40px;
  line-height: 40px;
  outline: 0;
  overflow: hidden;
  padding: 0 20px;
  pointer-events: auto;
  position: relative;
  text-align: center;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: top;
  white-space: nowrap;
  width: 100%;
  z-index: 9;
  border: 0;
  transition: box-shadow .2s;
}

.button-42:hover {
  box-shadow: rgba(253, 76, 0, 0.5) 0 3px 8px;
}

.button-87 {
  margin: 10px;
  padding: 15px 30px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  border-radius: 10px;
  display: block;
  border: 0px;
  font-weight: 700;
  box-shadow: 0px 0px 14px -7px #f09819;
  background-image: linear-gradient(45deg, #FF512F 0%, #F09819  51%, #FF512F  100%);
  cursor: pointer;
    width: 100%;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-87:hover {
  background-position: right center;
  /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

.button-87:active {
  transform: scale(0.95);
}

/* تنظیمات کلی لیست */
ul.wp-latest-posts {
    list-style: none; /* حذف نقطه مشکی پیش‌فرض */
    padding: 0;
    margin: 20px 0;
    font-family: 'Vazirmatn', 'Tahoma', sans-serif; /* استفاده از فونت استاندارد */
    direction: rtl; /* راست‌به‌چپ بودن متن */
}

/* استایل هر آیتم لیست */
ul.wp-latest-posts li {
    position: relative;
    padding-right: 25px; /* ایجاد فضا برای کاراکتر جایگزین */
    margin-bottom: 12px; /* فاصله بین مطالب */
    line-height: 1.6;
}

/* ساخت کاراکتر جایگزین به جای نقطه (پیکان ظریف) */
ul.wp-latest-posts li::before {
    content: "←"; /* کاراکتر پیکان ساده و شیک مدرن */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%); /* وسط‌چین کردن عمودی پیکان */
    color: #0073aa; /* رنگ پیکان (می‌تونی طبق تم سایتت عوض کنی) */
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease; /* انیمیشن نرم برای حرکت */
}

/* استایل لینک‌ها */
ul.wp-latest-posts li a {
    text-decoration: none; /* حذف خط زیر لینک */
  color: #fff;
      font-size: 15px;
    transition: color 0.2s ease;
    display: inline-block;
}

/* افکت هاور (وقتی موس روی کل آیتم یا لینک می‌رود) */
ul.wp-latest-posts li:hover::before {
    color: #ff5722; /* تغییر رنگ پیکان هنگام هاور */
    right: 5px; /* حرکت جزیی پیکان به سمت چپ (جلو) در متن فارسی */
}

ul.wp-latest-posts li a:hover {
    color: #ff5722; /* تغییر رنگ متن لینک هنگام هاور */
}