/* HUB OF ASPIRANTS V8.19 CLEAN — consolidated non-critical inline overrides. */

/* HOA Result Management — final statistic-card alignment repair.
   Scoped only to the Admin Result panel. */
body.admin-ui #adminSectionResultPanel .adminResultCards{
  width:100% !important;
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:16px !important;
}

body.admin-ui #adminSectionResultPanel .adminResultCard{
  position:relative !important;
  min-width:0 !important;
  min-height:105px !important;
  box-sizing:border-box !important;
  padding:18px 18px 18px 82px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:flex-start !important;
  text-align:left !important;
  overflow:hidden !important;
}

body.admin-ui #adminSectionResultPanel .adminResultCard::before{
  position:absolute !important;
  left:18px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:46px !important;
  height:46px !important;
  margin:0 !important;
  flex:0 0 46px !important;
}

body.admin-ui #adminSectionResultPanel .adminResultCard b,
body.admin-ui #adminSectionResultPanel .adminResultCard span{
  position:relative !important;
  z-index:2 !important;
  display:block !important;
  width:100% !important;
  margin-left:0 !important;
  text-align:left !important;
}

body.admin-ui #adminSectionResultPanel .adminResultCard b{
  font-size:24px !important;
  line-height:1.15 !important;
  color:#082544 !important;
}

body.admin-ui #adminSectionResultPanel .adminResultCard span{
  margin-top:5px !important;
  font-size:12px !important;
  line-height:1.3 !important;
  color:#5E7188 !important;
}

@media(max-width:900px){
  body.admin-ui #adminSectionResultPanel .adminResultCards{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }
}

@media(max-width:600px){
  body.admin-ui #adminSectionResultPanel .adminResultCard{
    min-height:92px !important;
    padding:14px 12px 14px 64px !important;
  }

  body.admin-ui #adminSectionResultPanel .adminResultCard::before{
    left:12px !important;
    width:38px !important;
    height:38px !important;
  }

  body.admin-ui #adminSectionResultPanel .adminResultCard b{
    font-size:21px !important;
  }
}

@media(max-width:420px){
  body.admin-ui #adminSectionResultPanel .adminResultCards{
    grid-template-columns:1fr !important;
  }
}

/* During an active exam, public feedback/suggestion UI is intentionally unavailable. */
body.v13-exam-active #hoaPublicFeedbackStrip,
body.v13-exam-active #hoaPublicFeedbackModal { display:none !important; }
/* Prevent public floating feedback controls from sitting above the CBT interface. */
body.v13-exam-active .hoa-public-feedback-strip,
body.test-instructions-active .hoa-public-feedback-strip { display:none !important; }


/* V8.77 — Admin Login HOME control
   Always navigate directly to the public index.html home page and never underline the label. */
body.hoa-public-auth.hoa-admin-auth a.hoa-login-page-back,
body.hoa-public-auth.hoa-admin-auth a.hoa-login-page-back:link,
body.hoa-public-auth.hoa-admin-auth a.hoa-login-page-back:visited,
body.hoa-public-auth.hoa-admin-auth a.hoa-login-page-back:hover,
body.hoa-public-auth.hoa-admin-auth a.hoa-login-page-back:focus,
body.hoa-public-auth.hoa-admin-auth a.hoa-login-page-back:active{
  text-decoration:none !important;
  -webkit-text-decoration-line:none !important;
  text-decoration-line:none !important;
}

/* V8.90 accessibility contrast hardening — authoritative final pass. */
body.hoa-front-page #hoaFrontPage{
  background:#fff !important;
}
body.hoa-front-page #hoaFrontPage .hoa-front-brand-tag{
  color:#465A70 !important;
}
body.hoa-front-page #hoaFrontPage .hoa-front-title span{
  color:#145A9C !important;
}
body.hoa-front-page #hoaFrontPage .hoa-front-copy,
body.hoa-front-page #hoaFrontPage .hoa-front-feature span,
body.hoa-front-page #hoaFrontPage .hoa-front-feature-box p,
body.hoa-front-page #hoaFrontPage .hoa-front-section-sub{
  color:#334155 !important;
}
body.hoa-public-front #hoaV648StudentOptions .hoa-v648-option-card{
  background:#fff !important;
}
body.hoa-public-front #hoaV648StudentOptions .hoa-v648-option-card::after{
  display:none !important;
}
body.hoa-public-front #hoaV648StudentOptions .hoa-v648-option-title{
  color:#0B2E52 !important;
}
body.hoa-public-front #hoaV648StudentOptions .hoa-v648-option-copy{
  color:#334155 !important;
}
body.hoa-public-front #hoaV648StudentOptions .hoa-v648-option-link{
  color:#145A9C !important;
}
body.hoa-front-page #hoaDynamicShowcase .hoa-v3d-kicker{
  color:#145A9C !important;
}
body.hoa-front-page #hoaDynamicShowcase .hoa-v3d-head h2,
body.hoa-front-page #hoaDynamicShowcase .hoa-v3d-head p{
  color:#0B2E52 !important;
}

