/*==========================================================
  Concept Quizzer
  Package 2
  File : css/style.css
==========================================================*/

:root{

--primary:#5b5cf0;
--secondary:#7c3aed;
--accent:#06b6d4;
--success:#22c55e;
--danger:#ef4444;

--bg:#f4f7ff;
--surface:#ffffff;
--text:#1f2937;
--textLight:#6b7280;
--border:#e5e7eb;

--radius:22px;
--transition:.30s ease;

--shadow:
0 15px 40px
rgba(0,0,0,.08);

}

*{

margin:0;

padding:0;

box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:

"Poppins",
sans-serif;

background:var(--bg);

color:var(--text);

overflow-x:hidden;

}

/*========================*/

img{

max-width:100%;

display:block;

}

button{

font-family:inherit;

cursor:pointer;

border:none;

outline:none;

}

input{

font-family:inherit;

outline:none;

border:none;

background:none;

width:100%;

}

a{

text-decoration:none;

color:inherit;

}

.hidden{

display:none!important;

}

.container{

width:min(1280px,92%);

margin:auto;

}

/*========================
 PRELOADER
========================*/

#preloader{

position:fixed;

inset:0;

background:

linear-gradient(
135deg,
#eef4ff,
#ffffff
);

display:flex;

align-items:center;

justify-content:center;

z-index:99999;

transition:.5s;

}

.loader{

display:flex;

flex-direction:column;

align-items:center;

gap:18px;

text-align:center;

}

.loaderLogo{

width:110px;

height:110px;

border-radius:30px;

display:flex;

align-items:center;

justify-content:center;

font-size:58px;

color:white;

background:

linear-gradient(
135deg,
#5b5cf0,
#7c3aed
);

box-shadow:

0 20px 45px
rgba(91,92,240,.30);

animation:

floatLogo 2s
ease-in-out
infinite;

}

.loader h2{

font-size:2rem;

font-weight:700;

}

.loader p{

color:var(--textLight);

}

@keyframes floatLogo{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-12px);

}

100%{

transform:translateY(0);

}

}

/*========================
 HEADER
========================*/

.header{

position:sticky;

top:0;

z-index:999;

background:

rgba(255,255,255,.80);

backdrop-filter:

blur(18px);

border-bottom:

1px solid
rgba(0,0,0,.05);

}

.header .container{

display:flex;

align-items:center;

justify-content:space-between;

padding:18px 0;

}

/*========================
 LOGO
========================*/

.logo{

display:flex;

align-items:center;

gap:14px;

}

.logoIcon{

width:60px;

height:60px;

border-radius:18px;

display:flex;

align-items:center;

justify-content:center;

font-size:1.2rem;

font-weight:700;

color:white;

background:

linear-gradient(
135deg,
#5b5cf0,
#7c3aed
);

box-shadow:

0 12px 30px
rgba(91,92,240,.25);

}

.logoIcon img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:18px;
}

.logoText{

display:flex;

flex-direction:column;

}

.logoText h2{

font-size:1.35rem;

font-weight:700;

line-height:1.2;

}

.logoText span{

font-size:.9rem;

color:var(--textLight);

}

/*========================
 HEADER ACTIONS
========================*/

.headerActions{

display:flex;

align-items:center;

gap:12px;

}

.iconButton{

width:50px;

height:50px;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

background:white;

color:var(--primary);

box-shadow:var(--shadow);

transition:var(--transition);

}

.iconButton:hover{

transform:

translateY(-4px);

}

/*========================
 HERO
========================*/

.hero{

position:relative;

overflow:hidden;

padding:

80px 0
100px;

background:

linear-gradient(
180deg,
#f8fbff,
#eef4ff
);

}

.heroBackground{

position:absolute;

inset:0;

background:

radial-gradient(
circle at top left,
rgba(91,92,240,.15),
transparent 45%
),

radial-gradient(
circle at bottom right,
rgba(6,182,212,.15),
transparent 40%
);

}

.heroContainer{

position:relative;

z-index:2;

display:grid;

grid-template-columns:

1.1fr
.9fr;

gap:60px;

align-items:center;

}

