/*
 * dashboard-v2.css — Colorful Gradient Dashboard Redesign
 * Per-role color identity system + premium UI components
 * Load AFTER modern.css
 */

/* ============================================================
   ROLE COLOR TOKENS
   ============================================================ */
:root {
    /* Admin: Primary Blue (warna utama aplikasi) */
    --role-admin-from:   #364b9a;
    --role-admin-via:    #435ebe;
    --role-admin-to:     #7c93e0;
    --role-admin-soft:   #EEF1FB;

    /* Guru: Emerald-Teal */
    --role-guru-from:   #059669;
    --role-guru-via:    #10B981;
    --role-guru-to:     #34D399;
    --role-guru-soft:   #D1FAE5;

    /* Orang Tua: Warm Orange */
    --role-ortu-from:   #EA580C;
    --role-ortu-via:    #F97316;
    --role-ortu-to:     #FB923C;
    --role-ortu-soft:   #FFF7ED;

    /* Kepala Sekolah: Deep Blue-Cyan */
    --role-ks-from:     #0369A1;
    --role-ks-via:      #0EA5E9;
    --role-ks-to:       #38BDF8;
    --role-ks-soft:     #E0F2FE;

    /* Pegawai: Slate-Violet */
    --role-pgw-from:    #475569;
    --role-pgw-via:     #7C3AED;
    --role-pgw-to:      #A78BFA;
    --role-pgw-soft:    #EDE9FE;

    /* Kesiswaan: Rose-Crimson */
    --role-ks2-from:    #BE123C;
    --role-ks2-via:     #E11D48;
    --role-ks2-to:      #FB7185;
    --role-ks2-soft:    #FFF1F2;

    /* Siswa: Sky-Indigo */
    --role-siswa-from:  #4F46E5;
    --role-siswa-via:   #6366F1;
    --role-siswa-to:    #818CF8;
    --role-siswa-soft:  #EEF2FF;
}

/* ============================================================
   HERO BANNER V2 — Full-width gradient header per role
   ============================================================ */
.dash-hero-v2 {
    position: relative;
    overflow: hidden;
    border-radius: 24px !important;
    padding: 32px !important;
    margin-bottom: 24px !important;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: nowrap;
    min-height: 180px;
}
.dash-hero-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.08) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    pointer-events: none;
}
.dash-hero-v2::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    right: -100px;
    top: -120px;
    pointer-events: none;
}

