/* ============================================================
   IMPORTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   RESET & BASE
   ============================================================ */
*, ::after, ::before, ::backdrop {
  box-sizing: border-box;
  border: 0 solid;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
  font-family: "Vazirmatn", ui-sans-serif, system-ui, sans-serif;
  scroll-behavior: smooth;
}
body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: "Vazirmatn", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  direction: rtl;
}
::selection {
  background-color: var(--lime);
  color: var(--ink);
}
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: inherit;
}
img, svg, video {
  vertical-align: middle;
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
ul, ol { list-style: none; }

/* ============================================================
   THEME TOKENS
   ============================================================ */
:root {
  --ink:   #12100E;
  --lime:  #D4F84B;
  --coral: #FF6B4A;
  --amber: #FFB627;
  --cream: #F6F2EA;
  --paper: #FBF9F4;

  --radius: 0.5rem;
  --container-max: 80rem;

  --ink-60:  rgba(18, 16, 14, 0.60);
  --ink-70:  rgba(18, 16, 14, 0.70);
  --ink-10:  rgba(18, 16, 14, 0.10);
  --cream-5:  rgba(246, 242, 234, 0.05);
  --cream-10: rgba(246, 242, 234, 0.10);
  --cream-15: rgba(246, 242, 234, 0.15);
  --cream-30: rgba(246, 242, 234, 0.30);
  --cream-40: rgba(246, 242, 234, 0.40);
  --cream-50: rgba(246, 242, 234, 0.50);
  --cream-60: rgba(246, 242, 234, 0.60);
  --cream-70: rgba(246, 242, 234, 0.70);
  --cream-75: rgba(246, 242, 234, 0.75);
  --cream-80: rgba(246, 242, 234, 0.80);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
  width: 90%;
}
@media (min-width: 640px) {
  .container { padding-inline: 2rem; }
}

.section { padding-block: 5rem; }
@media (min-width: 640px) { .section { padding-block: 7rem; } }

.section-paper  { background: var(--paper); }
.section-cream  { background: var(--cream); }
.section-ink    { background: var(--ink);   color: var(--cream); }
.section-lime   { background: var(--lime);  color: var(--ink); }

/* ============================================================
   CONTAINER WIDTH — افزایش تدریجی روی نمایشگرهای پهن
   ============================================================ */
@media (min-width: 1280px) {
  :root { --container-max: 88rem; }
}
@media (min-width: 1440px) {
  :root { --container-max: 96rem; }
}
@media (min-width: 1680px) {
  :root { --container-max: 104rem; }
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}
.eyebrow-coral { color: var(--coral); }
.eyebrow-lime  { color: var(--lime); }
.eyebrow-amber { color: var(--amber); }

.section-title {
  margin-top: 1rem;
  font-weight: 900;
  font-size: 1.875rem;
  line-height: 1.15;
  max-width: 24ch;
  text-wrap: balance;
}
@media (min-width: 640px) { .section-title { font-size: 3rem; } }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink);
  flex-shrink: 0;
}
.link-arrow:hover { color: var(--coral); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  transition: color 0.2s ease, background-color 0.2s ease,
              border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1.2;
}
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

.btn-coral {
  background: var(--coral);
  color: var(--cream);
  box-shadow: 0 0 0 1px var(--coral);
}
.btn-coral:hover {
  background: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
  color: var(--cream);
}

.btn-lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--lime);
}
.btn-lime:hover {
  background: var(--cream);
  box-shadow: 0 0 0 1px var(--cream);
  color: var(--ink);
}

.btn-ink {
  background: var(--ink);
  color: var(--lime);
  box-shadow: 0 0 0 1px var(--ink);
}
.btn-ink:hover {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--cream);
}

.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  box-shadow: 0 0 0 1px var(--cream-30);
}
.btn-outline-cream:hover {
  box-shadow: 0 0 0 1px var(--cream-70);
}

.btn-primary {
  background: var(--coral);
  color: var(--cream);
  box-shadow: 0 0 0 1px var(--coral);
}
.btn-primary:hover {
  background: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease,
              backdrop-filter 0.3s ease;
}
.site-header.scrolled {
  background: rgba(251, 249, 244, 0.85);
  border-bottom-color: var(--ink-10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: var(--ink);
  color: var(--lime);
  font-weight: 900;
  font-size: 1rem;
}
.logo-text-name {
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  color: var(--cream);
  transition: color 0.3s ease;
}
.site-header.scrolled .logo-text-name { color: var(--ink); }
.logo-text-name .dot { color: var(--coral); }

.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}
@media (min-width: 768px) { .main-nav { display: flex; } }

.nav-link {
  color: var(--cream-75);
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--cream); }
.site-header.scrolled .nav-link { color: var(--ink-70); }
.site-header.scrolled .nav-link:hover { color: var(--ink); }