/*========================
 HERO CONTENT
========================*/

.heroContent{

display:flex;

flex-direction:column;

gap:22px;

}

.heroBadge{

display:inline-flex;

align-items:center;

gap:8px;

width:max-content;

padding:10px 18px;

border-radius:999px;

background:#eef2ff;

color:var(--primary);

font-weight:600;

}

.heroContent h1{

font-size:3.6rem;

font-weight:800;

line-height:1.1;

}

.heroContent p{

font-size:1rem;

line-height:1.9;

color:var(--textLight);

max-width:650px;

}

/*========================
 SEARCH BAR
========================*/

.heroSearch{

display:flex;

align-items:center;

gap:14px;

padding:18px 22px;

background:white;

border-radius:18px;

box-shadow:var(--shadow);

margin-top:10px;

}

.heroSearch span{

color:var(--primary);

font-size:28px;

}

.heroSearch input{

font-size:1rem;

color:var(--text);

}

/*========================
 HERO BUTTONS
========================*/

.heroButtons{

display:flex;

gap:18px;

margin-top:12px;

flex-wrap:wrap;

}

.primaryButton{

padding:16px 34px;

border-radius:18px;

background:

linear-gradient(
135deg,
#5b5cf0,
#7c3aed
);

color:white;

font-size:1rem;

font-weight:600;

transition:var(--transition);

box-shadow:

0 18px 35px
rgba(91,92,240,.30);

}

.primaryButton:hover{

transform:

translateY(-5px);

}

.secondaryButton{

padding:16px 34px;

border-radius:18px;

background:white;

border:2px solid var(--border);

font-size:1rem;

font-weight:600;

color:var(--primary);

transition:var(--transition);

}

.secondaryButton:hover{

background:#f7f8ff;

transform:

translateY(-5px);

}

/*========================
 HERO IMAGE
========================*/

.heroImage{

position:relative;

height:520px;

display:flex;

align-items:center;

justify-content:center;

}

.bookCard{

width:220px;

height:220px;

border-radius:40px;

display:flex;

align-items:center;

justify-content:center;

font-size:90px;

color:white;

background:

linear-gradient(
135deg,
#5b5cf0,
#7c3aed
);

box-shadow:

0 30px 60px
rgba(91,92,240,.30);

animation:

floatBook
4s ease-in-out infinite;

}

.floatingCard{

position:absolute;

width:85px;

height:85px;

border-radius:22px;

display:flex;

align-items:center;

justify-content:center;

font-size:42px;

background:white;

box-shadow:var(--shadow);

animation:

floatCard
5s ease-in-out infinite;

}

.maths{

top:8%;

left:12%;

}

.science{

top:18%;

right:8%;

animation-delay:.5s;

}

.history{

bottom:15%;

left:8%;

animation-delay:1s;

}

.geography{

bottom:12%;

right:14%;

animation-delay:1.5s;

}

.civics{

left:0;

top:45%;

animation-delay:2s;

}

.ai{

right:0;

top:48%;

animation-delay:2.5s;

}

@keyframes floatBook{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-16px);

}

100%{

transform:translateY(0);

}

}

@keyframes floatCard{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-12px);

}

100%{

transform:translateY(0);

}

}

/*========================
 SCREEN
========================*/

.screen{

padding:80px 0;

}

.sectionHeader{

text-align:center;

margin-bottom:45px;

}

.sectionHeader h2{

font-size:2.5rem;

font-weight:700;

margin-bottom:10px;

}

.sectionHeader p{

font-size:1rem;

color:var(--textLight);

line-height:1.8;

}

/*========================
 CLASS GRID
========================*/

.classGrid{

display:grid;

grid-template-columns:

repeat(auto-fit,minmax(180px,1fr));

gap:24px;

}

.classCard{

background:var(--surface);

border-radius:24px;

padding:28px;

text-align:center;

cursor:pointer;

border:2px solid transparent;

box-shadow:var(--shadow);

transition:var(--transition);

}

