.split { display: flex; min-height: 100vh }

.split__image { flex: 1.1; margin: 0; display: none; }
.split__image .placeholder {
  height: 100%; width: 100%;
  background: var(--color-navy-light);
  background-image: repeating-linear-gradient(135deg, rgba(246,242,232,.06) 0 2px, transparent 2px 14px);
  display: flex; align-items: center; justify-content: center; padding: 40px;
}
.split__image .placeholder span {
  font-family: ui-monospace, monospace; font-size: 13px; color: var(--text-70);
  text-align: center; line-height: 1.9; max-width: 32ch;
}

.split__form { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px }
.form-card { width: 100%; max-width: 380px }

.brand { display: flex; justify-content: center; margin-bottom: 34px }
.brand img { height: 46px; width: auto }

.tabs { display: flex; gap: 6px; background: var(--color-navy-dark); border-radius: 12px; padding: 4px; margin-bottom: 22px }
.tab-btn {
  flex: 1; background: none; border: 0; border-radius: 9px; color: var(--text-70);
  font-family: inherit; font-size: 13.5px; font-weight: 700; padding: 9px 6px; cursor: pointer;
}
.tab-btn[aria-selected="true"] { background: var(--color-oxblood); color: var(--color-cream) }

.tab-panel { display: none }
.tab-panel.active { display: block }

.otp-hint { font-size: 12.5px; color: var(--color-slate); margin: -6px 0 14px }
.field-required { color: var(--color-oxblood-light, #a04452) }
.field-optional { font-size: 12px; color: var(--text-70); font-weight: 400 }
.field-error input { border-color: var(--color-oxblood-light, #a04452) !important }
.field-error-msg { font-size: 12px; color: var(--color-oxblood-light, #a04452); margin: 2px 0 0 }

@media (min-width: 861px) { .split__image { display: block } }

/* ---- تقویم شمسی بازشونده (فیلد تاریخ تولد، اختیاری) ---- */
.field input[data-jalali-picker] { cursor: pointer }
.jdp-popup {
  position: relative; z-index: 20; margin-top: 8px; padding: 14px;
  background: var(--color-navy-dark); border: 1px solid rgba(196,163,90,.5); border-radius: 12px;
  box-shadow: 0 18px 34px -18px rgba(0,0,0,.55);
}
.jdp-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px }
.jdp-title { font-family: inherit; font-weight: 700; font-size: 14px; color: var(--color-cream) }
.jdp-nav {
  background: none; border: 1px solid rgba(196,163,90,.4); border-radius: 8px; color: var(--color-gold);
  width: 28px; height: 28px; font-size: 15px; line-height: 1; cursor: pointer;
}
.jdp-nav:hover { background: rgba(196,163,90,.12) }
.jdp-yearrow { display: flex; justify-content: center; margin-bottom: 10px }
.jdp-yearselect {
  background: var(--color-navy-light); border: 1px solid rgba(196,163,90,.4); border-radius: 8px;
  color: var(--color-cream); font-family: inherit; font-size: 13px; padding: 5px 10px;
}
.jdp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px }
.jdp-weekday { text-align: center; font-size: 11px; color: var(--text-70); padding: 4px 0 }
.jdp-day {
  background: none; border: 0; border-radius: 8px; color: var(--text-82); font-family: inherit;
  font-size: 13px; padding: 7px 0; cursor: pointer;
}
.jdp-day:hover { background: rgba(196,163,90,.14) }
.jdp-day--selected { background: var(--color-oxblood); color: var(--color-cream); font-weight: 700 }
.jdp-day--blank { cursor: default; visibility: hidden }
.jdp-footer { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(196,163,90,.2) }
