/* ═══════════════════════════════════════════════════════
   AUTH PAGE — Native App Full Screen
   ═══════════════════════════════════════════════════════ */

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body.auth-body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
}

body.auth-body {
  font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  background: #0a0a15;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ═══ Layout ═══ */
.auth-layout {
  display: flex;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════
   ستون چپ — Branding (فقط دسکتاپ)
   ═══════════════════════════════════════════════════════ */
.auth-brand {
  display: none;
  position: relative;
  width: 50%;
  background: linear-gradient(135deg, #1a0f3d 0%, #0a0a15 50%, #2d1b4e 100%);
  overflow: hidden;
  padding: 60px;
  flex-direction: column;
  justify-content: space-between;
}

.auth-brand::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: #4f46e5;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .5;
  animation: brandOrb 18s ease-in-out infinite;
  pointer-events: none;
}

.auth-brand::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 550px;
  height: 550px;
  background: #ec4899;
  border-radius: 50%;
  filter: blur(130px);
  opacity: .4;
  animation: brandOrb 18s ease-in-out infinite -9s;
  pointer-events: none;
}

@keyframes brandOrb {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(40px,-40px) scale(1.15); }
}

.auth-brand-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}

.auth-brand-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
  align-self: flex-start;
}

.auth-brand-logo-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 15px 40px rgba(79,70,229,.6);
}

.auth-brand-logo-text b {
  display: block;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.auth-brand-logo-text small {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  margin-top: 2px;
}

.auth-brand-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

.auth-brand-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 0 0 20px;
}

.auth-brand-title .grad {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 50%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-brand-desc {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  line-height: 1.9;
  max-width: 420px;
  margin: 0 0 40px;
}

.auth-brand-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
}

.auth-brand-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  animation: featureIn .6s cubic-bezier(.2,.8,.2,1) both;
}

.auth-brand-feature:nth-child(1) { animation-delay: .1s; }
.auth-brand-feature:nth-child(2) { animation-delay: .2s; }
.auth-brand-feature:nth-child(3) { animation-delay: .3s; }

@keyframes featureIn {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.auth-brand-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  background: rgba(79,70,229,.2);
  border: 1px solid rgba(79,70,229,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.auth-brand-feature b {
  font-size: 14px;
  font-weight: 800;
  display: block;
}

.auth-brand-feature small {
  font-size: 11.5px;
  color: rgba(255,255,255,.5);
  display: block;
  margin-top: 2px;
}

.auth-brand-footer {
  display: flex;
  gap: 24px;
  align-self: flex-start;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

.auth-brand-footer span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-brand-footer svg {
  width: 14px;
  height: 14px;
  color: #22c55e;
}

/* ═══════════════════════════════════════════════════════
   ستون راست — فرم
   ═══════════════════════════════════════════════════════ */
.auth-form-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #1a0f3d 0%, #0f0a1f 40%, #2d1b4e 100%);
}

.auth-form-side::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: #4f46e5;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .5;
  animation: formOrb 14s ease-in-out infinite;
  pointer-events: none;
}

.auth-form-side::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -25%;
  width: 550px;
  height: 550px;
  background: #ec4899;
  border-radius: 50%;
  filter: blur(130px);
  opacity: .45;
  animation: formOrb 16s ease-in-out infinite -8s;
  pointer-events: none;
}

@keyframes formOrb {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-50px, 50px) scale(1.2); }
}

.auth-form-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ═══ محتوای فرم — تمام صفحه واقعی ═══ */
.auth-form-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.auth-form-wrapper {
  width: 100%;
  max-width: 420px;
  animation: formIn .5s cubic-bezier(.2,.8,.2,1);
}

@keyframes formIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══ لوگو موبایل ═══ */
.auth-mobile-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  text-decoration: none;
  color: #fff;
}

.auth-mobile-logo-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 15px 40px rgba(79,70,229,.6);
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 15px 40px rgba(79,70,229,.6); }
  50%      { transform: scale(1.05); box-shadow: 0 20px 55px rgba(79,70,229,.8); }
}

.auth-mobile-logo-text {
  display: flex;
  flex-direction: column;
  text-align: right;
  line-height: 1.2;
}

