/* Athar Login Experience v2 — scoped entirely to body.athar-login-v2 */
body.athar-login-v2 {
  --ax-navy: #0b1f3a;
  --ax-navy-2: #102b50;
  --ax-blue: #2563eb;
  --ax-cyan: #0ea5a8;
  --ax-green: #16a36a;
  --ax-text: #13233d;
  --ax-muted: #617089;
  --ax-line: #dbe3ef;
  --ax-soft: #f3f7fc;
  --ax-white: #ffffff;
  min-height: 100vh;
  padding: 0;
  overflow-x: hidden;
  color: var(--ax-text);
  background: #f6f8fc;
}
body.athar-login-v2 .public-wrap { width: 100%; max-width: none; margin: 0; padding: 0; }
body.athar-login-v2 .footer-note { margin: 0; padding: 25px; color: #77859a; background: #eef3f9; border: 0; text-align: center; }
body.athar-login-v2 > .public-wrap > .flash { position: fixed; z-index: 1000; top: 18px; left: 50%; width: min(600px, calc(100% - 30px)); margin: 0; transform: translateX(-50%); box-shadow: 0 18px 45px rgba(15, 31, 58, .18); }
body.athar-login-v2 *, body.athar-login-v2 *::before, body.athar-login-v2 *::after { box-sizing: border-box; }
body.athar-login-v2 svg { display: block; flex: 0 0 auto; }
body.athar-login-v2 a { color: inherit; text-decoration: none; }
body.athar-login-v2 button, body.athar-login-v2 input { font: inherit; }

.athar-authx-skip { position: fixed; z-index: 2000; inset-block-start: 10px; inset-inline-start: 10px; transform: translateY(-160%); padding: 10px 14px; border-radius: 10px; color: #fff; background: var(--ax-blue); }
.athar-authx-skip:focus { transform: translateY(0); }
.athar-authx-header { width: min(1320px, calc(100% - 44px)); min-height: 78px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.athar-authx-brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.athar-authx-brand__mark { width: 45px; height: 45px; display: grid; place-items: center; color: #fff; border-radius: 14px; background: linear-gradient(145deg, #2563eb, #0891b2); box-shadow: 0 10px 26px rgba(37, 99, 235, .23); font-size: 24px; font-weight: 900; }
.athar-authx-brand strong, .athar-authx-brand small { display: block; }
.athar-authx-brand strong { color: var(--ax-navy); font-size: 19px; line-height: 1.1; font-weight: 900; }
.athar-authx-brand small { margin-top: 4px; color: var(--ax-muted); font-size: 11px; font-weight: 700; }
.athar-authx-header nav { display: flex; justify-content: center; gap: 28px; color: #52617a; font-size: 13px; font-weight: 800; }
.athar-authx-header nav a { transition: color .2s ease; }
.athar-authx-header nav a:hover { color: var(--ax-blue); }
.athar-authx-support { min-height: 41px; display: inline-flex; align-items: center; padding: 8px 15px; color: var(--ax-navy); background: #fff; border: 1px solid var(--ax-line); border-radius: 12px; box-shadow: 0 5px 16px rgba(15, 31, 58, .06); font-size: 12px; font-weight: 900; }

.athar-authx-main { width: min(1320px, calc(100% - 44px)); margin: 0 auto; }
.athar-authx-hero { min-height: calc(100vh - 78px); display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(390px, .73fr); gap: 22px; align-items: stretch; padding: 12px 0 48px; }
.athar-authx-showcase { min-height: 660px; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(34px, 4vw, 60px); color: #fff; border-radius: 30px; background: linear-gradient(145deg, #091a31 0%, #0f2e55 57%, #123e63 100%); box-shadow: 0 26px 65px rgba(8, 29, 57, .22); }
.athar-authx-glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .38; pointer-events: none; }
.athar-authx-glow--one { width: 330px; height: 330px; inset-block-start: -155px; inset-inline-end: -90px; background: #2687ff; }
.athar-authx-glow--two { width: 260px; height: 260px; inset-block-end: -135px; inset-inline-start: -95px; background: #08b9aa; }
.athar-authx-showcase__copy, .athar-authx-product, .athar-authx-showcase__footer { position: relative; z-index: 2; }
.athar-authx-eyebrow { width: fit-content; display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.08); color: #dff8ff; font-size: 12px; font-weight: 800; }
.athar-authx-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #2dd4bf; box-shadow: 0 0 0 6px rgba(45,212,191,.13); }
.athar-authx-showcase h1 { max-width: 760px; margin: 20px 0 15px; color: #fff; font-size: clamp(38px, 4vw, 63px); line-height: 1.14; letter-spacing: -1.4px; font-weight: 900; }
.athar-authx-showcase h1 em { color: #78e9dd; font-style: normal; }
.athar-authx-showcase__copy > p { max-width: 735px; margin: 0; color: #d5e3f4; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.9; }
.athar-authx-product { margin-top: auto; padding-top: 31px; }
.athar-authx-product::before { content: ""; position: absolute; inset: 14px 7% -14px; z-index: -1; border-radius: 24px; background: rgba(255,255,255,.08); transform: rotate(-1.6deg); }
.athar-authx-product { max-width: 790px; }
.athar-authx-product__top { min-height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 16px; color: #b9cbe0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-bottom: 0; border-radius: 20px 20px 0 0; backdrop-filter: blur(12px); font-size: 11px; }
.athar-authx-product__top > span { display: flex; gap: 5px; }
.athar-authx-product__top > span i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.38); }
.athar-authx-product__top b { color: #fff; font-size: 12px; }
.athar-authx-product__top small { text-align: left; }
.athar-authx-product__body { padding: 15px; color: var(--ax-text); background: rgba(249, 252, 255, .96); border-radius: 0 0 20px 20px; box-shadow: 0 18px 45px rgba(2, 12, 28, .28); }
.athar-authx-product__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.athar-authx-product__stats article { padding: 12px; border: 1px solid #e4ebf4; border-radius: 13px; background: #fff; }
.athar-authx-product__stats span, .athar-authx-product__stats small { display: block; color: #718097; font-size: 10px; }
.athar-authx-product__stats strong { display: block; margin: 4px 0 2px; color: var(--ax-navy); font-size: 21px; font-weight: 900; }
.athar-authx-product__lower { display: grid; grid-template-columns: 1fr 1.06fr; gap: 9px; margin-top: 9px; }
.athar-authx-product__lower article { min-height: 132px; padding: 12px; border: 1px solid #e4ebf4; border-radius: 13px; background: #fff; }
.athar-authx-product__lower header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.athar-authx-product__lower header strong { font-size: 11px; }
.athar-authx-product__lower header span { color: var(--ax-blue); font-size: 9px; font-weight: 800; }
.athar-authx-progress > div { height: 7px; overflow: hidden; border-radius: 99px; background: #e8eef7; }
.athar-authx-progress > div i { display: block; width: var(--value); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ax-blue), var(--ax-cyan)); }
.athar-authx-product__lower p { display: flex; align-items: center; margin: 9px 0 0; color: #718097; font-size: 9px; }
.athar-authx-product__lower p b { margin-inline-start: auto; color: var(--ax-navy); font-size: 10px; }
.athar-authx-actions p i { width: 7px; height: 7px; margin-inline-end: 7px; border-radius: 50%; background: #2b75e8; }
.athar-authx-actions p:nth-of-type(2) i { background: #0ea5a8; }
.athar-authx-actions p:nth-of-type(3) i { background: #f59e0b; }
.athar-authx-showcase__footer { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px; color: #c6d7e8; font-size: 11px; font-weight: 700; }
.athar-authx-showcase__footer span { display: inline-flex; align-items: center; gap: 7px; }

.athar-authx-card { align-self: center; padding: clamp(25px, 3vw, 38px); border: 1px solid #e2e9f2; border-radius: 26px; background: #fff; box-shadow: 0 22px 60px rgba(20, 42, 76, .13); }
.athar-authx-card__head { display: flex; align-items: center; gap: 13px; }
.athar-authx-card__icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--ax-blue); border-radius: 15px; background: #edf4ff; }
.athar-authx-card__head small { display: block; color: #718097; font-size: 11px; font-weight: 700; }
.athar-authx-card h2 { margin: 3px 0 0; color: var(--ax-navy); font-size: 29px; line-height: 1.25; font-weight: 900; }
.athar-authx-card__intro { margin: 14px 0 22px; color: var(--ax-muted); font-size: 13px; line-height: 1.8; }
.athar-authx-form { display: grid; gap: 16px; }
.athar-authx-field label { display: block; margin-bottom: 7px; color: #293a53; font-size: 12px; font-weight: 900; }
.athar-authx-field > small { display: block; margin-top: 6px; color: #7a899e; font-size: 10px; line-height: 1.6; }
.athar-authx-input { min-height: 51px; display: flex; align-items: center; gap: 9px; padding: 0 13px; color: #7c8ba1; border: 1px solid #d8e1ed; border-radius: 13px; background: #fbfcfe; transition: border-color .2s, box-shadow .2s, background .2s; }
.athar-authx-input:focus-within { color: var(--ax-blue); border-color: #83adf5; background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.10); }
.athar-authx-input input { min-width: 0; flex: 1; height: 49px; padding: 0; border: 0 !important; outline: 0; color: var(--ax-text); background: transparent !important; box-shadow: none !important; font-size: 13px; }
.athar-authx-input input::placeholder { color: #a1adbd; }
.athar-authx-input .ltr { direction: ltr; text-align: left; }
.athar-authx-label-row { display: flex; align-items: center; justify-content: space-between; }
.athar-authx-label-row a { margin-bottom: 7px; color: var(--ax-blue); font-size: 10px; font-weight: 900; }
.athar-authx-password { min-width: 62px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 6px; color: #5f6f86; border: 0; background: transparent; cursor: pointer; font-size: 10px; font-weight: 900; }
.athar-authx-caps { color: #b45309 !important; }
.athar-authx-space { min-height: 60px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid #c9eade; border-radius: 14px; background: #f0fdf8; }
.athar-authx-space__icon { width: 38px; height: 38px; display: grid; place-items: center; color: #087b66; border-radius: 11px; background: #d9f7ec; }
.athar-authx-space small, .athar-authx-space strong { display: block; }
.athar-authx-space small { color: #5c7b73; font-size: 9px; }
.athar-authx-space strong { margin-top: 2px; color: #145b4d; font-size: 12px; }
.athar-authx-space > b { padding: 5px 8px; color: #087b66; border-radius: 999px; background: #d9f7ec; font-size: 8px; }
.athar-authx-submit { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 9px; position: relative; margin-top: 2px; color: #fff; border: 0; border-radius: 14px; background: linear-gradient(135deg, #1f66df, #1555c2); box-shadow: 0 13px 28px rgba(37,99,235,.23); cursor: pointer; font-size: 13px; font-weight: 900; transition: transform .2s, box-shadow .2s; }
.athar-authx-submit:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(37,99,235,.28); }
.athar-authx-submit > i { display: none; width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.42); border-top-color: #fff; border-radius: 50%; animation: ax-spin .7s linear infinite; }
.athar-authx-submit.is-loading svg { display: none; }
.athar-authx-submit.is-loading > i { display: block; }
.athar-authx-submit:disabled { cursor: wait; opacity: .83; }
.athar-authx-status { min-height: 15px; margin: -7px 0 0; color: #617089; text-align: center; font-size: 9px; }
.athar-authx-student { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 12px; color: #436077; border: 1px solid #dceaf4; border-radius: 13px; background: #f4faff; }
.athar-authx-student strong, .athar-authx-student small { display: block; }
.athar-authx-student strong { color: #193c59; font-size: 11px; }
.athar-authx-student small { margin-top: 3px; font-size: 9px; line-height: 1.6; }
.athar-authx-demo { margin-top: 11px; border: 1px solid #e0e7f0; border-radius: 13px; background: #fff; }
.athar-authx-demo summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px; padding: 11px 12px; cursor: pointer; list-style: none; }
.athar-authx-demo summary::-webkit-details-marker { display: none; }
.athar-authx-demo summary span { color: #243954; font-size: 10px; font-weight: 900; }
.athar-authx-demo summary small { color: #8491a3; font-size: 9px; }
.athar-authx-demo summary b { color: var(--ax-blue); font-size: 17px; }
.athar-authx-demo[open] summary b { transform: rotate(45deg); }
.athar-authx-demo > div { padding: 0 12px 12px; border-top: 1px solid #edf1f6; }
.athar-authx-demo p { display: flex; justify-content: space-between; margin: 9px 0 0; color: #718097; font-size: 9px; }
.athar-authx-demo code { color: #1e3655; font-family: ui-monospace, monospace; direction: ltr; }
.athar-authx-demo footer { display: flex; gap: 7px; margin-top: 10px; }
.athar-authx-demo footer a, .athar-authx-demo footer button { min-height: 34px; flex: 1; display: inline-flex; align-items: center; justify-content: center; padding: 7px; border-radius: 9px; cursor: pointer; font-size: 9px; font-weight: 900; }
.athar-authx-demo footer a { color: #fff; background: var(--ax-navy); }
.athar-authx-demo footer button { color: var(--ax-blue); border: 1px solid #cbdcf7; background: #f4f8ff; }
.athar-authx-security { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 13px 0 0; color: #8491a3; text-align: center; font-size: 9px; }

.athar-authx-capabilities, .athar-authx-faq { padding: 88px 0; }
.athar-authx-section-head { max-width: 720px; margin-bottom: 32px; }
.athar-authx-section-head > span { color: var(--ax-blue); font-size: 11px; font-weight: 900; }
.athar-authx-section-head h2 { margin: 8px 0 10px; color: var(--ax-navy); font-size: clamp(28px, 3vw, 43px); line-height: 1.3; font-weight: 900; }
.athar-authx-section-head p { margin: 0; color: var(--ax-muted); font-size: 14px; line-height: 1.8; }
.athar-authx-cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.athar-authx-cap-grid article { min-height: 225px; position: relative; padding: 25px; overflow: hidden; border: 1px solid #e0e7f0; border-radius: 20px; background: #fff; box-shadow: 0 10px 26px rgba(21,45,79,.055); transition: transform .2s, box-shadow .2s, border-color .2s; }
.athar-authx-cap-grid article:hover { transform: translateY(-3px); border-color: #bdd1ef; box-shadow: 0 17px 34px rgba(21,45,79,.09); }
.athar-authx-cap-grid article > i { position: absolute; inset-block-start: 18px; inset-inline-end: 20px; color: #d5dfeb; font-size: 20px; font-style: normal; font-weight: 900; }
.athar-authx-cap-grid article > svg { color: var(--ax-blue); }
.athar-authx-cap-grid h3 { margin: 17px 0 8px; color: var(--ax-navy); font-size: 17px; font-weight: 900; }
.athar-authx-cap-grid p { margin: 0; color: var(--ax-muted); font-size: 12px; line-height: 1.8; }

.athar-authx-workflow { width: 100vw; margin-inline: calc(50% - 50vw); padding: 75px max(22px, calc((100vw - 1320px) / 2)); color: #fff; background: var(--ax-navy); }
.athar-authx-section-head--light > span { color: #66e3d7; }
.athar-authx-section-head--light h2 { color: #fff; }
.athar-authx-flow { display: grid; grid-template-columns: 1fr 38px 1fr 38px 1fr 38px 1fr 38px 1fr; align-items: center; gap: 7px; }
.athar-authx-flow article { min-height: 135px; display: flex; flex-direction: column; justify-content: center; padding: 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 17px; background: rgba(255,255,255,.07); }
.athar-authx-flow article b { width: 31px; height: 31px; display: grid; place-items: center; margin-bottom: 13px; color: #071a31; border-radius: 10px; background: #75e6da; font-size: 11px; }
.athar-authx-flow article span { font-size: 17px; font-weight: 900; }
.athar-authx-flow article small { margin-top: 5px; color: #b8cbe0; font-size: 10px; }
.athar-authx-flow > i { height: 1px; position: relative; background: rgba(255,255,255,.25); }
.athar-authx-flow > i::after { content: ""; position: absolute; inset-block-start: -3px; inset-inline-end: 0; width: 7px; height: 7px; border-block-start: 1px solid rgba(255,255,255,.55); border-inline-end: 1px solid rgba(255,255,255,.55); transform: rotate(45deg); }

.athar-authx-audience { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 88px 0; }
.athar-authx-audience article { padding: 34px; border-radius: 23px; }
.athar-authx-audience article:first-child { color: #fff; background: linear-gradient(145deg, #0f2b4d, #143d65); }
.athar-authx-audience article:last-child { color: var(--ax-text); border: 1px solid #dfe7f1; background: #fff; }
.athar-authx-audience article > span { font-size: 11px; font-weight: 900; opacity: .74; }
.athar-authx-audience h2 { margin: 9px 0 10px; color: inherit; font-size: 26px; line-height: 1.35; font-weight: 900; }
.athar-authx-audience p { margin: 0; font-size: 12px; line-height: 1.9; opacity: .83; }
.athar-authx-audience ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 0; padding: 0; list-style: none; }
.athar-authx-audience li { padding: 7px 10px; border: 1px solid currentColor; border-radius: 999px; font-size: 9px; font-weight: 800; opacity: .78; }

.athar-authx-faq { display: grid; grid-template-columns: minmax(250px,.65fr) 1.35fr; gap: 60px; align-items: start; }
.athar-authx-faq > div:last-child { display: grid; gap: 9px; }
.athar-authx-faq details { border: 1px solid #dfe7f1; border-radius: 15px; background: #fff; }
.athar-authx-faq summary { padding: 17px 19px; cursor: pointer; color: var(--ax-navy); font-size: 12px; font-weight: 900; }
.athar-authx-faq p { margin: 0; padding: 0 19px 18px; color: var(--ax-muted); font-size: 11px; line-height: 1.8; }
.athar-authx-cta { min-height: 170px; display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 70px; padding: 35px; color: #fff; border-radius: 25px; background: linear-gradient(125deg, #1d5ed0, #0f9295); box-shadow: 0 22px 55px rgba(29,94,208,.2); }
.athar-authx-cta span { font-size: 10px; font-weight: 900; opacity: .8; }
.athar-authx-cta h2 { max-width: 760px; margin: 7px 0 0; color: #fff; font-size: 27px; line-height: 1.4; font-weight: 900; }
.athar-authx-cta a { min-height: 48px; min-width: 155px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 17px; color: var(--ax-navy); border-radius: 13px; background: #fff; font-size: 12px; font-weight: 900; }

@keyframes ax-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .athar-login-v2 *, .athar-login-v2 *::before, .athar-login-v2 *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media (max-width: 1050px) {
  .athar-authx-header nav { display: none; }
  .athar-authx-header { grid-template-columns: 1fr auto; }
  .athar-authx-hero { grid-template-columns: 1fr 385px; gap: 15px; }
  .athar-authx-showcase { padding: 35px; }
  .athar-authx-product__lower { grid-template-columns: 1fr; }
  .athar-authx-progress { display: none; }
  .athar-authx-cap-grid { grid-template-columns: repeat(2, 1fr); }
  .athar-authx-flow { grid-template-columns: repeat(5, 1fr); }
  .athar-authx-flow > i { display: none; }
}
@media (max-width: 820px) {
  .athar-authx-header { width: min(100% - 28px, 1320px); min-height: 68px; }
  .athar-authx-support { display: none; }
  .athar-authx-main { width: min(100% - 28px, 1320px); }
  .athar-authx-hero { min-height: 0; grid-template-columns: 1fr; padding-top: 5px; }
  .athar-authx-card { order: -1; width: 100%; max-width: 540px; margin: 0 auto; }
  .athar-authx-showcase { min-height: 590px; }
  .athar-authx-audience { grid-template-columns: 1fr; }
  .athar-authx-faq { grid-template-columns: 1fr; gap: 10px; }
  .athar-authx-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 580px) {
  .athar-authx-brand small { display: none; }
  .athar-authx-brand__mark { width: 40px; height: 40px; border-radius: 12px; }
  .athar-authx-card { padding: 22px 18px; border-radius: 20px; }
  .athar-authx-showcase { min-height: auto; padding: 28px 20px; border-radius: 22px; }
  .athar-authx-showcase h1 { font-size: 36px; }
  .athar-authx-product__stats { grid-template-columns: 1fr; }
  .athar-authx-product__stats article:nth-child(n+2) { display: none; }
  .athar-authx-product__lower { display: none; }
  .athar-authx-showcase__footer { gap: 10px; }
  .athar-authx-capabilities, .athar-authx-faq, .athar-authx-audience { padding: 62px 0; }
  .athar-authx-cap-grid { grid-template-columns: 1fr; }
  .athar-authx-flow { grid-template-columns: 1fr; }
  .athar-authx-flow article { min-height: 105px; }
  .athar-authx-cta { margin-bottom: 35px; padding: 25px 20px; border-radius: 20px; }
  .athar-authx-cta h2 { font-size: 22px; }
}

/* Mobile hardening: prevent intrinsic grid widths and hidden helper text leaks. */
.athar-authx-caps[hidden] { display: none !important; }
@media (max-width: 820px) {
  .athar-authx-hero { grid-template-columns: minmax(0, 1fr); }
  .athar-authx-card,
  .athar-authx-showcase,
  .athar-authx-form,
  .athar-authx-field,
  .athar-authx-input,
  .athar-authx-card__head,
  .athar-authx-card__intro { min-width: 0; width: 100%; }
  .athar-authx-showcase { overflow: hidden; }
}

/* v2.1 — Button contrast hardening against legacy/global theme rules. */
body.athar-login-v2 .athar-authx-support {
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  background-color: #ffffff !important;
}
body.athar-login-v2 .athar-authx-password,
body.athar-login-v2 .athar-authx-password span {
  color: #52627a !important;
  -webkit-text-fill-color: #52627a !important;
}
body.athar-login-v2 .athar-authx-demo footer .athar-authx-demo__enter {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid #0b1f3a !important;
  background: #0b1f3a !important;
}
body.athar-login-v2 .athar-authx-demo footer .athar-authx-demo__open {
  color: #1d5ed0 !important;
  -webkit-text-fill-color: #1d5ed0 !important;
  border: 1px solid #cbdcf7 !important;
  background: #f4f8ff !important;
}
body.athar-login-v2 .athar-authx-demo footer .athar-authx-demo__enter.is-loading {
  cursor: wait;
  opacity: .82;
}
body.athar-login-v2 .athar-authx-cta > a,
body.athar-login-v2 .athar-authx-cta > a span {
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  background-color: #ffffff !important;
}
body.athar-login-v2 .athar-authx-cta > a {
  border: 1px solid rgba(11,31,58,.12) !important;
  box-shadow: 0 8px 22px rgba(4,23,44,.16);
}
body.athar-login-v2 .athar-authx-cta > a:hover {
  color: #174ea6 !important;
  -webkit-text-fill-color: #174ea6 !important;
  background-color: #f7fbff !important;
}

/* v2.2 — Store subscription entry points. */
.athar-authx-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.athar-authx-store {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 15px;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid #1d5ed0;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #0f9295);
  box-shadow: 0 8px 20px rgba(29,94,208,.18);
  font-size: 12px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}
.athar-authx-store:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 25px rgba(29,94,208,.24);
}
.athar-authx-subscribe {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
  padding: 11px 12px;
  color: #15304f;
  border: 1px solid #cfe0f6;
  border-radius: 14px;
  background: linear-gradient(135deg, #f5f9ff, #f2fbfa);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.athar-authx-subscribe:hover {
  transform: translateY(-1px);
  border-color: #9fc2ec;
  box-shadow: 0 9px 24px rgba(21,48,79,.08);
}
.athar-authx-subscribe__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 12px;
  background: linear-gradient(145deg, #2563eb, #0f9295);
}
.athar-authx-subscribe__copy,
.athar-authx-subscribe__copy strong,
.athar-authx-subscribe__copy small {
  display: block;
  min-width: 0;
}
.athar-authx-subscribe__copy strong {
  color: #102b50;
  font-size: 11px;
  font-weight: 900;
}
.athar-authx-subscribe__copy small {
  margin-top: 3px;
  color: #65758d;
  font-size: 9px;
  line-height: 1.55;
}
.athar-authx-subscribe > b {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  color: #ffffff;
  border-radius: 9px;
  background: #0b1f3a;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}
.athar-authx-cta__actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.athar-authx-cta__actions > a {
  min-height: 48px;
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 900;
}
body.athar-login-v2 .athar-authx-cta__login,
body.athar-login-v2 .athar-authx-cta__login span {
  color: #0b1f3a !important;
  -webkit-text-fill-color: #0b1f3a !important;
  background: #ffffff !important;
}
body.athar-login-v2 .athar-authx-cta__store,
body.athar-login-v2 .athar-authx-cta__store span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
body.athar-login-v2 .athar-authx-cta__store {
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(7,31,57,.34) !important;
  backdrop-filter: blur(7px);
}
@media (max-width: 820px) {
  .athar-authx-header-actions .athar-authx-support { display: none; }
  .athar-authx-store { min-height: 39px; padding-inline: 12px; }
  .athar-authx-cta__actions { width: 100%; }
}
@media (max-width: 580px) {
  .athar-authx-store span { font-size: 0; }
  .athar-authx-store span::after { content: "اشترك الآن"; font-size: 11px; }
  .athar-authx-subscribe { grid-template-columns: auto minmax(0, 1fr); }
  .athar-authx-subscribe > b { grid-column: 1 / -1; width: 100%; }
  .athar-authx-cta__actions { display: grid; grid-template-columns: 1fr; }
  .athar-authx-cta__actions > a { width: 100%; }
}
