/* HỌC VIỆN GIÁO DỤC THỂ THAO SSPORT - Custom Styles & Dynamic Multi-Sport Themes (NỀN TRẮNG SÁNG / LIGHT THEME) */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Montserrat:wght@500;600;700;800;900&display=swap');

/* ==================== MULTI-SPORT BRAND PALETTES ==================== */
/* 1. ALL (DEFAULT): SSPORT RED - BLACK - WHITE */
:root,
body,
body[data-sport-theme="ALL"] {
    --theme-primary: #dc2626;
    --theme-primary-hover: #b91c1c;
    --theme-primary-light: rgba(220, 38, 38, 0.08);
    --theme-primary-border: rgba(220, 38, 38, 0.35);
    --theme-gradient: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --theme-banner-gradient: linear-gradient(135deg, #0a0a0a 0%, #171717 100%);
    --theme-badge-bg: rgba(220, 38, 38, 0.1);
    --theme-badge-text: #dc2626;
    --theme-glow: 0 8px 25px rgba(220, 38, 38, 0.25);
    --theme-accent-ring: rgba(220, 38, 38, 0.35);
}

/* 2. BÓNG RỔ: SẮC CAM NĂNG ĐỘNG (#ea580c) */
body[data-sport-theme="BASKETBALL_DB"],
body[data-sport-theme="BASKETBALL_LC"],
body[data-sport-theme="BASKETBALL"] {
    --theme-primary: #ea580c;
    --theme-primary-hover: #c2410c;
    --theme-primary-light: rgba(234, 88, 12, 0.08);
    --theme-primary-border: rgba(234, 88, 12, 0.35);
    --theme-gradient: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    --theme-banner-gradient: linear-gradient(135deg, #180d05 0%, #291206 100%);
    --theme-badge-bg: rgba(234, 88, 12, 0.1);
    --theme-badge-text: #ea580c;
    --theme-glow: 0 8px 25px rgba(234, 88, 12, 0.25);
    --theme-accent-ring: rgba(234, 88, 12, 0.35);
}

/* 3. NHẢY DDA DANCE: SẮC ĐỎ CUỐN HÚT (#dc2626) */
body[data-sport-theme="DANCE_DDA"],
body[data-sport-theme="DANCE"] {
    --theme-primary: #dc2626;
    --theme-primary-hover: #b91c1c;
    --theme-primary-light: rgba(220, 38, 38, 0.08);
    --theme-primary-border: rgba(220, 38, 38, 0.35);
    --theme-gradient: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --theme-banner-gradient: linear-gradient(135deg, #170707 0%, #260a0a 100%);
    --theme-badge-bg: rgba(220, 38, 38, 0.1);
    --theme-badge-text: #dc2626;
    --theme-glow: 0 8px 25px rgba(220, 38, 38, 0.25);
    --theme-accent-ring: rgba(220, 38, 38, 0.35);
}

/* 4. SSPA PICKLEBALL: SẮC XANH DƯƠNG THỜI THƯỢNG (#0284c7) */
body[data-sport-theme="PICKLEBALL_SSPA"],
body[data-sport-theme="PICKLEBALL"] {
    --theme-primary: #0284c7;
    --theme-primary-hover: #0369a1;
    --theme-primary-light: rgba(2, 132, 199, 0.08);
    --theme-primary-border: rgba(2, 132, 199, 0.35);
    --theme-gradient: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    --theme-banner-gradient: linear-gradient(135deg, #04121d 0%, #092032 100%);
    --theme-badge-bg: rgba(2, 132, 199, 0.1);
    --theme-badge-text: #0284c7;
    --theme-glow: 0 8px 25px rgba(2, 132, 199, 0.25);
    --theme-accent-ring: rgba(2, 132, 199, 0.35);
}

/* ==================== GLOBAL BASE & TYPOGRAPHY ==================== */
body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f8fafc !important;
    color: #1e293b !important;
    transition: background-color 0.3s ease;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
    color: #0f172a;
}

/* ==================== LIGHT / WHITE THEME SURFACE OVERRIDES ==================== */

/* Base Backgrounds */
.bg-slate-950 {
    background-color: #f8fafc !important;
}

.bg-slate-900,
.bg-slate-900\/95,
.bg-slate-900\/90,
.bg-slate-900\/80,
.bg-slate-900\/70,
.bg-slate-900\/60,
.bg-slate-900\/50,
.bg-slate-900\/40,
.bg-slate-900\/30 {
    background-color: #ffffff !important;
}

.bg-slate-800,
.bg-slate-800\/90,
.bg-slate-800\/80,
.bg-slate-800\/70,
.bg-slate-800\/60,
.bg-slate-800\/50,
.bg-slate-800\/40,
.bg-slate-800\/30,
.bg-slate-850 {
    background-color: #f1f5f9 !important;
}

/* Borders in Light Theme */
.border-slate-800,
.border-slate-800\/90,
.border-slate-800\/80,
.border-slate-800\/70,
.border-slate-800\/60,
.border-slate-800\/50,
.border-slate-800\/40,
.border-slate-700,
.border-slate-700\/90,
.border-slate-700\/80,
.border-slate-700\/70,
.border-slate-700\/60,
.border-slate-700\/50,
.border-slate-600 {
    border-color: #e2e8f0 !important;
}

/* Modern Soft Box Shadows */
.shadow-2xl, .shadow-xl {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03) !important;
}
.shadow-lg {
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -2px rgba(0, 0, 0, 0.03) !important;
}

/* Typography Overrides on White/Light Cards */
.text-white:not(button):not(button *):not(a.bg-blue-600):not(a.bg-blue-600 *):not(a.bg-emerald-600):not(a.bg-emerald-600 *):not(.theme-btn-primary):not(.theme-btn-primary *):not(.theme-hero-banner):not(.theme-hero-banner *):not(.warrior-hero):not(.warrior-hero *):not(.sport-pill-btn.active):not(.sport-pill-btn.active *):not(.bg-gradient-to-r):not(.bg-gradient-to-r *):not(.bg-gradient-to-br):not(.bg-gradient-to-br *):not([class*="bg-emerald-"]):not([class*="bg-blue-"]):not([class*="bg-orange-"]):not([class*="bg-red-"]):not([class*="bg-indigo-"]):not([class*="bg-amber-"]) {
    color: #0f172a !important;
}

.text-slate-100,
.text-slate-200 {
    color: #1e293b !important;
}

.text-slate-300 {
    color: #334155 !important;
}

.text-slate-400 {
    color: #64748b !important;
}

.text-slate-500 {
    color: #64748b !important;
}

/* Inputs, Selects, and Textareas */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

input::placeholder,
textarea::placeholder {
    color: #94a3b8 !important;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--theme-primary) !important;
    box-shadow: 0 0 0 3px var(--theme-primary-light) !important;
    outline: none !important;
}

/* Tables in Light Theme */
table {
    border-color: #e2e8f0 !important;
}

th {
    background-color: #f8fafc !important;
    color: #475569 !important;
    border-color: #e2e8f0 !important;
    font-weight: 700 !important;
}

td {
    color: #1e293b !important;
    border-color: #f1f5f9 !important;
}

tr {
    border-color: #e2e8f0 !important;
}

tr:hover {
    background-color: #f8fafc !important;
}

/* Sidebar Navigation Items */
.nav-item {
    color: #475569 !important;
    transition: all 0.2s ease;
}

.nav-item:hover {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

.nav-item.active {
    background: var(--theme-primary-light) !important;
    border-left: 4px solid var(--theme-primary) !important;
    color: var(--theme-primary) !important;
    font-weight: 800 !important;
}

.nav-item.active i {
    color: var(--theme-primary) !important;
}

/* ==================== DYNAMIC THEME UTILITY CLASSES ==================== */
.theme-btn-primary {
    background: var(--theme-gradient) !important;
    color: #ffffff !important;
    box-shadow: var(--theme-glow);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.theme-btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.theme-text {
    color: var(--theme-primary) !important;
    transition: color 0.25s ease;
}

.theme-border {
    border-color: var(--theme-primary-border) !important;
    transition: border-color 0.25s ease;
}

.theme-bg-light {
    background-color: var(--theme-primary-light) !important;
    transition: background-color 0.25s ease;
}

.theme-badge {
    background: var(--theme-badge-bg) !important;
    color: var(--theme-badge-text) !important;
    border: 1px solid var(--theme-primary-border) !important;
    transition: all 0.25s ease;
}

.theme-hero-banner {
    background: var(--theme-banner-gradient) !important;
    border-color: var(--theme-primary-border) !important;
    box-shadow: var(--theme-glow);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sport Theme Switcher Pills (Virus Dance Studio Style) */
.sport-pill-btn {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    user-select: none;
}
.sport-pill-btn:not(.active) {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
}
.sport-pill-btn:not(.active):hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}
.sport-pill-btn.active {
    background: var(--theme-gradient) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
    border-color: transparent !important;
    font-weight: 800;
}
.sport-pill-btn.active * {
    color: #ffffff !important;
}

/* Class Sport Filter Pills (In view-classes) */
.class-sport-pill {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    user-select: none;
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
}
.class-sport-pill:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}
.class-sport-pill.active {
    background: var(--theme-gradient) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    font-weight: 800;
}
.class-sport-pill.active * {
    color: #ffffff !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Scrollbar in Light Theme */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Toast Animations */
.toast-enter {
    animation: slideInRight 0.3s ease-out forwards;
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

/* Private Eye Mode for Financial Security */
.privacy-mode-active .privacy-amount {
    filter: blur(7px);
    user-select: none;
    transition: filter 0.2s ease-in-out;
}
.privacy-mode-active .privacy-amount:hover {
    filter: blur(2px);
}

/* Topbar Dropdown Animation */
.dropdown-menu-enter {
    animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Dropdown Menus in Light Theme */
#sync-dropdown-menu,
#search-results-dropdown {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
}

/* Modals Backdrop */
div[id$="-modal"]:not(.hidden),
div[id^="modal-"]:not(.hidden) {
    background-color: rgba(15, 23, 42, 0.45) !important;
}

/* ==================== PREMIUM MOTION & MICRO-ANIMATIONS ==================== */

/* Ambient Glowing Background Orbs */
.ambient-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-glow-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(90px);
    opacity: 0.14;
    pointer-events: none;
    animation: floatOrb 20s ease-in-out infinite alternate;
}

.orb-1 {
    width: 450px;
    height: 450px;
    top: -100px;
    right: -50px;
    background: var(--theme-primary);
    animation-duration: 22s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: 20%;
    background: #0284c7;
    animation-duration: 28s;
    animation-delay: -6s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 40px) scale(1.08); }
    100% { transform: translate(25px, -20px) scale(0.95); }
}

/* Card Interactive Hover Lift */
.card-interactive,
.hover-lift {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease !important;
}

.card-interactive:hover,
.hover-lift:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 28px -4px rgba(0, 0, 0, 0.08), 0 6px 12px -2px rgba(0, 0, 0, 0.04) !important;
    border-color: var(--theme-primary-border) !important;
}

/* Subtle Athletic Bounce */
.sport-bounce-icon {
    display: inline-block;
    animation: subtleBounce 2.5s ease-in-out infinite;
}

@keyframes subtleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Pulse Glow Effect */
.pulse-glow {
    animation: pulseGlowEffect 2.8s ease-in-out infinite;
}

@keyframes pulseGlowEffect {
    0%, 100% { box-shadow: 0 0 12px rgba(234, 88, 12, 0.15); }
    50% { box-shadow: 0 0 24px rgba(234, 88, 12, 0.35); }
}

/* Stagger Slide In */
.tab-content-enter {
    animation: tabSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes tabSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shimmer Highlight Effect on Buttons/Badges */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}
.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(30deg);
    animation: shimmerSlide 4.5s infinite;
}
@keyframes shimmerSlide {
    0% { left: -60%; }
    20% { left: 140%; }
    100% { left: 140%; }
}