.auth-mobile-logo-text b {
  font-size: 18px;
  font-weight: 900;
}

.auth-mobile-logo-text small {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}

/* ═══ کارت فرم ═══ */
.auth-card {
  background: rgba(20,15,40,.7);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  padding: 32px 26px;
  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 1px 0 rgba(255,255,255,.15) inset;
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4f46e5, #ec4899, transparent);
  border-radius: 2px;
  opacity: .8;
}

/* ═══ آیکون ═══ */
.auth-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 45px rgba(79,70,229,.5), inset 0 1px 0 rgba(255,255,255,.3);
  animation: iconPop .5s cubic-bezier(.5,1.8,.5,1);
  position: relative;
}

.auth-icon::before {
  content: '';
  position: absolute;
  inset: -12px;
  background: radial-gradient(circle, rgba(79,70,229,.6), transparent 70%);
  border-radius: 50%;
  animation: iconGlow 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes iconGlow {
  0%, 100% { transform: scale(1); opacity: .6; }
  50%      { transform: scale(1.2); opacity: 1; }
}

@keyframes iconPop {
  0%   { transform: scale(0) rotate(-90deg); }
  100% { transform: scale(1) rotate(0); }
}

.auth-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

/* ═══ عنوان ═══ */
.auth-title {
  font-size: 21px;
  font-weight: 900;
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: -.3px;
}

.auth-sub {
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  text-align: center;
  margin: 0 0 22px;
  line-height: 1.7;
}

.auth-sub strong {
  color: #a5b4fc;
  font-weight: 700;
  direction: ltr;
  display: inline-block;
  font-family: 'Courier New', monospace;
}

/* ═══ مراحل ═══ */
.auth-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.auth-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  transition: all .3s;
}

.auth-step-dot.active {
  background: #4f46e5;
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(79,70,229,.6);
}

.auth-step-dot.done { background: #16a34a; }

/* ═══ فرم ═══ */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  margin-bottom: 7px;
}

.auth-input-wrap { position: relative; }

.auth-input {
  width: 100%;
  padding: 15px;
  padding-right: 46px;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 13px;
  font-family: inherit;
  font-size: 15px;
  background: rgba(255,255,255,.05);
  color: #fff;
  outline: none;
  transition: all .25s;
}

.auth-input::placeholder { color: rgba(255,255,255,.3); }

.auth-input:focus {
  border-color: #4f46e5;
  background: rgba(79,70,229,.1);
  box-shadow: 0 0 0 4px rgba(79,70,229,.15);
}

.auth-input.ltr { direction: ltr; text-align: left; }

.input-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.4);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-icon svg { width: 19px; height: 19px; }

/* ═══ OTP ═══ */
.otp-input {
  width: 100%;
  padding: 16px;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 14px;
  font-family: 'Courier New', monospace;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 14px;
  text-align: center;
  direction: ltr;
  background: rgba(255,255,255,.05);
  color: #fff;
  outline: none;
  transition: all .25s;
}

.otp-input::placeholder {
  color: rgba(255,255,255,.15);
  letter-spacing: 6px;
  font-size: 20px;
}

.otp-input:focus {
  border-color: #4f46e5;
  background: rgba(79,70,229,.1);
  box-shadow: 0 0 0 4px rgba(79,70,229,.15);
}

/* ═══ Slug ═══ */
.slug-input-wrap {
  display: flex;
  align-items: stretch;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 13px;
  overflow: hidden;
  background: rgba(255,255,255,.05);
  transition: all .25s;
  direction: ltr;
}

.slug-input-wrap:focus-within {
  border-color: #4f46e5;
  background: rgba(79,70,229,.1);
  box-shadow: 0 0 0 4px rgba(79,70,229,.15);
}

.slug-prefix {
  padding: 15px 8px 15px 12px;
  color: rgba(255,255,255,.4);
  font-size: 11.5px;
  font-family: 'Courier New', monospace;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.03);
  border-right: 1px solid rgba(255,255,255,.08);
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slug-input-wrap input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 15px 12px 15px 8px !important;
  font-family: 'Courier New', monospace;
  font-size: 13.5px;
  color: #fff;
  outline: none;
  min-width: 0;
  box-shadow: none !important;
}

