/* EduNizam site-wide Premium Blue Glass public/auth layer.
   Scoped presentation overrides only. No routes, permissions, auth or data behavior changes. */
:root{
  --en-public-glass:linear-gradient(145deg,rgba(18,83,151,.84),rgba(5,30,75,.82));
  --en-public-line:rgba(151,211,255,.48);
  --en-public-shadow:0 16px 40px rgba(0,9,35,.28),inset 0 1px 0 rgba(255,255,255,.20);
}
body.gold-home.page-home,
body.premium-public-page,
body.learning-sky.page-learning,
body.auth-page{
  color:#f3f8ff!important;
  background:
    radial-gradient(ellipse at 12% 8%,rgba(0,151,255,.22),transparent 34rem),
    radial-gradient(ellipse at 88% 22%,rgba(0,82,196,.24),transparent 38rem),
    linear-gradient(145deg,#04132f 0%,#062b60 48%,#03152f 100%)!important;
  background-attachment:fixed!important;
}
/* Homepage — defeat older green photo-glass selectors at their final cascade point. */
body.gold-home.page-home .public-nav,
body.gold-home.page-home .public-hero.premium-public-hero,
body.gold-home.page-home .hero-copy,
body.gold-home.page-home .quick-access-card,
body.gold-home.page-home .experience-strip,
body.gold-home.page-home .role-showcase,
body.gold-home.page-home .value-section,
body.gold-home.page-home .learning-band,
body.gold-home.page-home .public-card,
body.gold-home.page-home .resource-card{
  color:#f3f8ff!important;
  background:var(--en-public-glass)!important;
  border:1px solid var(--en-public-line)!important;
  box-shadow:var(--en-public-shadow),0 0 22px rgba(0,143,255,.12)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;
  backdrop-filter:blur(22px) saturate(145%)!important;
}
body.gold-home.page-home .public-nav{border-radius:20px!important}
body.gold-home.page-home .public-nav :is(a,small,.brand-name){color:#f3f8ff!important}
body.gold-home.page-home .public-hero.premium-public-hero{
  background:
    radial-gradient(circle at 82% 14%,rgba(0,174,255,.24),transparent 22rem),
    linear-gradient(125deg,rgba(8,55,112,.92),rgba(3,25,65,.90))!important;
}
body.gold-home.page-home .hero-copy{
  background:linear-gradient(145deg,rgba(18,83,151,.74),rgba(5,30,75,.76))!important;
}
body.gold-home.page-home .hero-copy :is(h1,h2,h3,p,.public-kicker,.hero-gold),
body.gold-home.page-home .public-section :is(h1,h2,h3,h4,p,small,strong,span),
body.gold-home.page-home .experience-strip :is(strong,small){
  color:#f3f8ff!important;-webkit-text-fill-color:#f3f8ff!important;
}
body.gold-home.page-home .public-hero .hero-gold{
  background:none!important;text-decoration-color:#00c8ff!important;
}
body.gold-home.page-home .public-cta,
body.gold-home.page-home .quick-actions .quick-main,
body.gold-home.page-home .public-links .nav-primary{
  color:#fff!important;background:linear-gradient(120deg,#087fe0,#0753b5)!important;
  border:1px solid rgba(164,224,255,.72)!important;
}
body.gold-home.page-home .public-cta-secondary,
body.gold-home.page-home .quick-actions a:not(.quick-main){
  color:#eff7ff!important;background:rgba(71,145,210,.20)!important;
  border:1px solid rgba(164,224,255,.42)!important;
}
body.gold-home.page-home .hero-image-wrap,
body.gold-home.page-home .role-preview,
body.gold-home.page-home .preview-window{
  border:1px solid var(--en-public-line)!important;
  box-shadow:var(--en-public-shadow)!important;
}
body.gold-home.page-home .portrait-caption{
  background:linear-gradient(110deg,rgba(4,30,72,.94),rgba(6,68,130,.90))!important;
  color:#fff!important;
}
body.gold-home.page-home .public-main,
body.gold-home.page-home .public-section,
body.gold-home.page-home .section-heading,
body.gold-home.page-home .public-footer{color:#f3f8ff!important;background:transparent!important}
body.gold-home.page-home .public-footer :is(a,span,small,strong){color:#d9eaff!important}
/* Public information pages: features, admissions, about and related guide pages. */
body.premium-public-page .public-nav,
body.premium-public-page .public-hero,
body.premium-public-page .public-card,
body.premium-public-page .feature-card,
body.premium-public-page .resource-card,
body.premium-public-page .home-section-card,
body.premium-public-page .prose,
body.premium-public-page .public-note{
  color:#f3f8ff!important;background:var(--en-public-glass)!important;
  border:1px solid var(--en-public-line)!important;box-shadow:var(--en-public-shadow)!important;
  -webkit-backdrop-filter:blur(20px) saturate(140%)!important;backdrop-filter:blur(20px) saturate(140%)!important;
}
body.premium-public-page :is(h1,h2,h3,h4,p,li,small,strong,.eyebrow,.public-kicker){color:#f3f8ff!important}
body.premium-public-page .public-links a{color:#eff7ff!important}
body.premium-public-page .public-links .nav-primary,
body.premium-public-page .public-cta{color:#fff!important;background:linear-gradient(120deg,#087fe0,#0753b5)!important}
/* Authentication: preserve the role picker and all auth interactions, restyle surfaces only. */
body.auth-page,
body.auth-page .page{background:transparent!important}
body.auth-page .story{
  background:
    radial-gradient(circle at 18% 10%,rgba(0,174,255,.30),transparent 24rem),
    linear-gradient(145deg,rgba(4,24,61,.96),rgba(5,65,130,.88))!important;
}
body.auth-page .story :is(h1,p,.brand-title,.brand-copy,.benefits span){color:#f3f8ff!important}
body.auth-page .story .brand-title .nizam{color:#8bdcff!important}
body.auth-page .main{background:transparent!important}
body.auth-page .card{
  color:#f3f8ff!important;background:var(--en-public-glass)!important;
  border:1px solid var(--en-public-line)!important;box-shadow:var(--en-public-shadow)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;backdrop-filter:blur(22px) saturate(145%)!important;
}
body.auth-page .card :is(h1,h2,h3,p,label,.subtitle,.help,.eyebrow,.role-guidance){color:#f3f8ff!important}
body.auth-page .role{
  color:#f3f8ff!important;background:rgba(72,145,210,.18)!important;
  border:1px solid rgba(164,224,255,.38)!important;
}
body.auth-page .role :is(strong,small){color:#f3f8ff!important}
body.auth-page .tabs{background:rgba(4,28,68,.42)!important;border-color:var(--en-public-line)!important}
body.auth-page .tab.active,
body.auth-page .primary{color:#fff!important;background:linear-gradient(120deg,#087fe0,#0753b5)!important;border-color:#70caff!important}
body.auth-page .secondary,
body.auth-page .back,
body.auth-page .password-toggle{color:#eaf5ff!important;background:rgba(71,145,210,.20)!important;border-color:var(--en-public-line)!important}
body.auth-page .field input,
body.auth-page .field select,
body.auth-page input,
body.auth-page select,
body.auth-page textarea{color:#102c4b!important;background:rgba(245,250,255,.97)!important}
/* Guest Learning Hub: keep search/forms bright and legible over the blue glass canvas. */
body.learning-sky .topbar,
body.learning-sky .hero-card,
body.learning-sky .quick-card,
body.learning-sky .card,
body.learning-sky .stat,
body.learning-sky .section-head,
body.learning-sky .tabs{
  color:#f3f8ff!important;background:var(--en-public-glass)!important;
  border:1px solid var(--en-public-line)!important;box-shadow:var(--en-public-shadow)!important;
  -webkit-backdrop-filter:blur(20px) saturate(140%)!important;backdrop-filter:blur(20px) saturate(140%)!important;
}
body.learning-sky :is(h1,h2,h3,h4,p,small,strong,.kicker,.section-head span){color:#f3f8ff!important}
body.learning-sky .brand :is(strong,small){color:#f3f8ff!important}
body.learning-sky .searchbox,
body.learning-sky .searchbox input,
body.learning-sky input,
body.learning-sky select{color:#102c4b!important;background:rgba(245,250,255,.97)!important}
body.learning-sky .tab.active,
body.learning-sky .btn.primary{color:#fff!important;background:linear-gradient(120deg,#087fe0,#0753b5)!important}
@media(max-width:820px){
  body.gold-home.page-home .public-nav{margin:8px!important}
  body.auth-page .main{background:transparent!important}
  body.learning-sky .topbar{background:var(--en-public-glass)!important}
}


/* Contrast correction from Phase 29 rendered screenshot review. */
body.gold-home.page-home .hero-copy *,
body.gold-home.page-home .hero-copy :is(h1,h2,h3,p,em,strong,span){
  color:#f3f8ff!important;
  -webkit-text-fill-color:#f3f8ff!important;
  text-shadow:none!important;
}
body.gold-home.page-home .hero-copy .hero-gold,
body.gold-home.page-home .hero-copy em{
  color:#8bdcff!important;-webkit-text-fill-color:#8bdcff!important;
}
body.gold-home.page-home .role-preview *,
body.gold-home.page-home .preview-window *,
body.gold-home.page-home .quick-access-card :is(h2,h3,p,strong,small,span){
  color:#f3f8ff!important;-webkit-text-fill-color:#f3f8ff!important;
}
body.auth-page{
  min-height:100vh!important;
  background:
    radial-gradient(ellipse at 15% 10%,rgba(0,151,255,.25),transparent 32rem),
    linear-gradient(145deg,#04132f 0%,#062b60 55%,#03152f 100%)!important;
}
body.auth-page .page,
body.auth-page .main,
body.auth-page .view,
body.auth-page .roles,
body.auth-page .fields,
body.auth-page .head{background:transparent!important}
body.auth-page .mobile-brand,
body.auth-page .story,
body.auth-page .card{
  color:#f3f8ff!important;
  background:linear-gradient(145deg,rgba(18,83,151,.88),rgba(5,30,75,.90))!important;
  border:1px solid rgba(151,211,255,.48)!important;
  box-shadow:0 16px 40px rgba(0,9,35,.28),inset 0 1px 0 rgba(255,255,255,.20)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;
  backdrop-filter:blur(22px) saturate(145%)!important;
}
body.auth-page .roles .role,
body.auth-page .role{
  color:#f3f8ff!important;
  background:linear-gradient(145deg,rgba(18,83,151,.78),rgba(5,30,75,.82))!important;
  border:1px solid rgba(151,211,255,.58)!important;
  box-shadow:0 8px 22px rgba(0,9,35,.20)!important;
}
body.auth-page .roles .role *,
body.auth-page .role :is(strong,small,.icon){
  color:#f3f8ff!important;-webkit-text-fill-color:#f3f8ff!important;
}
body.auth-page .mobile-brand :is(a,p,span,strong,small,h1,h2){color:#f3f8ff!important}
body.auth-page .eyebrow,
body.auth-page .subtitle,
body.auth-page .role-guidance,
body.auth-page .field label,
body.auth-page .help{color:#e4f2ff!important}
body.auth-page .tabs{background:rgba(4,28,68,.62)!important;border:1px solid rgba(151,211,255,.48)!important}
body.auth-page .tab{color:#eaf5ff!important}
body.auth-page .tab.active{color:#fff!important;background:linear-gradient(120deg,#087fe0,#0753b5)!important}
body.auth-page .field input,
body.auth-page .field select,
body.auth-page input,
body.auth-page select,
body.auth-page textarea{
  border:1px solid rgba(151,211,255,.65)!important;
  box-shadow:0 5px 16px rgba(0,9,35,.14)!important;
}
@media(max-width:600px){
  body.auth-page .page{background:transparent!important;box-shadow:none!important}
  body.auth-page .mobile-brand{border-radius:20px!important}
  body.auth-page .roles .role{min-height:118px!important}
}


/* Admission application page uses its own legacy class namespace. */
body.admission-premium{
  color:#f3f8ff!important;
  background:radial-gradient(ellipse at 15% 8%,rgba(0,151,255,.24),transparent 32rem),linear-gradient(145deg,#04132f,#062b60 55%,#03152f)!important;
}
body.admission-premium .top,
body.admission-premium .card,
body.admission-premium .callout,
body.admission-premium .payment-box,
body.admission-premium .app,
body.admission-premium .box,
body.admission-premium .doc{
  color:#f3f8ff!important;background:linear-gradient(145deg,rgba(18,83,151,.84),rgba(5,30,75,.88))!important;
  border:1px solid rgba(151,211,255,.48)!important;box-shadow:0 16px 40px rgba(0,9,35,.25)!important;
  -webkit-backdrop-filter:blur(20px) saturate(140%)!important;backdrop-filter:blur(20px) saturate(140%)!important;
}
body.admission-premium :is(h1,h2,h3,h4,p,small,strong,label,.muted,.meta,.section-title){color:#f3f8ff!important}
body.admission-premium .field input,
body.admission-premium .field select,
body.admission-premium input,
body.admission-premium select,
body.admission-premium textarea{
  color:#102c4b!important;background:rgba(245,250,255,.97)!important;border:1px solid rgba(151,211,255,.65)!important;
}
body.admission-premium .primary{color:#fff!important;background:linear-gradient(120deg,#087fe0,#0753b5)!important;border-color:#70caff!important}
body.admission-premium .secondary{color:#eff7ff!important;background:rgba(71,145,210,.20)!important;border-color:rgba(151,211,255,.48)!important}