.header-cta {
  display: none;
}
@media (min-width: 768px) { .header-cta { display: inline-flex; } }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  color: var(--cream);
  background: var(--cream-15);
  transition: background 0.2s ease;
}
.menu-toggle:hover { background: var(--cream-30); }
.site-header.scrolled .menu-toggle { color: var(--ink); background: var(--ink-10); }
@media (min-width: 768px) { .menu-toggle { display: none; } }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 1rem;
  right: 1rem;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--ink);
  border: 1px solid var(--cream-10);
  border-radius: 0.875rem;
  padding: 0.75rem;
  z-index: 50;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 0.75rem 0.875rem;
  border-radius: 0.625rem;
  color: var(--cream-75);
  font-size: 0.875rem;
  font-weight: 500;
}
.mobile-nav a:hover { background: var(--cream-5); color: var(--cream); }
.mobile-nav .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--ink);
  color: var(--cream);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: left center;
  transition: opacity 0.7s ease;
}
.hero-img.is-active { opacity: 1 !important; }

.hero-overlay-l {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left,
    rgba(18,16,14,0.95) 0%,
    rgba(18,16,14,0.60) 40%,
    rgba(18,16,14,0.10) 100%);
}
.hero-overlay-t {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(18,16,14,0.80) 0%,
    transparent 50%,
    rgba(18,16,14,0.40) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 7rem;
  padding-bottom: 4rem;
}
@media (min-width: 640px) {
  .hero-content { padding-top: 8rem; padding-bottom: 6rem; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.hero-eyebrow .dot {
  width: 0.625rem; height: 0.625rem;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}
.hero-eyebrow span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--lime);
}

.hero-slides-wrap {
  position: relative;
  min-height: 240px;
}
@media (min-width: 640px) { .hero-slides-wrap { min-height: 280px; } }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide h1 {
  font-weight: 900;
  line-height: 1.15;
  font-size: 2.25rem;
  max-width: 20ch;
  text-wrap: balance;
}
@media (min-width: 640px) { .hero-slide h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-slide h1 { font-size: 4.5rem; } }

.hero-slide p {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--cream-70);
  max-width: 52ch;
  text-wrap: pretty;
}
@media (min-width: 640px) { .hero-slide p { font-size: 1.125rem; } }

.hero-actions {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; align-items: center; gap: 1.5rem; }
}

/* Slide indicators */
.hero-indicators {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-indicators .label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cream-50);
}
.hero-dot {
  height: 0.375rem;
  width: 4rem;
  border-radius: 9999px;
  background: var(--cream-15);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  position: relative;
  flex-shrink: 0;
}
.hero-dot .fill {
  display: block;
  height: 100%;
  background: var(--lime);
  width: 0;
}
@keyframes heroBar {
  from { width: 0; }
  to   { width: 100%; }
}
.hero-dot.is-active .fill {
  animation: heroBar 6s linear forwards;
}
.hero-dot.is-done .fill { width: 100%; }

/* ============================================================
   FIELDS (حوزه‌های نوآوری)
   ============================================================ */
.fields-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .fields-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fields-grid { grid-template-columns: repeat(3, 1fr); } }

.field-card {
  background: var(--cream);
  border-radius: 1.75rem;
  padding: 1.75rem;
  box-shadow: 0 0 0 1px var(--ink-10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.field-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px var(--ink-10), 0 12px 32px rgba(18,16,14,0.08);
}
.field-num {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 1rem;
  font-size: 1.375rem;
  font-weight: 900;
}
.num-lime  { background: var(--lime);  color: var(--ink); }
.num-coral { background: var(--coral); color: var(--cream); }
.num-amber { background: var(--amber); color: var(--ink); }
.num-ink   { background: var(--ink);   color: var(--lime); }

.field-card h3 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.field-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--ink-60);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }

.process-card {
  background: var(--paper);
  border-radius: 1.75rem;
  padding: 1.75rem;
  box-shadow: 0 0 0 1px var(--ink-10);
  transition: transform 0.25s ease;
}
.process-card:hover { transform: translateY(-4px); }

.process-num {
  display: block;
  font-size: 3.75rem;
  font-weight: 900;
  line-height: 1;
}
.process-num.c-lime  { color: var(--lime); }
.process-num.c-coral { color: var(--coral); }
.process-num.c-amber { color: var(--amber); }
.process-num.c-ink   { color: var(--ink); }

.process-card h3 {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
}
.process-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--ink-60);
}