.field-hint {
  display: block;
  font-size: 11.5px;
  color: rgba(255,255,255,.45);
  margin-top: 6px;
  line-height: 1.7;
}

/* ═══ دکمه اصلی ═══ */
.auth-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 13px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 12px 32px rgba(79,70,229,.45);
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  position: relative;
  overflow: hidden;
  margin-top: 6px;
}

.auth-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transition: left .6s;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(79,70,229,.6);
  background-position: 100% 50%;
}

.auth-btn:hover::before { left: 100%; }
.auth-btn:active { transform: translateY(0) scale(.98); }
.auth-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.auth-btn svg { width: 18px; height: 18px; }

/* ═══ دکمه ثانویه ═══ */
.auth-btn-secondary {
  width: 100%;
  padding: 13px;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 13px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  background: rgba(255,255,255,.05);
  color: #fff;
  transition: all .25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-btn-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
}

/* ═══ Alert ═══ */
.auth-alert {
  padding: 12px 14px;
  border-radius: 13px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  animation: alertIn .3s cubic-bezier(.2,.8,.2,1);
  line-height: 1.6;
}

@keyframes alertIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.auth-alert svg { width: 18px; height: 18px; flex-shrink: 0; }

.auth-alert.error {
  background: rgba(220,38,38,.15);
  border: 1px solid rgba(220,38,38,.3);
  color: #fca5a5;
}

.auth-alert.success {
  background: rgba(22,163,74,.15);
  border: 1px solid rgba(22,163,74,.3);
  color: #86efac;
}

