.bk-auth-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:20px}.bk-auth-modal.is-open{display:flex}.bk-auth-backdrop{position:absolute;inset:0;background:rgba(31,21,45,.5);backdrop-filter:blur(5px)}.bk-auth-dialog{position:relative;width:min(430px,100%);background:#fff;border:1px solid #eee5f7;border-radius:28px;padding:34px;box-shadow:0 24px 70px rgba(70,38,90,.22);direction:rtl;font-family:inherit}.bk-auth-close{position:absolute;top:14px;left:14px;border:0;background:#f7f3fa;border-radius:50%;width:38px;height:38px;font-size:24px;cursor:pointer;color:#594363}.bk-auth-icon{width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,#9b70d8,#7042a7);color:#fff;display:grid;place-items:center;font-size:26px;margin-bottom:18px}.bk-auth-dialog h2{margin:0 0 8px;font-size:25px;color:#27202d}.bk-auth-dialog p{margin:0 0 22px;color:#766b7c;line-height:1.9;font-size:14px}.bk-auth-form label{display:block;font-size:13px;font-weight:700;margin-bottom:8px;color:#433849}

/* ── input شماره موبایل ── */
.bk-auth-form input[type="tel"]:not(.bk-otp-box),.bk-auth-form input[type="text"]{width:100%;height:52px;margin-left:auto;margin-right:auto;display:block;text-align:center;direction:ltr;border:1px solid #ded5e7;border-radius:14px;padding:0 16px;box-sizing:border-box;font:inherit;font-variant-numeric:tabular-nums;outline:none;transition:.2s}
.bk-auth-form input[type="tel"]:not(.bk-otp-box):focus,.bk-auth-form input[type="text"]:focus{border-color:#8c5dc1;box-shadow:0 0 0 4px rgba(140,93,193,.1)}

/* ── باکس‌های OTP ── */
.bk-otp-boxes{display:flex;flex-direction:row-reverse;flex-wrap:nowrap;align-items:center;gap:10px;justify-content:center;margin:0 auto 4px;width:max-content;direction:rtl}
.bk-otp-boxes input{width:48px;min-width:48px;max-width:48px;flex:0 0 48px;height:52px;border:1.5px solid #ded5e7;border-radius:14px;text-align:center;font-size:22px;font-weight:700;color:#2b2330;background:#fdfbff;outline:none;box-sizing:border-box;font-family:inherit;caret-color:transparent;transition:border-color .18s,box-shadow .18s,background .18s,transform .15s}
.bk-otp-boxes input:focus{border-color:#8c5dc1;box-shadow:0 0 0 4px rgba(140,93,193,.12);background:#fff}
.bk-otp-boxes input:not(:placeholder-shown){background:#f8f0ff}

/* انیمیشن‌ها */
@keyframes bk-otp-pop{0%{transform:scale(.85)}60%{transform:scale(1.12)}100%{transform:scale(1)}}
@keyframes bk-otp-shake{0%,100%{transform:translateX(0)}20%{transform:translateX(-6px)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(4px)}}

.bk-otp-boxes input.bk-otp-pop{animation:bk-otp-pop .22s ease forwards}
.bk-otp-boxes.bk-otp-shake{animation:bk-otp-shake .45s ease}
.bk-otp-boxes input.bk-otp-error{border-color:#e73a73;background:#fff5f8;box-shadow:0 0 0 3px rgba(231,58,115,.1)}
.bk-otp-boxes input.bk-otp-success{border-color:#34c77b;background:#f0fdf6;box-shadow:0 0 0 3px rgba(52,199,123,.12)}

/* ── دکمه‌ها ── */
.bk-auth-form button{width:100%;height:52px;margin-top:12px;border:0;border-radius:14px;background:#8a5ac0;color:#fff;font:inherit;font-weight:700;cursor:pointer;transition:.2s}
.bk-auth-form button span{margin-right:8px}
.bk-auth-form button:disabled{opacity:.65;cursor:wait}
.bk-auth-form .bk-auth-back{background:#f7f3fa;color:#68467d;margin-top:8px}.bk-auth-dialog small{display:block;margin-top:16px;color:#9b909f;line-height:1.8;font-size:11px}.bk-auth-lock{overflow:hidden}@media(max-width:600px){.bk-auth-dialog{padding:28px 22px;border-radius:24px}.bk-auth-modal{align-items:flex-end;padding:0}.bk-auth-dialog{width:100%;border-radius:26px 26px 0 0}.bk-auth-backdrop{backdrop-filter:blur(3px)}}

/* Inline login shortcode, scoped so it never affects the footer modal. */
.bk-auth-inline{width:100%;max-width:520px;margin:32px auto;padding:0 16px;box-sizing:border-box;direction:rtl;font-family:inherit}
.bk-auth-inline-card{background:#fff;border:1px solid #eee5f7;border-radius:28px;padding:34px;box-shadow:0 14px 44px rgba(70,38,90,.10)}
.bk-auth-inline .bk-auth-title{margin:0 0 8px;font-size:25px;color:#27202d}
.bk-auth-inline .bk-auth-message{margin:0 0 22px;color:#766b7c;line-height:1.9;font-size:14px}
.bk-auth-inline .bk-auth-form{margin:0}
.bk-auth-inline [data-bk-status]{display:block;margin-top:16px;color:#766b7c;line-height:1.8;font-size:13px}
.bk-auth-inline .bk-otp-boxes{gap:8px}
.bk-auth-inline .bk-otp-boxes input{width:48px;min-width:48px;max-width:48px;flex:0 0 48px;height:52px}
@media(max-width:600px){.bk-auth-inline{margin:20px auto;padding:0 12px}.bk-auth-inline-card{padding:26px 20px;border-radius:22px}.bk-auth-inline .bk-otp-boxes{gap:6px}.bk-auth-inline .bk-otp-boxes input{width:46px;min-width:46px;max-width:46px;flex-basis:46px;height:50px}}
/* مخفی کردن منوی اپلیکیشن در صفحات درس تیوتر */
body.single-lesson .bk-bottom-nav,
body.tutor-single-lesson .bk-bottom-nav,
body[class*="lesson"] .bk-bottom-nav {
    display: none !important;
}

/* حذف فاصله پایینی که منو به بادی می‌داد تا دکمه‌های درس بچسبن سر جاشون */
body.single-lesson,
body.tutor-single-lesson {
    padding-bottom: 0 !important;
}