/* ============================================================
   WHY (آنچه ما ارائه می‌دهیم)
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.why-text p {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--cream-70);
  max-width: 48ch;
  text-wrap: pretty;
}

.stats-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stat {
  padding-right: 1rem;
  border-right: 2px solid var(--lime);
}
.stat.c-coral { border-color: var(--coral); }
.stat.c-amber { border-color: var(--amber); }
.stat.c-muted { border-color: var(--cream-40); }

.stat-value {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.1;
}
@media (min-width: 640px) { .stat-value { font-size: 3rem; } }
.stat-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--cream-60);
}

.why-checks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.check-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--cream-5);
  border: 1px solid var(--cream-10);
  border-radius: 1.25rem;
  transition: background 0.2s ease;
}
.check-item:hover { background: rgba(246,242,234,0.08); }
.check-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.75rem;
  font-weight: 900;
  font-size: 1rem;
}
.check-icon.lime  { background: var(--lime);  color: var(--ink); }
.check-icon.coral { background: var(--coral); color: var(--cream); }
.check-icon.amber { background: var(--amber); color: var(--ink); }
.check-item p {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--cream-80);
}

/* ============================================================
   NEWS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

.news-card {
  background: var(--cream);
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--ink-10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px var(--ink-10), 0 16px 40px rgba(18,16,14,0.10);
}
.news-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .news-thumb { transform: scale(1.04); }
.news-body { padding: 1.5rem; flex: 1; }
.news-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--coral);
}
.news-body h3 {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.375;
}
.news-body p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--ink-60);
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.cta-inner h2 {
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1.15;
  max-width: 24ch;
  text-wrap: balance;
}
@media (min-width: 640px) { .cta-inner h2 { font-size: 3rem; } }
.cta-inner p {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--ink-70);
  max-width: 48ch;
  text-wrap: pretty;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--cream-60);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem;
  font-size: 0.875rem;
}
@media (min-width: 640px) { .footer-inner { flex-direction: row; } }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-brand .logo-mark {
  width: 1.75rem; height: 1.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}
.footer-brand-name {
  font-weight: 700;
  color: var(--cream);
}

/* ============================================================
   ANIMATIONS / TRANSITIONS
   ============================================================ */
.transition-colors {
  transition: color 0.2s ease, background-color 0.2s ease,
              border-color 0.2s ease, box-shadow 0.2s ease;
}
.transition-all { transition: all 0.3s ease; }

/* ============================================================
   RESPONSIVE EXTRAS
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-slide { opacity: 1; position: static; }
  .hero-slide:not(.is-active) { display: none; }
}

/* ============================================================
   DASHBOARD — Self-contained (تم تیره)
   ============================================================ */

/* --- Layout --- */
.dashboard-layout {
    background-color: #12100E !important;
    color: #F6F2EA !important;
    min-height: 100vh;
    padding: 100px 0 60px;
    direction: rtl;
}
.dashboard-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid !important;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
}
.dashboard-main {
    background-color: rgba(246, 242, 234, 0.04);
    border: 1px solid rgba(246, 242, 234, 0.10);
    border-radius: 1.75rem;
    padding: 2rem;
    min-width: 0;
    color: #F6F2EA !important;
}
.dashboard-main--flush {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}
.dashboard-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #F6F2EA !important;
    margin: 0 0 1.75rem;
}

@media (max-width: 900px) {
    .dashboard-wrapper { grid-template-columns: 1fr !important; }
    .dashboard-sidebar { position: static !important; }
}