.auth-alert.info {
  background: rgba(2,132,199,.15);
  border: 1px solid rgba(2,132,199,.3);
  color: #7dd3fc;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.auth-alert.info small { font-size: 11px; opacity: .85; font-weight: 500; }

.auth-alert.info b {
  font-family: 'Courier New', monospace;
  font-size: 18px;
  letter-spacing: 4px;
  color: #fff;
  align-self: center;
  margin-top: 2px;
}

/* ═══ پاورقی ═══ */
.auth-footer {
  text-align: center;
  margin-top: 16px;
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.9;
}

.auth-footer a {
  color: #a5b4fc;
  font-weight: 700;
  text-decoration: none;
  margin-right: 4px;
  transition: color .2s;
}

.auth-footer a:hover { color: #fff; text-decoration: underline; }
.auth-footer.muted a { color: rgba(255,255,255,.5); font-weight: 500; }

/* ═══ لینک بازگشت ═══ */
.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 10px;
  transition: all .25s;
}

.auth-back:hover { color: #fff; background: rgba(255,255,255,.05); }
.auth-back svg { width: 15px; height: 15px; transition: transform .25s; }
.auth-back:hover svg { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════
   📱 MOBILE — تمام صفحه واقعی بدون حاشیه
   ═══════════════════════════════════════════════════════ */
@media (max-width: 899px) {

  /* ستون فرم — تمام صفحه */
  .auth-form-side {
    width: 100vw;
    flex: 1;
    background: linear-gradient(160deg, #2d1b4e 0%, #1a0f3d 40%, #0a0a15 100%);
  }

  /* حباب‌های بزرگ */
  .auth-form-side::before {
    width: 60vw;
    height: 60vw;
    max-width: 400px;
    max-height: 400px;
    top: -10vw;
    right: -15vw;
    opacity: .55;
  }

  .auth-form-side::after {
    width: 70vw;
    height: 70vw;
    max-width: 450px;
    max-height: 450px;
    bottom: -15vw;
    left: -15vw;
    opacity: .5;
  }

  /* 🔥 محتوای فرم — تمام صفحه بدون حاشیه */
  .auth-form-content {
    padding: 0;
    /* رعایت safe-area فقط */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .auth-form-content::-webkit-scrollbar { display: none; }

  /* 🔥 wrapper — تمام صفحه با فاصله داخلی */
  .auth-form-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 20px 18px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* لوگو */
  .auth-mobile-logo {
    margin-bottom: 22px;
  }

  .auth-mobile-logo-mark {
    width: 54px;
    height: 54px;
    font-size: 26px;
    border-radius: 17px;
  }

  .auth-mobile-logo-text b { font-size: 17px; }
  .auth-mobile-logo-text small { font-size: 10.5px; }

  /* 🔥 کارت — عرض کامل، بدون حاشیه */
  .auth-card {
    width: 100%;
    background: rgba(20,15,40,.55);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 26px;
    padding: 26px 20px;
    box-shadow:
      0 20px 60px rgba(0,0,0,.4),
      0 0 0 1px rgba(255,255,255,.05) inset,
      0 1px 0 rgba(255,255,255,.12) inset;
  }

  /* آیکون */
  .auth-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 16px;
    border-radius: 18px;
  }

  .auth-icon svg { width: 28px; height: 28px; }

  /* عنوان */
  .auth-title {
    font-size: 19px;
    margin-bottom: 6px;
  }

  .auth-sub {
    font-size: 12.5px;
    margin-bottom: 18px;
  }

  .auth-steps { margin-bottom: 14px; }

  /* inputs */
  .auth-input {
    padding: 14px 14px;
    padding-right: 44px;
    font-size: 15px;
    border-radius: 12px;
  }

  .otp-input {
    padding: 15px;
    font-size: 26px;
    letter-spacing: 12px;
    border-radius: 13px;
  }

  .auth-btn {
    padding: 15px;
    font-size: 15px;
    border-radius: 12px;
  }

  .auth-form { gap: 11px; }
}

/* موبایل کوچک */
@media (max-width: 400px) {
  .auth-form-wrapper {
    padding: 16px 14px;
  }

  .auth-card {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .auth-mobile-logo { margin-bottom: 16px; }
  .auth-mobile-logo-mark {
    width: 48px;
    height: 48px;
    font-size: 22px;
    border-radius: 15px;
  }
  .auth-mobile-logo-text b { font-size: 15px; }

  .auth-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
  }
  .auth-icon svg { width: 24px; height: 24px; }

  .auth-title { font-size: 17px; }
  .auth-sub { font-size: 12px; margin-bottom: 14px; }

  .auth-input {
    padding: 13px;
    padding-right: 40px;
    font-size: 14px;
  }

  .otp-input {
    padding: 14px;
    font-size: 22px;
    letter-spacing: 10px;
  }

  .auth-btn { padding: 14px; font-size: 14px; }
  .auth-form { gap: 10px; }
}

/* موبایل خیلی کوچک */
@media (max-width: 340px) {
  .auth-form-wrapper { padding: 12px 10px; }
  .auth-card { padding: 18px 14px; }
  .auth-mobile-logo-mark { width: 42px; height: 42px; font-size: 20px; }
  .auth-title { font-size: 16px; }
}

/* Landscape موبایل */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 899px) {
  .auth-form-wrapper {
    justify-content: flex-start;
    padding: 12px;
  }

  .auth-mobile-logo {
    margin-bottom: 12px;
  }

  .auth-mobile-logo-mark {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .auth-card { padding: 18px; }
  .auth-icon { width: 48px; height: 48px; margin-bottom: 10px; }
  .auth-icon svg { width: 22px; height: 22px; }
  .auth-title { font-size: 16px; margin-bottom: 4px; }
  .auth-sub { font-size: 11.5px; margin-bottom: 12px; }
  .auth-input { padding: 11px 12px; padding-right: 38px; font-size: 13.5px; }
  .auth-btn { padding: 12px; font-size: 13.5px; }
}

/* ═══════════════════════════════════════════════════════
   💻 DESKTOP — Split Screen
   ═══════════════════════════════════════════════════════ */
@media (min-width: 900px) {
  .auth-brand {
    display: flex;
  }

  .auth-mobile-logo {
    display: none;
  }

  .auth-form-side {
    width: 50%;
  }

  .auth-form-content {
    padding: 40px;
  }

  .auth-form-wrapper {
    padding: 0;
  }

  .auth-card {
    padding: 36px 32px;
  }
}

@media (min-width: 1400px) {
  .auth-brand { padding: 80px; }
  .auth-brand-title { font-size: 52px; }
  .auth-form-wrapper { max-width: 440px; }
}