

@font-face {
    font-family: "Borna";
    src: url("../fonts/Borna-Regular.woff2") format("woff2"),
         url("../fonts/Borna-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Borna";
    src: url("../fonts/Borna-Bold.woff2") format("woff2"),
         url("../fonts/Borna-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }




*,
.navbar,
.btn,
input,
textarea,
select {
  font-family: "Borna", sans-serif !important;
}


.kiwi-footer-clean {
margin-top: 42px;
padding: 0 0 36px;
font-family: "Borna", sans-serif;
}

.kiwi-footer-box {
border-radius: 28px;
overflow: hidden;
background: linear-gradient(135deg, #063322, #0b4a32);
color: #fff;
box-shadow: 0 18px 45px rgba(11, 59, 46, 0.18);
border: 1px solid rgba(255,255,255,.12);
}

.footer-main {
display: flex;
justify-content: space-between;
align-items: center;
gap: 22px;
padding: 28px 30px 20px;
}

.footer-main h3 {
margin: 0 0 8px;
font-size: 1.55rem;
font-weight: 900;
}

.footer-main p {
margin: 0;
color: rgba(255,255,255,.76);
font-size: .92rem;
line-height: 2;
}

.footer-socials {
display: flex;
gap: 10px;
flex-shrink: 0;
}

.footer-socials a {
width: 46px;
height: 46px;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 1.25rem;
text-decoration: none;
background: rgba(255,255,255,.10);
border: 1px solid rgba(255,255,255,.14);
transition: .2s ease;
}

.footer-socials a:hover {
background: #39b36f;
transform: translateY(-3px);
}

.footer-links {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 10px;
padding: 16px 24px;
background: rgba(255,255,255,.06);
border-top: 1px solid rgba(255,255,255,.08);
}

.footer-links a {
color: rgba(255,255,255,.82);
text-decoration: none;
font-size: .84rem;
padding: 7px 14px;
border-radius: 999px;
background: rgba(255,255,255,.07);
transition: .2s ease;
}

.footer-links a:hover {
color: #fff;
background: rgba(57,179,111,.45);
}

.footer-copy {
text-align: center;
padding: 14px 20px 16px;
color: rgba(255,255,255,.58);
font-size: .78rem;
border-top: 1px solid rgba(255,255,255,.07);
}

@media (max-width: 768px) {
.footer-main {
flex-direction: column;
text-align: center;
padding: 26px 18px 18px;
}

.footer-socials {
justify-content: center;
}

.footer-links {
padding: 14px;
}
}



.kiwi-footer {
background: linear-gradient(135deg,#06281c,#0b3b2e);
color: #fff;
padding: 30px 0;
}
.footer-social .social-link {
display: flex;
justify-content: center;
align-items: center;
width: 44px;
height: 44px;
border-radius: 50%;
background: rgba(255,255,255,.1);
color: #fff;
font-size: 1.2rem;
transition: 0.25s;
}
.footer-social .social-link:hover {
background: #3bb273;
color: #fff;
}
.footer-copy {
color: rgba(255,255,255,.65);
font-size: .85rem;
margin-top: 12px;
}

:root {
  --kiwi-dark: #0b3b2e;
  --kiwi-green: #3bb273;
  --kiwi-light: #eafaf2;
  --kiwi-accent: #ffd166;
}

/* ====== بدنه صفحه ====== */
body {
  background: radial-gradient(circle at top, #e9ffe9 0, #f6fff9 40%, #e7f5ff 100%);
  color: #122;
  min-height: 100vh;
}



main {
  padding-top: 96px;
  padding-bottom: 40px;
}

.auth-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

/* ====== کارت اصلی لاگین/ثبت‌نام ====== */
.auth-card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(15, 68, 34, 0.26);
  border: 1px solid rgba(27, 94, 32, 0.06);
  overflow: hidden;
}

.auth-header {
  background: radial-gradient(circle at top left, #0b3b2e, #247a48);
  color: #fff;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.auth-header h1 {
  font-size: 1.2rem;
  margin: 0;
}

.badge-soft {
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 4px 10px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

.auth-body {
  padding: 20px 20px 22px;
}

/* ====== باکس اشتراک ====== */
.premium-alert {
  border-radius: 18px;
  padding: 16px 18px;
  background: radial-gradient(circle at top left, rgba(255, 209, 102, 0.18), rgba(11,59,46,0.98));
  color: #fff;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 14px 36px rgba(0,0,0,0.35);
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.premium-alert::before {
  content: "";
  position: absolute;
  inset-inline-end: -40px;
  inset-block-start: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 70%);
  opacity: 0.9;
}

.premium-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.35rem;
}

.premium-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.premium-text {
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.premium-small {
  font-size: 0.78rem;
  opacity: 0.9;
}

/* ====== تب‌های ورود / ثبت‌نام ====== */
.nav-auth-tabs .nav-link {
  border-radius: 999px;
  font-size: 0.85rem;
  padding: 6px 16px;
  color: #0b3b2e;
  background: #f1f5f9;
  border: 1px solid transparent;
  margin-inline-end: 8px; /* فاصله بین آیکون و متن */

}

.nav-auth-tabs .nav-link.active {
  background: var(--kiwi-green);
  color: #fff !important;
  border-color: rgba(59,178,115,0.4);
  box-shadow: 0 10px 25px rgba(59,178,115,0.4);
  gap: 1.2rem; /* یا هر عدد دلخواه برای فاصله بین تب‌ها */
}

/* ====== اینپوت‌ها شیک‌تر ====== */
.kiwi-field {
  margin-bottom: 0.9rem;
}

.kiwi-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
}

.kiwi-field-inner {
  position: relative;
}

.kiwi-field-inner.has-icon .form-control,
.kiwi-field-inner.has-icon .form-select {
  padding-inline-start: 40px;
}

.kiwi-field-inner.has-password-toggle .form-control {
  padding-inline-end: 40px;
}

/* خود input/select */
.form-control,
.form-select {
  border-radius: 999px;
  border: 1px solid #d2e3f0;
  background: #f7fbff;
  font-size: 0.9rem;
  padding-inline: 16px;
  padding-block: 9px;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    transform 0.12s ease;
  box-shadow: 0 0 0 0 rgba(59,178,115,0);
}

.form-control::placeholder {
  color: #9ca3af;
  font-size: 0.82rem;
}

.form-control:focus,
.form-select:focus {
  background: #ffffff;
  border-color: var(--kiwi-green);
  box-shadow: 0 0 0 3px rgba(59,178,115,0.18);
  transform: translateY(-1px);
}

/* آیکون داخل فیلد */
.field-icon {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #9ca3af;
  pointer-events: none;
}

/* آیکون نمایش رمز */
.password-toggle {
  position: absolute;
  inset-inline-end: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(148,163,184,0.1);
  color: #64748b;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.password-toggle:hover {
  background: rgba(148,163,184,0.24);
  color: #0f172a;
  transform: translateY(-50%) translateY(-1px);
}

/* توضیح زیر فیلد */
.small-muted {
  font-size: 0.78rem;
  color: #6c757d;
}

/* ====== دکمه‌ها ====== */
.btn-kiwi {
  background: linear-gradient(135deg, var(--kiwi-green), #4fd08b);
  border: none;
  color: #fff;
  border-radius: 999px;
  padding-block: 9px;
  padding-inline: 22px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 26px rgba(59, 178, 115, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease;
}

.btn-kiwi:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(59, 178, 115, 0.6);
}

.btn-kiwi:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(59,178,115,0.4);
}




.btn-kiwi:disabled {
  opacity: 0.8;
  box-shadow: none;
}

/* ====== کارت توضیحات سمت راست ====== */
.info-card {
  border-radius: 24px;
  background: linear-gradient(145deg, #f8fafc, #ecfeff);
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 40px rgba(15,23,42,0.08);
}

/* ====== Alert بالا فرم ====== */
.alert-inline {
  border-radius: 999px;
  font-size: 0.8rem;
  padding: 6px 12px;
}

/* ====== فوتر ====== */
.app-footer {
  background: var(--kiwi-dark);
  padding: 24px 0;
  border-top: 2px solid rgba(255, 209, 102, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  border-radius: 40px;
  background: rgba(59, 178, 115, 0.10);
  border: 1px solid rgba(59,178,115,0.35);
  backdrop-filter: blur(8px);
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.45);
  color: var(--kiwi-light);
  font-size: 0.85rem;
}

.footer-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kiwi-accent);
}

/* انیمیشن ساده ورود */
.fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .auth-card {
    border-radius: 20px;
    margin-inline: -4px;
  }
  .auth-body {
    padding: 16px;
  }
}



/* دکمه منوی موبایل */
.custom-toggler {
width: 46px;
height: 46px;
border: 1px solid rgba(255,255,255,0.25) !important;
border-radius: 14px;
padding: 0 !important;
background: rgba(255,255,255,0.08);
display: flex;
align-items: center;
justify-content: center;
box-shadow: none !important;
transition: all 0.25s ease;
}

/* حذف آیکون پیش‌فرض بوت‌استرپ */
.custom-toggler .navbar-toggler-icon {
display: none !important;
}

.custom-toggler i {
font-size: 28px;
line-height: 1;
color: #ffffff;
transition: all 0.25s ease;
}

.custom-toggler:hover {
background: rgba(255,255,255,0.16);
transform: translateY(-1px);
}

.custom-toggler[aria-expanded="true"] i {
transform: rotate(90deg);
color: #b7f7a1;
}

/* مرتب شدن منوی بازشده در موبایل */
@media (max-width: 991px) {
#navbarContent {
margin-top: 14px;
padding: 14px;
border-radius: 18px;
background: rgba(8, 57, 36, 0.96);
box-shadow: 0 18px 45px rgba(0,0,0,0.22);
}

#navbarContent .navbar-nav {
gap: 6px;
}

#navbarContent .nav-link {
padding: 10px 12px;
border-radius: 12px;
text-align: right;
}

#navbarContent .nav-link:hover {
background: rgba(255,255,255,0.10);
}

.user-menu {
padding-top: 10px;
border-top: 1px solid rgba(255,255,255,0.14);
}
}