/* --- Sidebar --- */
.dashboard-sidebar {
    background-color: rgba(246, 242, 234, 0.04);
    border: 1px solid rgba(246, 242, 234, 0.10);
    border-radius: 1.75rem;
    padding: 1.5rem 1.25rem;
    position: sticky;
    top: 100px;
    align-self: start;
    color: #F6F2EA;
}
.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(246, 242, 234, 0.10);
}
.sidebar-avatar {
    width: 44px; height: 44px;
    border-radius: 0.875rem;
    background: #D4F84B; color: #12100E;
    display: grid; place-items: center;
    font-weight: 900; font-size: 1rem;
    flex-shrink: 0;
}
.sidebar-user-info { line-height: 1.4; min-width: 0; }
.sidebar-user-info b {
    display: block; font-size: 0.875rem;
    color: #F6F2EA !important;
    font-weight: 700;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sidebar-user-info span {
    display: block; font-size: 0.6875rem;
    color: rgba(246, 242, 234, 0.6) !important;
    direction: ltr;
}
.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    border-radius: 0.75rem;
    color: rgba(246, 242, 234, 0.75) !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.sidebar-menu a:hover {
    background-color: rgba(246, 242, 234, 0.06);
    color: #F6F2EA !important;
}
.sidebar-menu a.is-active {
    background-color: #D4F84B;
    color: #12100E !important;
}
.sidebar-menu .icon {
    font-size: 1.125rem;
    width: 1.5rem;
    text-align: center;
    flex-shrink: 0;
}
.sidebar-menu .logout {
    margin-top: 0.75rem;
    color: #FF6B4A !important;
    border-top: 1px solid rgba(246, 242, 234, 0.10);
    border-radius: 0;
    padding-top: 1rem;
}
.sidebar-menu .logout:hover {
    background: transparent;
    color: #ff9b85 !important;
}

/* --- Stats --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.stat-card {
    background-color: #12100E;
    border: 1px solid rgba(246, 242, 234, 0.10);
    border-radius: 1.25rem;
    padding: 1.25rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 4px; height: 100%;
}
.stat-card.stat-purple::before { background: #FF6B4A; }
.stat-card.stat-orange::before { background: #FFB627; }
.stat-card.stat-green::before  { background: #D4F84B; }
.stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(246, 242, 234, 0.20);
}
.stat-label {
    display: block;
    font-size: 0.78125rem;
    color: rgba(246, 242, 234, 0.60) !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.stat-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1;
    color: #F6F2EA !important;
}
.stat-card.stat-purple .stat-number { color: #FF6B4A !important; }
.stat-card.stat-orange .stat-number { color: #FFB627 !important; }
.stat-card.stat-green  .stat-number { color: #D4F84B !important; }

/* --- List --- */
.list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.list-title {
    font-size: 1.0625rem;
    font-weight: 800;
    color: #F6F2EA !important;
    margin: 0;
}
.btn-view-all,
.btn-review {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.125rem;
    background-color: rgba(246, 242, 234, 0.05);
    border: 1px solid rgba(246, 242, 234, 0.15);
    color: #F6F2EA !important;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn-view-all:hover,
.btn-review:hover {
    background-color: #D4F84B;
    border-color: #D4F84B;
    color: #12100E !important;
}
.recent-list { display: flex; flex-direction: column; gap: 0.75rem; }
.recent-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.25rem;
    background-color: #12100E;
    border: 1px solid rgba(246, 242, 234, 0.10);
    border-radius: 1rem;
    transition: all 0.2s ease;
}
.recent-item:hover {
    border-color: rgba(246, 242, 234, 0.20);
}
@media (max-width: 640px) {
    .recent-item { grid-template-columns: 1fr; }
}
.recent-info h4 {
    margin: 0 0 0.375rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #F6F2EA !important;
}
.recent-meta {
    font-size: 0.75rem;
    color: rgba(246, 242, 234, 0.60) !important;
}
.empty-list {
    padding: 2rem 1.5rem;
    text-align: center;
    color: rgba(246, 242, 234, 0.50) !important;
    font-size: 0.875rem;
    background-color: rgba(246, 242, 234, 0.04);
    border: 1px dashed rgba(246, 242, 234, 0.15);
    border-radius: 1rem;
}

/* --- Dash Cards --- */
.dash-card {
    background-color: rgba(246, 242, 234, 0.04);
    border: 1px solid rgba(246, 242, 234, 0.10);
    border-radius: 1.5rem;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    color: #F6F2EA !important;
}
.dash-card:last-child { margin-bottom: 0; }
.dash-card:hover { border-color: rgba(246, 242, 234, 0.18); }

.dash-card--header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}
.dash-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: #F6F2EA !important;
    margin: 0 0 1.25rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid rgba(246, 242, 234, 0.10);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dash-card-title::before {
    content: '';
    width: 3px; height: 1.125rem;
    background-color: #D4F84B;
    border-radius: 2px;
    flex-shrink: 0;
}
.dash-page-header h1 {
    margin: 0 0 0.5rem;
    font-size: 1.375rem;
    font-weight: 900;
    color: #F6F2EA !important;
}
.dash-page-header .meta {
    font-size: 0.8125rem;
    color: rgba(246, 242, 234, 0.60) !important;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* --- Fields --- */
.dash-field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.125rem;
}
.dash-field { min-width: 0; }
.dash-field-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(246, 242, 234, 0.55) !important;
    font-weight: 600;
    margin-bottom: 0.375rem;
}
.dash-field-value {
    font-size: 0.875rem;
    color: #F6F2EA !important;
    line-height: 1.9;
    word-break: break-word;
}
.dash-field-value.ltr { direction: ltr; text-align: right; }
.dash-block { margin-top: 1.125rem; }
.dash-block:first-child { margin-top: 0; }
.dash-block-label {
    font-size: 0.75rem;
    color: rgba(246, 242, 234, 0.55) !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.dash-block-value {
    font-size: 0.875rem;
    line-height: 2;
    color: rgba(246, 242, 234, 0.85) !important;
    white-space: pre-wrap;
}

/* --- Labels + Form Inputs --- */
.dash-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(246, 242, 234, 0.85) !important;
    margin-bottom: 0.625rem;
}
.dash-hint {
    font-size: 0.75rem;
    color: rgba(246, 242, 234, 0.50) !important;
    margin-top: 0.5rem;
}
.dashboard-main input[type="text"],
.dashboard-main input[type="email"],
.dashboard-main input[type="tel"],
.dashboard-main input[type="url"],
.dashboard-main input[type="date"],
.dashboard-main input[type="number"],
.dashboard-main input[type="password"],
.dashboard-main select,
.dashboard-main textarea {
    width: 100%;
    background-color: rgba(246, 242, 234, 0.05) !important;
    border: 1.5px solid rgba(246, 242, 234, 0.12) !important;
    border-radius: 0.875rem;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #F6F2EA !important;
    outline: none;
    transition: all 0.2s ease;
}
.dashboard-main input::placeholder,
.dashboard-main textarea::placeholder {
    color: rgba(246, 242, 234, 0.40) !important;
}
.dashboard-main select option {
    background-color: #12100E;
    color: #F6F2EA;
}
.dashboard-main input:focus,
.dashboard-main select:focus,
.dashboard-main textarea:focus {
    border-color: #D4F84B !important;
    box-shadow: 0 0 0 4px rgba(212, 248, 75, 0.10);
}
.dashboard-main textarea { min-height: 7rem; resize: vertical; }