/* V8.90 Admin login: make the login surface solid so contrast is deterministic. */
body.hoa-public-auth.hoa-admin-auth #hoaLoginPage,
body.hoa-public-auth.hoa-admin-auth #hoaAdminPortalPanel,
body.hoa-public-auth.hoa-admin-auth .hoa-login-panel-head{
  background:#fff !important;
}
body.hoa-public-auth.hoa-admin-auth #hoaAdminPortalPanel h2,
body.hoa-public-auth.hoa-admin-auth #hoaAdminPortalPanel p{
  color:#0B2E52 !important;
}

/* Developer Console: replace gradient surfaces/buttons with solid contrast-safe colors. */
.login-wrap{background:#06101c !important;}
.signin{background:#2563eb !important;color:#fff !important;}

/* V8.90 Student Dashboard — definitive full-width gold divider.
   The divider belongs to the authenticated student header boundary,
   immediately above the centered Student Section tab. */
body:not(.admin-ui):has(#studentOnlyDashboard:not(.hidden)) > .header{
  position:absolute !important;
  width:100% !important;
  max-width:100% !important;
  left:0 !important;
  right:auto !important;
  box-sizing:border-box !important;
  border:0 !important;
  border-bottom:0 !important;
  background:transparent !important;
  background-image:none !important;
  overflow:visible !important;
}
body:not(.admin-ui):has(#studentOnlyDashboard:not(.hidden)) > .header::after{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:-1px !important;
  width:100% !important;
  height:3px !important;
  margin:0 !important;
  background:#D4AF37 !important;
  z-index:10003 !important;
  pointer-events:none !important;
}
body:not(.admin-ui):has(#studentOnlyDashboard:not(.hidden)) #studentOnlyDashboard > .hoa-student-section-strip::before,
body:not(.admin-ui):has(#studentOnlyDashboard:not(.hidden)) > main.container::before{
  content:none !important;
  display:none !important;
}
body:not(.admin-ui):has(#studentOnlyDashboard:not(.hidden)) #studentOnlyDashboard > .hoa-student-section-strip{
  position:relative !important;
  z-index:20 !important;
}
body:not(.admin-ui):has(#studentOnlyDashboard:not(.hidden)) #studentOnlyDashboard > .hoa-student-section-strip > .hoa-student-section-pill{
  position:relative !important;
  z-index:21 !important;
}

/* V8.90 Student branding — add clear breathing room above and below the branding without moving the full-width gold divider. */
body.hoa-app-student > .header{
  height:90px !important;
  min-height:90px !important;
  padding:8px 24px !important;
  box-sizing:border-box !important;
}
body.hoa-app-student > .header > .hoa-student-header-brand{
  height:56px !important;
  min-height:56px !important;
  padding:0 !important;
  margin:0 !important;
  box-sizing:border-box !important;
  align-self:center !important;
}

/* Student Section tab typography — increased for clearer visibility. */
body.hoa-app-student #studentOnlyDashboard > .hoa-student-section-strip > .hoa-student-section-pill{
  font-size:18px !important;
  line-height:1.15 !important;
  padding:8px 22px !important;
}
@media(max-width:700px){
  body.hoa-app-student > .header{
    height:78px !important;
    min-height:78px !important;
    padding:8px 12px !important;
  }
  body.hoa-app-student > .header > .hoa-student-header-brand{
    height:46px !important;
    min-height:46px !important;
    padding:0 !important;
  }
}
@media(max-width:420px){
  body.hoa-app-student > .header{
    padding:8px 10px !important;
  }
}

/* Student Section: add a little more breathing room above the pill. */
body.hoa-app-student #studentOnlyDashboard > .hoa-student-section-strip{
  height:50px !important;
  min-height:50px !important;
  padding:11px 12px 5px !important;
  align-items:center !important;
}
body.hoa-app-student #studentOnlyDashboard > .hoa-student-section-strip > .hoa-student-section-pill{
  transform:translateY(3px) !important;
}
@media(max-width:700px){
  body.hoa-app-student #studentOnlyDashboard > .hoa-student-section-strip{
    height:46px !important;
    min-height:46px !important;
    padding:9px 10px 4px !important;
  }
}
@media(max-width:420px){
  body.hoa-app-student #studentOnlyDashboard > .hoa-student-section-strip{
    height:44px !important;
    min-height:44px !important;
    padding:8px 9px 4px !important;
  }
}
