/* SMS OTP Login | رنگ‌ها از تنظیمات افزونه (متغیرهای --otp-*) می‌آیند */
.otp { --otp-brand:#73542E; --otp-brand-d:#5A4023; --otp-btn-txt:#fff; --otp-bg:#FBF5EE; --otp-border:#E9CFB4; --otp-text:#2B2016; --otp-err:#A12B1F; --otp-ok:#2E7D4F; --otp-radius:12px;
  max-width: 420px; margin: 0 auto 28px; padding: 24px 22px; border: 1.5px solid var(--otp-border); border-radius: calc(var(--otp-radius) + 8px); background: var(--otp-bg); color: var(--otp-text); }
.otp__title { margin: 0 0 16px; font-size: 18px; font-weight: 800; color: var(--otp-brand-d); }
.otp__step[hidden] { display: none; }
.otp__step { display: flex; flex-direction: column; gap: 10px; }
.otp label { font-size: 14px; font-weight: 600; }
.otp input { min-height: 48px; padding: 0 14px; border: 1.5px solid var(--otp-border); border-radius: var(--otp-radius); background: #fff; font: inherit; font-size: 17px; letter-spacing: 1px; text-align: center; color: inherit; }
.otp input:focus-visible { outline: 3px solid var(--otp-brand); outline-offset: 2px; }
.otp__btn { min-height: 48px; border: 0; border-radius: var(--otp-radius); background: var(--otp-brand); color: var(--otp-btn-txt); font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer; }
.otp__btn:hover { background: var(--otp-brand-d); }
.otp__btn:disabled { opacity: .6; cursor: wait; }
.otp__hint { margin: 0; font-size: 14px; line-height: 1.8; opacity: .85; }
.otp__row { display: flex; justify-content: space-between; gap: 8px; }
.otp__link { min-height: 44px; padding: 0 4px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--otp-brand); cursor: pointer; text-decoration: underline; }
.otp__link:disabled { opacity: .6; text-decoration: none; cursor: default; }
.otp__msg { min-height: 22px; margin: 12px 0 0; font-size: 14px; color: var(--otp-err); }
.otp__msg.is-ok { color: var(--otp-ok); }