/* --- Buttons --- */
.dash-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.125rem;
    background-color: rgba(246, 242, 234, 0.05);
    border: 1px solid rgba(246, 242, 234, 0.15);
    color: #F6F2EA !important;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}
.dash-btn:hover {
    background-color: #D4F84B;
    border-color: #D4F84B;
    color: #12100E !important;
}
.dash-btn--primary {
    background-color: #D4F84B;
    border-color: #D4F84B;
    color: #12100E !important;
}
.dash-btn--primary:hover {
    background-color: #FF6B4A;
    border-color: #FF6B4A;
    color: #F6F2EA !important;
}
.dash-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* --- Alerts --- */
.dash-alert {
    padding: 0.875rem 1.125rem;
    border-radius: 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    line-height: 1.8;
}
.dash-alert--success {
    background-color: rgba(212, 248, 75, 0.10);
    color: #D4F84B !important;
    border-color: rgba(212, 248, 75, 0.25);
}
.dash-alert--error {
    background-color: rgba(255, 107, 74, 0.10);
    color: #ff9b85 !important;
    border-color: rgba(255, 107, 74, 0.25);
}
.dash-alert--warning {
    background-color: rgba(255, 182, 39, 0.10);
    color: #FFB627 !important;
    border-color: rgba(255, 182, 39, 0.25);
}
.dash-alert--info {
    background-color: rgba(246, 242, 234, 0.05);
    color: rgba(246, 242, 234, 0.85) !important;
    border-color: rgba(246, 242, 234, 0.15);
}

/* --- Documents / Team / Timeline --- */
.dash-doc {
    padding: 1.125rem;
    background-color: rgba(246, 242, 234, 0.04);
    border: 1px solid rgba(246, 242, 234, 0.10);
    border-radius: 1rem;
    margin-bottom: 1rem;
}
.dash-doc-head {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-wrap: wrap;
}
.dash-doc-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #D4F84B !important;
    min-width: 5rem;
}
.dash-doc-file {
    font-size: 0.75rem;
    color: rgba(246, 242, 234, 0.60) !important;
    direction: ltr;
}
.dash-team {
    background-color: rgba(246, 242, 234, 0.04);
    border: 1px solid rgba(246, 242, 234, 0.10);
    border-radius: 0.875rem;
    padding: 1rem 1.125rem;
    margin-bottom: 0.75rem;
}
.dash-team-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #D4F84B !important;
    margin-bottom: 0.5rem;
}
.dash-team-meta {
    font-size: 0.78125rem;
    color: rgba(246, 242, 234, 0.75) !important;
    line-height: 1.9;
}
.dash-timeline { display: flex; flex-direction: column; gap: 0.75rem; }
.dash-timeline-item {
    display: flex;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background-color: rgba(246, 242, 234, 0.04);
    border: 1px solid rgba(246, 242, 234, 0.10);
    border-radius: 0.875rem;
}
.dash-timeline-dot {
    width: 0.75rem; height: 0.75rem;
    border-radius: 50%;
    background-color: #D4F84B;
    margin-top: 0.375rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(212, 248, 75, 0.15);
}
.dash-timeline-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #F6F2EA !important;
}
.dash-timeline-note {
    font-size: 0.75rem;
    color: rgba(246, 242, 234, 0.60) !important;
    margin-top: 0.25rem;
    line-height: 1.8;
}
.dash-timeline-date {
    font-size: 0.6875rem;
    color: rgba(246, 242, 234, 0.50) !important;
    margin-top: 0.375rem;
}

/* --- Welcome toast --- */
.welcome-toast {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #D4F84B;
    color: #12100E;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 90;
    box-shadow: 0 10px 30px rgba(212, 248, 75, 0.3);
}

/* ============================================================
   REGISTER WIZARD — ثبت‌نام پیش‌شتابدهی
   ============================================================ */

