.poostina-auth {
  position: fixed;
  inset: 0;
  z-index: var(--pst-z-modal, 1400);
  display: grid;
  place-items: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  direction: rtl;
  font-family: "peyda-reg", Tahoma, Arial, sans-serif;
  transition: opacity .22s ease, visibility .22s ease;
}
.poostina-auth.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.poostina-auth__backdrop { position: absolute; inset: 0; background: rgba(21,16,24,.32); -webkit-backdrop-filter: blur(var(--pst-auth-blur)); backdrop-filter: blur(var(--pst-auth-blur)); }
.poostina-auth__dialog { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(350px,440px); width: min(100%,var(--pst-auth-width)); max-height: min(90vh,720px); overflow: hidden; border: 1px solid rgba(255,255,255,.7); border-radius: var(--pst-auth-radius); background: var(--pst-auth-surface); box-shadow: 0 34px 90px rgba(26,18,29,.24); transform: translateY(20px) scale(.98); transition: transform .25s cubic-bezier(.2,.75,.25,1); }
.poostina-auth.is-open .poostina-auth__dialog { transform: translateY(0) scale(1); }
.poostina-auth__visual { position: relative; min-height: 540px; overflow: hidden; background: color-mix(in srgb, var(--pst-auth-primary) 10%, #fff); }
.poostina-auth__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poostina-auth__visual span { position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(0deg, color-mix(in srgb,var(--pst-auth-primary) 28%,transparent), transparent); pointer-events:none; }
.poostina-auth__panel { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 540px; padding: 42px 38px 34px; color: var(--pst-auth-text); background: var(--pst-auth-surface); }
.poostina-auth__panel.is-full { grid-column: 1/-1; max-width: 470px; width:100%; margin:auto; }
.poostina-auth__close { position: absolute; top: 18px; left: 18px; z-index: 4; display: inline-flex; align-items:center; justify-content:center; width: 38px; height:38px; padding:0; border:0; border-radius:12px; background: color-mix(in srgb,var(--pst-auth-text) 7%,transparent); color:var(--pst-auth-muted); cursor:pointer; transition:.18s ease; }
.poostina-auth__close:hover { background:var(--pst-auth-primary); color:#fff; }
.poostina-auth__close svg { width:19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
.poostina-auth__brand { display:flex; flex-direction:column; align-items:center; gap:12px; margin-bottom:26px; text-align:center; }
.poostina-auth__brand img { display:block; max-width:150px; max-height:54px; width:auto; height:auto; object-fit:contain; }
.poostina-auth__brand h2 { margin:0; color:var(--pst-auth-text); font: 22px/1.6 "peyda-bold","peyda-reg",sans-serif; }
.poostina-auth__response { display:none; margin:0 0 15px; padding:10px 12px; border-radius:12px; font-size:12px; line-height:1.8; text-align:center; }
.poostina-auth__response.is-visible { display:block; }
.poostina-auth__response.is-error { background:#fff0f3; color:#b42343; border:1px solid #ffd4de; }
.poostina-auth__response.is-success { background:#edfbf5; color:#117a55; border:1px solid #c9f1df; }
.poostina-auth__step { display:none; flex-direction:column; gap:15px; margin:0; }
.poostina-auth__step.is-active { display:flex; }
.poostina-auth__intro { margin:0 0 2px; color:var(--pst-auth-muted); font-size:13px; line-height:1.9; text-align:center; }
.poostina-auth__field { display:flex; flex-direction:column; gap:8px; color:var(--pst-auth-text); font-size:12px; font-family:"peyda-bold","peyda-reg",sans-serif; }
.poostina-auth__field > input[type="text"] { width:100% !important; height:52px !important; padding:0 14px !important; margin:0 !important; border:1px solid color-mix(in srgb,var(--pst-auth-text) 13%,transparent) !important; border-radius:15px !important; outline:0 !important; background:var(--pst-auth-input) !important; color:var(--pst-auth-text) !important; box-shadow:none !important; font:14px/1.6 "peyda-bold","peyda-reg",sans-serif !important; text-align:right; transition:.18s ease; }
.poostina-auth__field > input[type="text"]:focus { border-color:var(--pst-auth-primary) !important; box-shadow:0 0 0 4px color-mix(in srgb,var(--pst-auth-primary) 12%,transparent) !important; }
.poostina-auth__name-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.poostina-auth__phone-wrap { display:flex; align-items:center; height:54px; padding:0 14px; border:1px solid color-mix(in srgb,var(--pst-auth-text) 13%,transparent); border-radius:15px; background:var(--pst-auth-input); transition:.18s ease; }
.poostina-auth__phone-wrap:focus-within { border-color:var(--pst-auth-primary); box-shadow:0 0 0 4px color-mix(in srgb,var(--pst-auth-primary) 12%,transparent); }
.poostina-auth__phone-wrap b { padding-right:12px; border-right:1px solid color-mix(in srgb,var(--pst-auth-text) 12%,transparent); color:var(--pst-auth-muted); font:13px/1 "peyda-reg",sans-serif; direction:ltr; }
.poostina-auth__phone-wrap input { flex:1; width:100%; height:100%; padding:0 10px !important; margin:0 !important; border:0 !important; outline:0 !important; box-shadow:none !important; background:transparent !important; color:var(--pst-auth-text); text-align:center; letter-spacing:1.8px; font:16px/1 "peyda-bold",sans-serif !important; }
.poostina-auth__submit { position:relative; display:flex; align-items:center; justify-content:center; min-height:52px; width:100%; padding:12px 18px !important; border:0 !important; border-radius:15px !important; background:var(--pst-auth-primary) !important; color:#fff !important; font:14px/1.6 "peyda-bold","peyda-reg",sans-serif !important; cursor:pointer; box-shadow:0 12px 28px color-mix(in srgb,var(--pst-auth-primary) 27%,transparent); transition:transform .18s ease,opacity .18s ease; }
.poostina-auth__submit:hover { transform:translateY(-1px); }
.poostina-auth__submit:disabled { opacity:.65; cursor:wait; transform:none; }
.poostina-auth__submit i { display:none; width:18px; height:18px; border:2px solid rgba(255,255,255,.4); border-top-color:#fff; border-radius:50%; animation:pst-auth-spin .7s linear infinite; }
.poostina-auth__submit.is-loading span { display:none; }
.poostina-auth__submit.is-loading i { display:block; }
@keyframes pst-auth-spin { to { transform:rotate(360deg); } }
.poostina-auth__terms { color:var(--pst-auth-muted); font-size:10.5px; line-height:1.9; text-align:center; }
.poostina-auth__terms a { color:var(--pst-auth-primary); text-decoration:none; font-family:"peyda-bold",sans-serif; }
.poostina-auth__honeypot { position:absolute !important; left:-99999px !important; width:1px !important; height:1px !important; opacity:0 !important; }
.poostina-auth__back { align-self:flex-start; display:inline-flex; align-items:center; gap:4px; padding:5px 0; border:0; background:transparent; color:var(--pst-auth-muted); font:11px/1.5 "peyda-bold",sans-serif; cursor:pointer; }
.poostina-auth__back svg { width:16px; fill:none; stroke:currentColor; stroke-width:1.8; }
.poostina-auth__masked { display:block; color:var(--pst-auth-text); font:15px/1.5 "peyda-bold",sans-serif; text-align:center; direction:ltr; }
.poostina-auth__otp-inputs { display:flex; justify-content:center; gap:8px; margin:5px 0; }
.poostina-auth__otp-inputs input { width:48px !important; height:54px !important; margin:0 !important; padding:0 !important; border:1px solid color-mix(in srgb,var(--pst-auth-text) 13%,transparent) !important; border-radius:14px !important; outline:0 !important; background:var(--pst-auth-input) !important; color:var(--pst-auth-text) !important; box-shadow:none !important; text-align:center; font:20px/1 "peyda-bold",sans-serif !important; transition:.16s ease; }
.poostina-auth__otp-inputs input:focus { border-color:var(--pst-auth-primary) !important; box-shadow:0 0 0 4px color-mix(in srgb,var(--pst-auth-primary) 12%,transparent) !important; transform:translateY(-1px); }
.poostina-auth__resend { display:flex; align-items:center; justify-content:center; gap:7px; min-height:28px; color:var(--pst-auth-muted); font-size:11px; }
.poostina-auth__resend button { padding:0 !important; border:0 !important; background:transparent !important; color:var(--pst-auth-primary) !important; font:11px/1.5 "peyda-bold",sans-serif !important; cursor:pointer; }
.poostina-auth__resend button:disabled { color:var(--pst-auth-muted) !important; cursor:not-allowed; }
body.poostina-auth-lock { overflow:hidden !important; }
@media (max-width:760px) {
  .poostina-auth { padding:14px; align-items:end; }
  .poostina-auth__dialog { display:block; width:100%; max-height:calc(100dvh - 20px); border-radius:24px 24px 18px 18px; overflow:auto; }
  .poostina-auth__visual { display:none; }
  .poostina-auth__panel { min-height:auto; padding:58px 22px 28px; }
  .poostina-auth__brand { margin-bottom:22px; }
  .poostina-auth__brand h2 { font-size:19px; }
  .poostina-auth__name-grid { grid-template-columns:1fr; gap:10px; }
  .poostina-auth__otp-inputs { gap:6px; }
  .poostina-auth__otp-inputs input { width:min(45px,13vw) !important; height:52px !important; }
}
@media (prefers-reduced-motion:reduce) { .poostina-auth,.poostina-auth__dialog,.poostina-auth__submit,.poostina-auth__otp-inputs input { transition:none !important; animation:none !important; } }

.poostina-auth-enabled.woocommerce-account:not(.logged-in) .woocommerce-form-login,
.poostina-auth-enabled.woocommerce-account:not(.logged-in) .woocommerce-form-register,
.poostina-auth-enabled.woocommerce-account:not(.logged-in) .woocommerce-form-login + h2,
.poostina-auth-enabled.woocommerce-account:not(.logged-in) #customer_login > .u-column1 > h2,
.poostina-auth-enabled.woocommerce-account:not(.logged-in) #customer_login > .u-column2 > h2 { display:none !important; }
.poostina-auth-account-gate { max-width:560px; margin:42px auto; padding:28px; border:1px solid #eadfe5; border-radius:22px; background:#fff; box-shadow:0 18px 48px rgba(60,38,50,.07); text-align:center; font-family:"peyda-reg",Tahoma,Arial,sans-serif; }
.poostina-auth-account-gate strong { display:block; color:#29242d; font:20px/1.7 "peyda-bold","peyda-reg",sans-serif; }
.poostina-auth-account-gate p { margin:8px 0 18px; color:#776f7d; line-height:1.9; }
.poostina-auth-account-gate__button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:10px 24px; border-radius:14px; background:#B65C7A; color:#fff !important; font-family:"peyda-bold",sans-serif; text-decoration:none !important; }

/* 0.15.29 — keep country code on the left side of the mobile field */
.poostina-auth__phone-wrap {
  direction: ltr;
  flex-direction: row;
}
.poostina-auth__phone-wrap b {
  order: 0;
  padding-right: 12px;
  padding-left: 0;
  border-right: 1px solid color-mix(in srgb,var(--pst-auth-text) 12%,transparent);
  border-left: 0;
}
.poostina-auth__phone-wrap input {
  direction: ltr;
}

/* 0.15.30 — stricter mobile input prefix placement */
.poostina-auth__phone-wrap {
  direction: ltr !important;
  flex-direction: row !important;
}
.poostina-auth__phone-wrap b {
  order: 0 !important;
  flex: 0 0 auto;
  margin-right: 10px;
  margin-left: 0;
}
.poostina-auth__phone-wrap input {
  order: 1 !important;
  direction: ltr !important;
  text-align: left !important;
}

.poostina-auth :is(button,a,input):focus-visible { outline: 2px solid currentColor !important; outline-offset: 3px !important; }