.classCard:hover{

transform:

translateY(-8px);

border-color:var(--primary);

}

.classCard.active{

background:

linear-gradient(
135deg,
#5b5cf0,
#7c3aed
);

color:white;

}

.classIcon{

width:80px;

height:80px;

margin:auto auto 18px;

border-radius:22px;

display:flex;

align-items:center;

justify-content:center;

font-size:2rem;

font-weight:700;

background:#eef2ff;

color:var(--primary);

}

.classCard.active .classIcon{

background:white;

color:var(--primary);

}

.classCard h3{

font-size:1.2rem;

margin-bottom:8px;

}

.classCard p{

font-size:.92rem;

color:var(--textLight);

}

.classCard.active p{

color:white;

opacity:.9;

}

/*========================
 SUBJECT GRID
========================*/

.subjectGrid{

display:grid;

grid-template-columns:

repeat(auto-fit,minmax(250px,1fr));

gap:25px;

}

.subjectCard{

background:white;

border-radius:26px;

padding:30px;

text-align:center;

cursor:pointer;

box-shadow:var(--shadow);

transition:var(--transition);

}

.subjectCard:hover{

transform:

translateY(-8px);

}

.subjectIcon{

width:90px;

height:90px;

margin:auto auto 18px;

border-radius:24px;

display:flex;

align-items:center;

justify-content:center;

font-size:46px;

background:

linear-gradient(
135deg,
#5b5cf0,
#7c3aed
);

color:white;

}

.subjectCard h3{

margin-bottom:10px;

font-size:1.2rem;

}

.subjectCard p{

color:var(--textLight);

line-height:1.7;

}

/*========================
 CHAPTER GRID
========================*/

.chapterGrid{

display:grid;

grid-template-columns:

repeat(auto-fit,minmax(280px,1fr));

gap:24px;

}

.chapterCard{

background:white;

padding:26px;

border-radius:24px;

cursor:pointer;

box-shadow:var(--shadow);

transition:var(--transition);

border:2px solid transparent;

}

.chapterCard:hover{

transform:

translateY(-8px);

border-color:var(--primary);

}

.chapterNumber{

width:58px;

height:58px;

display:flex;

align-items:center;

justify-content:center;

border-radius:18px;

margin-bottom:18px;

font-weight:700;

background:

linear-gradient(
135deg,
#5b5cf0,
#7c3aed
);

color:white;

  }

/* ==========================
   PROGRESS CARD
========================== */

.progressCard{
    margin-top:24px;
    background:rgba(255,255,255,.15);
    border-radius:18px;
    padding:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.progressInfo{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
    color:#ffffff;
    font-weight:700;
    font-size:15px;
}

.progressInfo span{
    color:#ffffff;
}

#progressText{
    color:#ffffff;
    font-weight:700;
}

.progressBar{
    width:100%;
    height:12px;
    background:rgba(255,255,255,.35);
    border-radius:999px;
    overflow:hidden;
}

#progressFill{
    width:100%;
    height:100%;
    display:block;
    border-radius:999px;
    background:linear-gradient(90deg,#22c55e,#4ade80);
    transition:width .5s ease;
}

/* ===== ACHIEVEMENTS HEADER BUTTON FIX ===== */

.headerActions{
  display:flex !important;
  align-items:center;
  gap:10px;
  flex-wrap:nowrap !important;
  overflow:visible !important;
}

.headerActions .iconButton{
  display:flex !important;
  align-items:center;
  justify-content:center;
  visibility:visible !important;
  opacity:1 !important;
  flex-shrink:0 !important;
}

/* Mobile */
@media (max-width:600px){
  .headerActions{
    gap:6px;
  }

  .headerActions .iconButton{
    width:52px;
    height:52px;
    min-width:52px;
    padding:0;
  }

  .headerActions .material-icons-round{
    font-size:25px;
  }
}

/* MOBILE HEADER - FINAL FIX */