/* --- Hero / Box --- */
.register-hero {
    padding: 120px 0 80px;
    background-color: #12100E !important;
    color: #F6F2EA !important;
    min-height: 100vh;
}
.register-box {
    max-width: 720px;
    margin: 0 auto;
    background-color: #12100E;
    border: 1px solid rgba(246, 242, 234, 0.10);
    border-radius: 1.75rem;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.register-box::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(212, 248, 75, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.register-box h1 {
    color: #F6F2EA !important;
    font-size: 1.125rem;
    line-height: 2;
    font-weight: 700;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* --- Box view --- */
.box-view { display: none; }
.box-view.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.form-inner {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* --- Progress bar --- */
.progress-wrap { margin-bottom: 2.5rem; }
.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(246, 242, 234, 0.60) !important;
    margin-bottom: 0.75rem;
}
.progress-label .section-name {
    color: #F6F2EA !important;
    font-weight: 700;
}
.progress-bar {
    height: 6px;
    border-radius: 9999px;
    background-color: rgba(246, 242, 234, 0.10) !important;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #D4F84B, #FFB627) !important;
    width: 0%;
    transition: width 0.4s ease;
    box-shadow: 0 0 12px rgba(212, 248, 75, 0.4);
}

/* --- Steps --- */
.form-step { display: none !important; }
.form-step.active { display: block !important; animation: fadeIn 0.3s ease; }
.form-step h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #F6F2EA !important;
    margin: 0 0 0.5rem;
}
.form-step > p.hint {
    font-size: 0.875rem;
    color: rgba(246, 242, 234, 0.60) !important;
    margin: 0 0 1.75rem;
    line-height: 1.9;
}

/* --- Form fields --- */
.register-box .field {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
}
.register-box .field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(246, 242, 234, 0.85) !important;
}
.register-box .field input[type="text"],
.register-box .field input[type="email"],
.register-box .field input[type="tel"],
.register-box .field input[type="number"],
.register-box .field input[type="date"],
.register-box .field select,
.register-box .field textarea {
    background-color: rgba(246, 242, 234, 0.05) !important;
    border: 1.5px solid rgba(246, 242, 234, 0.12) !important;
    border-radius: 0.875rem;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #F6F2EA !important;
    outline: none;
    width: 100%;
    transition: all 0.2s ease;
}
.register-box .field input::placeholder,
.register-box .field textarea::placeholder {
    color: rgba(246, 242, 234, 0.40) !important;
}
.register-box .field textarea {
    resize: vertical;
    min-height: 7.5rem;
    line-height: 1.9;
}
.register-box .field input:focus,
.register-box .field select:focus,
.register-box .field textarea:focus {
    border-color: #D4F84B !important;
    background-color: rgba(212, 248, 75, 0.05) !important;
    box-shadow: 0 0 0 4px rgba(212, 248, 75, 0.10);
}
.register-box .field .error-msg {
    font-size: 0.75rem;
    color: #ff9b85 !important;
    display: none;
    margin-top: 0.25rem;
}
.register-box .field.invalid input,
.register-box .field.invalid select,
.register-box .field.invalid textarea {
    border-color: #FF6B4A !important;
    background-color: rgba(255, 107, 74, 0.08) !important;
}
.register-box .field.invalid .error-msg { display: block; }

/* --- Radio cards (domain-grid) --- */
.domain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
@media (max-width: 640px) {
    .domain-grid { grid-template-columns: 1fr; }
}
.domain-opt {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(246, 242, 234, 0.15) !important;
    border-radius: 0.875rem;
    padding: 0.875rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(246, 242, 234, 0.75) !important;
    cursor: pointer;
    text-align: center;
    background-color: transparent !important;
    transition: all 0.2s ease;
    user-select: none;
}
.domain-opt input { display: none !important; }
.domain-opt:hover {
    border-color: rgba(246, 242, 234, 0.40) !important;
    background-color: rgba(246, 242, 234, 0.05) !important;
}
.domain-opt.selected {
    background-color: #D4F84B !important;
    border-color: #D4F84B !important;
    color: #12100E !important;
    box-shadow: 0 6px 20px rgba(212, 248, 75, 0.25);
}
.radio-error {
    font-size: 0.75rem;
    color: #ff9b85 !important;
    display: none;
    margin-top: 0.625rem;
}

/* --- File upload --- */
.file-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    padding: 2rem 1.5rem;
    border: 2px dashed rgba(246, 242, 234, 0.20) !important;
    border-radius: 1rem;
    cursor: pointer;
    color: rgba(246, 242, 234, 0.70) !important;
    transition: all 0.2s ease;
    text-align: center;
    background-color: transparent !important;
    position: relative;
}
.file-drop input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.file-drop:hover {
    border-color: #D4F84B !important;
    background-color: rgba(212, 248, 75, 0.05) !important;
}
.file-drop b {
    color: #F6F2EA !important;
    font-size: 0.9375rem;
}
.file-drop span {
    font-size: 0.8125rem;
}
.file-chosen {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #D4F84B !important;
    font-weight: 600;
}
.file-error {
    font-size: 0.75rem;
    color: #ff9b85 !important;
    display: none;
    margin-top: 0.625rem;
}

/* --- Team member cards --- */
.team-member {
    background-color: rgba(246, 242, 234, 0.04) !important;
    border: 1px solid rgba(246, 242, 234, 0.12) !important;
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1.125rem;
    animation: fadeIn 0.3s ease;
}
.team-member h4 {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    color: #F6F2EA !important;
    font-weight: 700;
}
.add-member-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: rgba(246, 242, 234, 0.05) !important;
    color: #F6F2EA !important;
    border: 2px dashed rgba(246, 242, 234, 0.25) !important;
    border-radius: 0.875rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    font-family: inherit;
}
.add-member-btn:hover {
    background-color: rgba(246, 242, 234, 0.10) !important;
    border-color: #D4F84B !important;
    color: #D4F84B !important;
}

