/* AliTere sign in, sign up and payment screens. Restyles the existing markup only. */
:root{--aa-ink:#0B1530;--aa-sub:#5B6785;--aa-line:#DCE2EC;--aa-soft:#F4F6FA;--aa-blue:#2563FF;--aa-blue-d:#1A4FE0;--aa-blue-soft:#EEF3FF;--aa-red:#D92D3A;--aa-green:#0F8A5F}

/* overlay + card (home page pop ups) */
body .legacy .auth-overlay{background:rgba(5,11,30,.62)!important;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
body .legacy .auth-overlay .auth-card,body .legacy .support-modal,body #screen-signup-pay .signup-pay-card{
  background:#fff!important;color:var(--aa-ink)!important;border:0!important;border-radius:22px!important;
  box-shadow:0 40px 100px -30px rgba(5,11,30,.6)!important;font-family:'Manrope','Inter',system-ui,sans-serif!important}
body .legacy .auth-overlay .auth-card{max-width:440px!important;width:calc(100% - 32px)!important;padding:34px 32px 28px!important;max-height:calc(100vh - 32px);overflow:auto}
body .legacy .auth-overlay .auth-card svg[viewBox="0 0 186 34"],body .legacy .auth-overlay .auth-card .auth-brand svg{display:none}
body .legacy .auth-close-btn,body #screen-signup-pay .auth-close-btn{width:36px!important;height:36px!important;border-radius:50%!important;background:var(--aa-soft)!important;border:0!important;color:var(--aa-sub)!important;font-size:20px!important;line-height:36px!important;top:14px!important;right:14px!important}
body .legacy .auth-close-btn:hover,body #screen-signup-pay .auth-close-btn:hover{background:#E8ECF3!important;color:var(--aa-ink)!important}

/* type */
body .legacy .auth-title,body #screen-signup-pay .reserve-heading{font-family:'Manrope','Inter',sans-serif!important;font-size:24px!important;font-weight:800!important;letter-spacing:-.02em!important;color:var(--aa-ink)!important;margin:0 0 18px!important}
body #screen-signup-pay .eyebrow{display:none!important}
body .legacy .auth-sub,body .legacy .payment-method-sub{color:var(--aa-sub)!important;font-size:15px!important}

/* fields */
body .legacy .auth-field-label,body #screen-signup-pay .auth-label{display:block;font-size:14px!important;font-weight:700!important;color:var(--aa-ink)!important;margin:14px 0 6px!important;font-family:inherit!important;letter-spacing:0!important;text-transform:none!important}
body .legacy .auth-field-input,body #screen-signup-pay .auth-input{width:100%!important;height:48px!important;border:1.5px solid var(--aa-line)!important;border-radius:12px!important;background:#fff!important;color:var(--aa-ink)!important;padding:0 14px!important;font:500 16px 'Manrope','Inter',sans-serif!important;box-shadow:none!important;transition:border-color .2s,box-shadow .2s}
body .legacy .auth-field-input:focus,body #screen-signup-pay .auth-input:focus{outline:0!important;border-color:var(--aa-blue)!important;box-shadow:0 0 0 4px rgba(37,99,255,.13)!important}
.aa-pw{position:relative}
.aa-pw .auth-field-input{padding-right:48px!important}
.aa-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;background:none;border-radius:10px;color:var(--aa-sub);cursor:pointer;display:grid;place-items:center}
.aa-eye:hover{background:var(--aa-soft);color:var(--aa-ink)}
body .legacy .auth-error,body #screen-signup-pay .auth-error{color:var(--aa-red)!important;font-size:13.5px!important;font-weight:600!important;margin:6px 0 0!important}
body .legacy .auth-status,body #screen-signup-pay .auth-status{color:var(--aa-sub)!important;font-size:14px!important}

