/* =====================================================================
   account-v2.css — تصميم جديد كليًا لصفحات الحساب (دخول / استعادة كلمة المرور / تسجيل طيار ومزوّد / استعلام القبض / إعادة الجدولة)
   ليس تلوينًا للقديم: تخطيط جديد = «مسرح» أصفر بعنوان ضخم وصورة كابتن + «ورقة» بيضاء ببطاقة كبيرة وأزرار كبسولة وبلاطات اختيار.
   يُحمَّل بعد auth-skin.css (الألوان/الأساس) ويتجاوز تخطيطه.
   ===================================================================== */
:root { --ac-ink: #14161c; --ac-y: var(--sp-yellow, #38bdf8); --ac-ys: var(--sp-yellow-soft, #cfeffd); --ac-navy: #203058; }

/* ------------------------------ تسجيل الدخول: مسرح + ورقة ------------------------------ */
.login-page { display: grid !important; grid-template-columns: minmax(0, 1fr); min-height: 100vh; background: var(--ac-y) !important; position: relative; overflow: hidden; }
.login-showcase { position: relative; display: flex !important; flex-direction: column; justify-content: flex-start; padding: 28px 22px 70px !important; background: var(--ac-y) !important; border: 0 !important; min-height: 330px; overflow: hidden; }
.login-showcase::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--ac-navy); inset-inline-end: -170px; bottom: -300px; }
.login-showcase::after { content: ""; position: absolute; z-index: 1; inset-inline-end: 14px; bottom: 12px; width: 150px; height: 150px; border-radius: 50%; background: var(--sp-account-img, url(/images/real/hero-captain.webp)) center 30% / cover no-repeat; border: 4px solid var(--ac-ink); box-shadow: 5px 5px 0 var(--ac-y), 5px 5px 0 3px var(--ac-ink); }
.login-showcase-inner { position: relative; z-index: 2; }
.login-showcase .brand { margin-bottom: 18px !important; font-size: 20px; }
.login-showcase .brand .mark { width: 46px !important; height: 46px !important; border-radius: 14px !important; background: #fff !important; border: 2px solid var(--ac-ink); box-shadow: 3px 3px 0 var(--ac-ink) !important; padding: 4px; box-sizing: border-box; object-fit: contain !important; }
.login-showcase h1 { font-size: 24px !important; line-height: 1.35 !important; max-width: 17ch !important; font-weight: 800; margin: 0 0 8px !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.login-showcase p.lead { display: none; }
.login-features { display: none !important; }

.login-panel { position: relative; z-index: 3; margin-top: -44px; background: #fff !important; border: 2px solid var(--ac-ink); border-radius: 34px 34px 0 0; box-shadow: 0 -6px 0 var(--ac-ink) !important; padding: 28px 0 40px; align-items: flex-start !important; flex: none !important; }
.login-card { padding: 0 20px !important; margin: 0 auto; }
.login-card-mark { display: none !important; }
.login-card h2 { font-size: 28px !important; font-weight: 800 !important; margin: 0 0 4px !important; letter-spacing: -.3px; }
.login-card p.sub { font-size: 14.5px !important; margin: 0 0 18px !important; }

/* طرق الدخول: بلاطات كبيرة بأيقونة فوق الاسم */
.login-method-tabs { display: grid !important; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px !important; padding: 0 !important; background: none !important; border: 0 !important; margin-bottom: 18px !important; }
.login-tab-pill { display: none !important; }
.login-method-tab { flex-direction: column; gap: 4px !important; padding: 12px 6px !important; min-height: 74px; background: #fff !important; border: 2px solid var(--ac-ink) !important; border-radius: 18px !important; font-size: 13px !important; line-height: 1.2; box-shadow: 3px 3px 0 var(--ac-ink); transition: transform .2s, box-shadow .2s, background .2s; }
.login-method-tab svg { width: 26px !important; height: 26px !important; }
.login-method-tab.active { background: var(--ac-ink) !important; color: var(--ac-y) !important; box-shadow: 3px 3px 0 var(--ac-y), 3px 3px 0 2px var(--ac-ink); transform: translate(-1px, -1px); }
.login-method-tab.active svg { stroke: var(--ac-y) !important; color: var(--ac-y) !important; }

/* الحقول: كبيرة ومريحة للإبهام */
.login-page .form-group { margin-bottom: 14px; }
.login-page .form-control { min-height: 60px !important; border-radius: 18px !important; font-size: 17px !important; font-weight: 700; padding-inline-start: 50px !important; }
.login-page .form-group label { font-size: 13.5px !important; margin-bottom: 6px; display: block; }
.login-page .btn-primary.btn-lg, .login-page .btn-block.btn-primary { min-height: 62px !important; border-radius: 999px !important; font-size: 18px !important; box-shadow: 4px 4px 0 var(--ac-y), 4px 4px 0 2px var(--ac-ink) !important; }
.login-page .btn-primary.btn-lg:hover:not(:disabled) { transform: translate(2px, -2px); box-shadow: 6px 6px 0 var(--ac-y), 6px 6px 0 2px var(--ac-ink) !important; }
.login-remember-row { margin: 4px 0 16px; }

@media (min-width: 1024px) {
  .login-page { grid-template-columns: minmax(440px, 520px) minmax(0, 1fr); align-items: stretch; }
  .login-panel { order: 1; margin: 0; border: 0; border-radius: 0; box-shadow: none !important; border-inline-end: 3px solid var(--ac-ink); padding: 0; align-items: center !important; }
  .login-card { padding: 40px 36px !important; max-width: 460px !important; }
  .login-showcase { order: 2; padding: 56px 56px 0 !important; min-height: 100vh; justify-content: flex-start; }
  .login-showcase::before { width: 760px; height: 760px; inset-inline-end: -180px; bottom: -420px; }
  .login-showcase::after { width: min(30vw, 420px); height: min(30vw, 420px); inset-inline-end: 8%; bottom: 7%; border-width: 5px; box-shadow: 8px 8px 0 var(--ac-y), 8px 8px 0 4px var(--ac-ink); }
  .login-showcase h1 { font-size: 44px !important; max-width: 16ch !important; margin-top: 7vh !important; -webkit-line-clamp: 4; }
  .login-showcase p.lead { display: block; font-size: 18px !important; max-width: 28ch; margin: 0 !important; font-weight: 700; }
  .login-features { display: flex !important; flex-direction: row; flex-wrap: wrap; gap: 10px; margin-top: 22px; max-width: 520px !important; }
  .login-feature { background: #fff; border: 2px solid var(--ac-ink); border-radius: 999px; padding: 6px 14px 6px 8px; box-shadow: 3px 3px 0 var(--ac-ink); }
  .login-feature-icon { width: 30px !important; height: 30px !important; border-radius: 50% !important; background: var(--ac-y) !important; }
  .login-feature-text { color: var(--ac-ink) !important; font-size: 13px !important; font-weight: 800 !important; }
}

/* ------------------------------ استعادة كلمة المرور + تسجيل طيار/مزوّد ------------------------------ */
.reset-page, .pr-page { background: var(--ac-y) !important; }
html body:has(.pr-card), html body:has(.reset-card) {
  background: var(--ac-y) !important; background-image: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .35) 0 90px, transparent 91px), radial-gradient(circle at 92% 88%, var(--ac-navy) 0 150px, transparent 151px) !important;
  align-items: flex-start !important; padding: 18px 14px 40px !important; }
.pr-card, .reset-card { margin-top: 12px; max-width: 480px !important; border-radius: 34px !important; padding: 0 22px 26px !important; overflow: hidden; box-shadow: 6px 8px 0 var(--ac-ink) !important; }
.pr-card::before, .reset-card::before { content: ""; display: block; height: 124px; margin: 0 -22px 0; background: linear-gradient(180deg, rgba(20, 22, 28, .02), rgba(20, 22, 28, .5)), var(--sp-account-img, url(/images/real/hero-captain.webp)) center 28% / cover no-repeat; border-bottom: 3px solid var(--ac-ink); }
.pr-mark, .reset-card .mark { margin: -32px auto 12px !important; width: 62px !important; height: 62px !important; border-radius: 20px !important; box-shadow: 3px 3px 0 var(--ac-ink); position: relative; }
.pr-card h1, .reset-card h1 { font-size: 26px !important; letter-spacing: -.2px; }
.pr-card .pr-step-counter { margin-bottom: 10px !important; }
.pr-benefits { flex-direction: row !important; flex-wrap: wrap; gap: 8px !important; padding: 10px !important; }
.pr-benefits::-webkit-scrollbar { display: none; }
.pr-benefits span { flex: 0 1 auto; background: #fff; border: 2px solid var(--ac-ink); border-radius: 999px; padding: 6px 12px; }
.pr-card .form-control, .reset-card .form-control { min-height: 60px !important; border-radius: 18px !important; font-size: 17px !important; font-weight: 700; }
.pr-card .btn, .reset-card .btn-primary { min-height: 62px !important; border-radius: 999px !important; font-size: 18px !important; box-shadow: 4px 4px 0 var(--ac-y), 4px 4px 0 2px var(--ac-ink) !important; }

/* ------------------------------ صفحات الجسر: استعلام القبض / إعادة الجدولة ------------------------------ */
.sp-bridge { max-width: 560px; margin-inline: auto; }
.sp-bridge .public-page, .sp-bridge main.public-page { padding-top: 0 !important; }
.sp-bridge .card { border-radius: 30px !important; box-shadow: 6px 8px 0 var(--ac-ink) !important; overflow: hidden; padding: 0 !important; }
.sp-bridge .card::before { content: ""; display: block; height: 124px; background: linear-gradient(180deg, rgba(20, 22, 28, .02), rgba(20, 22, 28, .5)), var(--sp-account-img, url(/images/real/hero-captain.webp)) center 28% / cover no-repeat; border-bottom: 3px solid var(--ac-ink); }
.sp-bridge .card > * { margin-inline: 20px; }
.sp-bridge .card > :first-child { margin-top: 0; }
.sp-bridge .card-body { padding: 0 !important; }
.sp-bridge #piStepBody { padding: 4px 0 24px; }
.sp-bridge #piStepBody h2, .sp-bridge #piStepBody h3, .sp-bridge .card h1 { font-size: 26px !important; letter-spacing: -.2px; margin-top: 14px; }
.sp-bridge #piStepLabel { background: var(--ac-ink); color: var(--ac-y); border-radius: 999px; padding: 3px 12px; font-weight: 800; font-size: 12px !important; }
.sp-bridge #piBackBtn { border-radius: 999px !important; }
/* خيارات القائمة (الشركات/الفترات/القوائم) كبلاطات كبيرة بسهم دائري */
.sp-bridge #piStepBody button:not(.btn-primary):not(.btn-sm) , .sp-bridge #piStepBody .btn-outline { min-height: 64px; border-radius: 20px !important; font-size: 17px !important; font-weight: 800 !important; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: start; padding: 12px 16px !important; box-shadow: 3px 3px 0 var(--ac-ink); background: #fff !important; border: 2px solid var(--ac-ink) !important; margin-bottom: 10px; width: 100%; }
.sp-bridge #piStepBody button:not(.btn-primary):not(.btn-sm):hover { background: var(--ac-y) !important; transform: translate(-1px, -1px); }
.sp-bridge #piStepBody .btn-primary, .sp-bridge #reschedSubmitBtn { min-height: 60px; border-radius: 999px !important; font-size: 17px !important; box-shadow: 4px 4px 0 var(--ac-y), 4px 4px 0 2px var(--ac-ink) !important; background: var(--ac-ink) !important; color: var(--ac-y) !important; width: 100%; }
.sp-bridge .form-control { min-height: 58px !important; border-radius: 18px !important; font-size: 17px !important; font-weight: 700; }

@media (prefers-reduced-motion: reduce) { .login-method-tab, .login-page .btn-primary { transition: none !important; } }

/* سهم دائري في نهاية كل بلاطة اختيار */
.sp-bridge #piStepBody button:not(.btn-primary):not(.btn-sm)::after { content: "90"; width: 34px; height: 34px; border-radius: 50%; background: var(--ac-ink); color: var(--ac-y); display: grid; place-items: center; flex-shrink: 0; font-size: 18px; font-weight: 800; transition: transform .25s; }
.sp-bridge #piStepBody button:not(.btn-primary):not(.btn-sm):hover::after { transform: rotate(-45deg); }