/* --- Summary --- */
.summary-list {
    border: 1px solid rgba(246, 242, 234, 0.15) !important;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 0.625rem;
    background-color: rgba(246, 242, 234, 0.03);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1.125rem;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(246, 242, 234, 0.08);
}
.summary-row:last-child { border-bottom: none; }
.summary-row b {
    color: #F6F2EA !important;
    font-weight: 700;
    min-width: 8.75rem;
}
.summary-row span {
    color: rgba(246, 242, 234, 0.75) !important;
    flex: 1;
    word-break: break-word;
    white-space: pre-wrap;
}
.alert-error {
    background-color: rgba(255, 107, 74, 0.10) !important;
    border: 1px solid rgba(255, 107, 74, 0.30) !important;
    color: #ff9b85 !important;
    border-radius: 0.875rem;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    margin-top: 1.125rem;
}

/* --- Wizard actions (back/next) --- */
.wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.25rem;
    max-width: 560px;
    margin-inline: auto;
    gap: 0.875rem;
}
.wizard-actions .btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.9375rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.wizard-actions .btn-back {
    background-color: rgba(246, 242, 234, 0.05) !important;
    color: #F6F2EA !important;
    border: 1px solid rgba(246, 242, 234, 0.15) !important;
}
.wizard-actions .btn-back:hover {
    background-color: rgba(246, 242, 234, 0.10) !important;
}
.wizard-actions .btn-orange {
    background-color: #D4F84B !important;
    color: #12100E !important;
    border-color: #D4F84B !important;
}
.wizard-actions .btn-orange:hover {
    background-color: #FF6B4A !important;
    color: #F6F2EA !important;
    border-color: #FF6B4A !important;
}

/* --- Success view (inline) --- */
.success-view .form-inner {
    text-align: center;
    padding: 1.5rem 0.75rem 0.75rem;
}
.success-icon {
    width: 5rem; height: 5rem;
    border-radius: 50%;
    background-color: #D4F84B !important;
    color: #12100E !important;
    display: grid;
    place-items: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    animation: successPop 0.5s ease;
    font-weight: 900;
}
@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}
.success-view h2 {
    font-size: 1.375rem;
    font-weight: 900;
    color: #F6F2EA !important;
    margin: 0 0 0.75rem;
}
.success-view p {
    font-size: 0.875rem;
    color: rgba(246, 242, 234, 0.70) !important;
    line-height: 2.2;
    max-width: 440px;
    margin: 0 auto 1.75rem;
}
.success-view .btn-primary {
    background-color: #D4F84B !important;
    color: #12100E !important;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    border: 1px solid #D4F84B !important;
}
.success-view .btn-primary:hover {
    background-color: #FF6B4A !important;
    color: #F6F2EA !important;
    border-color: #FF6B4A !important;
}

/* ============================================================
   AUTH PAGES — ورود / تایید کد / ورود متخصص
   ============================================================ */

