@font-face { font-family: 'YKWP Vazirmatn'; src: url('../../font/Vazirmatn-Medium.woff2') format('woff2'); font-style: normal; font-weight: 500; font-display: swap; }
.ykwp-login-page { margin: 0; background: var(--ykwp-page, #fff); }
.ykwp-page-shell { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 40px 20px; overflow: clip; }
.ykwp-page-shell::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background-image: radial-gradient(color-mix(in srgb, var(--ykwp-accent, #232586) 8%, transparent) .8px, transparent .8px); background-size: 20px 20px; mask-image: radial-gradient(ellipse 380px 370px at center, transparent 48%, #000 70%, transparent 100%); }
.ykwp-login-content { width: 100%; max-width: 420px; min-width: 0; }
.ykwp-auth { --ykwp-accent: #232586; --ykwp-button: #30313f; --ykwp-card: #fff; --ykwp-ink: #292a30; --ykwp-muted: #85858e; --ykwp-error: #b34c4c; box-sizing: border-box; direction: rtl; font-family: 'YKWP Vazirmatn', Tahoma, sans-serif; color: var(--ykwp-ink); text-align: right; }
.ykwp-auth *, .ykwp-auth *::before, .ykwp-auth *::after { box-sizing: border-box; }
.ykwp-auth [hidden] { display: none !important; }
.ykwp-auth button, .ykwp-auth input { font: inherit; -webkit-tap-highlight-color: transparent; }
.ykwp-auth button { cursor: pointer; }
.ykwp-auth button:disabled { cursor: wait; }
.ykwp-auth button:focus-visible, .ykwp-auth input:focus-visible { outline: 2px solid var(--ykwp-accent); outline-offset: 4px; }
.ykwp-auth svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ykwp-auth .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.woocommerce form.woocommerce-form.ykwp-auth, form.woocommerce-form.ykwp-auth { position: relative; width: 100%; max-width: 420px; margin: 0 auto; padding: 37px 39px 0; background: var(--ykwp-card); border: 1px solid #e8e8f0; border-radius: 24px; box-shadow: 0 24px 70px -25px #2325861c, 0 5px 18px #22243e05; animation: ykwp-appear .6s ease-out; }
.ykwp-auth::before { content: ''; position: absolute; top: -1px; left: calc(50% - 23px); width: 46px; height: 3px; border-radius: 0 0 5px 5px; background: var(--ykwp-accent); }
.ykwp-auth .site-header { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 7px; }
.ykwp-auth .site-header::before, .ykwp-auth .site-header::after { content: ''; position: absolute; z-index: -1; top: -7px; left: 50%; width: 104px; height: 104px; border: 1px solid #2325860a; border-radius: 50%; transform: translateX(-50%); pointer-events: none; }
.ykwp-auth .site-header::after { top: -24px; width: 138px; height: 138px; border-style: dashed; border-color: #2325860b; }
.ykwp-auth .site-logo { position: relative; display: grid; place-items: center; width: min(100%, 258px); min-height: 76px; padding: 9px 12px; border: 1px solid #e9e9f1; border-radius: 15px; background: #f8f8fc; }
.ykwp-auth .site-logo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 65px; object-fit: contain; }
.ykwp-store-return { box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 9px; width: fit-content; max-width: 100%; min-height: 44px; margin: 18px auto 0; padding: 8px 18px; border: 1px solid #e2e3ec; border-radius: 11px; background: #fff; color: #333765; font-family: 'YKWP Vazirmatn', Tahoma, sans-serif; font-size: 12px; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ykwp-store-return:hover { border-color: var(--ykwp-accent, #232586); box-shadow: 0 5px 15px #23258616; color: var(--ykwp-accent, #232586); transform: translateY(-1px); }
.ykwp-store-return:focus-visible { outline: 2px solid var(--ykwp-accent, #232586); outline-offset: 3px; }
.ykwp-store-return svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ykwp-auth .site-title { font-size: 14px; font-weight: 600; margin: 0; background: var(--ykwp-card); padding: 0 9px; color: var(--ykwp-ink); }
.ykwp-auth .entry-heading { text-align: center; margin-top: 26px; }
.ykwp-auth .greeting { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 9px; color: #747480; font-size: 10px; }
.ykwp-auth .greeting svg { width: 13px; height: 13px; color: var(--ykwp-accent); stroke-width: 1.2; }
.ykwp-auth .entry-heading h1 { font-size: 23px; font-weight: 700; letter-spacing: -.7px; margin: 0 0 10px; line-height: 1.5; color: var(--ykwp-ink); }
.ykwp-auth .entry-heading p { color: var(--ykwp-muted); font-size: 12px; margin: 0; line-height: 1.9; }
.ykwp-auth .auth-panel { margin-top: 13px; }
.ykwp-auth .phone-step { padding-top: 12px; }
.ykwp-auth .phone-step label { display: block; margin: 0 0 9px; font-size: 12px; font-weight: 600; color: var(--ykwp-ink); }
.ykwp-auth .phone-input { display: block; width: 100%; height: 54px; padding: 0 16px; border: 1px solid #e3e3e9; border-radius: 12px; background: #fff; box-shadow: 0 3px 0 #f5f5f8; color: var(--ykwp-ink); text-align: center; font-size: 17px; letter-spacing: 2px; direction: ltr; }
.ykwp-auth .phone-input:focus { border-color: var(--ykwp-accent); box-shadow: 0 0 0 3px #23258608; outline: none; }
.ykwp-auth .phone-input::placeholder { color: #b8b8c1; }
.ykwp-auth .phone-step .submit-button { margin-top: 0; }
.ykwp-auth .recipient { margin: 0; text-align: center; color: var(--ykwp-muted); font-size: 11px; }
.ykwp-auth .recipient b { display: inline-block; color: var(--ykwp-ink); font-size: 12px; font-weight: 600; }
.ykwp-auth .otp-stage { position: relative; height: 116px; display: grid; place-items: center; transition: height .405s ease; }
.ykwp-auth .otp-fields { position: relative; z-index: 2; display: flex; gap: 8px; width: 100%; justify-content: center; }
.ykwp-auth .otp-tile { position: relative; width: calc((100% - 40px) / 6); height: 63px; background: #fff; border: 1px solid #e3e3e9; border-radius: 11px; box-shadow: 0 3px 0 #f5f5f8; transition: border-color .2s, box-shadow .2s, translate .2s; will-change: transform; }
.ykwp-auth .otp-tile:focus-within { border-color: var(--ykwp-accent); box-shadow: 0 0 0 3px #23258608, 0 5px 12px #2325860a; translate: 0 -2px; }
.ykwp-auth .otp-tile.filled:not(:focus-within) { border-color: #b5b5c1; box-shadow: 0 3px 0 #eeeef6; }
.ykwp-auth .otp-tile input { display: block; width: 100%; height: 100%; border: 0; outline: none; padding: 0; background: transparent; text-align: center; direction: ltr; font-size: 24px; color: var(--ykwp-ink); caret-color: var(--ykwp-accent); border-radius: inherit; box-shadow: none; }
.ykwp-auth .otp-tile input:focus { border: 0; outline: none; box-shadow: none; }
.ykwp-auth .otp-tile input::placeholder { color: #d4d4dc; font-size: 20px; }
.ykwp-auth .status { min-height: 35px; padding-bottom: 13px; margin: 0; color: var(--ykwp-muted); font-size: 10px; text-align: center; line-height: 1.8; }
.ykwp-auth .submit-button { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 49px; padding: 0 44px; border: 1px solid var(--ykwp-button); border-radius: 12px; background: var(--ykwp-button); color: #fff; box-shadow: 0 4px 9px #25263810, inset 0 1px 0 #ffffff12; font-size: 12px; font-weight: 500; transition: filter .2s, transform .2s, box-shadow .2s; }
.ykwp-auth .submit-button:hover:not(:disabled) { filter: brightness(1.13); color: #fff; box-shadow: 0 6px 15px #25263820; transform: translateY(-1px); }
.ykwp-auth .submit-button:active:not(:disabled) { transform: translateY(1px); }
.ykwp-auth .submit-button svg { width: 17px; height: 17px; }
.ykwp-auth .button-arrow { position: absolute; left: 11px; color: #dddde8; background: #ffffff0d; border-radius: 7px; padding: 6px; box-sizing: content-box; transition: translate .2s; }
.ykwp-auth .submit-button:hover:not(:disabled) .button-arrow { translate: -2px 0; }
.ykwp-auth .button-spinner { display: none; position: absolute; left: 18px; width: 15px; height: 15px; border: 1.5px solid #ffffff40; border-top-color: #fff; border-radius: 50%; animation: ykwp-spin .8s linear infinite; }
.ykwp-auth .busy .button-spinner { display: block; }
.ykwp-auth .busy .button-arrow { display: none; }
.ykwp-auth .ykwp-auth__links { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 18px 0 23px; }
.ykwp-auth .ykwp-auth__links button { border: 0; padding: 2px 0; background: transparent; color: #747480; font-size: 10px; }
.ykwp-auth .ykwp-auth__links button:hover:not(:disabled) { color: var(--ykwp-accent); }
.ykwp-auth .ykwp-auth__links button:disabled { opacity: .6; }
.ykwp-auth .card-footer { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-top: 1px solid #f1f1f4; }
.ykwp-auth .security-note { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; color: var(--ykwp-muted); }
.ykwp-auth .card-footer svg { width: 13px; height: 13px; }
.ykwp-auth .card-decoration { position: absolute; width: 56px; height: 56px; pointer-events: none; }
.ykwp-auth .decoration-top { top: 46px; right: -88px; transform: rotate(15deg); }
.ykwp-auth .decoration-bottom { bottom: 66px; left: -80px; transform: rotate(-17deg); }
.ykwp-auth .card-decoration span { position: absolute; inset: 0; border: 1px solid #23258612; border-radius: 15px; }
.ykwp-auth .card-decoration i { position: absolute; inset: 12px; border: 1px solid #23258620; border-radius: 9px; background: #fff; box-shadow: 0 4px 9px #23258605; }
.ykwp-auth .decoration-bottom i { inset: 15px; border-radius: 7px; }
.ykwp-auth .code-step.invalid .otp-tile { border-color: #d39f9f; }
.ykwp-auth .status.is-error { color: var(--ykwp-error); }
.ykwp-auth .status.is-success { color: var(--ykwp-accent); }
.ykwp-auth .orbit-guide { position: absolute; width: 154px; height: 154px; border: 1px dashed #dfdfe9; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.ykwp-auth .code-step.orbiting .otp-stage { height: 210px; }
.ykwp-auth .code-step.orbiting .orbit-guide { opacity: 1; }
.ykwp-auth .code-step.orbiting .otp-tile { border-color: #c6c6d6; box-shadow: 0 4px 0 #2325860a; }
.ykwp-auth .code-step.orbiting .otp-tile input { color: var(--ykwp-accent); }
.ykwp-auth .success-emblem { position: absolute; z-index: 3; display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid #22a565; border-radius: 22px; background: #22a565; color: #fff; opacity: 0; transform: scale(.4) rotate(-15deg); transition: opacity .27s, transform .495s cubic-bezier(.2,1.5,.5,1); pointer-events: none; }
.ykwp-auth .success-emblem svg { width: 48px; height: 48px; stroke-width: 5; }
.ykwp-auth .success-emblem path { stroke-dasharray: 55; stroke-dashoffset: 55; }
.ykwp-auth .code-step.verified .success-emblem { opacity: 1; transform: scale(1) rotate(0); }
.ykwp-auth .code-step.verified .success-emblem path { animation: ykwp-draw-check .45s .18s forwards; }
.ykwp-auth .success-ring { position: absolute; inset: -15px; border: 1px solid #22a56526; border-radius: 32px; }
.ykwp-auth .code-step.verified .success-ring { animation: ykwp-celebrate .72s ease-out forwards; }
.ykwp-auth .ykwp-auth__notice { margin-top: 16px; font-size: 11px; color: var(--ykwp-muted); text-align: center; }
@keyframes ykwp-spin { to { transform: rotate(360deg); } }
@keyframes ykwp-draw-check { to { stroke-dashoffset: 0; } }
@keyframes ykwp-celebrate { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
@keyframes ykwp-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) { .ykwp-page-shell { padding: 24px 18px; } .woocommerce form.woocommerce-form.ykwp-auth, form.woocommerce-form.ykwp-auth { padding: 30px 25px 0; border-radius: 22px; } .ykwp-auth .entry-heading h1 { font-size: 22px; } .ykwp-auth .otp-tile { height: 58px; } }
@media (max-width: 650px) { .ykwp-auth .card-decoration { display: none; } }
@media (max-width: 350px) { .woocommerce form.woocommerce-form.ykwp-auth, form.woocommerce-form.ykwp-auth { padding-inline: 20px; } .ykwp-auth .otp-fields { gap: 5px; } .ykwp-auth .otp-tile { width: calc((100% - 25px) / 6); height: 51px; } }
@media (prefers-reduced-motion: reduce) { .ykwp-auth, .ykwp-auth *, .ykwp-auth *::before, .ykwp-auth *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