/* buttons */
body .legacy .auth-submit-btn,body .legacy .roadmap-download-btn,body #screen-signup-pay #btn-signup-pay{width:100%!important;height:50px!important;margin-top:18px!important;border:0!important;border-radius:12px!important;background:var(--aa-blue)!important;color:#fff!important;font:800 16px 'Manrope','Inter',sans-serif!important;letter-spacing:0!important;text-transform:none!important;box-shadow:0 14px 30px -14px rgba(37,99,255,.7)!important;cursor:pointer;transition:background .2s,transform .2s}
body .legacy .auth-submit-btn:hover,body .legacy .roadmap-download-btn:hover,body #screen-signup-pay #btn-signup-pay:hover{background:var(--aa-blue-d)!important;transform:translateY(-1px)}
body .legacy .auth-submit-btn:disabled,body #screen-signup-pay #btn-signup-pay:disabled{opacity:.6;transform:none}
body .legacy .auth-forgot-link,body #screen-signup-pay .auth-forgot-link{display:inline-block;margin-top:14px!important;color:var(--aa-blue)!important;font-weight:700!important;font-size:14px!important;text-decoration:none!important}
body .legacy .auth-divider,body #screen-signup-pay .auth-divider{height:1px!important;background:#EEF1F6!important;margin:20px 0 16px!important;border:0!important}
body .legacy .auth-switch-line,body #screen-signup-pay .auth-help{color:var(--aa-sub)!important;font-size:14.5px!important;text-align:center!important}
body .legacy .auth-switch-link,body #screen-signup-pay .auth-help a{color:var(--aa-blue)!important;font-weight:700!important;text-decoration:none!important;cursor:pointer}
body .legacy .auth-note,body #screen-signup-pay .price-note{color:var(--aa-sub)!important;font-size:13.5px!important;line-height:1.55!important;text-align:center!important;margin-top:12px!important}

/* secure pay line under the button */
.aa-secure{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:12px;font-size:13px;color:var(--aa-sub)}
.aa-secure svg{color:var(--aa-green)}
.aa-secure b{color:var(--aa-ink);font-weight:700}