/* --- Wrapper --- */
.auth-page {
    min-height: 100vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    background-color: #12100E !important;
    color: #F6F2EA !important;
    position: relative;
    overflow: hidden;
    direction: rtl;
}
.auth-page::before {
    content: '';
    position: absolute;
    top: -30%; right: -15%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(212, 248, 75, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.auth-page::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -15%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 74, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* --- Card --- */
.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    background-color: #12100E !important;
    border: 1px solid rgba(246, 242, 234, 0.12) !important;
    border-radius: 1.75rem;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* --- Icon --- */
.auth-icon {
    width: 68px; height: 68px;
    margin: 0 auto 1.5rem;
    border-radius: 1.25rem;
    background-color: #D4F84B !important;
    color: #12100E !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

/* --- Titles --- */
.auth-container h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #F6F2EA !important;
    margin: 0 0 0.5rem;
}
.auth-container > p {
    font-size: 0.875rem;
    color: rgba(246, 242, 234, 0.60) !important;
    line-height: 1.9;
    margin: 0 0 2rem;
}
.auth-container > p strong { color: #D4F84B !important; }

/* --- Mobile chip --- */
.mobile-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(246, 242, 234, 0.05) !important;
    border: 1px solid rgba(246, 242, 234, 0.15) !important;
    color: #D4F84B !important;
    font-weight: 700;
    padding: 0.5rem 1.125rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin: 0 0 1.5rem;
    direction: ltr;
}

/* --- Alerts --- */
.auth-messages {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.auth-container .alert {
    padding: 0.875rem 1.125rem;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.8;
    text-align: right;
    border: 1px solid transparent;
}
.auth-container .alert-success {
    background-color: rgba(212, 248, 75, 0.10) !important;
    color: #D4F84B !important;
    border-color: rgba(212, 248, 75, 0.25) !important;
}
.auth-container .alert-error {
    background-color: rgba(255, 107, 74, 0.10) !important;
    color: #ff9b85 !important;
    border-color: rgba(255, 107, 74, 0.25) !important;
}
.auth-container .alert-warning {
    background-color: rgba(255, 182, 39, 0.10) !important;
    color: #FFB627 !important;
    border-color: rgba(255, 182, 39, 0.25) !important;
}
.auth-container .alert-info,
.auth-container .alert-debug {
    background-color: rgba(246, 242, 234, 0.05) !important;
    color: rgba(246, 242, 234, 0.85) !important;
    border-color: rgba(246, 242, 234, 0.15) !important;
}

/* --- Tabs --- */
.login-tabs {
    display: flex !important;
    gap: 0.5rem !important;
    background-color: rgba(246, 242, 234, 0.05) !important;
    border: 1px solid rgba(246, 242, 234, 0.10) !important;
    border-radius: 0.875rem !important;
    padding: 0.375rem !important;
    margin: 0 0 1.5rem !important;
}
.login-tabs a {
    flex: 1;
    text-align: center;
    padding: 0.6875rem 0.5rem !important;
    border-radius: 0.625rem !important;
    font-weight: 700;
    font-size: 0.875rem;
    color: rgba(246, 242, 234, 0.60) !important;
    background-color: transparent !important;
    text-decoration: none;
    transition: all 0.2s ease;
}
.login-tabs a:hover {
    color: rgba(246, 242, 234, 0.90) !important;
    background-color: rgba(246, 242, 234, 0.05) !important;
}
.login-tabs a.is-active {
    background-color: #D4F84B !important;
    color: #12100E !important;
    box-shadow: none !important;
}

/* --- Form --- */
.auth-form {
    text-align: right;
}
.auth-form .field {
    margin-bottom: 1.25rem;
    text-align: right;
}
.auth-form .field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(246, 242, 234, 0.85) !important;
    margin-bottom: 0.5rem;
}
.auth-form .field input {
    width: 100% !important;
    background-color: rgba(246, 242, 234, 0.05) !important;
    border: 1.5px solid rgba(246, 242, 234, 0.15) !important;
    border-radius: 0.875rem !important;
    padding: 0.875rem 1rem !important;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #F6F2EA !important;
    transition: all 0.2s ease;
    text-align: right;
}
.auth-form .field input::placeholder {
    color: rgba(246, 242, 234, 0.40) !important;
}
.auth-form .field input:focus {
    outline: none;
    border-color: #D4F84B !important;
    background-color: rgba(212, 248, 75, 0.05) !important;
    box-shadow: 0 0 0 4px rgba(212, 248, 75, 0.10);
}
.auth-form .field input[name="mobile"],
.auth-form .field input[name="code"] {
    direction: ltr;
    text-align: center;
}
.auth-form .field input[name="code"] {
    font-size: 1.625rem;
    font-weight: 800;
    letter-spacing: 14px;
    padding-inline-start: 1.875rem !important;
}
.auth-form .field input[type="password"] {
    direction: ltr;
    text-align: left;
}
.auth-form .error-msg {
    display: block;
    font-size: 0.75rem;
    color: #ff9b85 !important;
    margin-top: 0.5rem;
    text-align: right;
}

/* --- Submit button --- */
.auth-container .btn,
.auth-container .btn-primary {
    width: 100% !important;
    margin-top: 0.25rem;
    background-color: #D4F84B !important;
    color: #12100E !important;
    border: 1px solid #D4F84B !important;
    padding: 0.875rem 1.5rem !important;
    border-radius: 9999px !important;
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.auth-container .btn:hover,
.auth-container .btn-primary:hover {
    background-color: #FF6B4A !important;
    border-color: #FF6B4A !important;
    color: #F6F2EA !important;
}

/* --- Note --- */
.auth-note {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-top: 1.5rem;
    padding: 1rem 1.125rem;
    background-color: rgba(246, 242, 234, 0.04) !important;
    border: 1px dashed rgba(246, 242, 234, 0.15) !important;
    border-radius: 0.875rem;
    text-align: right;
    font-size: 0.8125rem;
    line-height: 1.9;
    color: rgba(246, 242, 234, 0.65) !important;
}
.auth-note strong { color: #D4F84B !important; }

/* --- Help --- */
.auth-help {
    margin-top: 1.375rem;
    font-size: 0.78125rem;
    color: rgba(246, 242, 234, 0.55) !important;
    line-height: 1.9;
    text-align: center;
}
.auth-help strong {
    color: #D4F84B !important;
    font-size: 0.9375rem;
    letter-spacing: 3px;
    direction: ltr;
    display: inline-block;
}
.auth-help a {
    color: #D4F84B !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.auth-help a:hover { color: #FF6B4A !important; }

/* --- Responsive --- */
@media (max-width: 480px) {
    .auth-container { padding: 2rem 1.25rem; }
    .auth-form .field input[name="code"] {
        letter-spacing: 10px;
        font-size: 1.375rem;
    }
}