@media screen and (max-width: 700px) {

  .header .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .headerActions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 5px !important;
    width: auto !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
  }

  .headerActions .iconButton {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .headerActions .material-icons-round {
    font-size: 24px !important;
  }

  .logo {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
}

/* ===== FINAL MOBILE HEADER FIT ===== */

@media screen and (max-width: 700px) {

  .header .container {
    width: 100% !important;
    padding: 10px 8px !important;
    gap: 4px !important;
  }

  .logo {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 6px !important;
  }

  .logoIcon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
  }

  .logoText {
    min-width: 0 !important;
  }

  .logoText h2 {
    font-size: 1.05rem !important;
  }

  .logoText span {
    font-size: .72rem !important;
  }

  .headerActions {
    flex: 0 0 auto !important;
    display: flex !important;
    gap: 4px !important;
    width: auto !important;
  }

  .headerActions .iconButton {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    flex: 0 0 42px !important;
    padding: 0 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .headerActions .material-icons-round {
    font-size: 21px !important;
  }
}

/* ===== PACKAGE 11D — PDF DOWNLOAD ===== */

.pdfDownloadButton {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 25px auto;
  padding: 16px 24px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #5b5cf0, #7c3aed);
  color: white;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(91,92,240,.25);
  transition: .25s ease;
}

.pdfDownloadButton:hover {
  transform: translateY(-3px);
}

.pdfDownloadButton:active {
  transform: scale(.97);
}

@media(max-width:600px) {
  .pdfDownloadButton {
    width: 90%;
    font-size: 16px;
  }
}

/* ==========================================================
   CONCEPT QUIZZER — 2026 VISUAL REDESIGN
   Homepage + subject + chapter selection
   ========================================================== */

body{
  background:
    radial-gradient(circle at 10% 8%, rgba(124,58,237,.10), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(6,182,212,.10), transparent 28%),
    linear-gradient(180deg,#f8f9ff 0%,#eef5ff 100%);
}

/* Keep the header, remove the old giant Smart Learning hero from markup. */
main.container{
  padding-top:18px;
}

#classScreen.screen{
  min-height:calc(100vh - 110px);
  padding:38px 0 80px;
}

#classScreen .sectionHeader,
#subjectScreen .sectionHeader,
#chapterScreen .sectionHeader{
  position:relative;
  padding:10px 12px 34px;
}

#classScreen .sectionHeader::before,
#subjectScreen .sectionHeader::before,
#chapterScreen .sectionHeader::before{
  content:"";
  display:block;
  width:72px;
  height:6px;
  margin:0 auto 18px;
  border-radius:99px;
  background:linear-gradient(90deg,#5b5cf0,#7c3aed,#06b6d4);
}

.classIntroBadge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 15px;
  border-radius:999px;
  background:linear-gradient(135deg,#eef2ff,#f5f3ff);
  color:#5b5cf0;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.7px;
  box-shadow:0 10px 25px rgba(91,92,240,.10);
  margin-bottom:15px;
}

#classScreen .sectionHeader h2{
  font-size:clamp(2.3rem,8vw,4.1rem);
  line-height:1.02;
  letter-spacing:-1.8px;
  background:linear-gradient(135deg,#172033 15%,#5b5cf0 55%,#7c3aed 85%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

#classScreen .sectionHeader p,
#subjectScreen .sectionHeader p,
#chapterScreen .sectionHeader p{
  max-width:620px;
  margin:10px auto 0;
  font-size:1rem;
}

.classGrid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:18px;
  max-width:1100px;
  margin:0 auto;
}

.classCard{
  position:relative;
  overflow:hidden;
  min-height:205px;
  padding:28px 18px;
  border:1px solid rgba(91,92,240,.08);
  border-radius:30px;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(12px);
  box-shadow:0 18px 45px rgba(31,41,55,.08);
}

.classCard::before{
  content:"";
  position:absolute;
  width:130px;
  height:130px;
  border-radius:50%;
  right:-45px;
  top:-45px;
  background:linear-gradient(135deg,rgba(91,92,240,.15),rgba(6,182,212,.08));
}

.classCard:hover{
  transform:translateY(-10px) scale(1.015);
  border-color:rgba(91,92,240,.35);
  box-shadow:0 25px 55px rgba(91,92,240,.16);
}

