/* ============================================================
   فروشگاه آتیه — استایل (الهام از اویشو)
   مینیمال، تمیز، فضای سفید زیاد
   ============================================================ */

:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #8a8a8a;
  --line: #ececec;
  --sale-bg: #f5e003;
  --sale-text: #1a1a1a;
  --accent: #1a1a1a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Vazirmatn', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------- نوار بالا ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.logo {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: lowercase;
}

.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-size: 13px;
  color: var(--muted);
  transition: color .2s;
  letter-spacing: .3px;
}
.main-nav a:hover { color: var(--text); }

.header-tools { display: flex; align-items: center; gap: 16px; }

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  position: relative;
  padding: 4px;
}

.cart-count {
  position: absolute;
  top: -4px;
  left: -6px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-right: 6px;
}
.lang-switch button {
  background: none;
  border: none;
  padding: 5px 9px;
  font-size: 11px;
  cursor: pointer;
  color: var(--muted);
  font-family: inherit;
}
.lang-switch button.lang-on { background: var(--accent); color: #fff; }

.menu-btn { display: none; flex-direction: column; gap: 4px; }
.menu-btn span { width: 20px; height: 1.5px; background: var(--text); }

/* ---------- هیرو ---------- */
.hero {
  text-align: center;
  padding: 56px 20px 40px;
}
.hero h1 {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: .5px;
  margin-bottom: 8px;
}
.hero p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- پیام وضعیت ---------- */
.status-msg {
  text-align: center;
  padding: 20px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- شبکه محصولات ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 28px 20px;
  padding: 20px 28px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card { cursor: pointer; }

.card-img {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #f6f4f0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.product-card:hover .card-img img { transform: scale(1.04); }

.fav-btn {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
}
.fav-btn.on { color: #d4537e; }

.swatches { display: flex; gap: 6px; margin-bottom: 8px; }
.swatch {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 1px solid var(--line);
  cursor: pointer;
}
.swatch.on { outline: 1px solid var(--text); outline-offset: 1px; }

.card-name {
  font-size: 13px;
  margin-bottom: 4px;
  font-weight: 400;
}
.card-cat { font-size: 11px; color: var(--muted); margin-bottom: 4px; }

.price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price-now { font-size: 13px; font-weight: 500; }
.price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; }

.sale-badge {
  display: inline-block;
  background: var(--sale-bg);
  color: var(--sale-text);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 2px;
  margin-top: 4px;
  font-weight: 500;
}

.stock-line { font-size: 11px; margin-top: 6px; }
.stock-low { color: #c87f00; }
.stock-ok { color: #5a8a3c; }
.stock-out { color: var(--muted); }

/* ---------- فوتر ---------- */
.site-footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

/* ---------- موبایل ---------- */
@media (max-width: 768px) {
  .site-header { padding: 14px 16px; }
  .main-nav { display: none; }
  .menu-btn { display: flex; }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
    padding: 16px;
  }
  .hero { padding: 36px 16px 28px; }
  .hero h1 { font-size: 24px; }
  .logo { font-size: 22px; }
}

/* ============================================================
   صفحه محصول
   ============================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 28px 60px;
}

.detail-img {
  aspect-ratio: 3 / 4;
  background: #f6f4f0;
  border-radius: 2px;
  overflow: hidden;
}
.detail-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.detail-info { padding-top: 10px; }
.detail-cat { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.detail-name { font-size: 24px; font-weight: 400; margin-bottom: 16px; line-height: 1.4; }

.detail-price {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.detail-price .price-now { font-size: 20px; font-weight: 500; }
.detail-price .price-old { font-size: 15px; }

.detail-desc {
  font-size: 14px; color: #555; line-height: 1.8;
  margin-bottom: 28px; font-weight: 300;
}

.option-group { margin-bottom: 24px; }
.option-label { font-size: 13px; font-weight: 500; margin-bottom: 10px; }

.color-options { display: flex; gap: 10px; }
.color-swatch {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); cursor: pointer; padding: 0;
  transition: outline .15s;
}
.color-swatch.on { outline: 2px solid var(--text); outline-offset: 2px; }

.size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-box {
  min-width: 48px; padding: 10px 14px;
  border: 1px solid var(--line); background: #fff;
  font-family: inherit; font-size: 13px; cursor: pointer;
  border-radius: 2px; transition: all .15s;
}
.size-box:hover:not(.disabled) { border-color: var(--text); }
.size-box.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.size-box.disabled {
  color: #ccc; cursor: not-allowed;
  text-decoration: line-through; background: #fafafa;
}

.hint { font-size: 12px; color: var(--muted); }

.variant-stock { font-size: 12px; margin-bottom: 20px; min-height: 16px; }

.add-to-cart-btn {
  width: 100%; padding: 15px;
  background: var(--accent); color: #fff;
  border: none; font-family: inherit; font-size: 14px;
  cursor: pointer; border-radius: 2px; letter-spacing: .5px;
  transition: opacity .15s;
}
.add-to-cart-btn:hover:not(:disabled) { opacity: .85; }
.add-to-cart-btn:disabled { background: #ccc; cursor: not-allowed; }

.add-feedback { font-size: 13px; margin-top: 12px; text-align: center; min-height: 18px; }
.add-feedback.success { color: #5a8a3c; }
.add-feedback.hint { color: var(--muted); }

@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; gap: 24px; padding: 16px 16px 40px; }
  .detail-name { font-size: 20px; }
}

/* ============================================================
   صفحه سبد خرید
   ============================================================ */
.cart-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 28px 60px;
}
.cart-title { font-size: 24px; font-weight: 400; margin-bottom: 28px; }

.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty p { color: var(--muted); margin-bottom: 20px; font-size: 15px; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-img {
  width: 90px; aspect-ratio: 3/4;
  background: #f6f4f0; border-radius: 2px; overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-info { display: flex; flex-direction: column; gap: 6px; }
.cart-item-name { font-size: 14px; font-weight: 400; }
.cart-item-variant { font-size: 12px; color: var(--muted); }
.cart-item-price { font-size: 13px; }
.cart-item-remove {
  background: none; border: none; color: var(--muted);
  font-family: inherit; font-size: 12px; cursor: pointer;
  text-decoration: underline; padding: 0; margin-top: auto;
  align-self: flex-start;
}
.cart-item-remove:hover { color: var(--text); }

.cart-item-controls {
  display: flex; flex-direction: column;
  align-items: flex-end; justify-content: space-between; gap: 12px;
}
.qty-control {
  display: flex; align-items: center;
  border: 1px solid var(--line); border-radius: 2px;
}
.qty-btn {
  width: 30px; height: 30px; border: none; background: none;
  cursor: pointer; font-size: 16px; color: var(--text);
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: #f6f4f0; }
.qty-value { min-width: 36px; text-align: center; font-size: 13px; }
.cart-item-linetotal { font-size: 14px; font-weight: 500; }

.cart-summary {
  background: #faf9f7;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
  position: sticky;
  top: 90px;
}
.cart-summary h2 { font-size: 16px; font-weight: 500; margin-bottom: 18px; }
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 13px; margin-bottom: 12px; color: #444;
}
.summary-row.total {
  border-top: 1px solid var(--line);
  padding-top: 14px; margin-top: 14px;
  font-size: 15px; font-weight: 500; color: var(--text);
}
.checkout-btn {
  width: 100%; padding: 14px; margin-top: 8px;
  background: var(--accent); color: #fff;
  border: none; font-family: inherit; font-size: 14px;
  cursor: pointer; border-radius: 2px; letter-spacing: .5px;
  transition: opacity .15s;
}
.checkout-btn:hover { opacity: .85; }
.continue-link {
  display: block; text-align: center; margin-top: 14px;
  font-size: 13px; color: var(--muted); text-decoration: underline;
}

@media (max-width: 768px) {
  .cart-page { padding: 16px 16px 40px; }
  .cart-layout { grid-template-columns: 1fr; gap: 24px; }
  .cart-summary { position: static; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item-img { width: 70px; }
  .cart-item-controls {
    grid-column: 1 / -1; flex-direction: row;
    align-items: center; justify-content: space-between;
  }
}

/* ============================================================
   نوار اعلان (toast)
   ============================================================ */
.atiyeh-toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 1000;
  white-space: nowrap;
}
.atiyeh-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   دایره‌های رنگ روی کارت محصول
   ============================================================ */
.card-colors {
  display: flex;
  gap: 6px;
  margin: 8px 0 4px;
}
.card-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 0;
  transition: outline .12s;
}
.card-swatch.on {
  outline: 1.5px solid var(--text);
  outline-offset: 1.5px;
}

/* ============================================================
   صفحه جستجو و علاقه‌مندی‌ها
   ============================================================ */
.search-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 700px;
  margin: 18px auto 6px;
  padding: 0 4px;
}
.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--text);
  padding: 8px 2px;
}
.search-icon { color: var(--muted); flex-shrink: 0; }
.search-field input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  outline: none;
  color: var(--text);
}
.search-cancel {
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
}
.search-section-title {
  font-size: 15px;
  font-weight: 500;
  margin: 22px 4px 16px;
}