/* Locked Navigation Items (For Parent Preview Mode) */
.nav-item.nav-locked {
    opacity: 0.55 !important;
    background-color: transparent !important;
    cursor: not-allowed !important;
    position: relative;
}
.nav-item.nav-locked:hover {
    background-color: rgba(239, 68, 68, 0.06) !important;
    color: #ef4444 !important;
}
.nav-item.nav-locked i {
    color: #94a3b8 !important;
}

/* Number Counter Animation Highlight */
.counter-pop {
    animation: counterPopAnim 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes counterPopAnim {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}

/* ==================== WARRIOR MARTIAL ARTS & ATHLETIC TEMPLATE (PINTEREST STYLE) ==================== */

/* Hero Banner in Deep Obsidian Black with Clean Athletic Sports Glow */
.warrior-hero {
    background: radial-gradient(circle at 85% 35%, rgba(220, 38, 38, 0.22) 0%, rgba(15, 23, 42, 0) 65%),
                radial-gradient(circle at 12% 80%, rgba(220, 38, 38, 0.15) 0%, rgba(15, 23, 42, 0) 55%),
                linear-gradient(135deg, #090d16 0%, #0d1322 45%, #111827 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.6) !important;
    transition: all 0.4s ease;
}

/* Dynamic Sport Backgrounds & Accents for Warrior Hero */
body[data-sport-theme="BASKETBALL_DB"] .warrior-hero,
body[data-sport-theme="BASKETBALL_LC"] .warrior-hero,
body[data-sport-theme="BASKETBALL"] .warrior-hero {
    background: radial-gradient(circle at 85% 35%, rgba(234, 88, 12, 0.30) 0%, rgba(15, 23, 42, 0) 65%),
                radial-gradient(circle at 12% 80%, rgba(234, 88, 12, 0.20) 0%, rgba(15, 23, 42, 0) 55%),
                linear-gradient(135deg, #090d16 0%, #170d06 45%, #1e1107 100%) !important;
    border-color: rgba(234, 88, 12, 0.35) !important;
}

body[data-sport-theme="PICKLEBALL_SSPA"] .warrior-hero,
body[data-sport-theme="PICKLEBALL"] .warrior-hero {
    background: radial-gradient(circle at 85% 35%, rgba(2, 132, 199, 0.30) 0%, rgba(15, 23, 42, 0) 65%),
                radial-gradient(circle at 12% 80%, rgba(2, 132, 199, 0.20) 0%, rgba(15, 23, 42, 0) 55%),
                linear-gradient(135deg, #090d16 0%, #06121d 45%, #0a1b2b 100%) !important;
    border-color: rgba(2, 132, 199, 0.35) !important;
}

body[data-sport-theme="DANCE_DDA"] .warrior-hero,
body[data-sport-theme="DANCE"] .warrior-hero {
    background: radial-gradient(circle at 85% 35%, rgba(220, 38, 38, 0.30) 0%, rgba(15, 23, 42, 0) 65%),
                radial-gradient(circle at 12% 80%, rgba(220, 38, 38, 0.20) 0%, rgba(15, 23, 42, 0) 55%),
                linear-gradient(135deg, #090d16 0%, #180606 45%, #220808 100%) !important;
    border-color: rgba(220, 38, 38, 0.35) !important;
}

/* Force All Hero Texts & Headings to Brilliant White & Theme Accent */
.warrior-hero h1,
.warrior-hero h2,
.warrior-hero h2 *,
.warrior-hero h3,
.warrior-hero p:not(.hero-logo-card *),
.warrior-hero span:not(.hero-logo-card *):not(.text-emerald-400):not(.text-amber-400),
.warrior-hero a:not(.hero-logo-card *),
.warrior-hero a:not(.hero-logo-card *) *,
.warrior-hero button:not(.hero-logo-card *),
.warrior-hero button:not(.hero-logo-card *) * {
    color: #ffffff !important;
}

.warrior-hero .hero-manifesto-white {
    color: #ffffff !important;
}

.warrior-hero .hero-accent-red,
.warrior-hero .theme-text {
    color: var(--theme-primary, #dc2626) !important;
}

body[data-sport-theme="BASKETBALL_DB"] .hero-accent-red,
body[data-sport-theme="BASKETBALL_LC"] .hero-accent-red,
body[data-sport-theme="BASKETBALL"] .hero-accent-red {
    color: #ea580c !important;
}

body[data-sport-theme="PICKLEBALL_SSPA"] .hero-accent-red,
body[data-sport-theme="PICKLEBALL"] .hero-accent-red {
    color: #0284c7 !important;
}

body[data-sport-theme="DANCE_DDA"] .hero-accent-red,
body[data-sport-theme="DANCE"] .hero-accent-red,
body[data-sport-theme="ALL"] .hero-accent-red {
    color: #ef4444 !important;
}

.warrior-hero #dash-hero-tag {
    color: #ffffff !important;
    font-weight: 800 !important;
}

.warrior-hero #dash-welcome-sub {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Right Column: Academy Master Logo Card (Clean White Surface with Slate Typography) */
.warrior-hero .hero-logo-card {
    background-color: #ffffff !important;
}
.warrior-hero .hero-logo-card h4,
.warrior-hero #dash-hero-logo-name {
    color: #0f172a !important;
}
.warrior-hero .hero-logo-card p,
.warrior-hero #dash-hero-logo-sub {
    color: #dc2626 !important;
}

/* 4-Pillars White Feature Strip */
.warrior-feature-strip {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05) !important;
}

.warrior-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-primary, #dc2626);
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.warrior-feature-item:hover .warrior-icon-circle {
    background: var(--theme-primary, #dc2626);
    color: #ffffff;
    transform: scale(1.08);
}

/* Choose Your Style (2-Part Card) */
.warrior-style-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 1.5rem !important;
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
}
.warrior-style-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    border-color: var(--theme-primary-border) !important;
}

.warrior-card-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background: var(--theme-primary, #dc2626);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border: 3px solid #ffffff;
    z-index: 10;
}

/* Big Stat Number (Why Choose Us) */
.warrior-stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--theme-primary, #dc2626);
    line-height: 1;
}

/* Tuition Package Cards Responsive Rule */
.tuition-card {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ==================== CHẾ ĐỘ CÔNG KHAI (PUBLIC MODE MẶC ĐỊNH) ==================== */
body.public-mode #sidebar {
    display: none !important;
}
body.public-mode .internal-staff-only {
    display: none !important;
}
body.public-mode #admin-topbar-controls {
    display: none !important;
}
body.public-mode #public-topbar-nav {
    display: flex !important;
}
body.public-mode #dash-internal-analytics {
    display: none !important;
}
body.public-mode #parent-preview-banner {
    display: none !important;
}
body.public-mode #dash-absence-alerts-container-dash {
    display: none !important;
}
body.public-mode main {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* ==================== BÀN LÀM VIỆC QUẢN TRỊ (ADMIN WORKSPACE) ==================== */
body:not(.public-mode) #public-topbar-nav {
    display: none !important;
}
body:not(.public-mode) #sidebar {
    display: flex !important;
}
body:not(.public-mode) #admin-topbar-controls {
    display: flex !important;
}

/* Strict Parent Mode Hiding of Internal Sections */
body.parent-mode-active .internal-staff-only {
    display: none !important;
}