.classCard.active{
  background:linear-gradient(145deg,#5b5cf0,#7c3aed);
  border-color:transparent;
  box-shadow:0 25px 60px rgba(91,92,240,.28);
}

.classIcon{
  position:relative;
  z-index:1;
  width:82px;
  height:82px;
  margin:0 auto 22px;
  border-radius:26px;
  background:linear-gradient(145deg,#eef2ff,#f5f3ff);
  color:#5b5cf0;
  font-size:2rem;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 12px 25px rgba(91,92,240,.12);
}

.classCard.active .classIcon{
  background:rgba(255,255,255,.95);
}

.classCard h3{
  position:relative;
  z-index:1;
  font-size:1.18rem;
  font-weight:800;
  letter-spacing:-.3px;
}

/* Subject page */
#subjectScreen.screen,
#chapterScreen.screen{
  padding:32px 0 80px;
  min-height:calc(100vh - 110px);
}

.backButton{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:11px 16px;
  border-radius:15px;
  background:rgba(255,255,255,.85);
  color:#30384a;
  box-shadow:0 10px 25px rgba(31,41,55,.06);
  font-weight:700;
  transition:.25s ease;
}

.backButton:hover{
  transform:translateX(-4px);
  color:#5b5cf0;
}

#subjectScreen .sectionHeader h2,
#chapterScreen .sectionHeader h2{
  font-size:clamp(2.2rem,7vw,3.5rem);
  letter-spacing:-1.4px;
}

.subjectGrid{
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:20px;
  max-width:1100px;
  margin:0 auto;
}

.subjectCard{
  position:relative;
  overflow:hidden;
  padding:30px 24px;
  min-height:210px;
  border:1px solid rgba(91,92,240,.08);
  background:rgba(255,255,255,.88);
  border-radius:30px;
  box-shadow:0 18px 45px rgba(31,41,55,.07);
}

.subjectCard::after{
  content:"→";
  position:absolute;
  right:20px;
  top:18px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f1efff;
  color:#5b5cf0;
  font-weight:800;
  transition:.25s ease;
}

.subjectCard:hover{
  transform:translateY(-9px);
  box-shadow:0 26px 55px rgba(91,92,240,.13);
  border-color:rgba(91,92,240,.25);
}

.subjectCard:hover::after{
  transform:translateX(4px);
  background:#5b5cf0;
  color:#fff;
}

/* Chapter page — no extra Open Chapter text/number tile. */
.chapterGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
  max-width:1100px;
  margin:0 auto;
}

.chapterCard{
  position:relative;
  overflow:hidden;
  min-height:170px;
  padding:26px 28px;
  text-align:left;
  border:1px solid rgba(91,92,240,.09);
  border-radius:30px;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(247,248,255,.92));
  box-shadow:0 18px 45px rgba(31,41,55,.07);
}

.chapterCard::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(180deg,#5b5cf0,#7c3aed,#06b6d4);
}

.chapterCard:hover{
  transform:translateY(-9px);
  border-color:rgba(91,92,240,.28);
  box-shadow:0 28px 60px rgba(91,92,240,.15);
}