.page-title {
  font-size: 22px;
  font-weight: 400;
  margin: 24px 4px 18px;
}
.status-msg {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 30px 0;
}

/* ============================================================
   منوی دسته‌بندی پویا — dropdown
   ============================================================ */
.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  min-width: 160px;
  z-index: 100;
  padding: 6px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { color: var(--text); background: #fafafa; }

/* موبایل: nav به‌صورت کشویی از بالا */
@media (max-width: 768px) {
  .main-nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    right: 0;
    left: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    gap: 6px;
    z-index: 200;
  }
  .main-nav.nav-open a { padding: 10px 0; font-size: 15px; }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-right: 16px;
  }
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
}

/* ============================================================
   مسیر راهنما (breadcrumb) صفحه محصول
   ============================================================ */
.breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 28px 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .bc-sep { color: #ccc; }
.breadcrumb .bc-current { color: var(--text); }
@media (max-width: 768px) {
  .breadcrumb { padding: 12px 16px 0; font-size: 12px; }
}


/* ============================================================
   حساب کاربری / تسویه / پرداخت / سفارش‌ها
   ============================================================ */
.auth-page { max-width: 400px; margin: 56px auto; padding: 0 20px; }
.auth-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 28px 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  background: #fff;
}
.auth-icon {
  width: 60px; height: 60px; margin: 0 auto 16px;
  border-radius: 50%;
  background: #faf8f4;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
}
.auth-card h1 { font-size: 21px; font-weight: 600; margin-bottom: 8px; text-align: center; }
.auth-form label { display: block; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.auth-form input {
  width: 100%; margin-top: 6px; padding: 14px; border: 1px solid var(--line);
  border-radius: 10px; font-family: inherit; font-size: 16px; outline: none; box-sizing: border-box;
  transition: border-color .2s;
}
.auth-form input:focus { border-color: var(--text); }
#f_code { text-align: center; letter-spacing: 6px; font-size: 20px; font-weight: 600; }
.auth-error { color: #c0392b; font-size: 13px; min-height: 18px; margin-bottom: 6px; text-align: center; }
.auth-submit { width: 100%; padding: 15px; font-size: 16px; border-radius: 10px; margin-top: 4px; }
.auth-form .link-btn { display: inline-block; margin-top: 4px; font-size: 13px; }
.code-sent-to .link-btn { margin-right: 6px; }

.checkout-page, .payment-page, .orders-page { max-width: 960px; margin: 24px auto 60px; padding: 0 20px; }
.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.checkout-form h2, .checkout-summary h2 { font-size: 17px; font-weight: 500; margin-bottom: 14px; }
.checkout-form label { display: block; margin-bottom: 14px; font-size: 14px; }
.checkout-form input, .checkout-form textarea {
  width: 100%; margin-top: 6px; padding: 12px; border: 1px solid var(--line);
  border-radius: 8px; font-family: inherit; font-size: 16px; outline: none; box-sizing: border-box;
}
.checkout-summary { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #faf8f4; }
.summary-item { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.summary-item small { color: var(--muted); }
.summary-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-total { font-weight: 600; font-size: 16px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.checkout-submit { width: 100%; margin-top: 12px; }

.payment-card { max-width: 560px; margin: 0 auto; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.pay-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pay-total { font-size: 16px; margin-bottom: 20px; }
.pay-section { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.pay-section h3 { font-size: 15px; font-weight: 500; margin-bottom: 12px; }
.card-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #faf8f4; padding: 14px; border-radius: 10px; }
.card-number { font-size: 20px; letter-spacing: 2px; direction: ltr; font-weight: 600; }
.card-holder { margin-top: 10px; font-size: 14px; color: var(--muted); }
.pay-info { padding: 16px; background: #faf8f4; border-radius: 10px; text-align: center; }
.pay-info.success { background: #eaf6ec; color: #1e7c3a; }
.upload-btn.block { display: block; text-align: center; padding: 12px; border: 1px dashed var(--line); border-radius: 8px; cursor: pointer; margin: 10px 0; }
.receipt-preview { max-width: 200px; border-radius: 8px; margin: 10px 0; display: block; }

.order-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.order-row-main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.order-id { font-weight: 500; }
.order-date { font-size: 12px; color: var(--muted); }
.order-amount { font-size: 14px; }

.order-badge { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #eee; color: #555; white-space: nowrap; }
.badge-pending_payment { background: #fff3d6; color: #9a6b00; }
.badge-awaiting_review { background: #e2eefb; color: #1f5fa6; }
.badge-confirmed, .badge-paid { background: #eaf6ec; color: #1e7c3a; }
.badge-rejected, .badge-cancelled { background: #fbe3e3; color: #b3261e; }

@media (max-width: 768px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

/* متن‌های صفحه ورود OTP */
.auth-sub { font-size: 13px; color: var(--muted); text-align: center; margin-bottom: 18px; line-height: 1.7; }
.code-sent-to { font-size: 13px; color: var(--muted); margin-bottom: 14px; text-align: center; }
.code-sent-to span { font-weight: 600; color: var(--text); }

/* کد تخفیف در تسویه */
.discount-box { display: flex; gap: 8px; margin: 14px 0 8px; }
.discount-box input {
  flex: 1; padding: 11px; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 15px; outline: none;
}
.discount-box button {
  padding: 11px 18px; border: 1px solid var(--text); background: var(--text); color: #fff;
  border-radius: 8px; font-family: inherit; font-size: 14px; cursor: pointer;
}
.disc-msg { font-size: 13px; min-height: 16px; margin-bottom: 6px; }
.disc-msg.ok { color: #1e7c3a; }
.disc-msg.err { color: #c0392b; }
.disc-line span { color: #1e7c3a; }

/* ============================================================
   پنل مشتری
   ============================================================ */
.panel-page { max-width: 760px; margin: 24px auto 60px; padding: 0 20px; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px;
}
.panel-user { display: flex; align-items: center; gap: 12px; }
.panel-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: #faf8f4;
  display: flex; align-items: center; justify-content: center; color: var(--text);
}
.panel-name { font-size: 16px; font-weight: 600; }
.panel-mobile { font-size: 13px; color: var(--muted); }

.panel-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.panel-tab {
  padding: 10px 18px; border: 1px solid var(--line); background: #fff; border-radius: 999px;
  font-family: inherit; font-size: 14px; cursor: pointer; color: var(--muted);
}
.panel-tab.active { background: var(--text); color: #fff; border-color: var(--text); }

.profile-form { max-width: 480px; }
.profile-form label { display: block; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.profile-form input, .profile-form textarea {
  width: 100%; margin-top: 6px; padding: 13px; border: 1px solid var(--line);
  border-radius: 10px; font-family: inherit; font-size: 16px; outline: none; box-sizing: border-box;
}
.profile-form input:focus, .profile-form textarea:focus { border-color: var(--text); }
.profile-form input[readonly] { background: #f7f7f7; color: var(--muted); }
.saved-msg { color: #1e7c3a; margin-right: 12px; font-size: 14px; }

/* دکمه‌های پایین صفحه پرداخت */
.pay-foot-links { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }

/* تب‌های ورود/ثبت‌نام */
.auth-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.auth-tab {
  flex: 1; padding: 10px; border: 1px solid var(--line); background: #fff;
  border-radius: 8px; font-family: inherit; font-size: 15px; cursor: pointer; color: var(--muted);
}
.auth-tab.active { background: var(--text); color: #fff; border-color: var(--text); }