/* =========================
   Login / Signup Tabs Fix
========================= */

.nav-auth-tabs {
  background: #eef8f2;
  border: 1px solid rgba(11, 59, 46, 0.12);
  border-radius: 999px;
  padding: 7px;
  gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.nav-auth-tabs .nav-item {
  flex: 1;
}

.nav-auth-tabs .nav-link {
  width: 100%;
  border-radius: 999px !important;
  color: #0b3b2e !important;
  background: #ffffff !important;
  border: 1px solid rgba(11, 59, 46, 0.12) !important;
  font-weight: 800;
  opacity: 1 !important;
  padding: 11px 18px;
  box-shadow: 0 8px 20px rgba(11, 59, 46, 0.07);
  transition: all 0.25s ease;
}

.nav-auth-tabs .nav-link:hover {
  background: #e1f7eb !important;
  color: #063326 !important;
  transform: translateY(-1px);
}

.nav-auth-tabs .nav-link.active {
  background: linear-gradient(135deg, #2fb36f, #168653) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 12px 26px rgba(47, 179, 111, 0.32);
}

.nav-auth-tabs .nav-link i {
  font-size: 1rem;
}

/* وقتی زبان انگلیسی است */
body.kiwi-lang-en .nav-auth-tabs .nav-link {
  direction: ltr;
  text-align: center;
}

/* روی موبایل هم خوانا بماند */
@media (max-width: 575.98px) {
  .nav-auth-tabs {
    border-radius: 24px;
    flex-direction: column;
  }

  .nav-auth-tabs .nav-item {
    width: 100%;
  }

  .nav-auth-tabs .nav-link {
    border-radius: 18px !important;
  }
}



/* =====================================================
   Login Page Layout + Tabs Final Fix
   Put at the END of css/login.css
===================================================== */

body[data-page="login"] main#top {
  padding-top: 115px !important;
}

body[data-page="login"] .auth-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body[data-page="login"] .auth-card {
  overflow: visible !important;
}

body[data-page="login"] .auth-header {
  position: relative !important;
  z-index: 2 !important;
}

/* Login / Signup tab bar */
body[data-page="login"] .nav-auth-tabs {
  background: #e7f6ee !important;
  border: 1px solid rgba(11, 59, 46, 0.16) !important;
  border-radius: 999px !important;
  padding: 8px !important;
  gap: 8px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(11, 59, 46, 0.08) !important;
}

body[data-page="login"] .nav-auth-tabs .nav-item {
  flex: 1 1 0 !important;
}

body[data-page="login"] .nav-auth-tabs .nav-link {
  width: 100% !important;
  border-radius: 999px !important;
  padding: 12px 18px !important;
  font-weight: 900 !important;
  font-size: 0.95rem !important;
  opacity: 1 !important;
  transition: all 0.25s ease !important;
}

/* inactive tab: clearly visible */
body[data-page="login"] .nav-auth-tabs .nav-link:not(.active) {
  background: #ffffff !important;
  color: #0b3b2e !important;
  border: 1px solid rgba(11, 59, 46, 0.20) !important;
  box-shadow: 0 8px 18px rgba(11, 59, 46, 0.08) !important;
}

/* hover */
body[data-page="login"] .nav-auth-tabs .nav-link:not(.active):hover {
  background: #d9f5e6 !important;
  color: #052e22 !important;
  transform: translateY(-1px) !important;
}

/* active tab */
body[data-page="login"] .nav-auth-tabs .nav-link.active {
  background: linear-gradient(135deg, #2fb36f, #12804d) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 12px 28px rgba(47, 179, 111, 0.35) !important;
}

/* English mode */
body[data-page="login"].kiwi-lang-en .nav-auth-tabs .nav-link {
  direction: ltr !important;
  text-align: center !important;
}

/* login page form readability */
body[data-page="login"].kiwi-lang-en .kiwi-label,
body[data-page="login"].kiwi-lang-en .small-muted,
body[data-page="login"].kiwi-lang-en .premium-text,
body[data-page="login"].kiwi-lang-en .premium-small {
  text-align: left !important;
}

body[data-page="login"].kiwi-lang-fa .kiwi-label,
body[data-page="login"].kiwi-lang-fa .small-muted,
body[data-page="login"].kiwi-lang-fa .premium-text,
body[data-page="login"].kiwi-lang-fa .premium-small {
  text-align: right !important;
}

@media (max-width: 575.98px) {
  body[data-page="login"] main#top {
    padding-top: 130px !important;
  }

  body[data-page="login"] .nav-auth-tabs {
    border-radius: 24px !important;
    flex-direction: column !important;
  }

  body[data-page="login"] .nav-auth-tabs .nav-item {
    width: 100% !important;
  }

  body[data-page="login"] .nav-auth-tabs .nav-link {
    border-radius: 18px !important;
  }
}



/* کارت پشتیبانی ورود و اشتراک */
.support-contact-card {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(15, 91, 63, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(69, 201, 131, 0.16), transparent 48%),
    linear-gradient(135deg, #f7fffa 0%, #eefaf4 100%);
  box-shadow: 0 10px 22px rgba(18, 86, 58, 0.08);
}

.support-contact-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.support-contact-icon {
  width: 42px;
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #0f6b48, #37bb78);
  box-shadow: 0 7px 15px rgba(21, 139, 87, 0.22);
}

.support-contact-title {
  color: #0c4f38;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.support-contact-text {
  color: #456055;
  font-size: 0.82rem;
  line-height: 1.85;
}

.support-contact-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.support-contact-btn {
  flex: 1;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.support-contact-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.support-contact-btn i {
  font-size: 1rem;
}

.support-eitaa {
  color: #ffffff;
  background: linear-gradient(135deg, #16a3df, #087cb8);
  box-shadow: 0 7px 14px rgba(10, 126, 186, 0.2);
}

.support-eitaa:hover {
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(10, 126, 186, 0.3);
}

.support-instagram {
  color: #ffffff;
  background: linear-gradient(135deg, #833ab4, #e1306c, #f77737);
  box-shadow: 0 7px 14px rgba(201, 48, 116, 0.18);
}

.support-instagram:hover {
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(201, 48, 116, 0.28);
}

.support-contact-note {
  display: flex;
  align-items: flex-start;
  gap: 0.42rem;
  margin-top: 0.8rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(15, 91, 63, 0.18);
  color: #698076;
  font-size: 0.73rem;
  line-height: 1.7;
}

.support-contact-note i {
  margin-top: 0.15rem;
  color: #15935e;
}

html[dir="ltr"] .support-contact-header,
html[dir="ltr"] .support-contact-note {
  text-align: left;
}

@media (max-width: 480px) {
  .support-contact-actions {
    flex-direction: column;
  }

  .support-contact-btn {
    width: 100%;
  }
}