.chapterLabel{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  background:linear-gradient(135deg,#eef2ff,#f3e8ff);
  color:#5b5cf0;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.4px;
  margin-bottom:17px;
}

.chapterCard h3{
  max-width:88%;
  margin:0;
  color:#182033;
  font-size:1.18rem;
  line-height:1.45;
  font-weight:800;
}

.chapterArrow{
  position:absolute;
  right:22px;
  bottom:20px;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f0efff;
  color:#5b5cf0;
  font-size:1.2rem;
  font-weight:900;
  transition:.25s ease;
}

.chapterCard:hover .chapterArrow{
  background:#5b5cf0;
  color:#fff;
  transform:translateX(4px);
}

@media(max-width:900px){
  .classGrid{grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media(max-width:620px){
  main.container{padding-left:16px;padding-right:16px;}
  #classScreen.screen{padding-top:28px;}
  .classGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
  .classCard{min-height:175px;padding:22px 12px;border-radius:24px;}
  .classIcon{width:70px;height:70px;border-radius:22px;margin-bottom:17px;}
  .classCard h3{font-size:1rem;}
  .subjectGrid,.chapterGrid{grid-template-columns:1fr;gap:15px;}
  .subjectCard{min-height:180px;border-radius:25px;}
  .chapterCard{min-height:155px;border-radius:25px;padding:23px 23px 26px;}
  #classScreen .sectionHeader h2{font-size:2.45rem;}
}


/* Emergency safety: loading overlays must never block the application. */
#preloader { display:none !important; }





/* ===== Account / Google sign-in ===== */
.headerRightStack{display:flex;flex-direction:column;align-items:flex-end;gap:12px;min-width:0}
.accountBar{display:flex;justify-content:flex-end;width:100%}
.accountButton{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:230px;min-height:38px;padding:8px 14px;border:0;border-radius:999px;background:linear-gradient(135deg,#4f46e5,#258be8);color:#fff;font:700 13px Poppins,sans-serif;box-shadow:0 6px 18px #4f46e533;cursor:pointer}
.accountButton .material-icons-round{font-size:20px}
.accountButton img{width:25px;height:25px;border-radius:50%;object-fit:cover}
.headerRightStack .headerActions{justify-content:flex-end}
.accountModal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(12,18,38,.62);backdrop-filter:blur(8px)}
.accountModal.is-open{display:flex}
.accountModalCard{position:relative;width:min(100%,430px);max-height:90vh;overflow:auto;background:var(--card,#fff);color:var(--text,#18223f);border-radius:26px;padding:30px;box-shadow:0 25px 90px #0004;text-align:center}
.accountClose{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:30px;cursor:pointer;color:inherit}
.accountModalLogo{width:62px;height:62px;margin:0 auto 12px;display:grid;place-items:center;border-radius:20px;background:#eef0ff;color:#5146d8}
.accountModalLogo .material-icons-round{font-size:38px}
.accountModalCard h2{font-size:22px;margin:8px 0}
.accountModalCard p{line-height:1.6}
.termsConsent{display:flex;align-items:flex-start;text-align:left;gap:10px;margin:22px 0;font-size:12px;line-height:1.6}
.termsConsent input{margin-top:4px;flex-shrink:0}
.termsConsent a{color:#5146d8;font-weight:700}
.accountPrimary,.accountSecondary{width:100%;min-height:46px;border-radius:14px;font:700 14px Poppins,sans-serif;cursor:pointer;margin-top:10px}
.accountPrimary{border:0;background:linear-gradient(135deg,#4f46e5,#258be8);color:#fff}
.accountSecondary{border:1px solid #d7dced;background:transparent;color:inherit}
.googleG{display:inline-grid;place-items:center;margin-right:8px;width:22px;height:22px;border-radius:50%;background:#fff;color:#4285f4;font-weight:900}
.accountSmallPrint{font-size:11px;color:#7b8498}
.accountError{color:#c62828;font-size:12px}
.signedInUser{display:flex;align-items:center;justify-content:center;gap:12px;margin:18px 0}
.signedInUser img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.signedInUser div{display:flex;flex-direction:column;text-align:left;overflow-wrap:anywhere}
.signedInUser span{font-size:12px;color:#788197}
.cloudSyncStatus{font-size:12px!important;background:#f1f5ff;padding:10px;border-radius:12px}
@media(max-width:700px){
 .header .container{align-items:flex-start!important}
 .headerRightStack{gap:10px;max-width:68%;padding-top:2px}
 .accountButton{font-size:11px;min-height:34px;padding:6px 10px;max-width:100%}
 .headerRightStack .headerActions{gap:5px!important;flex-wrap:wrap!important;justify-content:flex-end!important}
 .headerRightStack .headerActions .iconButton{width:42px!important;height:42px!important;min-width:42px!important}
 .headerRightStack .headerActions .material-icons-round{font-size:22px}
 .accountModalCard{padding:26px 20px}
}