/* Role gradients */
.dash-hero-v2--admin { background: linear-gradient(135deg, #364b9a 0%, #435ebe 55%, #7c93e0 100%); }
.dash-hero-v2--guru  { background: linear-gradient(135deg, #059669 0%, #10B981 55%, #34D399 100%); }
.dash-hero-v2--ortu  { background: linear-gradient(135deg, #EA580C 0%, #F97316 55%, #FB923C 100%); }
.dash-hero-v2--ks    { background: linear-gradient(135deg, #0369A1 0%, #0EA5E9 55%, #38BDF8 100%); }
.dash-hero-v2--pgw   { background: linear-gradient(135deg, #475569 0%, #7C3AED 55%, #A78BFA 100%); }
.dash-hero-v2--ks2   { background: linear-gradient(135deg, #BE123C 0%, #E11D48 55%, #FB7185 100%); }
.dash-hero-v2--siswa { background: linear-gradient(135deg, #4F46E5 0%, #6366F1 55%, #818CF8 100%); }

.dash-hero-v2__body {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.dash-hero-v2__eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dash-hero-v2__title {
    font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.dash-hero-v2__subtitle {
    font-size: 13px;
    color: rgba(255,255,255,.8);
    max-width: 48ch;
    line-height: 1.65;
    margin: 0;
}
.dash-hero-v2__deco {
    position: relative;
    flex-shrink: 0;
}
.dash-hero-v2__deco-date {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 16px 22px;
    text-align: center;
    min-width: 100px;
}
.dash-hero-v2__deco-date .day {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}
.dash-hero-v2__deco-date .month {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.72);
    text-transform: uppercase;
    letter-spacing: .7px;
}

/* ============================================================
   GRADIENT STAT CARDS
   ============================================================ */
.stat-card {
    border-radius: 20px !important;
    padding: 20px 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    height: 100%;
    transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
    border: none !important;
    text-decoration: none !important;
    color: inherit !important;
}
.stat-card::after {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    right: -22px;
    bottom: -36px;
    pointer-events: none;
}
.stat-card::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    left: -20px;
    top: -20px;
    pointer-events: none;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,.2) !important;
}
.stat-card__icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    flex-shrink: 0;
    position: relative;
}
.stat-card__body { flex: 1; min-width: 0; position: relative; }
.stat-card__value {
    font-size: 2.1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.stat-card__label {
    font-size: 12px;
    color: rgba(255,255,255,.82);
    font-weight: 600;
    margin-top: 5px;
}

/* Color variants */
.stat-card--admin   { background: linear-gradient(135deg, #364b9a, #435ebe); box-shadow: 0 8px 24px rgba(67,94,190,.38) !important; }
.stat-card--green   { background: linear-gradient(135deg, #059669, #34D399); box-shadow: 0 8px 24px rgba(5,150,105,.38) !important; }
.stat-card--orange  { background: linear-gradient(135deg, #EA580C, #FB923C); box-shadow: 0 8px 24px rgba(234,88,12,.38) !important; }
.stat-card--blue    { background: linear-gradient(135deg, #0369A1, #38BDF8); box-shadow: 0 8px 24px rgba(3,105,161,.38) !important; }
.stat-card--slate   { background: linear-gradient(135deg, #475569, #94A3B8); box-shadow: 0 8px 24px rgba(71,85,105,.35) !important; }
.stat-card--rose    { background: linear-gradient(135deg, #BE123C, #FB7185); box-shadow: 0 8px 24px rgba(190,18,60,.38) !important; }
.stat-card--indigo  { background: linear-gradient(135deg, #4F46E5, #818CF8); box-shadow: 0 8px 24px rgba(79,70,229,.38) !important; }
.stat-card--amber   { background: linear-gradient(135deg, #B45309, #FCD34D); box-shadow: 0 8px 24px rgba(180,83,9,.38) !important; }
.stat-card--warn    { background: linear-gradient(135deg, #DC2626, #F87171); box-shadow: 0 8px 24px rgba(220,38,38,.38) !important; }
.stat-card--neutral { background: linear-gradient(135deg, #475569, #94A3B8); box-shadow: 0 8px 24px rgba(71,85,105,.25) !important; }
.stat-card--pgw     { background: linear-gradient(135deg, #475569, #7C3AED); box-shadow: 0 8px 24px rgba(71,85,105,.35) !important; }
.stat-card--ks2     { background: linear-gradient(135deg, #BE123C, #E11D48); box-shadow: 0 8px 24px rgba(190,18,60,.38) !important; }
.stat-card--guru    { background: linear-gradient(135deg, #059669, #10B981); box-shadow: 0 8px 24px rgba(5,150,105,.38) !important; }
.stat-card--teal    { background: linear-gradient(135deg, #0891B2, #67E8F9); box-shadow: 0 8px 24px rgba(8,145,178,.35) !important; }
.stat-card--purple  { background: linear-gradient(135deg, #6D28D9, #A78BFA); box-shadow: 0 8px 24px rgba(109,40,217,.35) !important; }

/* ============================================================
   SECTION LABELS V2
   ============================================================ */
.section-label-v2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 14px;
}
.section-label-v2:first-child { margin-top: 0; }
.section-label-v2__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.section-label-v2__text {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--gray-800);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.section-label-v2__line {
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.section-label-v2--admin .section-label-v2__icon { background: #EEF1FB; color: #435ebe; }
.section-label-v2--guru  .section-label-v2__icon { background: #D1FAE5; color: #059669; }
.section-label-v2--ortu  .section-label-v2__icon { background: #FFF7ED; color: #EA580C; }
.section-label-v2--ks    .section-label-v2__icon { background: #E0F2FE; color: #0369A1; }
.section-label-v2--pgw   .section-label-v2__icon { background: #EDE9FE; color: #7C3AED; }
.section-label-v2--ks2   .section-label-v2__icon { background: #FFF1F2; color: #BE123C; }
.section-label-v2--siswa .section-label-v2__icon { background: #EEF2FF; color: #4F46E5; }

/* ============================================================
   QUICK ACCESS V2
   ============================================================ */
.quick-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 12px;
}
.quick-item-v2 {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(15,23,42,.06);
    border: 1px solid #F1F5F9;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    text-decoration: none !important;
    color: #334155 !important;
    transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s cubic-bezier(.4,0,.2,1), border-color .2s;
}
.quick-item-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(15,23,42,.14) !important;
    border-color: transparent;
}
.quick-item-v2__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: transform .2s cubic-bezier(.4,0,.2,1);
}
.quick-item-v2:hover .quick-item-v2__icon { transform: scale(1.12) rotate(-4deg); }
.quick-item-v2__label {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    color: #334155;
}

/* Icon color variants */
.qi--admin  { background: linear-gradient(135deg, #364b9a, #7c93e0); color: #fff; }
.qi--guru   { background: linear-gradient(135deg, #059669, #34D399); color: #fff; }
.qi--ortu   { background: linear-gradient(135deg, #EA580C, #FB923C); color: #fff; }
.qi--ks     { background: linear-gradient(135deg, #0369A1, #38BDF8); color: #fff; }
.qi--pgw    { background: linear-gradient(135deg, #475569, #A78BFA); color: #fff; }
.qi--ks2    { background: linear-gradient(135deg, #BE123C, #FB7185); color: #fff; }
.qi--siswa  { background: linear-gradient(135deg, #4F46E5, #818CF8); color: #fff; }
.qi--red    { background: linear-gradient(135deg, #DC2626, #F87171); color: #fff; }
.qi--green  { background: linear-gradient(135deg, #059669, #34D399); color: #fff; }
.qi--blue   { background: linear-gradient(135deg, #0369A1, #38BDF8); color: #fff; }
.qi--amber  { background: linear-gradient(135deg, #B45309, #FCD34D); color: #fff; }
.qi--purple { background: linear-gradient(135deg, #6D28D9, #A78BFA); color: #fff; }
.qi--teal   { background: linear-gradient(135deg, #0891B2, #67E8F9); color: #fff; }
.qi--slate  { background: linear-gradient(135deg, #475569, #94A3B8); color: #fff; }
.qi--rose   { background: linear-gradient(135deg, #BE123C, #FB7185); color: #fff; }

/* ============================================================
   GLASS CARDS (premium content cards)
   ============================================================ */
.glass-card {
    background: #fff;
    border: 1px solid #F1F5F9 !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 24px rgba(15,23,42,.07) !important;
    transition: box-shadow .2s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}
.glass-card:hover { box-shadow: 0 8px 32px rgba(15,23,42,.12) !important; }
.glass-card .card-header {
    background: transparent !important;
    border-bottom: 1px solid #F1F5F9 !important;
    padding: 18px 22px !important;
}
.glass-card .card-body { padding: 20px 22px !important; }
.glass-card .card-header h5,
.glass-card .card-header h6 {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
}

/* ============================================================
   PROFILE MINI (for Guru sidebar)
   ============================================================ */
.profile-mini {
    border-radius: 20px !important;
    padding: 20px 22px !important;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}
.profile-mini--guru   { background: linear-gradient(135deg, #059669, #34D399); }
.profile-mini--pgw    { background: linear-gradient(135deg, #475569, #7C3AED); }
.profile-mini__header { display: flex; align-items: center; gap: 14px; position: relative; }
.profile-mini__avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.35);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
    background: rgba(255,255,255,.2);
}
.profile-mini__avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-mini__info { flex: 1; min-width: 0; }
.profile-mini__name { font-size: 14px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-mini__sub  { font-size: 11px; color: rgba(255,255,255,.72); margin-top: 2px; }
.profile-stat-grid  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; position: relative; }
.profile-stat-box {
    text-align: center;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.25);
}
.profile-stat-box__val { font-size: 1.2rem; font-weight: 800; color: #fff; line-height: 1; }
.profile-stat-box__lbl { font-size: 9px; color: rgba(255,255,255,.7); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin-top: 2px; }

/* ============================================================
   STUDENT CARD V2 (Orang Tua)
   ============================================================ */
.student-card-v2 {
    border-radius: 24px !important;
    overflow: hidden;
    border: none !important;
    box-shadow: 0 4px 24px rgba(15,23,42,.08) !important;
    transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s cubic-bezier(.4,0,.2,1);
    margin-bottom: 20px;
}
.student-card-v2:hover {
    box-shadow: 0 12px 40px rgba(15,23,42,.16) !important;
    transform: translateY(-4px);
}
.student-card-v2__header {
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.student-card-v2__avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.4);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.6rem;
    color: #fff;
    flex-shrink: 0;
    background: rgba(255,255,255,.2);
}
.student-card-v2__avatar img { width: 100%; height: 100%; object-fit: cover; }
.student-card-v2__info { flex: 1; min-width: 0; }
.student-card-v2__name { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.student-card-v2__meta {
    font-size: 12px;
    color: rgba(255,255,255,.8);
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.student-card-v2__meta span { display: flex; align-items: center; gap: 5px; }
.student-card-v2__body { background: #fff; padding: 20px 24px; }
.student-card-v2__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.student-card-v2__stat {
    text-align: center;
    padding: 14px 10px;
    border-radius: 14px;
    border: 1px solid #F1F5F9;
    background: #F8FAFC;
    transition: background .15s;
}
.student-card-v2__stat:hover { background: #F1F5F9; }
.student-card-v2__stat-val { font-size: 1.6rem; font-weight: 800; color: #0F172A; line-height: 1; }
.student-card-v2__stat-lbl { font-size: 10px; font-weight: 700; color: #94A3B8; text-transform: uppercase; letter-spacing: .5px; margin-top: 5px; }
.student-card-v2__footer {
    background: #F8FAFC;
    padding: 14px 24px;
    border-top: 1px solid #F1F5F9;
    display: flex;
    gap: 8px;
}

/* ============================================================
   FEEDBACK CARD
   ============================================================ */
.feedback-card {
    background: #F8FAFC;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 10px;
    border-left: 4px solid var(--brand);
    transition: background .15s, box-shadow .15s;
}
.feedback-card:hover { background: #fff; box-shadow: 0 2px 12px rgba(15,23,42,.08); }
.feedback-card__header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.feedback-card__avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    color: #fff;
    flex-shrink: 0;
    background: var(--brand);
}
.feedback-card__name { font-size: 13px; font-weight: 700; color: #1E293B; }
.feedback-card__date { font-size: 10px; color: #94A3B8; margin-left: auto; white-space: nowrap; }
.feedback-card__text { font-size: 12px; color: #64748B; line-height: 1.6; font-style: italic; }

/* ============================================================
   BTN GRADIENT
   ============================================================ */
.btn-grad {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: opacity .2s, transform .2s;
    text-decoration: none;
}
.btn-grad:hover { opacity: .88; transform: translateY(-1px); color: #fff; }
.btn-grad:active { transform: scale(.98); }
.btn-grad--sm { padding: 6px 14px; font-size: 12px; border-radius: 8px; }
.btn-grad--full { width: 100%; }
.btn-grad--admin  { background: linear-gradient(135deg, #364b9a, #7c93e0); box-shadow: 0 4px 12px rgba(67,94,190,.35); }
.btn-grad--guru   { background: linear-gradient(135deg, #059669, #34D399); box-shadow: 0 4px 12px rgba(5,150,105,.35); }
.btn-grad--ortu   { background: linear-gradient(135deg, #EA580C, #FB923C); box-shadow: 0 4px 12px rgba(234,88,12,.35); }
.btn-grad--ks     { background: linear-gradient(135deg, #0369A1, #38BDF8); box-shadow: 0 4px 12px rgba(3,105,161,.35); }
.btn-grad--pgw    { background: linear-gradient(135deg, #475569, #A78BFA); box-shadow: 0 4px 12px rgba(71,85,105,.35); }
.btn-grad--ks2    { background: linear-gradient(135deg, #BE123C, #FB7185); box-shadow: 0 4px 12px rgba(190,18,60,.35); }
.btn-grad--siswa  { background: linear-gradient(135deg, #4F46E5, #818CF8); box-shadow: 0 4px 12px rgba(79,70,229,.35); }

/* ============================================================
   ENTER ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scalePop {
    from { opacity: 0; transform: scale(.9); }
    to   { opacity: 1; transform: scale(1); }
}
.anim-fade-up   { animation: fadeInUp .5s cubic-bezier(.4,0,.2,1) both; }
.anim-fade-up-1 { animation-delay: .06s; }
.anim-fade-up-2 { animation-delay: .12s; }
.anim-fade-up-3 { animation-delay: .18s; }
.anim-fade-up-4 { animation-delay: .24s; }
.anim-fade-up-5 { animation-delay: .30s; }
.anim-fade-up-6 { animation-delay: .36s; }
.anim-scale     { animation: scalePop .4s cubic-bezier(.4,0,.2,1) both; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .dash-hero-v2 { flex-wrap: wrap; }
    .dash-hero-v2__deco { display: none; }
}
@media (max-width: 767.98px) {
    .dash-hero-v2 { padding: 22px !important; min-height: auto; }
    .dash-hero-v2__title { font-size: 1.5rem; }
    .stat-card { padding: 16px 18px; }
    .stat-card__value { font-size: 1.7rem; }
    .stat-card__icon  { width: 44px; height: 44px; min-width: 44px; }
    .student-card-v2__stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575.98px) {
    .dash-hero-v2 { padding: 18px !important; }
    .dash-hero-v2__title { font-size: 1.35rem; }
    .dash-hero-v2__subtitle { font-size: 12px; }
    .quick-grid-v2 { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .quick-item-v2 { padding: 10px 6px; gap: 6px; }
    .quick-item-v2__icon { width: 38px; height: 38px; font-size: .88rem; border-radius: 10px; }
    .quick-item-v2__label { font-size: 9.5px; }
    .student-card-v2__stat-val { font-size: 1.3rem; }
}

/* ============================================================
   NAV PILLS V2 — Segmented control style
   ============================================================ */
.nav-pills-v2 {
    display: inline-flex;
    background: #F1F5F9;
    border-radius: 10px;
    padding: 4px;
    gap: 2px;
}
.nav-pills-v2 .nav-link {
    border-radius: 7px !important;
    padding: 6px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #64748B !important;
    background: transparent !important;
    border: none !important;
    transition: all .15s ease !important;
    cursor: pointer;
    white-space: nowrap;
}
.nav-pills-v2 .nav-link.active {
    background: #fff !important;
    color: #0F172A !important;
    box-shadow: 0 1px 4px rgba(15,23,42,.1) !important;
}
.nav-pills-v2 .nav-link:hover:not(.active) {
    background: rgba(255,255,255,.6) !important;
    color: #334155 !important;
}

/* qi--indigo missing alias */
.qi--indigo { background: linear-gradient(135deg, #4F46E5, #818CF8); color: #fff; }

/* ============================================================
   FEATURED STAT BANNER — full-width headline metric, breaks the
   uniform grid rhythm without cramping the cards next to it
   ============================================================ */
.stat-card--banner {
    padding: 22px 32px;
    align-items: center;
    gap: 24px;
}
.stat-card--banner .stat-card__icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 16px;
    font-size: 1.4rem;
}
.stat-card--banner .stat-card__body {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}
.stat-card--banner .stat-card__value { font-size: 2.4rem; }
.stat-card--banner .stat-card__label { font-size: 14px; margin-top: 0; }
@media (max-width: 767.98px) {
    .stat-card--banner { padding: 18px 20px; }
    .stat-card--banner .stat-card__body { flex-direction: column; align-items: flex-start; gap: 2px; }
    .stat-card--banner .stat-card__value { font-size: 2rem; }
    .stat-card--banner .stat-card__icon { width: 50px; height: 50px; min-width: 50px; }
}

/* ============================================================
   SCHOOL DECORATION CARD — fills leftover column space with
   subtle school branding instead of an empty gap. Pair with a
   dash-hero-v2--{role} class for the gradient background.
   ============================================================ */
.school-deco-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    color: #fff;
    margin-bottom: 24px;
}
.school-deco-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.1) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    pointer-events: none;
}
.school-deco-card::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    right: -60px;
    bottom: -80px;
    pointer-events: none;
}
.school-deco-card__logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 14px;
    position: relative;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.18));
}
.school-deco-card__title {
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 6px;
    position: relative;
}
.school-deco-card__quote {
    font-size: 12px;
    color: rgba(255,255,255,.82);
    font-style: italic;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 26ch;
    position: relative;
}
