/* ==========================================================================
   EzyAdmission - custom.css
   Base styles, components and sections (desktop first).
   Breakpoint overrides live in responsive.css
   ========================================================================== */

/* ---------- Fonts (local) ---------- */
@font-face { font-family: 'DM Sans'; src: url('../fonts/dm-sans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('../fonts/dm-sans-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('../fonts/dm-sans-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('../fonts/dm-sans-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Design tokens ---------- */
:root {
  --ez-primary: #0149BB;
  --ez-primary-dark: #013a96;
  --ez-primary-soft: #E8F0FD;
  --ez-gray: #F7F5F5;
  --ez-dark: #0D1B3E;
  --ez-text: #2B2F3A;
  --ez-muted: #6B7280;
  --ez-border: #E6E8EE;
  --ez-orange: #F97316;
  --ez-red: #E11D2E;
  --ez-green: #16A34A;
  --ez-star: #F59E0B;
  --ez-radius: 12px;
  --ez-radius-lg: 18px;
  --ez-shadow: 0 6px 24px rgba(13, 27, 62, .06);
  --ez-shadow-lg: 0 14px 40px rgba(13, 27, 62, .12);
  --ez-header-h: 20px;

  --bs-primary: #0149BB;
  --bs-primary-rgb: 1, 73, 187;
  --bs-body-font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-body-color: #2B2F3A;
  --bs-link-color: #0149BB;
  --bs-link-color-rgb: 1, 73, 187;
  --bs-link-hover-color: #013a96;
  --bs-border-color: #E6E8EE;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { font-family: var(--bs-body-font-family); color: var(--ez-text); font-size: 15px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { color: var(--ez-dark); font-weight: 600; }
a { text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; }
::selection { background: var(--ez-primary); color: #fff; }

.container { max-width: 1320px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.bg-ez-gray { background-color: var(--ez-gray) !important; }
.text-ez-primary { color: var(--ez-primary) !important; }

/* Section heading */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-eyebrow { display: block; font-size: 14px; color: var(--ez-text); margin-bottom: 6px; }
.section-title { font-size: 34px; font-weight: 500; line-height: 1.25; margin: 0; letter-spacing: -.3px; }
.section-link { font-size: 14px; font-weight: 500; color: var(--ez-dark); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.section-link:hover { color: var(--ez-primary); }
.section-link i { font-size: 12px; transition: transform .2s ease; }
.section-link:hover i { transform: translateX(3px); }
.head-actions { display: flex; align-items: center; gap: 16px; }

/* ---------- Buttons ---------- */
.btn { font-weight: 500; border-radius: 8px; padding: 10px 20px; font-size: 15px; transition: all .2s ease; }
.btn-primary { --bs-btn-bg: var(--ez-primary); --bs-btn-border-color: var(--ez-primary); --bs-btn-hover-bg: var(--ez-primary-dark); --bs-btn-hover-border-color: var(--ez-primary-dark); --bs-btn-active-bg: var(--ez-primary-dark); --bs-btn-active-border-color: var(--ez-primary-dark); --bs-btn-disabled-bg: var(--ez-primary); --bs-btn-disabled-border-color: var(--ez-primary); --bs-btn-focus-shadow-rgb: 1, 73, 187; }
.btn-outline-primary { --bs-btn-color: var(--ez-primary); --bs-btn-border-color: var(--ez-primary); --bs-btn-hover-bg: var(--ez-primary); --bs-btn-hover-border-color: var(--ez-primary); --bs-btn-active-bg: var(--ez-primary); --bs-btn-active-border-color: var(--ez-primary); --bs-btn-focus-shadow-rgb: 1, 73, 187; }
.btn-orange { background: var(--ez-orange); border-color: var(--ez-orange); color: #fff; }
.btn-orange:hover, .btn-orange:focus { background: #ea620b; border-color: #ea620b; color: #fff; }
.btn-white { background: #fff; color: var(--ez-primary); border: 1px solid #fff; }
.btn-white:hover { background: transparent; color: #fff; }

.icon-btn { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--ez-border); background: #fff; color: var(--ez-dark); font-size: 20px; transition: all .2s ease; }
.icon-btn:hover { border-color: var(--ez-primary); color: var(--ez-primary); }

/* Swiper arrow buttons used beside headings */
.slider-nav { display: flex; gap: 10px; }
.slider-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ez-border); background: #fff; color: var(--ez-dark); display: inline-flex; align-items: center; justify-content: center; transition: all .2s ease; font-size: 15px; }
.slider-btn:hover { background: var(--ez-primary); border-color: var(--ez-primary); color: #fff; }
.slider-btn.swiper-button-disabled { opacity: .4; pointer-events: none; }
.swiper-pagination-bullet { background: #B8C3D6; opacity: 1; }
.swiper-pagination-bullet-active { background: var(--ez-primary); width: 22px; border-radius: 6px; }
.swiper-pagination { position: static; margin-top: 22px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(13, 27, 62, .08); }
.header-top { padding: 14px 0; }
.header-top .container { display: flex; align-items: center; gap: 24px; }
.brand img { height: 44px; width: auto; display: block; }

.header-search { flex: 1; max-width: 520px; margin: 0 auto; position: relative; }
.header-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ez-muted); font-size: 14px; }
.header-search input { width: 100%; height: 42px; border: 1px solid var(--ez-border); background: var(--ez-gray); border-radius: 8px; padding: 0 16px 0 40px; font-size: 14px; outline: none; transition: all .2s ease; }
.header-search input:focus { background: #fff; border-color: var(--ez-primary); box-shadow: 0 0 0 3px rgba(1, 73, 187, .1); }

.header-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.header-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ez-dark); font-size: 14px; background: none; border: 0; padding: 0; }
.header-link:hover, .header-link.show { color: var(--ez-primary); }
.header-link.dropdown-toggle::after { display: none; }
.header-link .bi-chevron-down { font-size: 11px; }
.btn-login { padding: 10px 18px; font-size: 15px; }
.dropdown-menu { border: 1px solid var(--ez-border); border-radius: 10px; box-shadow: var(--ez-shadow-lg); padding: 6px; font-size: 14px; }
.dropdown-item { border-radius: 6px; padding: 8px 12px; }
.dropdown-item.active, .dropdown-item:active { background: var(--ez-primary); }

.header-nav { background: var(--ez-gray); border-top: 1px solid #EEECEC; border-bottom: 1px solid #EAE8E8; }
.header-nav ul { display: flex; justify-content: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.header-nav a { display: block; padding: 13px 14px; color: var(--ez-dark); font-size: 15px; position: relative; }
.header-nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--ez-primary); transform: scaleX(0); transition: transform .25s ease; }
.header-nav a:hover, .header-nav a.active { color: var(--ez-primary); }
.header-nav a:hover::after, .header-nav a.active::after { transform: scaleX(1); }

.mobile-search { padding: 0 0 14px; }
.mobile-search .header-search { max-width: none; }

/* Mobile side menu (offcanvas) */
.mobile-menu { width: 320px !important; z-index: 1060 !important; }
.site-header:has(.mobile-menu.show),
body.modal-open .site-header,
body.offcanvas-open .site-header {
  z-index: 1055;
}
.mobile-menu.show { visibility: visible !important; }
.mobile-menu .offcanvas-header { border-bottom: 1px solid var(--ez-border); padding: 16px 20px; }
.mobile-menu .offcanvas-header img { height: 36px; }
.mobile-menu .offcanvas-body { padding: 20px; display: flex; flex-direction: column; }
.mobile-menu .header-search { flex: none; margin: 0; max-width: none; width: 100%; }
.mobile-nav { list-style: none; margin: 18px 0; padding: 0; }
.mobile-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; color: var(--ez-dark); border-radius: 10px; font-size: 15px; font-weight: 500; }
.mobile-nav a i { font-size: 18px; color: var(--ez-primary); width: 22px; }
.mobile-nav a:hover, .mobile-nav a.active { background: var(--ez-primary-soft); color: var(--ez-primary); }
.mobile-menu-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--ez-border); display: grid; gap: 10px; }
.mobile-menu-foot .header-link { padding: 8px 4px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; z-index: 3; }
.hero-media { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-content { max-width: 620px; padding: 64px 0; }
.eyebrow-pill { display: inline-block; background: #DCE8FB; color: var(--ez-primary); font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: 30px; margin-bottom: 18px; }
.hero h1 { font-size: 56px; font-weight: 700; line-height: 1.08; letter-spacing: -1.2px; margin-bottom: 18px; }
.hero-lead { font-size: 18px; color: #3C4253; max-width: 470px; margin-bottom: 30px; }

/* Hero search bar */
.hero-search { display: flex; align-items: center; background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 16px 40px rgba(13, 27, 62, .12); max-width: 760px; width: max-content; position: relative; z-index: 10; }
.hero-search .search-select { width: 190px; }
.hero-search .search-select + .search-select { border-left: 1px solid var(--ez-border); }
.hero-search-btn { margin-left: 8px; padding: 12px 22px; border-radius: 10px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 14px 30px; list-style: none; padding: 0; margin: 26px 0 0; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ez-dark); }
.hero-points i { color: #fff; background: var(--ez-green); width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }

/* ---------- Searchable select (custom dropdown) ---------- */
.search-select { position: relative; }
.ss-toggle { width: 100%; display: flex; align-items: center; gap: 10px; background: transparent; border: 0; padding: 12px 14px; font-size: 15px; font-weight: 500; color: var(--ez-dark); text-align: left; border-radius: 10px; }
.ss-toggle:hover { background: var(--ez-gray); }
.ss-toggle > i:first-child { font-size: 17px; color: var(--ez-dark); }
.ss-value { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-select.has-value .ss-value { color: var(--ez-primary); }
.ss-caret { font-size: 12px; transition: transform .2s ease; }
.search-select.is-open .ss-caret { transform: rotate(180deg); }
.ss-menu { position: absolute; top: calc(100% + 12px); left: 0; width: 270px; background: #fff; border: 1px solid var(--ez-border); border-radius: 12px; box-shadow: var(--ez-shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; z-index: 50; }
.search-select.is-open .ss-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.ss-search { position: relative; margin-bottom: 8px; }
.ss-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ez-muted); font-size: 13px; }
.ss-search input { width: 100%; height: 40px; border: 1px solid var(--ez-border); border-radius: 8px; padding: 0 12px 0 34px; font-size: 14px; outline: none; }
.ss-search input:focus { border-color: var(--ez-primary); box-shadow: 0 0 0 3px rgba(1, 73, 187, .1); }
.ss-list { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow-y: auto; }
.ss-list li { padding: 9px 12px; border-radius: 8px; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.ss-list li:hover, .ss-list li.is-focused { background: var(--ez-gray); }
.ss-list li.is-selected { color: var(--ez-primary); font-weight: 600; background: var(--ez-primary-soft); }
.ss-list li.is-selected::after { content: '\F26E'; font-family: 'bootstrap-icons'; font-size: 16px; }
.ss-list li[hidden] { display: none; }
.ss-empty { display: none; padding: 12px; text-align: center; font-size: 14px; color: var(--ez-muted); }
.search-select.no-results .ss-empty { display: block; }
.ss-list::-webkit-scrollbar { width: 6px; }
.ss-list::-webkit-scrollbar-thumb { background: #D5DAE3; border-radius: 6px; }

/* ==========================================================================
   Trusted logos (marquee)
   ========================================================================== */
.trusted { padding: 56px 0 24px; }
.marquee-swiper .swiper-wrapper { transition-timing-function: linear !important; }
.logo-swiper{
       -webkit-mask-image: linear-gradient( to right, transparent 0%, black 15%, black 85%, transparent 100%);
}
.logo-swiper .swiper-slide { width: 140px; }
.logo-box { height: 76px; border: 1px solid var(--ez-border); border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 10px 14px; }
.logo-box img { max-height: 54px; max-width: 100%; object-fit: contain; filter: grayscale(20%); transition: filter .2s ease, transform .2s ease; }
.logo-box:hover img { filter: none; transform: scale(1.05); }

/* ==========================================================================
   School cards (home slider)
   ========================================================================== */
.schools-swiper .swiper-slide, .compare-swiper .swiper-slide { height: auto; }
.compare-card { height: 100%; }
.school-card { background: #fff; border: 1px solid var(--ez-border); border-radius: var(--ez-radius-lg); padding: 10px; height: 100%; display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease; }
.school-card:hover { box-shadow: var(--ez-shadow-lg); transform: translateY(-4px); }
.school-card-img { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; }
.school-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.school-card:hover .school-card-img img { transform: scale(1.06); }
.rating-badge { position: absolute; top: 10px; right: 10px; background: #fff; color: var(--ez-dark); font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: 20px; display: inline-flex; align-items: center; gap: 4px; }
.rating-badge i { color: var(--ez-star); font-size: 11px; }
.wishlist-btn { position: absolute; left: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; color: var(--ez-red); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; transition: transform .2s ease; }
.wishlist-btn:hover { transform: scale(1.1); }
.wishlist-btn.is-active i::before { content: '\F415'; }
.school-card-body { padding: 14px 6px 6px; display: flex; flex-direction: column; flex: 1; }
.school-card-body h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.school-card-body h3 a { color: inherit; }
.school-card-body h3 a:hover { color: var(--ez-primary); }
.school-loc { font-size: 13px; color: var(--ez-muted); margin-bottom: 12px; display: flex; gap: 5px; }
.school-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; }
.school-tags li { font-size: 12px; color: var(--ez-primary); background: var(--ez-primary-soft); padding: 4px 8px; border-radius: 6px; display: inline-flex; align-items: center; gap: 4px; }
.school-card-body .btn { margin-top: auto; padding: 9px; font-size: 14px; }

/* ==========================================================================
   City cards
   ========================================================================== */
.city-card { display: block; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #7FB3F0, #1D4C9E); }
.city-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.city-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .65) 100%); }
.city-card span { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #fff; font-size: 18px; font-weight: 600; z-index: 1; }
.city-card small { display: block; font-size: 12px; font-weight: 400; opacity: .85; }
.city-card:hover img { transform: scale(1.08); }

/* ==========================================================================
   List-your-school banner
   ========================================================================== */
.owner-banner { position: relative; overflow: hidden; border-radius: var(--ez-radius-lg); background: linear-gradient(100deg, #0149BB 0%, #012F7D 55%, #011F57 100%); padding: 22px 36px 22px 22px; display: flex; align-items: center; gap: 30px; color: #fff; }
.owner-banner::before { content: ''; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.owner-banner-img { width: 150px; flex-shrink: 0; border-radius: 12px; overflow: hidden; border: 3px solid rgba(255, 255, 255, .2); }
.owner-banner-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.owner-banner small { font-size: 14px; opacity: .9; }
.owner-banner h3 { color: #fff; font-size: 32px; font-weight: 500; margin: 4px 0 6px; }
.owner-banner p { margin: 0; font-size: 14px; opacity: .85; }
.owner-banner .btn { margin-left: auto; position: relative; z-index: 1; white-space: nowrap; }

/* ==========================================================================
   Compare cards
   ========================================================================== */
.compare-swiper { padding: 4px; margin: -4px; }
.compare-card { background: #fff; border-radius: var(--ez-radius-lg); padding: 10px; border: 1px solid #ECEAEA; transition: box-shadow .25s ease; }
.compare-card:hover { box-shadow: var(--ez-shadow-lg); }
.compare-schools { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 0; position: relative; }
.compare-school { background: var(--ez-gray); border-radius: 12px; padding: 18px 12px 14px; text-align: center; }
.cs-logo { width: 62px; height: 62px; margin: 0 auto 10px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 8px; }
.cs-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.compare-school h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compare-school p { font-size: 12px; color: var(--ez-muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-badge { width: 32px; height: 32px; border-radius: 50%; background: var(--ez-primary); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; align-self: center; margin: 0 -8px; position: relative; z-index: 1; border: 3px solid #fff; }
.compare-meta { display: flex; align-items: center; gap: 12px; padding: 14px 6px 4px; }
.cm-item { display: flex; align-items: center; gap: 6px; }
.cm-item i { color: var(--ez-primary); font-size: 16px; }
.cm-item small { display: block; font-size: 10px; color: var(--ez-muted); line-height: 1.2; }
.cm-item strong { display: block; font-size: 12px; font-weight: 600; color: var(--ez-dark); line-height: 1.3; white-space: nowrap; }
.compare-meta .btn { margin-left: auto; font-size: 13px; padding: 6px 14px; }

/* ==========================================================================
   Why EzyAdmission
   ========================================================================== */
.feature-card { border: 1px solid var(--ez-border); border-radius: var(--ez-radius); padding: 22px 20px; height: 100%; background: #fff; transition: all .25s ease; }
.feature-card:hover { border-color: var(--ez-primary); box-shadow: var(--ez-shadow); transform: translateY(-3px); }
.feature-icon { width: 46px; height: 46px; border-radius: 10px; background: var(--ez-primary-soft); color: var(--ez-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--ez-muted); margin: 0; }

.stats-bar { background: var(--ez-gray); border-radius: var(--ez-radius-lg); padding: 26px 30px; margin: 34px auto 0; max-width: 1000px; display: grid; grid-template-columns: repeat(5, 1fr); }
.stat-item { text-align: center; padding: 0 10px; position: relative; }
.stat-item + .stat-item::before { content: ''; position: absolute; left: 0; top: 10%; height: 80%; width: 1px; background: #D9D6D6; }
.stat-item strong { display: block; font-size: 34px; font-weight: 600; color: var(--ez-dark); line-height: 1.1; }
.stat-item > span { font-size: 14px; color: var(--ez-text); }

/* ==========================================================================
   Category cards
   ========================================================================== */
.category-card { position: relative; display: block; border-radius: var(--ez-radius-lg); overflow: hidden; min-height: 240px; background: linear-gradient(110deg, #EEF4FE 0%, #DCE8FB 100%); color: inherit; isolation: isolate; transition: box-shadow .25s ease, transform .25s ease; }
.category-card:hover { box-shadow: var(--ez-shadow-lg); transform: translateY(-4px); }
.category-card-img { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: -1; }
.category-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #E9F1FD 0%, rgba(233, 241, 253, .75) 25%, rgba(233, 241, 253, 0) 60%); z-index: 1; }
.category-card:hover .category-card-img img { transform: scale(1.06); }
.category-card-body { position: relative; padding: 30px 30px 26px; max-width: 70%; height: 100%; display: flex; flex-direction: column; min-height: 240px; }
.category-icon { width: 54px; height: 54px; border-radius: 12px; background: #fff; color: var(--ez-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; box-shadow: var(--ez-shadow); }
.category-card h3 { font-size: 26px; font-weight: 700; margin-bottom: 4px; }
.category-card p { font-size: 15px; color: #475066; margin: 0; }
.category-arrow { margin-top: auto; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ez-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; transition: all .25s ease; }
.category-card:hover .category-arrow { background: var(--ez-primary); color: #fff; }

/* ==========================================================================
   Support section
   ========================================================================== */
.support-title { font-size: 34px; font-weight: 500; line-height: 1.25; margin-bottom: 30px; max-width: 520px; }
.support-list { display: grid; gap: 14px; max-width: 470px; }
.support-item { background: var(--ez-gray); border-radius: 12px; padding: 20px 22px; border: 1px solid transparent; transition: all .25s ease; }
.support-item:hover { background: #fff; border-color: var(--ez-border); box-shadow: var(--ez-shadow); }
.support-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.support-item p { font-size: 14px; color: var(--ez-muted); margin-bottom: 10px; }
.support-item a { font-size: 14px; font-weight: 500; color: var(--ez-dark); display: inline-flex; align-items: center; gap: 6px; }
.support-item a:hover { color: var(--ez-primary); }
.support-img { position: relative; border-radius: var(--ez-radius-lg); overflow: hidden; height: 100%; min-height: 480px; }
.support-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

/* ==========================================================================
   Testimonials (marquee)
   ========================================================================== */
.testimonial-swiper + .testimonial-swiper { margin-top: 20px; }
.testimonial-swiper .swiper-slide { width: 380px; height: auto; }
.testimonial-card { background: #fff; border: 1px solid var(--ez-border); border-radius: var(--ez-radius-lg); padding: 24px; height: 100%; display: flex; flex-direction: column; }
.t-stars { color: var(--ez-star); font-size: 14px; display: flex; gap: 3px; margin-bottom: 12px; }
.testimonial-card p { font-size: 15px; color: var(--ez-text); margin-bottom: 18px; }
.t-user { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ez-primary-soft); color: var(--ez-primary); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.t-user strong { display: block; font-size: 15px; color: var(--ez-dark); font-weight: 600; }
.t-user span { font-size: 13px; color: var(--ez-muted); }
.t-quote { margin-left: auto; font-size: 30px; color: #DCE6F7; line-height: 1; }

/* ==========================================================================
   Consultant CTA
   ========================================================================== */
.consult-cta { position: relative; border-radius: var(--ez-radius-lg); overflow: hidden; background: #EAF2FD url('../images/banners/consultant-banner.jpg') right center / cover no-repeat; min-height: 300px; display: flex; align-items: center; }
.consult-cta-content { padding: 40px 50px; max-width: 560px; }
.consult-cta small { font-size: 14px; color: var(--ez-text); }
.consult-cta h2 { font-size: 34px; font-weight: 500; line-height: 1.25; margin: 6px 0 12px; }
.consult-cta p { font-size: 14px; color: var(--ez-muted); margin-bottom: 24px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ez-gray); padding: 70px 0 0; margin-top: 72px; }
.footer-brand img { height: 46px; margin-bottom: 18px; }
.footer-about { font-size: 15px; color: var(--ez-text); max-width: 380px; }
.footer-social-title { font-size: 17px; font-weight: 600; color: var(--ez-dark); margin: 24px 0 12px; }
.footer-social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: var(--ez-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; transition: transform .2s ease, background .2s ease; }
.footer-social a:hover { transform: translateY(-3px); background: var(--ez-primary-dark); }
.footer-title { font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; position: relative; padding-left: 14px; }
.footer-links li::before { content: ''; position: absolute; left: 0; top: 10px; width: 4px; height: 4px; border-radius: 50%; background: var(--ez-dark); }
.footer-links a { color: var(--ez-text); font-size: 15px; }
.footer-links a:hover { color: var(--ez-primary); }
.footer-bottom { border-top: 1px solid #E2DFDF; margin-top: 46px; padding: 18px 0; text-align: center; font-size: 14px; color: var(--ez-text); }

/* ==========================================================================
   Explore Schools page
   ========================================================================== */
.page-top { background: var(--ez-gray); padding: 22px 0 70px; }
.breadcrumb { font-size: 15px; margin-bottom: 14px; }
.breadcrumb a { color: var(--ez-dark); }
.breadcrumb-item.active { color: var(--ez-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--ez-dark); }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.page-head h1 { font-size: 36px; font-weight: 600; margin: 0 0 6px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.count-badge { font-size: 13px; font-weight: 500; color: var(--ez-primary); background: #DCE8FB; padding: 4px 10px; border-radius: 6px; }
.page-head p { margin: 0; font-size: 16px; }
.page-head-meta { display: flex; align-items: center; gap: 16px; }
.location-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--ez-border); border-radius: 8px; padding: 10px 16px; font-size: 14px; min-width: 165px; color: var(--ez-dark); }
.updated-text { font-size: 14px; color: var(--ez-primary); padding-left: 16px; border-left: 1px solid #D9D6D6; white-space: nowrap; }

/* Filter sidebar */
.filter-panel { background: #fff; border-radius: 16px; padding: 20px 18px; position: sticky; top: calc(var(--ez-header-h) + 16px); max-height: calc(100vh - 32px); overflow-y: auto; }
.filter-panel::-webkit-scrollbar { width: 5px; }
.filter-panel::-webkit-scrollbar-thumb { background: #D5DAE3; border-radius: 6px; }
.filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.filter-head h2 { font-size: 20px; font-weight: 600; margin: 0; }
.clear-all { font-size: 14px; color: var(--ez-primary); background: none; border: 0; padding: 0; display: inline-flex; align-items: center; gap: 4px; }
.filter-search { position: relative; margin-bottom: 8px; }
.filter-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--ez-muted); }
.filter-search input { width: 100%; height: 40px; border: 1px solid var(--ez-border); border-radius: 8px; padding: 0 12px 0 36px; font-size: 13px; outline: none; }
.filter-search input:focus { border-color: var(--ez-primary); }
.filter-group { border-bottom: 1px solid var(--ez-border); padding: 14px 0; }
.filter-group:last-child { border-bottom: 0; }
.filter-group-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; background: none; border: 0; padding: 0; font-size: 18px; font-weight: 500; color: var(--ez-dark); }
.filter-group-toggle i { font-size: 13px; transition: transform .2s ease; }
.filter-group-toggle.collapsed i { transform: rotate(-90deg); }
.filter-options { list-style: none; padding: 0; margin: 12px 0 0; }
.filter-options li { display: flex; align-items: center; justify-content: space-between; padding: 4px 0; }
.filter-options li.is-extra { display: none; }
.filter-options.show-all li.is-extra { display: flex; }
.filter-options .form-check { margin: 0; min-height: 0; display: flex; align-items: center; gap: 8px; padding: 0; }
.filter-options .form-check-input { margin: 0; width: 15px; height: 15px; border-color: #9AA3B2; border-radius: 3px; cursor: pointer; }
.form-check-input:checked { background-color: var(--ez-primary); border-color: var(--ez-primary); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(1, 73, 187, .15); border-color: var(--ez-primary); }
.filter-options .form-check-label { font-size: 14px; cursor: pointer; }
.filter-options .count { font-size: 13px; color: var(--ez-muted); }
.show-more { background: none; border: 0; padding: 0; margin-top: 6px; font-size: 13px; color: var(--ez-primary); }

/* Results toolbar */
.results-toolbar { background: #fff; border-radius: 14px; padding: 10px 12px 10px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--ez-border); }
.results-count { font-size: 16px; color: var(--ez-dark); margin: 0; margin-right: auto; }
.sort-select { width: auto; min-width: 215px; font-size: 13px; border-radius: 8px; border-color: var(--ez-border); padding: 9px 38px 9px 12px; color: var(--ez-text); cursor: pointer; }
.sort-select:focus { border-color: var(--ez-primary); box-shadow: 0 0 0 3px rgba(1, 73, 187, .1); }
.view-toggle { display: flex; gap: 8px; padding-left: 12px; border-left: 1px solid var(--ez-border); }
.view-btn { width: 42px; height: 40px; border-radius: 8px; border: 1px solid var(--ez-primary); background: #fff; color: var(--ez-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; transition: all .2s ease; }
.view-btn.active, .view-btn:hover { background: var(--ez-primary); color: #fff; }
.filter-open-btn { display: none; }

.quick-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 16px 0; font-size: 15px; color: var(--ez-dark); }
.quick-filters > span { display: inline-flex; align-items: center; gap: 6px; }
.qf-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ez-primary); font-size: 13px; padding: 5px 10px; border-radius: 6px; border: 1px solid #DCE6F7; }
.qf-chip button { background: none; border: 0; padding: 0; color: inherit; line-height: 1; font-size: 14px; }
.qf-chip button:hover { color: var(--ez-red); }

/* Listing card */
.school-results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.school-results > *, .listing-gallery, .listing-gallery .swiper { min-width: 0; }
.listing-card { background: #fff; border-radius: 16px; padding: 16px; display: flex; gap: 20px; transition: box-shadow .25s ease; }
.listing-card:hover { box-shadow: var(--ez-shadow-lg); }
.listing-gallery { width: 270px; max-width: 100%; flex-shrink: 0; }
.gallery-main { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9.4; }
.gallery-main img, .gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-main .g-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ez-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; transition: background .2s ease; }
.gallery-main .g-nav:hover { background: #fff; color: var(--ez-primary); }
.gallery-main .g-prev { left: 10px; }
.gallery-main .g-next { right: 10px; }
.gallery-thumbs { margin-top: 8px; }
.gallery-thumbs .swiper-slide { aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; opacity: .6; cursor: pointer; transition: opacity .2s ease; }
.gallery-thumbs .swiper-slide-thumb-active { opacity: 1; outline: 2px solid var(--ez-primary); outline-offset: -2px; }
.listing-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.listing-top { display: flex; gap: 12px; align-items: flex-start; }
.listing-logo { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ez-border); display: inline-flex; align-items: center; justify-content: center; padding: 4px; flex-shrink: 0; background: #fff; }
.listing-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.listing-title { flex: 1; min-width: 0; }
.listing-title h3 { font-size: 22px; font-weight: 500; margin: 0 0 2px; }
.listing-title h3 a { color: inherit; }
.listing-title h3 a:hover { color: var(--ez-primary); }
.listing-title p { font-size: 14px; color: var(--ez-text); margin: 0; display: flex; gap: 5px; }
.listing-rating { text-align: right; flex-shrink: 0; }
.listing-rating .badge-rating { display: inline-flex; align-items: center; gap: 4px; background: var(--ez-orange); color: #fff; font-size: 12px; padding: 5px 9px; border-radius: 6px; }
.listing-rating small { display: block; font-size: 14px; color: var(--ez-text); margin-top: 6px; }
.listing-info { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0; }
.listing-info li { display: flex; align-items: center; gap: 8px; border: 1px solid var(--ez-border); border-radius: 8px; padding: 6px 10px; }
.listing-info i { font-size: 17px; color: var(--ez-primary); }
.listing-info small { display: block; font-size: 11px; color: var(--ez-muted); line-height: 1.2; }
.listing-info strong { display: block; font-size: 12px; font-weight: 600; color: var(--ez-dark); line-height: 1.3; }
.listing-desc { font-size: 14px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--ez-border); }
.listing-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; align-items: center; }
.listing-actions .btn { font-size: 13px; padding: 7px 12px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.btn-callback { color: var(--ez-orange); border: 1px solid var(--ez-orange); background: #fff; }
.btn-callback:hover { background: var(--ez-orange); color: #fff; }
.btn-compare { color: var(--ez-dark); border: 1px solid var(--ez-dark); background: #fff; }
.btn-compare .bi::before { content: '\F584'; }
.btn-compare:hover { border-color: var(--ez-primary); color: var(--ez-primary); }
.btn-compare.is-active { background: var(--ez-dark); color: #fff; }
.btn-compare.is-active .bi::before { content: '\F26D'; }
.btn-wishlist { color: var(--ez-red); border: 1px solid var(--ez-red); background: #fff; }
.btn-wishlist:hover { background: #FFF1F2; color: var(--ez-red); border-color: var(--ez-red); }
.btn-wishlist.is-active { background: var(--ez-red); color: #fff; }
.btn-wishlist.is-active .bi::before { content: '\F415'; }

/* Grid view */
.school-results.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.school-results.is-grid .listing-card { flex-direction: column; height: 100%; }
.school-results.is-grid .listing-gallery { width: 100%; }
.school-results.is-grid .listing-desc { padding-bottom: 0; border-bottom: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.school-results.is-grid .listing-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.school-results.is-grid .listing-actions .btn { justify-content: center; width: 100%; padding: 7px 10px; }
.school-results.is-grid .listing-actions .btn-wishlist { grid-column: 1 / -1; }

/* Pagination */
.ez-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; list-style: none; padding: 0; }
.ez-pagination a, .ez-pagination button { min-width: 32px; height: 32px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #D6D6DC; background: #fff; border-radius: 6px; color: var(--ez-text); font-size: 14px; cursor: pointer; }
.ez-pagination a:hover, .ez-pagination button:hover:not(:disabled) { border-color: var(--ez-primary); color: var(--ez-primary); }
.ez-pagination .active a, .ez-pagination .active button { background: var(--ez-primary); border-color: var(--ez-primary); color: #fff; }
.ez-pagination .disabled a, .ez-pagination .disabled button { pointer-events: none; opacity: .5; cursor: default; }

/* Help banner */
.help-banner { margin-top: 26px; border-radius: 14px; border: 1px solid #DCE6F7; background: linear-gradient(90deg, #F2F7FF 0%, #E6EFFD 100%); display: flex; align-items: center; gap: 22px; padding: 18px 24px; position: relative; overflow: hidden; }
.help-icon { width: 64px; height: 64px; border-radius: 50%; background: #DCE8FB; color: var(--ez-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.help-banner h3 { font-size: 20px; font-weight: 700; color: var(--ez-primary); margin: 0 0 4px; }
.help-banner p { font-size: 14px; color: #5A6EA0; margin: 0; }
.help-banner .btn { margin-left: auto; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.help-art { position: relative; width: 120px; height: 80px; flex-shrink: 0; }
.help-art i { position: absolute; color: var(--ez-primary); }
.help-art .a1 { font-size: 56px; right: 10px; bottom: -6px; }
.help-art .a2 { font-size: 26px; left: 6px; top: 0; color: #8DB3EE; }
.help-art .a3 { font-size: 22px; left: 40px; top: 30px; color: #B6CDF3; }

/* Compare tray */
.compare-tray { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%); background: var(--ez-dark); color: #fff; border-radius: 14px; padding: 12px 14px 12px 20px; display: flex; align-items: center; gap: 18px; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); z-index: 1040; opacity: 0; visibility: hidden; transition: transform .3s ease, opacity .3s ease, visibility .3s; }
.compare-tray.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.compare-tray .btn { padding: 8px 16px; font-size: 14px; }
.compare-tray .tray-clear { background: none; border: 0; color: #B7C2D8; font-size: 13px; }

/* Modal */
.modal-content { border: 0; border-radius: 18px; }
.modal-header { border-bottom: 0; padding: 24px 24px 0; }
.modal-body { padding: 18px 24px 26px; }
.modal-title { font-size: 22px; }
.form-control, .form-select { border-color: var(--ez-border); border-radius: 8px; padding: 11px 14px; font-size: 14px; }
.form-control:focus, .form-select:focus { border-color: var(--ez-primary); box-shadow: 0 0 0 3px rgba(1, 73, 187, .1); }
.form-label { font-size: 14px; font-weight: 500; color: var(--ez-dark); }

/* Toast */
.ez-toast { position: fixed; top: 20px; right: 20px; background: #fff; border-left: 4px solid var(--ez-green); border-radius: 10px; padding: 12px 18px; box-shadow: var(--ez-shadow-lg); font-size: 14px; z-index: 1090; transform: translateX(130%); transition: transform .3s ease; display: flex; align-items: center; gap: 10px; }
.ez-toast.is-visible { transform: translateX(0); }
.ez-toast i { color: var(--ez-green); font-size: 18px; }

/* Back to top */
.back-to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ez-primary); color: #fff; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--ez-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease; z-index: 1035; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--ez-primary-dark); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
.filter-sidebar .offcanvas-body{
   display: block;
}

.category-card-day{
   background-image: url(../images/banners/dayschool.png);
   background-size: cover;
}
.category-card-boarding{
   background-image: url(../images/banners/boarding.png);
   background-size: cover;
}
.category-card-online{
   background-image: url(../images/banners/onlineschool.png);
   background-size: cover;
}

/* ==========================================================================
   Shared helpers (detail + compare pages)
   ========================================================================== */
.badge-rating { display: inline-flex; align-items: center; gap: 4px; background: var(--ez-orange); color: #fff; font-size: 13px; font-weight: 500; padding: 4px 9px; border-radius: 6px; }
.admission-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 20px; white-space: nowrap; }
.admission-badge i { font-size: 7px; }
.admission-badge.is-open { background: #E7F6EC; color: #15803D; }
.admission-badge.is-soon { background: #FFF4E5; color: #C2410C; }
.admission-badge.is-closed { background: #FDECEC; color: #B91C1C; }
legend.form-label { font-size: 14px; float: none; width: auto; }

/* ==========================================================================
   School Detail page
   ========================================================================== */
.detail-top { padding-bottom: 24px; }
.school-hero { background: #fff; border-radius: var(--ez-radius-lg); padding: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 20px; align-items: start; position: relative; }
.sh-logo { width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--ez-border); background: #fff; display: flex; align-items: center; justify-content: center; padding: 8px; }
.sh-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sh-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 6px; }
.sh-title h1 { font-size: 32px; font-weight: 600; line-height: 1.2; margin: 0; }
.verified-badge { display: inline-flex; align-items: center; gap: 5px; background: #E7F6EC; color: #15803D; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.sh-address { font-size: 15px; margin: 0 0 10px; display: flex; gap: 6px; }
.sh-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.sh-rating a { color: var(--ez-dark); text-decoration: underline; text-underline-offset: 3px; }
.sh-rating a:hover { color: var(--ez-primary); }
.sh-dot { width: 4px; height: 4px; border-radius: 50%; background: #B8BFCC; }
.sh-tools { display: flex; gap: 10px; }
.wishlist-icon-btn.is-active { color: var(--ez-red); border-color: var(--ez-red); }
.js-wishlist-toggle.is-active .bi-heart::before { content: '\F415'; }
.sh-meta { grid-column: 1 / -1; list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--ez-border); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.sh-meta li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sh-meta i { width: 40px; height: 40px; border-radius: 10px; background: var(--ez-primary-soft); color: var(--ez-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.sh-meta small { display: block; font-size: 12px; color: var(--ez-muted); line-height: 1.3; }
.sh-meta strong { display: block; font-size: 15px; font-weight: 600; color: var(--ez-dark); }

.detail-body { background: var(--ez-gray); padding-bottom: 60px; }
.detail-card { background: #fff; border-radius: var(--ez-radius-lg); padding: 24px; margin-bottom: 20px; }
.detail-section { scroll-margin-top: calc(var(--ez-header-h) + 76px); }
.detail-title { font-size: 24px; font-weight: 600; margin: 0 0 16px; }
.detail-title-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 18px; }
.detail-title-row .detail-title { margin: 0; }
.detail-title-row .btn-sm { font-size: 13px; padding: 7px 14px; display: inline-flex; align-items: center; gap: 6px; }
.detail-subtitle { font-size: 18px; font-weight: 600; margin: 26px 0 14px; }
.detail-subtitle small { font-size: 13px; font-weight: 400; color: var(--ez-muted); }
.detail-lead { font-size: 15px; margin-bottom: 14px; }
.detail-note { display: flex; gap: 6px; font-size: 13px; color: var(--ez-muted); margin: 12px 0 0; }
.session-pill { font-size: 13px; font-weight: 500; color: var(--ez-primary); background: var(--ez-primary-soft); padding: 5px 11px; border-radius: 6px; }

/* Gallery */
.detail-gallery { padding: 14px; }
.detail-gallery-main { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; }
.detail-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-gallery-main .g-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ez-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; transition: background .2s ease, color .2s ease; }
.detail-gallery-main .g-nav:hover { background: #fff; color: var(--ez-primary); }
.detail-gallery-main .g-prev { left: 14px; }
.detail-gallery-main .g-next { right: 14px; }
.detail-gallery-main .g-nav.swiper-button-disabled { opacity: .45; pointer-events: none; }
.gallery-count { position: absolute; right: 14px; bottom: 14px; z-index: 2; background: rgba(13, 27, 62, .75); color: #fff; font-size: 13px; padding: 5px 11px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; }
.detail-gallery-thumbs { margin-top: 10px; }
.detail-gallery-thumbs .swiper-slide { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; opacity: .55; cursor: pointer; transition: opacity .2s ease; }
.detail-gallery-thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-gallery-thumbs .swiper-slide-thumb-active { opacity: 1; outline: 2px solid var(--ez-primary); outline-offset: -2px; }
.video-tour { margin-top: 12px; width: 100%; display: flex; align-items: center; gap: 14px; border: 1px solid var(--ez-border); border-radius: 12px; background: #fff; padding: 10px; text-align: left; transition: border-color .2s ease, box-shadow .2s ease; }
.video-tour:hover { border-color: var(--ez-primary); box-shadow: var(--ez-shadow); }
.video-tour-thumb { position: relative; width: 120px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.video-tour-thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75); }
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--ez-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.video-tour-text strong { display: block; font-size: 16px; color: var(--ez-dark); }
.video-tour-text small { font-size: 13px; color: var(--ez-muted); }
.video-tour-arrow { margin-left: auto; color: var(--ez-primary); font-size: 18px; padding-right: 6px; }

/* Section tabs */
.detail-tabs { position: sticky; top: var(--ez-header-h); z-index: 20; background: #fff; border-radius: 14px; margin-bottom: 20px; padding: 0 8px; box-shadow: 0 4px 16px rgba(13, 27, 62, .05); }
.detail-tabs ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.detail-tabs ul::-webkit-scrollbar { display: none; }
.detail-tabs a { display: block; padding: 15px 14px; white-space: nowrap; font-size: 15px; font-weight: 500; color: var(--ez-text); position: relative; }
.detail-tabs a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--ez-primary); transform: scaleX(0); transition: transform .25s ease; }
.detail-tabs a:hover, .detail-tabs a.active { color: var(--ez-primary); }
.detail-tabs a.active::after { transform: scaleX(1); }

/* About + highlights */
.about-text p { font-size: 15px; margin-bottom: 10px; }
.about-text:not(.is-expanded) .about-more { display: none; }
.read-more-btn { background: none; border: 0; padding: 0; color: var(--ez-primary); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.read-more-btn i { font-size: 12px; transition: transform .2s ease; }
.read-more-btn[aria-expanded="true"] i { transform: rotate(180deg); }
.highlight-item { border: 1px solid var(--ez-border); border-radius: 12px; padding: 14px; height: 100%; }
.highlight-item i { display: block; font-size: 20px; color: var(--ez-primary); margin-bottom: 8px; }
.highlight-item small { display: block; font-size: 12px; color: var(--ez-muted); }
.highlight-item strong { display: block; font-size: 14px; font-weight: 600; color: var(--ez-dark); line-height: 1.35; }

/* Fee + age tables */
.fee-table-wrap, .age-table-wrap { border: 1px solid var(--ez-border); border-radius: 12px; }
.fee-table, .age-table { margin: 0; font-size: 14px; border-collapse: separate; border-spacing: 0; }
.fee-table > :not(caption) > * > *, .age-table > :not(caption) > * > * { border-bottom-width: 1px; }
.fee-table { min-width: 720px; }
.age-table { min-width: 520px; }
.fee-table th, .fee-table td, .age-table th, .age-table td { padding: 12px 14px; border-bottom-color: var(--ez-border); vertical-align: middle; }
.fee-table thead th, .age-table thead th { background: var(--ez-primary-soft); color: var(--ez-dark); font-size: 13px; font-weight: 600; white-space: nowrap; }
.fee-table thead th small { display: block; font-weight: 400; color: var(--ez-muted); }
.fee-table tbody th, .age-table tbody th { font-weight: 500; color: var(--ez-dark); white-space: nowrap; }
.fee-table tbody th small { display: block; font-size: 12px; font-weight: 400; color: var(--ez-muted); }
.fee-table tbody tr:last-child > *, .age-table tbody tr:last-child > * { border-bottom: 0; }
.fee-table td:last-child strong { color: var(--ez-primary); }
.fee-table th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--ez-border); }
.fee-table thead th:first-child { background: var(--ez-primary-soft); }
.age-table tr.is-match > * { background: #E7F6EC; }
.age-table td { white-space: nowrap; }

/* Admission process */
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.process-steps li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.process-steps li:not(:last-child)::after { content: ''; position: absolute; top: 17px; left: 46px; right: -12px; height: 2px; background: #D7E3F7; }
.step-no { width: 36px; height: 36px; border-radius: 50%; background: var(--ez-primary); color: #fff; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; }
.process-steps strong { display: block; font-size: 14px; color: var(--ez-dark); margin-bottom: 4px; }
.process-steps p { font-size: 13px; color: var(--ez-muted); margin: 0; }
.dates-list, .docs-list { list-style: none; margin: 0; padding: 0; }
.dates-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--ez-border); font-size: 14px; }
.dates-list li:last-child { border-bottom: 0; }
.dates-list span { color: var(--ez-text); }
.dates-list strong { color: var(--ez-dark); font-weight: 600; white-space: nowrap; }
.docs-list li { display: flex; gap: 8px; padding: 6px 0; font-size: 14px; }
.docs-list i { color: var(--ez-green); margin-top: 2px; }

/* Eligibility checker */
.eligibility-check { margin-top: 18px; background: var(--ez-primary-soft); border-radius: 14px; padding: 18px; }
.ec-head { display: flex; gap: 12px; align-items: flex-start; }
.ec-head > i { font-size: 24px; color: var(--ez-primary); line-height: 1; }
.ec-head strong { display: block; font-size: 16px; color: var(--ez-dark); }
.ec-head small { font-size: 13px; color: var(--ez-muted); }
.ec-row { display: flex; gap: 10px; margin-top: 14px; }
.ec-row .form-control { max-width: 260px; background-color: #fff; }
.ec-row .btn { white-space: nowrap; }
.ec-result:empty { display: none; }
.ec-result { margin-top: 12px; font-size: 14px; background: #fff; border-radius: 10px; padding: 12px 14px; border-left: 4px solid var(--ez-green); }
.ec-result.is-warn { border-left-color: var(--ez-orange); }
.ec-result.is-error { border-left-color: var(--ez-red); }

/* Facilities */
.facility-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.facility-item { border: 1px solid var(--ez-border); border-radius: 12px; padding: 16px 10px; text-align: center; transition: border-color .2s ease; }
.facility-item:hover { border-color: var(--ez-primary); }
.facility-item i { display: block; font-size: 24px; color: var(--ez-primary); margin-bottom: 8px; }
.facility-item span { font-size: 13px; font-weight: 500; color: var(--ez-dark); }
.facility-item small { display: block; font-size: 11px; font-weight: 400; color: var(--ez-red); }
.facility-item.is-unavailable { background: #FAFAFB; }
.facility-item.is-unavailable i { color: #B8BFCC; }
.facility-item.is-unavailable span { color: var(--ez-muted); }

/* Reviews */
.rating-summary { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 20px 32px; align-items: center; background: var(--ez-gray); border-radius: 14px; padding: 20px 24px; }
.rs-score { text-align: center; }
.rs-score strong { display: block; font-size: 48px; font-weight: 700; color: var(--ez-dark); line-height: 1; }
.rs-stars { color: var(--ez-star); font-size: 15px; margin: 6px 0 4px; display: flex; gap: 2px; justify-content: center; }
.rs-score span { font-size: 13px; color: var(--ez-muted); }
.rs-bars, .rs-categories { list-style: none; margin: 0; padding: 0; }
.rs-bars li { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; align-items: center; gap: 10px; font-size: 13px; padding: 3px 0; }
.rs-bars li i.bi { color: var(--ez-star); font-size: 11px; }
.rs-bars li > span:last-child { color: var(--ez-muted); text-align: right; }
.rs-bar { height: 8px; border-radius: 8px; background: #E3E1E1; overflow: hidden; }
.rs-bar i { display: block; height: 100%; background: var(--ez-star); border-radius: 8px; }
.rs-categories li { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; }
.rs-categories strong { color: var(--ez-dark); font-weight: 600; }
.review-list { display: grid; gap: 14px; margin-top: 20px; }
.review-card { border: 1px solid var(--ez-border); border-radius: 14px; padding: 18px; }
.review-card.is-hidden { display: none; }
.rc-head { display: flex; align-items: center; gap: 12px; }
.rc-head > div { min-width: 0; }
.rc-head strong { display: block; font-size: 15px; color: var(--ez-dark); }
.rc-head small { font-size: 13px; color: var(--ez-muted); }
.rc-rating { margin-left: auto; background: #FFF4E5; color: #C2410C; font-size: 13px; font-weight: 600; padding: 4px 9px; border-radius: 6px; white-space: nowrap; }
.review-card h3 { font-size: 16px; font-weight: 600; margin: 12px 0 6px; }
.review-card p { font-size: 14px; margin: 0; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 6px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 30px; line-height: 1; color: #D1D5DB; cursor: pointer; transition: color .15s ease, transform .15s ease; }
.star-input label:hover { transform: scale(1.1); }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--ez-star); }
.star-input input:focus-visible + label { outline: 2px solid var(--ez-primary); outline-offset: 2px; border-radius: 4px; }

/* Location */
.map-wrap { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 7; background: var(--ez-gray); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.loc-address { display: flex; gap: 8px; font-size: 15px; margin: 0; }
.loc-address i { color: var(--ez-primary); }
.nearby-list { list-style: none; margin: 0; padding: 0; }
.nearby-list li { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; }
.nearby-list i { color: var(--ez-primary); }
.nearby-list span { margin-left: auto; color: var(--ez-muted); white-space: nowrap; }

/* Sticky action card */
.action-card { position: sticky; top: calc(var(--ez-header-h) + 16px); background: #fff; border-radius: var(--ez-radius-lg); padding: 22px; box-shadow: var(--ez-shadow); }
.ac-status { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.ac-deadline { font-size: 13px; color: var(--ez-muted); }
.ac-title { font-size: 18px; font-weight: 600; margin: 18px 0 6px; }
.ac-fees { list-style: none; margin: 0; padding: 0; }
.ac-fees li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ez-border); font-size: 14px; }
.ac-fees span { color: var(--ez-muted); }
.ac-fees strong { color: var(--ez-dark); font-weight: 600; text-align: right; }
.ac-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; margin: 12px 0 18px; }
.ac-link i { font-size: 12px; }
.ac-buttons { display: grid; gap: 10px; }
.ac-buttons .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.js-cart-toggle.is-active { background: var(--ez-primary); color: #fff; }
.ac-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.ac-mini-btn { border: 1px solid var(--ez-border); border-radius: 10px; background: #fff; padding: 10px 4px; font-size: 13px; font-weight: 500; color: var(--ez-dark); display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; transition: border-color .2s ease, color .2s ease; }
.ac-mini-btn i { font-size: 18px; color: var(--ez-primary); }
.ac-mini-btn:hover { border-color: var(--ez-primary); color: var(--ez-primary); }
.ac-mini-btn.is-active { border-color: var(--ez-red); color: var(--ez-red); }
.ac-mini-btn.is-active i { color: var(--ez-red); }
.ac-help { width: 100%; margin-top: 16px; display: flex; align-items: center; gap: 12px; background: var(--ez-gray); border: 1px solid transparent; border-radius: 12px; padding: 14px; text-align: left; transition: border-color .2s ease; }
.ac-help:hover { border-color: var(--ez-primary); }
.ac-help > i:first-child { font-size: 26px; color: var(--ez-primary); }
.ac-help strong { display: block; font-size: 14px; color: var(--ez-dark); }
.ac-help small { font-size: 13px; color: var(--ez-muted); }
.ac-help-arrow { margin-left: auto; color: var(--ez-primary); }

/* Mobile action bar */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; background: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; box-shadow: 0 -6px 20px rgba(13, 27, 62, .08); }
.mobile-cta .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }

/* Video modal */
.video-frame { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--ez-dark); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; text-align: center; padding: 20px; }
.video-empty i { font-size: 40px; color: #8DB3EE; }
.video-empty strong { font-size: 18px; }
.video-empty span { font-size: 14px; color: #C7D2E6; max-width: 380px; }

/* ==========================================================================
   Compare Schools page
   ========================================================================== */
.compare-top { padding-bottom: 60px; }
.site-footer.footer-flush { margin-top: 0; border-top: 1px solid #E7E5E5; }
.compare-head { align-items: flex-end; }
.compare-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
.diff-switch { display: flex; align-items: center; gap: 10px; margin: 0; min-height: 0; background: #fff; border: 1px solid var(--ez-border); border-radius: 30px; padding: 8px 14px; }
.diff-switch .form-check-input { float: none; margin: 0; width: 36px; height: 20px; cursor: pointer; }
.diff-switch .form-check-label { font-size: 14px; font-weight: 500; color: var(--ez-dark); cursor: pointer; }
.diff-switch.is-disabled { opacity: .5; }
.diff-switch.is-disabled .form-check-input, .diff-switch.is-disabled .form-check-label { cursor: not-allowed; }
.compare-wrap { background: #fff; border-radius: var(--ez-radius-lg); padding: 8px; }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.compare-table col.cmp-col-label { width: 220px; }
.compare-table thead th { padding: 10px; vertical-align: top; font-weight: 400; }
.cmp-label-head { text-align: left; padding: 18px 16px !important; position: sticky; left: 0; z-index: 2; background: #fff; }
.cmp-label-head strong { display: block; font-size: 18px; font-weight: 600; color: var(--ez-dark); margin-bottom: 6px; }
.cmp-label-head span { font-size: 13px; color: var(--ez-muted); }
.cmp-card { position: relative; height: 100%; border: 1px solid var(--ez-border); border-radius: 14px; padding: 18px 14px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cmp-remove { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--ez-gray); color: var(--ez-muted); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; transition: background .2s ease, color .2s ease; }
.cmp-remove:hover { background: #FDECEC; color: var(--ez-red); }
.cmp-logo { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--ez-border); background: #fff; padding: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.cmp-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cmp-card h3 { font-size: 15px; font-weight: 600; line-height: 1.3; margin: 0 0 4px; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cmp-card h3 a { color: inherit; }
.cmp-card h3 a:hover { color: var(--ez-primary); }
.cmp-city { font-size: 13px; color: var(--ez-muted); margin: 0 0 10px; }
.cmp-fee { width: 100%; background: var(--ez-gray); border-radius: 8px; padding: 6px 10px; margin: 0 0 10px; }
.cmp-fee small { display: block; font-size: 11px; color: var(--ez-muted); }
.cmp-fee strong { font-size: 14px; color: var(--ez-dark); font-weight: 600; }
.cmp-change { background: none; border: 0; padding: 0; margin: 0 0 12px; font-size: 13px; font-weight: 500; color: var(--ez-primary); display: inline-flex; align-items: center; gap: 4px; }
.cmp-change:hover { text-decoration: underline; }
.cmp-card .btn { margin-top: auto; width: 100%; font-size: 14px; padding: 8px 12px; }
.cmp-add { width: 100%; height: 100%; min-height: 250px; border: 2px dashed #C9D6EE; border-radius: 14px; background: #F8FAFE; color: var(--ez-primary); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; transition: border-color .2s ease, background .2s ease; }
.cmp-add:hover { border-color: var(--ez-primary); background: var(--ez-primary-soft); }
.cmp-add-icon { width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: var(--ez-shadow); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.cmp-add small { font-size: 12px; font-weight: 400; color: var(--ez-muted); }
.cmp-section th { background: var(--ez-primary-soft); color: var(--ez-dark); font-size: 16px; font-weight: 600; text-align: left; padding: 12px 16px; border-top: 10px solid #fff; }
.cmp-section th span { position: sticky; left: 16px; display: inline-flex; align-items: center; gap: 8px; }
.cmp-section th i { color: var(--ez-primary); }
.cmp-row > * { padding: 13px 16px; border-bottom: 1px solid var(--ez-border); vertical-align: middle; }
.cmp-row th { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; font-weight: 500; color: var(--ez-muted); }
.cmp-row td { text-align: center; color: var(--ez-dark); font-weight: 500; }
.cmp-row:hover > * { background: #FAFBFD; }
.cmp-mlabel { display: none; }
.cmp-yes { color: var(--ez-green); font-size: 20px; }
.cmp-no { color: #C4C9D4; font-size: 20px; }
.cmp-dash { color: #C4C9D4; }
.cmp-best { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 600; color: #15803D; background: #E7F6EC; padding: 2px 7px; border-radius: 10px; vertical-align: middle; white-space: nowrap; }
.compare-table.only-diff tr.is-same { display: none; }
.compare-scroll-hint { margin: 8px 0 2px; text-align: center; font-size: 12px; color: var(--ez-muted); }
.compare-mini { position: fixed; top: var(--ez-header-h); left: 0; z-index: 1020; background: #fff; box-shadow: 0 8px 18px rgba(13, 27, 62, .1); border-radius: 0 0 12px 12px; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.compare-mini.is-visible { opacity: 1; visibility: visible; transform: none; }
.compare-mini-track { display: flex; will-change: transform; }
.cm-cell { flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 12px; min-width: 0; font-size: 13px; font-weight: 600; color: var(--ez-dark); }
.cm-cell img { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ez-border); padding: 2px; object-fit: contain; flex-shrink: 0; }
.cm-cell span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-cell.cm-label { color: var(--ez-muted); font-weight: 500; }
.compare-empty { background: #fff; border-radius: var(--ez-radius-lg); padding: 56px 20px; text-align: center; }
.ce-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--ez-primary-soft); color: var(--ez-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 16px; }
.compare-empty h2 { font-size: 22px; margin-bottom: 8px; }
.compare-empty p { color: var(--ez-muted); max-width: 420px; margin: 0 auto 20px; }
.compare-empty .btn { display: inline-flex; align-items: center; gap: 6px; }

/* School picker */
.picker-search { position: relative; margin-bottom: 12px; }
.picker-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ez-muted); font-size: 14px; }
.picker-search .form-control { padding-left: 38px; }
.picker-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.picker-item { width: 100%; display: flex; align-items: center; gap: 12px; border: 1px solid var(--ez-border); background: #fff; border-radius: 12px; padding: 10px 12px; text-align: left; transition: border-color .2s ease, background .2s ease; }
.picker-item:hover:not(:disabled), .picker-item:focus-visible { border-color: var(--ez-primary); background: #F8FAFE; }
.picker-item:disabled { opacity: .55; cursor: not-allowed; }
.picker-item img { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ez-border); padding: 3px; object-fit: contain; flex-shrink: 0; background: #fff; }
.pi-text { min-width: 0; }
.pi-text strong { display: block; font-size: 14px; color: var(--ez-dark); }
.pi-text small { font-size: 12px; color: var(--ez-muted); }
.pi-tag { margin-left: auto; flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--ez-primary); background: var(--ez-primary-soft); padding: 3px 8px; border-radius: 6px; }
.picker-empty { text-align: center; color: var(--ez-muted); padding: 20px 0 8px; margin: 0; }

/* ==========================================================================
   Account, auth, cart, apply & dashboard pages
   ========================================================================== */

/* ---------- Header additions ---------- */
.count-pill, .cart-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ez-orange); color: #fff; font-size: 11px; font-weight: 600; line-height: 1; }
.count-pill[hidden], .cart-badge[hidden] { display: none; }
.cart-icon-btn { position: relative; }
.cart-icon-btn .cart-badge { position: absolute; top: -5px; right: -5px; }
.user-toggle { gap: 8px; }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--ez-primary-soft); color: var(--ez-primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; flex-shrink: 0; }
.user-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.user-dropdown { min-width: 230px; border: 1px solid var(--ez-border); border-radius: 12px; box-shadow: var(--ez-shadow-lg); padding: 8px; }
.user-dropdown-head { padding: 8px 12px 10px; display: flex; flex-direction: column; border-bottom: 1px solid var(--ez-border); margin-bottom: 6px; }
.user-dropdown-head small { color: var(--ez-muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.user-dropdown .dropdown-item { border-radius: 8px; padding: 9px 12px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.user-dropdown .dropdown-item i { color: var(--ez-primary); font-size: 16px; }
.user-dropdown .dropdown-item.text-danger i { color: inherit; }
.user-dropdown .dropdown-item:active { background: var(--ez-primary-soft); color: var(--ez-dark); }
.mobile-user { display: grid; gap: 10px; }
.mobile-user-info { display: flex; align-items: center; gap: 12px; padding: 4px 2px 6px; }
.mobile-user-info div { display: flex; flex-direction: column; min-width: 0; }
.mobile-user-info small { color: var(--ez-muted); overflow: hidden; text-overflow: ellipsis; }
.ez-toast.is-error { border-left-color: var(--ez-red); }
.ez-toast.is-error i { color: var(--ez-red); }
.ez-toast { max-width: calc(100vw - 32px); }

/* ---------- Shared form pieces ---------- */
.field { position: relative; }
.field .field-error { display: none; color: var(--ez-red); font-size: 12.5px; margin-top: 5px; line-height: 1.35; }
.field.has-error .field-error { display: block; }
.field.has-error .form-control, .field.has-error .form-select { border-color: var(--ez-red); background-image: none; }
.field.has-error .form-select { background-image: var(--bs-form-select-bg-img); }
.field.has-error .form-check-input { border-color: var(--ez-red); }
.field .form-text { font-size: 12.5px; color: var(--ez-muted); }
.req::after { content: ' *'; color: var(--ez-red); }
.form-control::placeholder { color: #9AA1AF; }
.btn:disabled, .btn.disabled { opacity: .55; }
.modal-sub { font-size: 14px; color: var(--ez-muted); margin-top: 2px; }
.modal-header .btn-close { margin: 0 0 auto auto; flex-shrink: 0; }
.modal-header > div:first-child { flex: 1; min-width: 0; padding-right: 12px; }
.empty-state { text-align: center; padding: 44px 20px; background: #fff; border: 1px dashed var(--ez-border); border-radius: var(--ez-radius-lg); }
.empty-state .es-icon { width: 68px; height: 68px; border-radius: 50%; background: var(--ez-primary-soft); color: var(--ez-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 14px; }
.empty-state h3 { font-size: 20px; margin-bottom: 6px; }
.empty-state p { color: var(--ez-muted); max-width: 420px; margin: 0 auto 18px; }

/* Status badges */
.st-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 30px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: #EEF0F4; color: #4B5563; }
.st-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-draft { background: #EEF0F4; color: #4B5563; }
.st-payment-pending, .st-requested { background: #FFF1E3; color: #C2570C; }
.st-submitted, .st-scheduled { background: var(--ez-primary-soft); color: var(--ez-primary); }
.st-under-review { background: #F1EAFE; color: #6D28D9; }
.st-shortlisted, .st-success, .st-completed { background: #E3F6EA; color: #15803D; }
.st-failed, .st-cancelled { background: #FDE8EA; color: #BE1228; }

/* ---------- Child select popup ---------- */
.apply-for { display: flex; gap: 10px; align-items: flex-start; background: var(--ez-primary-soft); color: var(--ez-dark); border-radius: 10px; padding: 11px 14px; font-size: 14px; margin-bottom: 16px; }
.apply-for i { color: var(--ez-primary); margin-top: 2px; }
.child-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.child-option { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--ez-border); border-radius: 12px; cursor: pointer; position: relative; transition: border-color .2s ease, background .2s ease; margin: 0; }
.child-option:hover { border-color: #9DB9EA; }
.child-option input { position: absolute; opacity: 0; pointer-events: none; }
.child-option:focus-within { box-shadow: 0 0 0 3px rgba(1, 73, 187, .15); }
.child-option.is-selected { border-color: var(--ez-primary); background: #F5F9FF; }
.co-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ez-primary-soft); color: var(--ez-primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; }
.co-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.co-info strong { color: var(--ez-dark); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-info small { color: var(--ez-muted); font-size: 12.5px; }
.co-class { background: var(--ez-gray); color: var(--ez-dark); border-radius: 6px; padding: 3px 9px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.co-check { color: var(--ez-primary); font-size: 20px; opacity: 0; transition: opacity .2s ease; }
.child-option.is-selected .co-check { opacity: 1; }
.child-empty { color: var(--ez-muted); font-size: 14px; margin: 0 0 12px; }
.btn-add-child { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1.5px dashed #9DB9EA; color: var(--ez-primary); font-weight: 500; font-size: 14px; border-radius: 10px; padding: 10px 16px; width: 100%; justify-content: center; margin-top: 12px; }
.btn-add-child:hover { background: var(--ez-primary-soft); }
.btn-add-child[hidden] { display: none; }
.child-add-form { margin-top: 14px; padding: 16px; border: 1px solid var(--ez-border); border-radius: 12px; background: #FCFCFD; }
.child-add-form[hidden] { display: none; }
.apply-next-note { display: flex; gap: 10px; color: var(--ez-muted); font-size: 13px; margin-top: 16px; }
.apply-next-note i { margin-top: 2px; }
#childModal .modal-footer { border-top: 1px solid var(--ez-border); padding: 14px 24px; gap: 10px; }
#childModal .modal-footer .btn { flex: 1; }

/* ---------- Demo checkout ---------- */
.pay-modal { overflow: hidden; }
.pay-head { background: linear-gradient(135deg, var(--ez-primary) 0%, #0a2f7a 100%); color: #fff; padding: 22px 24px; display: flex; justify-content: space-between; gap: 12px; }
.pay-head h2 { color: #fff; font-size: 20px; margin: 4px 0; }
.pay-head p { margin: 0; font-size: 13.5px; opacity: .85; }
.pay-brand { font-size: 12px; letter-spacing: .6px; text-transform: uppercase; opacity: .8; }
.pay-amount { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--ez-gray); border-radius: 10px; margin-bottom: 16px; }
.pay-amount strong { font-size: 24px; color: var(--ez-dark); }
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.pay-method { margin: 0; border: 1.5px solid var(--ez-border); border-radius: 10px; padding: 12px 6px; text-align: center; cursor: pointer; display: flex; flex-direction: column; gap: 4px; align-items: center; font-size: 13.5px; font-weight: 500; color: var(--ez-dark); }
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method i { font-size: 20px; color: var(--ez-primary); }
.pay-method.is-selected { border-color: var(--ez-primary); background: #F5F9FF; }
.pay-method:focus-within { box-shadow: 0 0 0 3px rgba(1, 73, 187, .15); }
.pay-fail { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--ez-muted); font-size: 13px; text-decoration: underline; }
.pay-note { margin: 14px 0 0; font-size: 12.5px; color: var(--ez-muted); display: flex; gap: 8px; }

/* ---------- Auth pages ---------- */
.auth-page { background: var(--ez-gray); padding: 40px 0 56px; }
.auth-shell { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #fff; border-radius: 22px; box-shadow: var(--ez-shadow-lg); overflow: hidden; max-width: 1060px; margin: 0 auto; }
.auth-shell.auth-wide { max-width: 1160px; }
.auth-aside { position: relative; color: #fff; padding: 44px 40px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; background: #0a2f7a url('../images/banners/parent-child.jpg') center top / cover no-repeat; isolation: isolate; }
.auth-aside::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1, 73, 187, .35) 0%, rgba(8, 40, 110, .92) 62%, rgba(8, 40, 110, .97) 100%); }
.auth-aside.is-school { background-image: url('../images/banners/consultant-banner.jpg'); background-position: 70% center; }
.auth-aside h2 { color: #fff; font-size: 28px; font-weight: 600; line-height: 1.25; margin-bottom: 18px; }
.auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.auth-points i { width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.auth-main { padding: 38px 44px 40px; min-width: 0; }
.auth-title { font-size: 28px; font-weight: 600; margin-bottom: 6px; letter-spacing: -.3px; }
.auth-sub { color: var(--ez-muted); font-size: 14.5px; margin-bottom: 22px; }
.role-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--ez-gray); padding: 4px; border-radius: 12px; margin-bottom: 26px; }
.role-switch a, .role-switch button { border: 0; background: none; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 10px; border-radius: 9px; color: var(--ez-text); font-weight: 500; font-size: 15px; transition: all .2s ease; }
.role-switch a:hover, .role-switch button:hover { color: var(--ez-primary); }
.role-switch a.active, .role-switch button.active { background: #fff; color: var(--ez-primary); box-shadow: 0 2px 10px rgba(13, 27, 62, .1); }
.auth-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--ez-border); margin-bottom: 22px; }
.auth-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 0 0 12px; margin-bottom: -1px; font-size: 15px; font-weight: 500; color: var(--ez-muted); }
.auth-tabs button.active { color: var(--ez-primary); border-bottom-color: var(--ez-primary); }
.auth-view[hidden], .auth-pane[hidden], .role-panel[hidden] { display: none; }
.phone-group .input-group-text { background: var(--ez-gray); border-color: var(--ez-border); font-size: 14px; border-radius: 8px 0 0 8px; }
.phone-group .form-control { border-radius: 0 8px 8px 0; }
.pw-wrap { position: relative; }
.pw-wrap .form-control { padding-right: 46px; }
.pw-toggle { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border: 0; background: none; color: var(--ez-muted); border-radius: 8px; }
.pw-toggle:hover { color: var(--ez-primary); }
.field.has-error .pw-toggle { top: 4px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ez-primary); font-weight: 500; font-size: 14px; }
.link-btn:hover { text-decoration: underline; }
.link-btn:disabled { color: var(--ez-muted); text-decoration: none; }
.otp-block { text-align: center; }
.otp-sent { font-size: 14.5px; color: var(--ez-text); margin-bottom: 18px; }
.otp-sent strong { color: var(--ez-dark); }
.otp-inputs { display: flex; justify-content: center; gap: 10px; margin-bottom: 8px; }
.otp-inputs input { width: 100%; max-width: 50px; height: 54px; text-align: center; font-size: 22px; font-weight: 600; color: var(--ez-dark); border: 1.5px solid var(--ez-border); border-radius: 10px; outline: none; padding: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.otp-inputs input:focus { border-color: var(--ez-primary); box-shadow: 0 0 0 3px rgba(1, 73, 187, .12); }
.otp-inputs.has-error input { border-color: var(--ez-red); }
.otp-error { color: var(--ez-red); font-size: 13px; min-height: 20px; margin-bottom: 8px; }
.otp-resend { font-size: 14px; color: var(--ez-muted); margin: 16px 0 0; }
.demo-hint { display: flex; gap: 8px; align-items: flex-start; background: #FFF8EB; border: 1px solid #FBE3B0; color: #8A5A00; font-size: 13px; padding: 9px 12px; border-radius: 10px; margin: 14px 0 0; text-align: left; }
.demo-hint i { margin-top: 2px; }
.auth-divider { display: flex; align-items: center; gap: 14px; color: var(--ez-muted); font-size: 13px; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--ez-border); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #fff; border: 1px solid var(--ez-border); color: var(--ez-dark); }
.btn-google:hover { background: var(--ez-gray); border-color: #D3D7E0; color: var(--ez-dark); }
.btn-google svg { width: 18px; height: 18px; flex-shrink: 0; }
.auth-foot { margin-top: 22px; text-align: center; font-size: 14.5px; color: var(--ez-text); }
.auth-foot a, .auth-foot .link-btn { font-weight: 500; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--ez-muted); font-size: 14px; padding: 0; margin-bottom: 16px; }
.auth-back:hover { color: var(--ez-primary); }
.auth-success { text-align: center; padding: 10px 0; }
.auth-success .as-icon { width: 76px; height: 76px; border-radius: 50%; background: #E3F6EA; color: var(--ez-green); display: inline-flex; align-items: center; justify-content: center; font-size: 38px; margin-bottom: 16px; }
.auth-success h2 { font-size: 24px; margin-bottom: 8px; }
.auth-success p { color: var(--ez-muted); max-width: 420px; margin: 0 auto 18px; }
.ref-chip { display: inline-block; background: var(--ez-primary-soft); color: var(--ez-primary); font-weight: 600; padding: 6px 14px; border-radius: 8px; margin-bottom: 18px; letter-spacing: .4px; }
.form-section-title { font-size: 15px; font-weight: 600; color: var(--ez-dark); margin: 24px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--ez-border); }
.form-section-title:first-of-type { margin-top: 0; }
.terms-check { font-size: 13.5px; color: var(--ez-text); }

/* ---------- Page heading band (cart / apply / status) ---------- */
.app-top { background: var(--ez-gray); padding: 22px 0 28px; }
.app-top .breadcrumb { margin-bottom: 10px; font-size: 14px; }
.app-top h1 { font-size: 32px; font-weight: 600; letter-spacing: -.4px; margin: 0; }
.app-top p { color: var(--ez-muted); margin: 6px 0 0; }
.app-body { background: var(--ez-gray); padding: 0 0 40px; }
.app-body .container { margin-top: 0; }
.panel-card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: var(--ez-shadow); }
.panel-card + .panel-card { margin-top: 18px; }
.panel-title { font-size: 18px; font-weight: 600; margin: 0 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Cart ---------- */
.cart-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ez-border); align-items: flex-start; }
.cart-item:first-child { padding-top: 0; }
.cart-item:last-child { border-bottom: 0; padding-bottom: 0; }
.ci-logo { width: 64px; height: 64px; border: 1px solid var(--ez-border); border-radius: 12px; padding: 6px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: #fff; }
.ci-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ci-body { flex: 1; min-width: 0; }
.ci-body h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.ci-body h3 a { color: var(--ez-dark); }
.ci-body h3 a:hover { color: var(--ez-primary); }
.ci-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--ez-muted); font-size: 13.5px; margin: 0; padding: 0; list-style: none; }
.ci-meta li { display: inline-flex; align-items: center; gap: 5px; }
.ci-fee { text-align: right; white-space: nowrap; flex-shrink: 0; }
.ci-fee strong { display: block; font-size: 18px; color: var(--ez-dark); }
.ci-fee small { color: var(--ez-muted); font-size: 12.5px; display: block; }
.ci-remove { margin-top: 8px; background: none; border: 0; color: var(--ez-red); font-size: 13.5px; padding: 0; display: inline-flex; align-items: center; gap: 5px; }
.ci-remove:hover { text-decoration: underline; }
.summary-card { position: sticky; top: calc(var(--ez-header-h) + 16px); }
.sum-list { list-style: none; margin: 0 0 14px; padding: 0; }
.sum-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14.5px; color: var(--ez-text); }
.sum-list li span:last-child { color: var(--ez-dark); font-weight: 500; text-align: right; }
.sum-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed #CBD1DD; padding-top: 14px; margin-bottom: 18px; font-weight: 600; color: var(--ez-dark); }
.sum-total strong { font-size: 24px; }
.sum-note { font-size: 12.5px; color: var(--ez-muted); margin: 12px 0 0; display: flex; gap: 8px; }
.sum-note i { margin-top: 2px; }
.add-more-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ez-border); font-size: 14.5px; }

/* ---------- Apply (multi-step) ---------- */
.stepper { list-style: none; padding: 0; margin: 0 0 22px; display: flex; counter-reset: step; }
.stepper li { flex: 1; text-align: center; position: relative; font-size: 13px; color: var(--ez-muted); padding-top: 42px; counter-increment: step; }
.stepper li::before { content: counter(step); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--ez-border); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; color: var(--ez-muted); z-index: 1; transition: all .2s ease; }
.stepper li::after { content: ''; position: absolute; top: 16px; left: calc(-50% + 17px); right: calc(50% + 17px); height: 2px; background: var(--ez-border); }
.stepper li:first-child::after { display: none; }
.stepper li.is-done::before { content: '\F26E'; font-family: 'bootstrap-icons'; background: var(--ez-primary); border-color: var(--ez-primary); color: #fff; }
.stepper li.is-done::after, .stepper li.is-current::after { background: var(--ez-primary); }
.stepper li.is-current { color: var(--ez-primary); font-weight: 600; }
.stepper li.is-current::before { border-color: var(--ez-primary); color: var(--ez-primary); box-shadow: 0 0 0 4px rgba(1, 73, 187, .12); }
.stepper button { all: unset; cursor: pointer; display: block; width: 100%; }
.stepper li:not(.is-done) button { cursor: default; }
.step-progress { display: none; }
.apply-step[hidden] { display: none; }
.apply-step h2 { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.apply-step .step-sub { color: var(--ez-muted); font-size: 14px; margin-bottom: 20px; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--ez-border); flex-wrap: wrap; }
.step-actions .right { display: flex; gap: 10px; margin-left: auto; flex-wrap: wrap; }
.school-pick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.sp-item { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--ez-border); border-radius: 12px; padding: 12px 14px; cursor: pointer; margin: 0; transition: border-color .2s ease, background .2s ease; }
.sp-item:has(input:checked) { border-color: var(--ez-primary); background: #F5F9FF; }
.sp-item:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(1, 73, 187, .15); }
.sp-item.is-disabled { opacity: .6; cursor: not-allowed; background: var(--ez-gray); }
.sp-item input { width: 18px; height: 18px; accent-color: var(--ez-primary); flex-shrink: 0; }
.sp-logo { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--ez-border); padding: 4px; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sp-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sp-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.sp-info strong { color: var(--ez-dark); font-weight: 600; }
.sp-info small { color: var(--ez-muted); font-size: 12.5px; }
.sp-fee { font-size: 13px; color: var(--ez-dark); font-weight: 500; white-space: nowrap; }
.doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.doc-card { border: 1.5px dashed #B9C5DD; border-radius: 14px; padding: 16px; background: #FBFCFE; display: flex; flex-direction: column; gap: 10px; min-width: 0; transition: border-color .2s ease, background .2s ease; }
.doc-card.is-drag { border-color: var(--ez-primary); background: #F2F7FF; }
.doc-card.is-done { border-style: solid; border-color: #BFE5CC; background: #F6FCF8; }
.doc-card.has-error { border-color: var(--ez-red); background: #FFF8F8; }
.doc-head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.doc-head strong { font-size: 14.5px; color: var(--ez-dark); font-weight: 600; line-height: 1.3; }
.doc-head small { display: block; color: var(--ez-muted); font-size: 12px; font-weight: 400; margin-top: 2px; }
.doc-body { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.doc-thumb { width: 64px; height: 64px; border-radius: 10px; background: var(--ez-primary-soft); color: var(--ez-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 26px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--ez-border); }
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.doc-file { min-width: 0; flex: 1; font-size: 13px; }
.doc-file b { display: block; font-weight: 500; color: var(--ez-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-file span { color: var(--ez-muted); font-size: 12px; }
.doc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.doc-actions .btn { padding: 7px 14px; font-size: 13px; }
.doc-actions .btn-remove { color: var(--ez-red); border-color: #F3C3C8; background: #fff; }
.doc-actions .btn-remove:hover { background: #FDE8EA; }
.doc-card .doc-err { color: var(--ez-red); font-size: 12.5px; display: none; }
.doc-card.has-error .doc-err { display: block; }
.doc-note { font-size: 13px; color: var(--ez-muted); background: var(--ez-gray); border-radius: 10px; padding: 10px 14px; margin-top: 16px; display: flex; gap: 8px; }
.doc-note i { margin-top: 2px; }
.school-q { border: 1px solid var(--ez-border); border-radius: 14px; padding: 18px; margin-bottom: 16px; }
.school-q h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.radio-row { display: flex; gap: 20px; flex-wrap: wrap; }
.radio-row .form-check { margin: 0; }
.declare-box { background: var(--ez-gray); border-radius: 12px; padding: 16px; font-size: 14px; }
.declare-box ul { margin: 0 0 12px; padding-left: 18px; color: var(--ez-text); }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; }
.review-grid div { min-width: 0; }
.review-grid dt { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .4px; color: var(--ez-muted); }
.review-grid dd { margin: 2px 0 0; color: var(--ez-dark); font-weight: 500; word-break: break-word; }
.pay-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pay-table th { background: var(--ez-primary-soft); color: var(--ez-dark); font-weight: 600; padding: 10px 12px; text-align: left; font-size: 13.5px; }
.pay-table td { padding: 12px; border-bottom: 1px solid var(--ez-border); vertical-align: top; }
.pay-table th:last-child, .pay-table td:last-child { text-align: right; }
.pay-table tfoot td { border-bottom: 0; font-weight: 600; color: var(--ez-dark); font-size: 16px; }
.mini-summary .ms-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 7px 0; color: var(--ez-text); }
.mini-summary .ms-row span:last-child { color: var(--ez-dark); font-weight: 500; text-align: right; min-width: 0; word-break: break-word; }
.mini-summary hr { margin: 8px 0; border-color: var(--ez-border); opacity: 1; }
.autosave { font-size: 12.5px; color: var(--ez-muted); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Payment status ---------- */
.status-card { max-width: 640px; margin: 0 auto; background: #fff; border-radius: 20px; box-shadow: var(--ez-shadow-lg); padding: 38px 34px; text-align: center; }
.status-icon { width: 86px; height: 86px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 44px; margin-bottom: 16px; }
.status-icon.ok { background: #E3F6EA; color: var(--ez-green); animation: pop .5s ease; }
.status-icon.fail { background: #FDE8EA; color: var(--ez-red); animation: pop .5s ease; }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.status-card h1 { font-size: 28px; margin-bottom: 6px; }
.status-card > p { color: var(--ez-muted); margin-bottom: 24px; }
.txn-box { text-align: left; background: var(--ez-gray); border-radius: 14px; padding: 6px 18px; margin-bottom: 22px; }
.txn-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid #E6E3E3; font-size: 14.5px; }
.txn-row:last-child { border-bottom: 0; }
.txn-row span:first-child { color: var(--ez-muted); flex-shrink: 0; }
.txn-row span:last-child { color: var(--ez-dark); font-weight: 500; text-align: right; word-break: break-all; }
.txn-row .ref-list { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; }
.status-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.status-actions .btn { min-width: 190px; }

/* ---------- Parent dashboard ---------- */
.dash-top { background: #fff; border-bottom: 1px solid var(--ez-border); padding: 22px 0; }
.dash-top h1 { font-size: 26px; font-weight: 600; margin: 0; letter-spacing: -.3px; }
.dash-top p { margin: 4px 0 0; color: var(--ez-muted); font-size: 14.5px; }
.dash-wrap { background: var(--ez-gray); padding: 28px 0 24px; min-height: 60vh; }
.dash-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.dash-side { background: #fff; border-radius: 20px; padding: 14px; box-shadow: var(--ez-shadow); position: sticky; top: calc(var(--ez-header-h) + 16px); }
@media (max-width: 991.98px) {
  .dash-side, #sdashNav, #dashNav { display: none !important; }
}
.dash-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dash-nav a, .dash-nav button.dash-nav-btn { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; color: var(--ez-text); font-size: 14.5px; font-weight: 500; position: relative; transition: background .2s ease, color .2s ease; width: 100%; border: none; background: transparent; text-align: left; }
.dash-nav a i, .dash-nav button.dash-nav-btn i { font-size: 17px; color: var(--ez-muted); width: 20px; text-align: center; transition: color .2s ease; }
.dash-nav a:hover, .dash-nav button.dash-nav-btn:hover { background: var(--ez-gray); color: var(--ez-dark); }
.dash-nav a.active, .dash-nav button.dash-nav-btn.active { background: var(--ez-primary-soft); color: var(--ez-primary); }
.dash-nav a.active i, .dash-nav button.dash-nav-btn.active i { color: var(--ez-primary); }
.dash-nav a.active::after, .dash-nav button.dash-nav-btn.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--ez-primary); border-radius: 2px; }
.dash-nav .count-pill { margin-left: auto; }
.dash-nav hr { margin: 8px 6px; border-color: var(--ez-border); opacity: 1; }
.dash-nav .nav-logout, .dash-nav button.nav-logout { color: var(--ez-red); }
.dash-nav .nav-logout i, .dash-nav button.nav-logout i { color: var(--ez-red); }
.dash-main { min-width: 0; }
.dash-panel { background: #fff; border-radius: 20px; box-shadow: var(--ez-shadow); padding: 26px 28px; }
.dash-panel[hidden] { display: none; }
.dp-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--ez-border); }
.dp-head h2 { font-size: 19px; font-weight: 600; margin: 0; }
.dp-head p { margin: 2px 0 0; font-size: 13.5px; color: var(--ez-muted); }
.dp-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-sm-ez { padding: 8px 16px; font-size: 14px; }
.stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.stat-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--ez-border); border-radius: 14px; background: #fff; color: var(--ez-text); transition: all .2s ease; min-width: 0; }
.stat-card:hover { border-color: #9DB9EA; box-shadow: var(--ez-shadow); transform: translateY(-2px); }
.stat-card .sc-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--ez-primary-soft); color: var(--ez-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.stat-card.c-orange .sc-icon { background: #FFF1E3; color: var(--ez-orange); }
.stat-card.c-green .sc-icon { background: #E3F6EA; color: var(--ez-green); }
.stat-card.c-purple .sc-icon { background: #F1EAFE; color: #7C3AED; }
.stat-card.c-red .sc-icon { background: #FDE8EA; color: var(--ez-red); }
.stat-card strong { font-size: 26px; color: var(--ez-dark); line-height: 1.1; }
.stat-card span.sc-label { font-size: 13px; color: var(--ez-muted); }
.sub-title { font-size: 16px; font-weight: 600; margin: 0 0 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sub-title a { font-size: 14px; font-weight: 500; }
.quick-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.qa { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; border: 1px solid var(--ez-border); color: var(--ez-dark); font-weight: 500; font-size: 14.5px; background: #fff; text-align: left; transition: all .2s ease; }
.qa:hover { border-color: var(--ez-primary); color: var(--ez-primary); }
.qa i { font-size: 20px; color: var(--ez-primary); }
.mini-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.mini-app { display: flex; align-items: center; gap: 12px; border: 1px solid var(--ez-border); border-radius: 12px; padding: 12px 14px; }
.mini-app .ma-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.mini-app strong { color: var(--ez-dark); font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-app small { color: var(--ez-muted); font-size: 12.5px; }
.wish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wish-card { border: 1px solid var(--ez-border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; background: #fff; transition: box-shadow .2s ease; min-width: 0; }
.wish-card:hover { box-shadow: var(--ez-shadow-lg); }
.wish-img { position: relative; aspect-ratio: 16 / 7.5; background: var(--ez-gray); }
.wish-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wish-img .badge-rating { position: absolute; left: 10px; top: 10px; }
.wish-remove { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 0; color: var(--ez-red); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.wish-remove:hover { background: #FDE8EA; }
.wish-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.wish-title { display: flex; gap: 10px; align-items: center; }
.wish-title .listing-logo { width: 42px; height: 42px; }
.wish-title h3 { font-size: 16px; margin: 0; line-height: 1.3; }
.wish-title h3 a { color: var(--ez-dark); }
.wish-title h3 a:hover { color: var(--ez-primary); }
.wish-title small { display: block; color: var(--ez-muted); font-size: 12.5px; font-weight: 400; }
.wish-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.wish-tags li { background: var(--ez-gray); border-radius: 6px; padding: 3px 9px; font-size: 12px; color: var(--ez-dark); }
.wish-fee { font-size: 13.5px; color: var(--ez-muted); margin: 0; }
.wish-fee strong { color: var(--ez-dark); }
.wish-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.wish-actions .btn { padding: 9px 10px; font-size: 14px; }
.app-filter { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: thin; }
.app-filter button { flex-shrink: 0; border: 1px solid var(--ez-border); background: #fff; border-radius: 30px; padding: 7px 15px; font-size: 13.5px; color: var(--ez-text); display: inline-flex; gap: 6px; align-items: center; }
.app-filter button b { font-weight: 600; color: var(--ez-muted); }
.app-filter button.active { background: var(--ez-primary); border-color: var(--ez-primary); color: #fff; }
.app-filter button.active b { color: #fff; }
.app-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.app-card { border: 1px solid var(--ez-border); border-radius: 16px; padding: 18px; background: #fff; }
.app-card-top { display: flex; gap: 14px; align-items: flex-start; }
.app-card-top .listing-logo { width: 50px; height: 50px; }
.ac-info { flex: 1; min-width: 0; }
.ac-info h3 { font-size: 16.5px; margin: 0 0 3px; font-weight: 600; }
.ac-info p { margin: 0; font-size: 13.5px; color: var(--ez-muted); }
.ac-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ez-muted); }
.ac-meta strong { color: var(--ez-dark); font-weight: 500; }
.tracker { display: flex; margin: 18px 0 4px; padding: 0; list-style: none; }
.tracker li { flex: 1; position: relative; text-align: center; font-size: 11.5px; color: var(--ez-muted); padding-top: 24px; line-height: 1.25; }
.tracker li::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #D3D7E0; z-index: 1; }
.tracker li::after { content: ''; position: absolute; top: 7px; left: calc(-50% + 8px); right: calc(50% + 8px); height: 2px; background: #D3D7E0; }
.tracker li:first-child::after { display: none; }
.tracker li.is-done { color: var(--ez-dark); }
.tracker li.is-done::before { background: var(--ez-primary); border-color: var(--ez-primary); }
.tracker li.is-done::after, .tracker li.is-current::after { background: var(--ez-primary); }
.tracker li.is-current { color: var(--ez-primary); font-weight: 600; }
.tracker li.is-current::before { background: #fff; border-color: var(--ez-primary); box-shadow: 0 0 0 4px rgba(1, 73, 187, .15); }
.app-card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ez-border); }
.app-card-actions .btn { padding: 8px 16px; font-size: 14px; }
.child-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.child-card { border: 1.5px solid #D5E1F7; border-radius: 16px; padding: 18px; background: #fff; display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: box-shadow .2s ease; }
.child-card:hover { box-shadow: var(--ez-shadow); }
.cc-head { display: flex; align-items: center; gap: 12px; }
.cc-head h3 { font-size: 17px; margin: 0; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-tools { display: flex; gap: 4px; }
.cc-tools button { width: 32px; height: 32px; border: 0; background: none; border-radius: 8px; color: var(--ez-muted); display: inline-flex; align-items: center; justify-content: center; }
.cc-tools button:hover { background: var(--ez-gray); color: var(--ez-primary); }
.cc-tools button.del:hover { background: #FDE8EA; color: var(--ez-red); }
.cc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.cc-grid dt { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--ez-muted); font-weight: 500; }
.cc-grid dd { margin: 2px 0 0; color: var(--ez-dark); font-weight: 500; font-size: 14.5px; }
.cc-class { align-self: flex-start; background: var(--ez-primary-soft); color: var(--ez-primary); border-radius: 6px; padding: 4px 10px; font-size: 12.5px; font-weight: 500; }
.cc-apply { margin-top: auto; }
.cb-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.cb-card { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--ez-border); border-radius: 14px; padding: 16px; }
.cb-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ez-primary-soft); color: var(--ez-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.cb-info { flex: 1; min-width: 0; }
.cb-info h3 { font-size: 15.5px; margin: 0 0 3px; font-weight: 600; }
.cb-info p { margin: 0; font-size: 13.5px; color: var(--ez-muted); }
.cb-time { margin-top: 8px; font-size: 13.5px; color: var(--ez-dark); display: flex; align-items: center; gap: 6px; }
.cb-time i { color: var(--ez-primary); }
.credit-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.credit-total { background: #E3F6EA; color: var(--ez-dark); border-radius: 8px; padding: 8px 14px; font-size: 14px; }
.credit-total b { color: var(--ez-green); font-size: 17px; margin-left: 4px; }
.credit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.credit-card { border: 1px solid #D5E1F7; border-radius: 16px; padding: 16px; background: #fff; min-width: 0; }
.cr-head { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ez-dark); margin-bottom: 12px; }
.cr-head span.ic { width: 34px; height: 34px; border-radius: 10px; background: var(--ez-primary-soft); color: var(--ez-primary); display: inline-flex; align-items: center; justify-content: center; }
.cr-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.cr-nums div { background: var(--ez-gray); border-radius: 10px; padding: 9px 12px; }
.cr-nums div.avail { background: #E9F8EF; }
.cr-nums small { display: block; font-size: 12px; color: var(--ez-muted); }
.cr-nums strong { font-size: 20px; color: var(--ez-dark); }
.cr-nums .avail strong { color: var(--ez-green); }
.cr-bar { height: 6px; border-radius: 6px; background: #E6E8EE; overflow: hidden; margin: 6px 0 4px; }
.cr-bar span { display: block; height: 100%; background: var(--ez-primary); border-radius: 6px; }
.cr-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--ez-muted); margin-bottom: 12px; }
.cr-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cr-btns .btn { padding: 8px 10px; font-size: 13.5px; }
.txn-wrap { overflow-x: auto; border: 1px solid var(--ez-border); border-radius: 12px; }
.txn-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.txn-table th { background: #FFF5EB; color: var(--ez-dark); font-weight: 600; text-align: left; padding: 12px 14px; font-size: 13.5px; white-space: nowrap; }
.txn-table td { padding: 12px 14px; border-top: 1px solid var(--ez-border); vertical-align: middle; }
.txn-table td small { display: block; color: var(--ez-muted); font-size: 12px; word-break: break-all; }
.txn-table .amt { font-weight: 600; color: var(--ez-dark); white-space: nowrap; }
.txn-empty { padding: 28px; text-align: center; color: var(--ez-muted); }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--ez-primary); border-radius: 8px; overflow: hidden; }
.qty-stepper button { width: 36px; height: 38px; border: 0; background: #fff; color: var(--ez-primary); font-size: 18px; }
.qty-stepper button:hover { background: var(--ez-primary-soft); }
.qty-stepper input { width: 52px; height: 38px; border: 0; text-align: center; font-weight: 600; color: var(--ez-dark); outline: none; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.set-section + .set-section { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--ez-border); }
.set-section h3 { font-size: 16.5px; margin-bottom: 16px; font-weight: 600; }
.input-readonly { background: var(--ez-gray) !important; color: var(--ez-muted); }
.pw-meter { height: 5px; border-radius: 5px; background: #E6E8EE; margin-top: 8px; overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; border-radius: 5px; transition: width .25s ease, background .25s ease; }
.pw-hint { font-size: 12.5px; color: var(--ez-muted); margin-top: 4px; }
.ez-modal-form .modal-footer { border-top: 0; padding: 0 24px 24px; gap: 10px; }
.ez-modal-form .modal-footer .btn { flex: 1; }
.wish-img.no-photo { display: flex; align-items: center; justify-content: center; background: var(--ez-primary-soft); }
.wish-img.no-photo > img { width: auto; max-width: 55%; height: 62%; object-fit: contain; }

/* ---------- Dashboard service tabs ---------- */
.credit-remain { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ez-dark); }
.credit-remain b { font-size: 15px; }
.credit-remain button { width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--ez-orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; padding: 0; }
.credit-remain button:hover { background: #d9630a; }
.svc-hero { text-align: center; background: linear-gradient(135deg, #FFF4E8 0%, #FFFBF7 100%); border: 1px solid #FBE0C3; border-radius: 16px; padding: 34px 22px; display: flex; flex-direction: column; align-items: center; }
.svc-icon { width: 54px; height: 54px; border-radius: 50%; background: #FFE5CC; color: var(--ez-orange); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 14px; }
.svc-hero h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.svc-hero p { color: var(--ez-muted); max-width: 460px; margin: 0 auto 16px; font-size: 14.5px; }
.svc-warn { display: flex; gap: 10px; text-align: left; background: #FFF8E1; border: 1px solid #F6D77A; color: #8A5A00; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; max-width: 460px; font-size: 13.5px; }
.svc-warn i { margin-top: 2px; }
.svc-warn strong { display: block; }
.prev-box { margin-top: 26px; }
.svc-note { font-size: 12.5px; color: var(--ez-muted); display: flex; gap: 8px; margin: 14px 0 0; }
.svc-note i { margin-top: 2px; }
.res-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.res-card { border: 1px solid var(--ez-border); border-radius: 14px; padding: 14px 16px; }
.res-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.res-top > div { min-width: 0; }
.res-top strong { display: block; color: var(--ez-dark); }
.res-top small { color: var(--ez-muted); font-size: 12.5px; }
.res-score { font-size: 26px; font-weight: 600; color: var(--ez-primary); white-space: nowrap; line-height: 1; }
.res-score small { font-size: 13px; color: var(--ez-muted); }
.chance { font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 30px; white-space: nowrap; }
.chance-high { background: #E3F6EA; color: #15803D; }
.chance-medium { background: #FFF1E3; color: #C2570C; }
.chance-low { background: #FDE8EA; color: #BE1228; }
.rec-sets { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.rec-set { border: 1px solid var(--ez-border); border-radius: 14px; overflow: hidden; }
.rec-head { background: var(--ez-gray); padding: 12px 16px; display: flex; flex-direction: column; }
.rec-head small { color: var(--ez-muted); font-size: 12.5px; }
.rec-list { display: grid; grid-template-columns: minmax(0, 1fr); }
.rec-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--ez-border); }
.rec-item:first-child { border-top: 0; }
.rec-item .ma-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.rec-item .ma-info a { color: var(--ez-dark); }
.rec-item .ma-info a:hover { color: var(--ez-primary); }
.rec-item .ma-info small { color: var(--ez-muted); font-size: 12.5px; }
.match { background: #E3F6EA; color: #15803D; font-weight: 600; font-size: 12.5px; padding: 4px 10px; border-radius: 30px; white-space: nowrap; }
.opt-cards { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 6px; }
.opt-card { width: 170px; min-height: 96px; border: 1.5px solid var(--ez-border); background: #fff; border-radius: 12px; padding: 14px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; font-size: 13px; font-weight: 500; color: var(--ez-dark); transition: all .2s ease; }
.opt-card i { font-size: 22px; color: var(--ez-dark); }
.opt-card:hover { border-color: #9DB9EA; }
.opt-card.active { border-color: var(--ez-primary); background: #F5F9FF; box-shadow: 0 0 0 3px rgba(1, 73, 187, .1); }
.opt-card.active i { color: var(--ez-primary); }
.back-btn { width: 34px; height: 34px; border: 0; background: var(--ez-gray); border-radius: 50%; color: var(--ez-dark); display: inline-flex; align-items: center; justify-content: center; }
.back-btn:hover { background: var(--ez-primary-soft); color: var(--ez-primary); }
.dp-head:has(.back-btn) { justify-content: flex-start; }
.age-tools { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 12px; margin-bottom: 12px; }
.age-search, .age-city { position: relative; }
.age-search > i, .age-city > i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ez-muted); pointer-events: none; z-index: 1; }
.age-search .form-control, .age-city .form-select { padding-left: 38px; }
.age-count { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; color: var(--ez-muted); }
.age-table th { background: #FFF5EB; }
.age-table td label { cursor: pointer; }
.age-table input[type="radio"] { width: 18px; height: 18px; accent-color: var(--ez-primary); }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pager button { min-width: 36px; height: 34px; padding: 0 12px; border: 1px solid var(--ez-border); background: #fff; border-radius: 6px; font-size: 13px; color: var(--ez-dark); }
.pager button.active { background: var(--ez-dark); border-color: var(--ez-dark); color: #fff; }
.pager button:disabled { opacity: .45; cursor: not-allowed; }
.age-result { margin-top: 22px; padding: 18px; border-radius: 14px; border: 1px solid #BFE5CC; background: #F6FCF8; }
.age-result.is-no { border-color: #F3C3C8; background: #FFF8F8; }
.age-result .sub-title { margin-bottom: 10px; }
.ask-form .req-note { color: var(--ez-red); font-size: 12px; font-weight: 500; margin-left: 6px; }
.tag-row { display: flex; gap: 10px; }
.tag-row .form-control { flex: 1; min-width: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag-list:empty { display: none; }
.tag-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--ez-primary-soft); color: var(--ez-primary); border-radius: 30px; padding: 4px 6px 4px 12px; font-size: 13px; font-weight: 500; }
.tag-chip button { border: 0; background: none; color: inherit; display: inline-flex; padding: 0 2px; font-size: 16px; }
.pop-topics { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; font-size: 12.5px; color: var(--ez-muted); }
.pop-topics button { border: 1px solid var(--ez-border); background: var(--ez-gray); border-radius: 30px; padding: 3px 11px; font-size: 12px; color: var(--ez-dark); }
.pop-topics button:hover { border-color: var(--ez-primary); color: var(--ez-primary); }
.field:has(#tagError.field-error) .field-error:empty { display: none; }
.top-q { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--ez-border); }
.q-card { border: 1px solid var(--ez-border); border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.q-card h4 { font-size: 16px; font-weight: 600; margin: 0 0 8px; word-break: break-word; }
.q-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 12.5px; color: var(--ez-muted); }
.q-meta span:not(.q-av) { position: relative; }
.q-meta span:not(.q-av):not(:nth-child(2))::before { content: ''; position: absolute; left: -9px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: #B8BDC9; transform: translateY(-50%); }
.q-av { width: 22px; height: 22px; border-radius: 50%; background: var(--ez-orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; }
.q-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.q-tags span { background: var(--ez-gray); border-radius: 6px; padding: 2px 9px; font-size: 12px; color: var(--ez-dark); }
.q-answers { background: var(--ez-gray); border-radius: 10px; padding: 10px 14px; margin-top: 12px; }
.q-answers p { margin: 0 0 8px; font-size: 14px; color: var(--ez-dark); word-break: break-word; }
.q-answers p:last-child { margin: 0; }
.q-answers small { display: block; color: var(--ez-muted); font-size: 12px; }
.q-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.q-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.q-ans-count { color: var(--ez-red); }
.like-btn { background: none; border: 0; color: var(--ez-muted); font-size: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 0; }
.like-btn.is-on, .like-btn:hover { color: var(--ez-red); }
.q-answer-form { margin-top: 12px; }
.chk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
legend.form-label { font-size: inherit; float: none; width: auto; margin-bottom: .5rem; }
.dash-nav a { line-height: 1.3; }


/* ==========================================================================
   School Partner Dashboard (school-dashboard.html)
   Builds on the parent dashboard shell: .dash-top / .dash-grid / .dash-panel
   ========================================================================== */
.sd-top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sd-top-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sd-top-meta .btn { display: inline-flex; align-items: center; gap: 6px; }

.sd-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sd-stats .sc-label small { display: block; font-size: 11.5px; }
.sc-trend { font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.sc-trend.is-up { color: var(--ez-green); }
.sc-trend.is-down { color: var(--ez-red); }

.sd-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.sd-two .panel-card { margin: 0; }
.sd-pct { font-size: 13.5px; font-weight: 600; color: var(--ez-primary); background: var(--ez-primary-soft); padding: 3px 10px; border-radius: 20px; }
.sd-missing { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.sd-missing li { font-size: 13.5px; color: var(--ez-muted); display: flex; align-items: center; gap: 8px; }
.sd-missing i { font-size: 7px; color: var(--ez-orange); }
.sd-allgood { margin: 14px 0 0; font-size: 13.5px; color: var(--ez-green); display: flex; align-items: center; gap: 7px; }
.txn-row-list { list-style: none; margin: 0; padding: 0; }
.sd-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--ez-primary-soft); color: var(--ez-primary); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; text-transform: uppercase; }
.sd-lead { font-size: 14px; color: var(--ez-muted); margin: -6px 0 16px; }
.sd-mt { margin-top: 30px; }
.sd-muted { color: var(--ez-muted); font-size: 13.5px; }
.sd-warn { color: #8A5A00; }

/* save bars */
.sd-save-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ez-border); }
.panel-card .sd-save-bar { margin-bottom: 0; }
.sd-save-bar .btn { display: inline-flex; align-items: center; gap: 6px; }

/* logo / cover upload */
.sd-media-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; }
.sd-media-label { display: block; font-size: 14px; font-weight: 500; color: var(--ez-dark); margin-bottom: 8px; }
.sd-logo-box, .sd-cover-box { border: 1.5px dashed #B9C5DD; border-radius: 14px; background: #FBFCFE; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #9DABC6; font-size: 30px; }
.sd-logo-box { width: 140px; height: 140px; border-radius: 50%; }
.sd-logo-box img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.sd-cover-box { aspect-ratio: 16 / 6; }
.sd-cover-box img { width: 100%; height: 100%; object-fit: cover; }
.sd-media-btns { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.sd-media-btns .btn { display: inline-flex; align-items: center; gap: 6px; margin: 0; cursor: pointer; }
.sd-media-hint { display: block; font-size: 12.5px; color: var(--ez-muted); margin-top: 8px; }
.btn-link-danger { background: none; border: 0; padding: 0; color: var(--ez-red); font-size: 13.5px; font-weight: 500; }
.btn-link-danger:hover { text-decoration: underline; }

/* file drop + attached file */
.sd-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1.5px dashed #B9C5DD; border-radius: 14px; background: #FBFCFE; padding: 22px 14px; cursor: pointer; text-align: center; color: var(--ez-muted); font-size: 13.5px; transition: border-color .2s ease, background .2s ease; }
.sd-drop:hover { border-color: var(--ez-primary); background: #F2F7FF; }
.sd-drop i { font-size: 26px; color: var(--ez-primary); }
.sd-drop.is-static { cursor: default; padding: 14px; }
.sd-file { display: flex; align-items: center; gap: 12px; border: 1px solid #BFE5CC; background: #F6FCF8; border-radius: 12px; padding: 12px 14px; }
.sd-file > i { font-size: 24px; color: #15803D; }
.sd-file div { flex: 1; min-width: 0; }
.sd-file strong { display: block; font-size: 14px; color: var(--ez-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-file small { color: var(--ez-muted); font-size: 12.5px; }

/* map */
.sd-map { margin-top: 18px; aspect-ratio: 16 / 6; }
.sd-map-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--ez-muted); font-size: 14px; text-align: center; padding: 20px; }
.sd-map-empty i { font-size: 30px; color: #9DABC6; }

/* editable tables */
.sd-table th small { display: block; font-weight: 400; color: var(--ez-muted); font-size: 11.5px; }
.sd-table tbody th { font-weight: 600; color: var(--ez-dark); white-space: nowrap; }
.sd-table tfoot th, .sd-table tfoot td { padding: 12px 14px; border-top: 2px solid var(--ez-border); background: #FAFBFD; font-weight: 600; color: var(--ez-dark); }
.sd-table .ta-right, th.ta-right { text-align: right; }
.sd-table .form-control-sm, .sd-table .form-select-sm { min-width: 76px; padding: 6px 10px; font-size: 13.5px; }
.sd-table select.form-select-sm { min-width: 128px; }
.row-acts { display: inline-flex; gap: 6px; justify-content: flex-end; }
.icon-act { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--ez-border); background: #fff; color: var(--ez-text); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; transition: all .18s ease; }
.icon-act:hover:not(:disabled) { border-color: var(--ez-primary); color: var(--ez-primary); }
.icon-act.is-danger:hover:not(:disabled) { border-color: var(--ez-red); color: var(--ez-red); background: #FFF5F6; }
.icon-act:disabled { opacity: .4; cursor: not-allowed; }
.sd-ym { display: flex; align-items: center; gap: 6px; }
.sd-ym .form-control { width: 62px; text-align: center; }
.sd-ym span { font-size: 12.5px; color: var(--ez-muted); }
.sd-total { display: flex; justify-content: space-between; align-items: center; background: var(--ez-gray); border-radius: 10px; padding: 12px 16px; font-size: 14.5px; }
.sd-total strong { font-size: 18px; color: var(--ez-primary); }
.sd-cellname { display: inline-flex; align-items: center; gap: 10px; }
.sd-leads td small { font-weight: 400; }

/* infrastructure blocks */
.sd-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sd-block { display: flex; align-items: flex-start; gap: 14px; border: 1px solid var(--ez-border); border-radius: 14px; padding: 16px; min-width: 0; }
.sd-block-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--ez-primary-soft); color: var(--ez-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.sd-block-body { flex: 1; min-width: 0; }
.sd-block-body h4 { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.sd-block-body p { font-size: 13.5px; color: var(--ez-muted); margin: 0; }

/* photo gallery */
.sd-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sd-photo { position: relative; margin: 0; border: 1px solid var(--ez-border); border-radius: 14px; overflow: hidden; background: #fff; }
.sd-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.sd-photo-cover { position: absolute; top: 8px; left: 8px; background: var(--ez-primary); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; }
.sd-photo figcaption { padding: 8px; }
.sd-photo figcaption .form-control { font-size: 12.5px; padding: 6px 9px; }
.sd-photo-acts { display: flex; gap: 6px; justify-content: center; padding: 0 8px 10px; }
.sd-photo-acts .icon-act { width: 32px; height: 32px; font-size: 13px; }

/* custom form builder */
.sd-fields { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sd-field-row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--ez-border); border-radius: 12px; padding: 12px 14px; }
.sd-grip { color: #B8BFCC; font-size: 18px; }
.sd-field-info { flex: 1; min-width: 0; }
.sd-field-info strong { display: block; font-size: 14.5px; color: var(--ez-dark); }
.sd-field-info small { font-size: 12.5px; color: var(--ez-muted); }
.sd-preview { margin-top: 20px; padding: 18px; border: 1px dashed var(--ez-border); border-radius: 14px; background: #FBFCFE; }
.sd-preview h4 { font-size: 14px; font-weight: 600; color: var(--ez-muted); margin: 0 0 14px; text-transform: uppercase; letter-spacing: .4px; }
.sd-preview .form-control:disabled, .sd-preview .form-select:disabled { background: #fff; }
.sd-docs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sd-docs .doc-card { gap: 8px; }

.sd-opt { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ez-text); cursor: pointer; margin: 0; }
.sd-opt .form-check-input { float: none; margin: 0; flex-shrink: 0; width: 16px; height: 16px; border-color: #9AA3B2; cursor: pointer; }
.sd-preview .sd-opt, .sd-preview .sd-opt .form-check-input { cursor: default; }


/* ==========================================================================
   FAQs / Terms / Privacy (faqs.html, terms-and-conditions.html, privacy-policy.html)
   ========================================================================== */
.legal-top { padding-bottom: 34px; }
.legal-head { max-width: 760px; }
.legal-head h1 { font-size: 38px; font-weight: 700; letter-spacing: -.6px; margin: 14px 0 10px; }
.legal-head > p { font-size: 16px; color: var(--ez-text); margin: 0; }
.legal-updated { font-size: 14px; color: var(--ez-muted); margin-top: 14px !important; display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--ez-border); border-radius: 30px; padding: 6px 14px; }

/* ---- FAQ ---- */
.faq-search { position: relative; max-width: 620px; margin-top: 24px; }
.faq-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ez-muted); font-size: 15px; }
.faq-search input { width: 100%; height: 52px; border: 1px solid var(--ez-border); background: #fff; border-radius: 12px; padding: 0 18px 0 46px; font-size: 15px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-search input:focus { border-color: var(--ez-primary); box-shadow: 0 0 0 3px rgba(1, 73, 187, .1); }
.faq-section { padding-top: 40px; }
.faq-cats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.faq-cat { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ez-border); background: #fff; border-radius: 30px; padding: 10px 18px; font-size: 14.5px; font-weight: 500; color: var(--ez-text); transition: all .2s ease; }
.faq-cat i { font-size: 16px; color: var(--ez-primary); }
.faq-cat b { font-weight: 600; font-size: 12px; color: var(--ez-muted); background: var(--ez-gray); border-radius: 20px; padding: 1px 8px; }
.faq-cat:hover { border-color: var(--ez-primary); color: var(--ez-primary); }
.faq-cat.active { background: var(--ez-primary); border-color: var(--ez-primary); color: #fff; }
.faq-cat.active i, .faq-cat.active b { color: #fff; }
.faq-cat.active b { background: rgba(255, 255, 255, .22); }
.faq-count { font-size: 14px; color: var(--ez-muted); margin: -12px 0 18px; }
.faq-group + .faq-group { margin-top: 28px; }
.faq-group-title { font-size: 20px; font-weight: 600; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.faq-group-title i { color: var(--ez-primary); font-size: 20px; }
.faq-item { border: 1px solid var(--ez-border) !important; border-radius: 14px !important; background: #fff; margin-bottom: 10px; overflow: hidden; }
.faq-item[hidden] { display: none; }
.faq-item .accordion-button { font-size: 16px; font-weight: 500; color: var(--ez-dark); padding: 18px 20px; background: #fff; box-shadow: none; }
.faq-item .accordion-button:not(.collapsed) { color: var(--ez-primary); background: var(--ez-primary-soft); }
.faq-item .accordion-button:focus { box-shadow: 0 0 0 3px rgba(1, 73, 187, .12); z-index: 2; }
.faq-item .accordion-button::after { width: 18px; height: 18px; background-size: 18px; }
.faq-item .accordion-body { padding: 4px 20px 20px; font-size: 15px; color: var(--ez-text); }
.faq-item .accordion-body p { margin-bottom: 10px; }
.faq-item .accordion-body p:last-child { margin-bottom: 0; }
.faq-body .empty-state { margin-top: 10px; }
.faq-section .help-banner { margin-top: 36px; }

/* ---- Terms / Privacy ---- */
.legal-section { padding-top: 40px; }
.legal-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--ez-header-h) + 16px); background: #fff; border: 1px solid var(--ez-border); border-radius: 16px; padding: 18px; max-height: calc(100vh - var(--ez-header-h) - 40px); overflow-y: auto; }
.legal-toc h2 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--ez-muted); margin: 0 0 12px; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.legal-toc a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 14px; color: var(--ez-text); line-height: 1.35; }
.legal-toc a::before { counter-increment: toc; content: counter(toc) ". "; color: var(--ez-muted); }
.legal-toc a:hover { background: var(--ez-gray); color: var(--ez-dark); }
.legal-toc a.active { background: var(--ez-primary-soft); color: var(--ez-primary); font-weight: 500; }
.legal-toc a.active::before { color: var(--ez-primary); }
.legal-body { background: #fff; border: 1px solid var(--ez-border); border-radius: 18px; padding: 34px 40px; }
.legal-sec { scroll-margin-top: calc(var(--ez-header-h) + 20px); }
.legal-sec + .legal-sec { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--ez-border); }
.legal-sec h2 { font-size: 21px; font-weight: 600; margin: 0 0 14px; }
.legal-sec h3 { font-size: 16px; font-weight: 600; margin: 20px 0 8px; }
.legal-sec p { font-size: 15.5px; line-height: 1.65; margin-bottom: 12px; }
.legal-sec p:last-child { margin-bottom: 0; }
.legal-sec ul { padding-left: 20px; margin-bottom: 12px; }
.legal-sec li { font-size: 15.5px; line-height: 1.6; margin-bottom: 8px; }
.legal-sec strong { color: var(--ez-dark); }
.legal-contact { list-style: none; padding: 0; }
.legal-contact li { display: flex; align-items: center; gap: 10px; }
.legal-contact i { color: var(--ez-primary); font-size: 17px; }
.legal-fill { background: #FFF4D6; border-bottom: 1.5px dashed #D9A400; color: #7A5300; padding: 0 5px; border-radius: 3px; font-weight: 500; white-space: nowrap; }
.legal-foot { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--ez-border); font-size: 15px; color: var(--ez-muted); }

/* Mobile Dashboard Hamburger & Offcanvas Drawer */
.offcanvas .dash-nav {
  display: flex !important;
  flex-direction: column !important;
  overflow-x: visible !important;
  gap: 4px !important;
}
.offcanvas .dash-nav li {
  width: 100% !important;
  flex-shrink: 0 !important;
}
.offcanvas .dash-nav-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  padding: 11px 14px !important;
  border-radius: 8px !important;
  font-size: 14.5px !important;
  transition: all 0.2s ease !important;
}
.offcanvas .dash-nav-btn:hover {
  background-color: var(--ez-gray, #f3f4f6) !important;
}