/* plan picker: home pop up */
body .legacy .tier-select{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important;margin:18px 0 0!important}
body .legacy .tier-card{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;padding:12px!important;border:1.5px solid var(--aa-line)!important;border-radius:14px!important;background:#fff!important;color:var(--aa-ink)!important;cursor:pointer;position:relative;text-align:left!important;font-family:inherit!important;transition:border-color .2s,background .2s}
body .legacy .tier-card:hover{border-color:#B9C7E6!important}
body .legacy .tier-card[aria-pressed="true"]{border-color:var(--aa-blue)!important;background:var(--aa-blue-soft)!important;box-shadow:0 0 0 3px rgba(37,99,255,.12)!important}
body .legacy .tier-card[aria-pressed="true"]::after{content:"";position:absolute;top:10px;right:10px;width:16px;height:16px;border-radius:50%;background:var(--aa-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='white' stroke-width='2.6' fill='none'/%3E%3C/svg%3E") center/10px no-repeat}
body .legacy .tier-months{font-size:13px!important;font-weight:700!important;color:var(--aa-sub)!important;font-family:inherit!important}
body .legacy .tier-price{font-size:22px!important;font-weight:800!important;color:var(--aa-ink)!important;font-family:inherit!important}

/* plan picker: payment page */
body #screen-signup-pay .account-mode-toggle{display:grid!important;grid-template-columns:1fr 1fr;gap:4px;background:var(--aa-soft)!important;border:0!important;border-radius:12px!important;padding:4px!important;margin:0 40px 22px 0!important}
body #screen-signup-pay .mode-btn{border:0!important;border-radius:9px!important;background:transparent!important;color:var(--aa-sub)!important;font:700 13.5px 'Manrope','Inter',sans-serif!important;padding:10px 8px!important;letter-spacing:0!important;text-transform:none!important}
body #screen-signup-pay .mode-btn[aria-pressed="true"]{background:#fff!important;color:var(--aa-ink)!important;box-shadow:0 2px 8px rgba(11,21,48,.1)!important}
body #screen-signup-pay .signup-pay-card{max-width:760px!important;padding:32px 34px!important}
body #screen-signup-pay .plan-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:12px!important;margin:0 0 6px!important}
body #screen-signup-pay .plan-grid[hidden]{display:none!important}
body #screen-signup-pay .plan-card{position:relative;border:1.5px solid var(--aa-line)!important;border-radius:16px!important;background:#fff!important;padding:18px!important;cursor:pointer;box-shadow:none!important;transition:border-color .2s,background .2s;color:var(--aa-ink)!important}
body #screen-signup-pay .plan-card:hover{border-color:#B9C7E6!important}
body #screen-signup-pay .plan-card[aria-pressed="true"]{border-color:var(--aa-blue)!important;background:var(--aa-blue-soft)!important;box-shadow:0 0 0 3px rgba(37,99,255,.12)!important}
body #screen-signup-pay .plan-badge{position:absolute!important;top:-10px!important;left:16px!important;background:var(--aa-ink)!important;color:#fff!important;font:700 11.5px 'Manrope','Inter',sans-serif!important;letter-spacing:0!important;text-transform:none!important;border-radius:999px!important;padding:3px 9px!important}
body #screen-signup-pay .plan-months{display:block;font:700 14px 'Manrope','Inter',sans-serif!important;color:var(--aa-sub)!important;letter-spacing:0!important;text-transform:none!important}
body #screen-signup-pay .plan-price{font:800 30px 'Manrope','Inter',sans-serif!important;color:var(--aa-ink)!important;margin:2px 0 10px!important;letter-spacing:-.02em!important}
body #screen-signup-pay .plan-price small{font-size:13px!important;font-weight:600!important;color:var(--aa-sub)!important}
body #screen-signup-pay .plan-features{list-style:none!important;padding:0!important;margin:0!important;display:grid;gap:6px}
body #screen-signup-pay .plan-features li{font-size:13.5px!important;color:var(--aa-sub)!important;padding-left:20px!important;position:relative;line-height:1.45!important}
body #screen-signup-pay .plan-features li::before{content:""!important;position:absolute;left:0;top:4px;width:12px;height:12px;border-radius:50%;background:var(--aa-blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='%232563FF' stroke-width='3' fill='none'/%3E%3C/svg%3E") center/9px no-repeat}
body #screen-signup-pay #account-fields-wrap,body #screen-signup-pay .auth-form{max-width:440px;margin:0 auto}

/* how would you like to pay */
body .legacy .payment-option,body #screen-signup-pay .payment-option{display:block!important;width:100%!important;text-align:left!important;border:1.5px solid var(--aa-line)!important;border-radius:16px!important;background:#fff!important;padding:16px 18px!important;margin-bottom:10px!important;cursor:pointer;color:var(--aa-ink)!important;box-shadow:none!important;transition:border-color .2s,box-shadow .2s,transform .2s}
body .legacy .payment-option:hover,body #screen-signup-pay .payment-option:hover{border-color:var(--aa-blue)!important;box-shadow:0 14px 30px -20px rgba(37,99,255,.6)!important;transform:translateY(-1px)}
body .legacy .payment-option-mark,body #screen-signup-pay .payment-option-mark{width:34px!important;height:34px!important;border-radius:10px!important;display:inline-grid!important;place-items:center!important;font-weight:800!important;color:#fff!important}
body .legacy .is-paystack .payment-option-mark,body #screen-signup-pay .is-paystack .payment-option-mark{background:#0BA4DB!important}
body .legacy .is-selar .payment-option-mark,body #screen-signup-pay .is-selar .payment-option-mark{background:#0B1530!important}
body .legacy .payment-option-name,body #screen-signup-pay .payment-option-name{font-weight:800!important;font-size:16px!important}
body .legacy .payment-option-badge,body #screen-signup-pay .payment-option-badge{font-size:12px!important;font-weight:700!important;border-radius:999px!important;padding:4px 10px!important;background:var(--aa-soft)!important;color:var(--aa-sub)!important;border:0!important}
body .legacy .payment-option-desc,body #screen-signup-pay .payment-option-desc{font-size:13.5px!important;color:var(--aa-sub)!important;margin-top:8px!important;line-height:1.5!important}
body .legacy .payment-method-note,body #screen-signup-pay .payment-method-note{font-size:13.5px!important;color:var(--aa-sub)!important;background:var(--aa-soft)!important;border:0!important;border-radius:12px!important;padding:12px 14px!important}

/* roadmap picker */
body .legacy .roadmap-picker{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:18px 0 0!important}
body .legacy .roadmap-option{border:1.5px solid var(--aa-line)!important;border-radius:14px!important;background:#fff!important;color:var(--aa-ink)!important;font:700 15px 'Manrope','Inter',sans-serif!important;padding:16px!important;cursor:pointer}
body .legacy .roadmap-option.is-selected,body .legacy .roadmap-option[aria-pressed="true"]{border-color:var(--aa-blue)!important;background:var(--aa-blue-soft)!important;color:var(--aa-blue-d)!important}

@media (max-width:640px){
  body .legacy .auth-overlay .auth-card{padding:28px 20px 22px!important}
  body #screen-signup-pay .signup-pay-card{padding:24px 18px!important;border-radius:18px!important}
  body #screen-signup-pay .account-mode-toggle{margin-right:40px!important}
  body #screen-signup-pay .plan-grid{grid-template-columns:1fr!important;gap:8px!important}
  body #screen-signup-pay .plan-card{display:flex!important;align-items:center;justify-content:space-between;padding:14px 16px!important}
  body #screen-signup-pay .plan-card .plan-features{display:none!important}
  body #screen-signup-pay .plan-price{margin:0!important;font-size:22px!important}
  body #screen-signup-pay .plan-badge{left:auto!important;right:14px!important}
}

/* fixes */
body .legacy [hidden],body #screen-signup-pay [hidden]{display:none!important}
body .legacy .auth-brand-mark{display:flex!important;justify-content:center;margin:0 0 14px!important}
body .legacy .auth-brand-mark svg{display:none!important}
body .legacy .auth-brand-mark span{font:800 20px 'Manrope','Inter',sans-serif!important;letter-spacing:-.03em;color:var(--aa-ink)!important}
body .legacy .auth-brand-mark .accent{color:var(--aa-blue)!important}
.aa-secure{flex-wrap:nowrap!important;text-align:left}
.aa-secure svg{flex:none}
body #screen-signup-pay{background:radial-gradient(700px 400px at 80% 0,rgba(37,99,255,.18),transparent 60%),linear-gradient(180deg,#050B1E,#071233)!important;padding:40px 16px 60px!important}
body #screen-signup-pay .auth-form{width:100%!important;max-width:440px!important;margin:0 auto!important}
body #screen-signup-pay #account-fields-wrap,body #screen-signup-pay .auth-password-field{width:100%!important;max-width:none!important}
body #screen-signup-pay .auth-password-field{position:relative}
body #screen-signup-pay .auth-eye-toggle{right:8px!important}
body:has(#screen-signup-pay:not([hidden])){background:#071233!important}
body:has(#screen-signup-pay:not([hidden])) main{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}

/* AA2: cleaner, narrower log in and sign up cards (Nov 16) */
.aa-s1 .aa-step2,.aa-s2 .aa-step1{display:none!important}
.aa2-logo{display:inline-flex;align-items:center;gap:9px;color:#2563FF;font-family:'Manrope','Inter',system-ui,sans-serif;font-weight:800;font-size:19px;letter-spacing:-.02em}
.aa2-logo>span{color:#0B1530}.aa2-logo b{color:#2563FF;font-weight:800}
.aa2-head{text-align:center;margin:2px 0 0}
.aa2-rule{height:1px;background:#E6EAF1;margin:22px -36px 26px}
body .legacy .auth-overlay .auth-card{max-width:400px!important;padding:34px 36px 28px!important;border-radius:16px!important}
body .legacy .auth-overlay .auth-brand-mark{display:flex!important;justify-content:center;margin:0!important}
body .legacy #auth-login-panel .auth-title{font-size:26px!important;font-weight:700!important;text-align:center;margin:0 0 22px!important}
body .legacy #landing-account-fields-wrap .auth-title{font-size:24px!important;font-weight:700!important;text-align:center;margin:0 0 4px!important}
.aa2-sub{text-align:center;color:#5B6785;font-size:14.5px;margin:0 0 18px}
body .legacy .auth-overlay .auth-field-input{height:48px!important;border-radius:8px!important;border:1.5px solid #C9D1DE!important;font-size:16px!important}
body .legacy .auth-overlay .auth-field-input:focus{border-color:#2563FF!important;box-shadow:0 0 0 3px rgba(37,99,255,.15)!important;outline:none}
body .legacy .auth-overlay .auth-submit-btn{height:50px!important;border-radius:999px!important;font-size:16px!important;font-weight:700!important;margin-top:20px!important;box-shadow:none!important}
body .legacy .auth-overlay .auth-forgot-link{display:inline-block;margin-top:16px!important;font-weight:700}
body .legacy .auth-overlay .auth-divider{margin:22px 0 16px!important}
body .legacy .auth-overlay .auth-switch-line{font-size:14.5px!important}
body .legacy #landing-tier-select{margin:0 0 6px!important;gap:8px!important}
body .legacy #landing-tier-select .tier-card{border-radius:10px!important;padding:10px 6px!important}
.aa2-chip{display:flex;align-items:center;gap:10px;border:1.5px solid #DCE2EC;border-radius:999px;padding:6px 8px 6px 6px;margin:0 0 16px;font-size:14.5px;color:#0B1530;background:#fff}
.aa2-av{width:28px;height:28px;border-radius:50%;background:#EEF3FF;color:#2563FF;display:grid;place-items:center;font-weight:800;font-size:13px;flex:none}
.aa2-mail{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.aa2-change{background:none;border:0;color:#2563FF;font-weight:700;font-size:13.5px;cursor:pointer;padding:6px 8px;border-radius:999px;font-family:inherit}
.aa2-change:hover{background:#EEF3FF}
/* practice test page sign up / log in */
body #screen-signup-pay .signup-pay-card{max-width:440px!important;width:calc(100% - 32px)!important;padding:30px 36px 26px!important;border-radius:16px!important;margin-left:auto!important;margin-right:auto!important}
body #screen-signup-pay .account-mode-toggle{display:none!important}
body #screen-signup-pay .reserve-heading{text-align:center;font-size:24px!important;font-weight:700!important;margin:0 0 16px!important}
body #screen-signup-pay .plan-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:0 0 6px!important}
body #screen-signup-pay .plan-card{display:flex!important;align-items:center;gap:10px;padding:13px 16px!important;border-radius:10px!important;min-height:0!important;position:relative}
body #screen-signup-pay .plan-card .plan-features{display:none!important}
body #screen-signup-pay .plan-card .plan-months{font-size:15px!important;font-weight:700!important;color:#0B1530!important;margin:0!important}
body #screen-signup-pay .plan-card .plan-badge{position:static!important;transform:none!important;order:2;font-size:11px!important;padding:2px 8px!important;border-radius:999px!important}
body #screen-signup-pay .plan-card .plan-price{order:3;margin:0 0 0 auto!important;font-size:20px!important}
body #screen-signup-pay .plan-card .plan-price small{font-size:12px!important}
body #screen-signup-pay .auth-input{height:48px!important;border-radius:8px!important;border:1.5px solid #C9D1DE!important;font-size:16px!important}
body #screen-signup-pay .auth-input:focus{border-color:#2563FF!important;box-shadow:0 0 0 3px rgba(37,99,255,.15)!important;outline:none}
body #screen-signup-pay #btn-signup-pay,.aa2-btn{display:block;width:100%;height:50px!important;border-radius:999px!important;font-size:16px!important;font-weight:700!important;background:#2563FF!important;color:#fff!important;border:0!important;cursor:pointer;font-family:inherit;margin-top:20px!important;box-shadow:none!important}
.aa2-btn:hover,body #screen-signup-pay #btn-signup-pay:hover{background:#1A4FE0!important}
body #screen-signup-pay .aa2-chip{margin-top:4px}
.aa2-switch{text-align:center;margin:20px 0 0;padding-top:16px;border-top:1px solid #E6EAF1;font-size:14.5px;color:#5B6785}
.aa2-switch button{background:none;border:0;color:#2563FF;font-weight:700;font-size:14.5px;cursor:pointer;font-family:inherit;padding:0}
body #screen-signup-pay .aa2-rule{margin:20px -36px 22px}
@media (max-width:480px){body .legacy .auth-overlay .auth-card,body #screen-signup-pay .signup-pay-card{padding:28px 22px 22px!important}.aa2-rule,body #screen-signup-pay .aa2-rule{margin-left:-22px;margin-right:-22px}}
body .legacy .auth-overlay .aa2-logo svg,body #screen-signup-pay .aa2-logo svg{display:block!important}
#signup-pay-form:not(.aa-s1):not(.aa-s2) #aa-next2,#signup-pay-form:not(.aa-s1):not(.aa-s2) #aa-chip2{display:none!important}
body #screen-signup-pay .plan-card{text-align:left!important;flex-direction:row!important;justify-content:flex-start!important}
body #screen-signup-pay .plan-card>*{width:auto!important;flex:none}

/* match the /login/ page */
body #screen-signup-pay .signup-pay-card{border-radius:8px!important}
body #screen-signup-pay #account-fields-wrap .auth-label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
body #screen-signup-pay #account-fields-wrap .auth-input{height:54px!important;border-radius:6px!important;border:1px solid #D5DCE7!important;margin-bottom:14px!important}
body #screen-signup-pay #account-fields-wrap .auth-input::placeholder{color:#97A1B5}
body #screen-signup-pay #account-fields-wrap{margin-top:18px}
body #screen-signup-pay #auth-note{display:none!important}
body #screen-signup-pay #btn-signup-pay{border-radius:6px!important;height:54px!important;margin-top:8px!important}
body #screen-signup-pay .plan-card{border-radius:6px!important}
body #screen-signup-pay #account-fields-wrap .auth-password-field .auth-input{margin-bottom:0!important}
body #screen-signup-pay #account-fields-wrap .auth-password-field{margin-bottom:14px!important}
body #screen-signup-pay #account-fields-wrap .auth-password-field .auth-input{padding-right:52px!important}
@media (max-width:480px){body #screen-signup-pay .plan-card .plan-price small{display:none!important}body #screen-signup-pay .plan-card{padding:12px 14px!important;gap:8px}body #screen-signup-pay .plan-card .plan-badge{font-size:10.5px!important;padding:2px 7px!important}}
/* sign up screen: the card has the logo, so no site bar on top */
body:has(#screen-signup-pay:not([hidden])) header.topbar{display:none!important}
body:has(#screen-signup-pay:not([hidden])) #screen-signup-pay{padding-top:40px!important}
