:root {
    --primary: #E63946;
    --primary-dark: #D62839;
    --secondary: #457B9D;
    --secondary-dark: #1D3557;
    --heading: #1D3557;
    --body: #457B9D;
    --surface: #F8FAFC;
    --accent: #F4A261;
    --emerald: #2A9D8F;
    --plum: #6C5B7B;
    --gold: #f4d03f;
    --light: #F8FAFC;
    --dark: #1D3557;
    --gray: #64748B;
    --muted: #94A3B8;
    --border: #E2E8F0;
    --shadow: 0 4px 20px rgba(29, 53, 87, 0.08);
    --shadow-lg: 0 20px 40px -10px rgba(29, 53, 87, 0.12);
    --radius: 16px;
}

.hidden { display: none !important; }

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--surface);
    color: #334155;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100000;
    padding: 10px 16px;
    border-radius: 10px;
    background: #0f172a;
    color: #fff;
    font-weight: 800;
    transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); color: #fff; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid #f59e0b !important;
    outline-offset: 3px;
}

button:disabled,
[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
    color: var(--heading);
    letter-spacing: -0.02em;
    font-weight: 800;
}

a { color: var(--primary); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* BRAC Parity Top Accent Line */
.accent-line { height: 4px; background: linear-gradient(90deg, #E63946, #F4A261, #2A9D8F, #1D3557, #6C5B7B); }

/* Header Navbar */
.site-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo {
    font-family: 'Nunito', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--heading);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.logo span { color: var(--primary); }

.main-nav { display: flex; gap: 28px; align-items: center; }

.main-nav a {
    color: var(--heading);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s;
}

.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-actions { display: flex; gap: 12px; align-items: center; }

/* Buttons Parity */
.btn-sm {
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.25s ease;
}

.btn-sm-primary {
    background: var(--primary);
    color: #fff;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.3);
}
.btn-sm-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-sm-outline {
    background: transparent;
    color: var(--heading);
    border: 1.5px solid var(--border);
    display: inline-block;
}
.btn-sm-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(230, 57, 70, 0.04); }

.mobile-toggle { display: none; background: none; border: none; color: var(--heading); font-size: 1.6rem; cursor: pointer; }

.user-menu { display: none; align-items: center; gap: 10px; color: var(--heading); cursor: pointer; font-weight: 700; font-size: 0.9rem; }
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

/* Sections & Typography */
.section { padding: 80px 0; }
.section-alt { background: #ffffff; }
.section-title { font-size: 2.25rem; font-weight: 900; text-align: center; margin-bottom: 10px; color: var(--heading); }
.section-sub { text-align: center; color: var(--gray); margin-bottom: 48px; font-size: 1.05rem; }
.section-sub-sm { color: var(--gray); font-size: 0.9rem; margin-bottom: 20px; }

.page-title { font-size: 2.75rem; font-weight: 900; margin: 48px 0 10px; color: var(--heading); text-align: center; }
.page-sub { text-align: center; color: var(--gray); margin-bottom: 48px; font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Cards & Hover Effects */
.card-hover {
    background: #ffffff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Events Section Parity */
.events-filter { display: flex; gap: 10px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }
.filter-btn {
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--heading);
    transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 4px 14px rgba(230, 57, 70, 0.25); }

.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.event-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s ease;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.event-type {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.type-online { background: #E6F4EA; color: #137333; }
.type-offline { background: #FCE8E6; color: #C5221F; }
.type-hybrid { background: #FEF7E0; color: #B06000; }

.event-card h3 { margin: 16px 0 10px; font-size: 1.25rem; color: var(--heading); }
.event-card p { color: var(--gray); font-size: 0.9rem; margin-bottom: 6px; }
.event-program { display: inline-block; padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; margin: 12px 0 16px; }

.btn-join {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
}
.btn-join:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-join.joined { background: var(--secondary-dark); cursor: default; box-shadow: none; }

/* Members Grid & Profile Cards */
.search-box { display: flex; gap: 12px; max-width: 540px; margin: 0 auto 40px; }
.search-box input {
    flex: 1;
    padding: 14px 22px;
    border: 1.5px solid var(--border);
    border-radius: 30px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    background: #ffffff;
}
.search-box input:focus { border-color: var(--primary); }
.search-box button {
    padding: 14px 28px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.25);
}

.members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.member-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.member-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.member-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--heading), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 14px;
    box-shadow: 0 4px 12px rgba(29, 53, 87, 0.15);
}

.member-card h4 { font-size: 1.1rem; margin-bottom: 4px; color: var(--heading); }
.member-province { color: var(--gray); font-size: 0.85rem; display: block; margin-bottom: 8px; font-weight: 500; }
.dash-tier, .member-tier { font-size: 0.75rem; padding: 4px 12px; border-radius: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; display: inline-block; margin-bottom: 10px; }
.tier-dasar { background: #E3F2FD; color: #1565C0; }
.tier-aktif { background: #E8F5E9; color: #2E7D32; }
.tier-eksekutif { background: #FFF3E0; color: #EF6C00; }
.tier-dewan_mentor_emeritus { background: linear-gradient(135deg, #78350F, #B45309); color: #FEF3C7; border: 1.5px solid #F59E0B; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); }
.tier-dewan_mentor_senior { background: #FEF3C7; color: #92400E; border: 1px solid #D97706; }
.tier-dewan_mentor { background: #D1FAE5; color: #065F46; border: 1px solid #10B981; }
.tier-dewan_pengurus_eksekutif {
    background: linear-gradient(135deg, #7F1D1D 0%, #991B1B 50%, #450A0A 100%);
    color: #FDE68A;
    border: 1.5px solid #F59E0B;
    box-shadow: 0 4px 16px rgba(185, 28, 28, 0.45), inset 0 1px 0 rgba(254, 243, 199, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
    padding: 5px 16px;
    letter-spacing: 0.08em;
    position: relative;
    overflow: hidden;
}
.tier-dewan_pengurus_eksekutif::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 30%, rgba(254, 243, 199, 0.3) 50%, transparent 70%);
    transform: rotate(30deg);
    animation: shimmerBadge 3.5s infinite;
}
@keyframes shimmerBadge {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}
.tier-dewan_pengurus_nasional { background: #EDE9FE; color: #5B21B6; border: 1px solid #8B5CF6; }
.tier-pengurus_regional { background: #DBEAFE; color: #1E40AF; border: 1px solid #3B82F6; }
.tier-member_senior { background: #CFFAFE; color: #155E75; border: 1px solid #06B6D4; }
.tier-member { background: #F1F5F9; color: #334155; border: 1px solid #cbd5e1; }
.tier-member_pass { background: #F8FAFC; color: #64748B; border: 1px solid #e2e8f0; }

.member-badges { display: flex; gap: 6px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }
.badge { font-size: 0.7rem; padding: 3px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; color: var(--gray); font-weight: 600; }
.badge-lg { font-size: 0.75rem; padding: 5px 14px; border-radius: 16px; font-weight: 700; }
.member-points { font-size: 0.9rem; color: var(--primary); font-weight: 800; display: block; }

.btn-loadmore {
    display: block;
    margin: 40px auto 0;
    padding: 14px 36px;
    background: var(--heading);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.25s ease;
}
.btn-loadmore:hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3); }

/* Auth Layout */
.auth-container { min-height: calc(100vh - 76px); display: flex; align-items: center; justify-content: center; padding: 60px 24px; background: var(--surface); }
.auth-box { background: #fff; padding: 48px; border-radius: 24px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); width: 100%; max-width: 480px; }
.auth-box h1 { font-size: 1.8rem; margin-bottom: 8px; color: var(--heading); }
.auth-sub { color: var(--gray); margin-bottom: 28px; font-size: 0.95rem; }
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--heading); }
.form-group input, .form-group select {
    padding: 14px 18px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); }
.btn-full { width: 100%; }
.auth-alt { text-align: center; margin-top: 24px; font-size: 0.9rem; color: var(--gray); }

/* Dashboard Layout Parity & Table Overflow Containment */
.dashboard { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: calc(100vh - 76px); max-width: 1200px; margin: 0 auto; width: 100%; }
.dash-sidebar { background: #fff; border-right: 1px solid var(--border); padding: 32px 24px; min-width: 0; }
.dash-main { padding: 40px; background: var(--surface); min-width: 0; width: 100%; overflow-x: auto; }
.dash-profile { text-align: center; padding-bottom: 28px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.dash-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--heading), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(29, 53, 87, 0.2);
}
.dash-profile h2 { font-size: 1.25rem; margin-bottom: 4px; color: var(--heading); }
.dash-id { font-size: 0.8rem; color: var(--gray); display: block; margin-bottom: 10px; font-weight: 600; }

.dash-nav { display: flex; flex-direction: column; gap: 12px; }
.dash-nav-group { display: flex; flex-direction: column; gap: 4px; }
.dash-nav-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    padding: 10px 12px 4px;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}
.dash-nav-group-header:hover { color: var(--heading); }
.dash-nav-group-header .toggle-icon {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}
.dash-nav-group.collapsed .dash-nav-group-header .toggle-icon {
    transform: rotate(-90deg);
}
.dash-nav-group.collapsed .dash-nav-group-items {
    display: none;
}
.dash-nav-group-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.dash-nav a {
    padding: 10px 16px;
    border-radius: 10px;
    color: var(--heading);
    font-size: 0.88rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.dash-nav a:hover { background: var(--surface); color: var(--primary); }
.dash-nav a.active { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(230, 57, 70, 0.3); }
.dash-nav a .dash-nav-badge {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    background: rgba(29, 53, 87, 0.08);
    color: var(--heading);
    transition: all 0.2s ease;
}
.dash-nav a:hover .dash-nav-badge {
    background: rgba(230, 57, 70, 0.12);
    color: var(--primary);
}
.dash-nav a.active .dash-nav-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Inactive Tab & Action Buttons - High contrast white cards instead of dull grey */
.exec-tab-btn, .cms-site-btn, .cms-type-btn, .filter-btn {
    cursor: pointer !important;
}

/* Primary active tabs & buttons — STRATA Red Accent (#e11d48) */
.exec-tab-btn.bg-slate-900,
.exec-tab-btn[class*="bg-slate-900"],
.cms-site-btn.bg-rose-600,
.cms-type-btn.bg-white,
.filter-btn.active,
.dash-nav a.active {
    background-color: #e11d48 !important;
    color: #ffffff !important;
    border: 1px solid #e11d48 !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4) !important;
    font-weight: 900 !important;
}

/* Inactive tabs & secondary buttons - Crisp WHITE cards with dark text */
.exec-tab-btn:not(.bg-slate-900):not(.bg-rose-600),
.cms-site-btn.bg-slate-100:not(.cursor-not-allowed),
.cms-type-btn:not(.bg-white):not(.bg-rose-600),
.filter-btn:not(.active) {
    background-color: #ffffff !important;
    color: #1e293b !important;
    border: 1.5px solid #cbd5e1 !important;
    font-weight: 800 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* Hover state for inactive buttons */
.exec-tab-btn:not(.bg-slate-900):not(.bg-rose-600):hover,
.cms-site-btn.bg-slate-100:not(.cursor-not-allowed):hover,
.cms-type-btn:not(.bg-white):not(.bg-rose-600):hover,
.filter-btn:not(.active):hover {
    background-color: rgba(225, 29, 72, 0.05) !important;
    color: #e11d48 !important;
    border-color: #e11d48 !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.15) !important;
}

.btn-sm-outline {
    background: #ffffff !important;
    color: var(--heading) !important;
    border: 1.5px solid #cbd5e1 !important;
    font-weight: 800 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}
.btn-sm-outline:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    background: rgba(230, 57, 70, 0.06) !important;
}

.dash-main { padding: 40px; background: var(--surface); }
.dash-section { background: #fff; padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 28px; box-shadow: var(--shadow); }
.dash-section h3 { font-size: 1.35rem; margin-bottom: 20px; color: var(--heading); }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat-card { background: var(--surface); padding: 24px; border-radius: 16px; border: 1px solid var(--border); text-align: center; }
.stat-num { display: block; font-size: 2.2rem; font-weight: 900; color: var(--primary); }
.stat-label { font-size: 0.75rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; }

/* Mentors Grid */
.mentors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 20px; }
.mentor-card { background: #fff; border: 1px solid var(--border); padding: 24px; border-radius: 16px; text-align: center; box-shadow: var(--shadow); }
.mentor-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--heading); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 12px; }
.mentor-card h4 { font-size: 1rem; margin-bottom: 4px; }
.mentor-role { font-size: 0.75rem; color: var(--primary); font-weight: 700; display: block; margin-bottom: 6px; }
.mentor-exp { font-size: 0.8rem; color: var(--gray); display: block; margin-bottom: 14px; }

/* Responsive */
@media (max-width: 768px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .header-inner { height: 68px; }
    .logo { font-size: 1.25rem; gap: 8px; }
    .logo-badge { width: 36px; height: 36px; }
    .main-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }
    .main-nav.open {
        display: flex;
    }
    .mobile-toggle { display: block; }
    .dashboard { grid-template-columns: 1fr; }
    .dash-sidebar { border-right: none; border-bottom: 1px solid var(--border); padding: 20px 16px; }
    .dash-main { padding: 16px 12px; }

    /* Touch-friendly horizontal scrollable executive admin navigation tabs for mobile */
    .exec-tab-btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
    }
    div:has(> .exec-tab-btn) {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =============================================================
   ADDITIONS: Sidebar nav section headers
   ============================================================= */
.dash-nav-section {
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    padding: 16px 18px 6px;
    margin-top: 8px;
}
.dash-nav-section:first-child { margin-top: 0; }

/* =============================================================
   ADDITIONS: Dark container text override
   Fixes global h1–h6 { color: var(--heading) } turning text blue
   inside dark gradient panels (VOD, hero banners, etc.)
   ============================================================= */

/* Explicit white text rule ONLY for elements inside dark-background elements */
[style*="linear-gradient"] h1, [style*="linear-gradient"] h2, [style*="linear-gradient"] h3, [style*="linear-gradient"] h4,
.bg-gradient-to-r h1, .bg-gradient-to-r h2, .bg-gradient-to-r h3, .bg-gradient-to-r h4,
.bg-gradient-to-br h1, .bg-gradient-to-br h2, .bg-gradient-to-br h3, .bg-gradient-to-br h4,
[class*="from-slate-"] h1, [class*="from-slate-"] h2, [class*="from-slate-"] h3, [class*="from-slate-"] h4,
.vod-dark-panel [style*="color: #ffffff"],
.vod-hero [style*="color: #ffffff"],
.vod-spotlight [style*="color: #ffffff"] { color: #ffffff !important; }

/* Tailwind background gradient fallbacks when CDN is slow */
.bg-gradient-to-r.from-slate-900,
.bg-gradient-to-br.from-slate-950,
.bg-gradient-to-br.from-slate-900 {
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #4c0519 100%) !important;
    color: #ffffff !important;
}

/* Glassmorphism Price Pill on Dark Banners */
.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.12) !important;
}

/* Emerald Utility Button Classes Fallback */
.bg-emerald-600 {
    background-color: #059669 !important;
    color: #ffffff !important;
}
.bg-emerald-600:hover, .hover\:bg-emerald-500:hover {
    background-color: #10b981 !important;
    color: #ffffff !important;
}
.bg-emerald-700, .hover\:bg-emerald-700:hover {
    background-color: #047857 !important;
    color: #ffffff !important;
}

/* Rose Action Button Classes Fallback */
.bg-rose-600 {
    background-color: #e11d48 !important;
    color: #ffffff !important;
}
.bg-rose-600:hover, .hover\:bg-rose-500:hover {
    background-color: #f43f5e !important;
    color: #ffffff !important;
}

/* Indigo Action Button Classes Fallback */
.bg-indigo-600 {
    background-color: #4f46e5 !important;
    color: #ffffff !important;
}
.bg-indigo-600:hover, .hover\:bg-indigo-700:hover {
    background-color: #4338ca !important;
    color: #ffffff !important;
}

/* Amber Action Button Classes Fallback */
.bg-amber-500 {
    background-color: #f59e0b !important;
    color: #ffffff !important;
}
.bg-amber-500:hover, .hover\:bg-amber-600:hover {
    background-color: #d97706 !important;
    color: #ffffff !important;
}

/* Purple Action Button Classes Fallback */
.bg-purple-600 {
    background-color: #9333ea !important;
    color: #ffffff !important;
}
.bg-purple-600:hover, .hover\:bg-purple-500:hover, .hover\:bg-purple-700:hover {
    background-color: #7e22ce !important;
    color: #ffffff !important;
}
.bg-amber-500:hover, .hover\:bg-amber-600:hover {
    background-color: #d97706 !important;
    color: #ffffff !important;
}
.bg-white\/10 * {
    color: #ffffff !important;
}
.bg-white\/10 .text-amber-300 {
    color: #fcd34d !important;
}
.bg-white\/10 .text-emerald-400 {
    color: #34d399 !important;
}

/* =============================================================
   GLOBAL OVERLAYS & MODALS — Always render ABOVE Navbar (z-index 99999)
   ============================================================= */
.fixed, [id*="modal"], [id*="player"], [id*="popup"], .toast {
    z-index: 99999 !important;
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: min(420px, calc(100vw - 32px));
    padding: 14px 18px;
    border-radius: 14px;
    background: #047857;
    color: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
    font-size: 0.875rem;
    font-weight: 750;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: #be123c; }
.toast.info { background: #1d4ed8; }

/* Specific Modal Overlays */
#cms-modal,
#admin-member-modal,
#admin-member-upgrade-modal,
#admin-event-modal,
#admin-mentor-modal,
#admin-event-participants-modal,
#admin-dispatch-invitation-modal,
#member-pass-qris-modal,
#restricted-video-modal,
#video-player-modal,
#mentor-review-modal {
    z-index: 99999 !important;
}

.bg-slate-950\/85, .bg-slate-900\/60 {
    z-index: 99999 !important;
}

.backdrop-blur-md, .backdrop-blur-sm {
    /* Ensure backdrop stays elevated */
}

/* Contain all DPN admin tables within overflow-x blocks to match header width */
.dash-main, .exec-tab-pane, .dash-section {
    min-width: 0;
    max-width: 100%;
}
.exec-tab-pane .bg-white.rounded-2xl.border,
.dash-main .bg-white.rounded-2xl.border {
    overflow-x: auto !important;
    max-width: 100% !important;
}

/* =============================================================
   ADDITIONS: Responsive grid (Member Pass, VOD)
   ============================================================= */
@media (min-width: 768px) {
    .md\:flex-row    { flex-direction: row; }
    .md\:p-12        { padding: 3rem; }
    .md\:p-8         { padding: 2rem; }
    .md\:p-10        { padding: 2.5rem; }
    .md\:text-left   { text-align: left; }
    .md\:text-5xl    { font-size: 3rem; line-height: 1; }
    .md\:text-4xl    { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-3xl    { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-2xl    { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-lg     { font-size: 1.125rem; line-height: 1.75rem; }
    .md\:text-base   { font-size: 1rem; line-height: 1.5rem; }
    .md\:text-sm     { font-size: 0.875rem; line-height: 1.25rem; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:flex-1      { flex: 1 1 0%; }
    .md\:w-auto      { width: auto; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .lg\:col-span-7  { grid-column: span 7 / span 7; }
    .lg\:col-span-5  { grid-column: span 5 / span 5; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:w-96        { width: 24rem; }
    .lg\:w-auto      { width: auto; }
    .lg\:flex-row    { flex-direction: row; }
    .lg\:aspect-square { aspect-ratio: 1 / 1; }
    .lg\:flex-1      { flex: 1 1 0%; }
}
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* =============================================================
   ADDITIONS: Comprehensive Tailwind utility polyfills
   (guarantee rendering when cdn.tailwindcss.com is offline/slow)
   ============================================================= */

/* Space Y */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Aspect ratio */
.aspect-video  { aspect-ratio: 16 / 9; }
.aspect-square { aspect-ratio: 1 / 1; }

/* Line clamp */
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Object fit */
.object-cover   { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Overflow */
.overflow-hidden  { overflow: hidden; }
.overflow-x-auto  { overflow-x: auto; }
.overflow-y-auto  { overflow-y: auto; }
.overflow-visible { overflow: visible; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky   { position: sticky; }
.inset-0  { top: 0; right: 0; bottom: 0; left: 0; }
.top-0    { top: 0; }
.top-3    { top: 0.75rem; }
.top-4    { top: 1rem; }
.top-1\/2 { top: 50%; }
.right-0  { right: 0; }
.right-3  { right: 0.75rem; }
.right-4  { right: 1rem; }
.bottom-0 { bottom: 0; }
.bottom-3 { bottom: 0.75rem; }
.left-0   { left: 0; }
.left-3   { left: 0.75rem; }
.left-4   { left: 1rem; }
.left-1\/2 { left: 50%; }
.-translate-y-1\/2   { transform: translateY(-50%); }
.-translate-x-1\/2   { transform: translateX(-50%); }
.pointer-events-none { pointer-events: none; }
.z-0   { z-index: 0; }
.z-10  { z-index: 10; }
.z-20  { z-index: 20; }
.z-50  { z-index: 50; }
.z-100 { z-index: 100; }

/* Blur / Backdrop */
.blur-sm       { filter: blur(4px); }
.blur          { filter: blur(8px); }
.blur-xl       { filter: blur(24px); }
.blur-2xl      { filter: blur(40px); }
.blur-3xl      { filter: blur(64px); }
.blur-\[1px\]  { filter: blur(1px); }
.blur-\[2px\]  { filter: blur(2px); }
.backdrop-blur-sm         { backdrop-filter: blur(4px); }
.backdrop-blur            { backdrop-filter: blur(8px); }
.backdrop-blur-md         { backdrop-filter: blur(12px); }
.backdrop-blur-xl         { backdrop-filter: blur(24px); }
.backdrop-blur-2xl        { backdrop-filter: blur(40px); }
.backdrop-blur-\[2px\]    { backdrop-filter: blur(2px); }

/* Opacity */
.opacity-0   { opacity: 0; }
.opacity-5   { opacity: 0.05; }
.opacity-10  { opacity: 0.10; }
.opacity-20  { opacity: 0.20; }
.opacity-25  { opacity: 0.25; }
.opacity-30  { opacity: 0.30; }
.opacity-40  { opacity: 0.40; }
.opacity-50  { opacity: 0.50; }
.opacity-60  { opacity: 0.60; }
.opacity-70  { opacity: 0.70; }
.opacity-75  { opacity: 0.75; }
.opacity-80  { opacity: 0.80; }
.opacity-85  { opacity: 0.85; }
.opacity-90  { opacity: 0.90; }
.opacity-95  { opacity: 0.95; }
.opacity-100 { opacity: 1; }

/* Text colours — use !important only for white (beats global h rule) */
.text-white    { color: #ffffff !important; }
.text-black    { color: #000000; }
.text-slate-50  { color: #f8fafc; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-rose-300  { color: #fda4af; }
.text-rose-400  { color: #fb7185; }
.text-rose-500  { color: #f43f5e; }
.text-rose-600  { color: #e11d48; }
.text-amber-300 { color: #fcd34d; }
.text-amber-400 { color: #fbbf24; }
.text-amber-500 { color: #f59e0b; }
.text-amber-600 { color: #d97706; }
.text-amber-700 { color: #b45309; }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-400 { color: #34d399; }
.text-emerald-500 { color: #10b981; }
.text-sky-400   { color: #38bdf8; }
.text-violet-400 { color: #a78bfa; }
.text-orange-400 { color: #fb923c; }
.text-green-400  { color: #4ade80; }

/* Transitions */
.transition         { transition: all 0.15s ease; }
.transition-all     { transition: all 0.3s ease; }
.transition-colors  { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.transition-transform { transition: transform 0.3s ease; }
.transition-opacity { transition: opacity 0.3s ease; }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.ease-in-out  { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* Hover transforms */
.hover\:-translate-y-1:hover   { transform: translateY(-0.25rem); }
.hover\:-translate-y-1\.5:hover { transform: translateY(-0.375rem); }
.hover\:-translate-y-2:hover   { transform: translateY(-0.5rem); }
.hover\:scale-105:hover        { transform: scale(1.05); }
.hover\:scale-110:hover        { transform: scale(1.10); }
.hover\:shadow-lg:hover   { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.hover\:shadow-xl:hover   { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15); }
.hover\:shadow-2xl:hover  { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.hover\:opacity-90:hover  { opacity: 0.90; }
.hover\:opacity-80:hover  { opacity: 0.80; }

/* Group hover */
.group { /* parent anchor class */ }
.group:hover .group-hover\:scale-105   { transform: scale(1.05); }
.group:hover .group-hover\:scale-110   { transform: scale(1.10); }
.group:hover .group-hover\:opacity-95  { opacity: 0.95; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:text-rose-600 { color: #e11d48 !important; }
.group:hover .group-hover\:text-white    { color: #ffffff !important; }
.group:hover .group-hover\:-translate-y-1 { transform: translateY(-0.25rem); }

/* Rounded */
.rounded     { border-radius: 0.25rem; }
.rounded-md  { border-radius: 0.375rem; }
.rounded-lg  { border-radius: 0.5rem; }
.rounded-xl  { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-t-xl  { border-top-left-radius: 0.75rem; border-top-right-radius: 0.75rem; }
.rounded-b-xl  { border-bottom-left-radius: 0.75rem; border-bottom-right-radius: 0.75rem; }

/* Gap */
.gap-1    { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2    { gap: 0.5rem; }
.gap-3    { gap: 0.75rem; }
.gap-4    { gap: 1rem; }
.gap-5    { gap: 1.25rem; }
.gap-6    { gap: 1.5rem; }
.gap-8    { gap: 2rem; }
.gap-10   { gap: 2.5rem; }
.gap-12   { gap: 3rem; }
.gap-x-4  { column-gap: 1rem; }
.gap-y-4  { row-gap: 1rem; }
.gap-x-6  { column-gap: 1.5rem; }
.gap-y-6  { row-gap: 1.5rem; }

/* Padding */
.p-0  { padding: 0; }
.p-1  { padding: 0.25rem; }
.p-2  { padding: 0.5rem; }
.p-3  { padding: 0.75rem; }
.p-4  { padding: 1rem; }
.p-5  { padding: 1.25rem; }
.p-6  { padding: 1.5rem; }
.p-8  { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.px-2    { padding-left: 0.5rem;   padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3    { padding-left: 0.75rem;  padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4    { padding-left: 1rem;     padding-right: 1rem; }
.px-5    { padding-left: 1.25rem;  padding-right: 1.25rem; }
.px-6    { padding-left: 1.5rem;   padding-right: 1.5rem; }
.px-8    { padding-left: 2rem;     padding-right: 2rem; }
.px-10   { padding-left: 2.5rem;   padding-right: 2.5rem; }
.py-0\.5 { padding-top: 0.125rem;  padding-bottom: 0.125rem; }
.py-1    { padding-top: 0.25rem;   padding-bottom: 0.25rem; }
.py-2    { padding-top: 0.5rem;    padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem;  padding-bottom: 0.625rem; }
.py-3    { padding-top: 0.75rem;   padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem;  padding-bottom: 0.875rem; }
.py-4    { padding-top: 1rem;      padding-bottom: 1rem; }
.py-5    { padding-top: 1.25rem;   padding-bottom: 1.25rem; }
.py-6    { padding-top: 1.5rem;    padding-bottom: 1.5rem; }
.py-8    { padding-top: 2rem;      padding-bottom: 2rem; }
.py-10   { padding-top: 2.5rem;    padding-bottom: 2.5rem; }
.py-12   { padding-top: 3rem;      padding-bottom: 3rem; }
.py-16   { padding-top: 4rem;      padding-bottom: 4rem; }
.py-20   { padding-top: 5rem;      padding-bottom: 5rem; }
.pt-2  { padding-top: 0.5rem; }
.pt-4  { padding-top: 1rem; }
.pt-6  { padding-top: 1.5rem; }
.pt-8  { padding-top: 2rem; }
.pb-2  { padding-bottom: 0.5rem; }
.pb-3  { padding-bottom: 0.75rem; }
.pb-4  { padding-bottom: 1rem; }
.pb-6  { padding-bottom: 1.5rem; }
.pl-4  { padding-left: 1rem; }
.pl-10 { padding-left: 2.5rem; }
.pr-4  { padding-right: 1rem; }

/* Margin */
.m-0    { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-2  { margin-top: 0.5rem;  margin-bottom: 0.5rem; }
.my-4  { margin-top: 1rem;    margin-bottom: 1rem; }
.my-6  { margin-top: 1.5rem;  margin-bottom: 1.5rem; }
.my-8  { margin-top: 2rem;    margin-bottom: 2rem; }
.mt-1  { margin-top: 0.25rem; }
.mt-2  { margin-top: 0.5rem; }
.mt-3  { margin-top: 0.75rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-auto { margin-top: auto; }
.mb-1  { margin-bottom: 0.25rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.ml-1  { margin-left: 0.25rem; }
.ml-2  { margin-left: 0.5rem; }
.ml-auto { margin-left: auto; }
.mr-1  { margin-right: 0.25rem; }
.mr-2  { margin-right: 0.5rem; }
.mr-3  { margin-right: 0.75rem; }
.-mt-12 { margin-top: -3rem; }
.-mt-16 { margin-top: -4rem; }

/* Width */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-4  { width: 1rem; }
.w-5  { width: 1.25rem; }
.w-6  { width: 1.5rem; }
.w-7  { width: 1.75rem; }
.w-8  { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.w-48 { width: 12rem; }
.w-64 { width: 16rem; }
.w-80 { width: 20rem; }
.w-96 { width: 24rem; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333%; }
.w-2\/3 { width: 66.667%; }

/* Height */
.h-full   { height: 100%; }
.h-auto   { height: auto; }
.h-4  { height: 1rem; }
.h-5  { height: 1.25rem; }
.h-6  { height: 1.5rem; }
.h-7  { height: 1.75rem; }
.h-8  { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.h-52 { height: 13rem; }
.h-56 { height: 14rem; }
.h-64 { height: 16rem; }
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.min-h-full   { min-height: 100%; }

/* Max/Min Width */
.max-w-xs  { max-width: 20rem; }
.max-w-sm  { max-width: 24rem; }
.max-w-md  { max-width: 28rem; }
.max-w-lg  { max-width: 32rem; }
.max-w-xl  { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-full { max-width: 100%; }
.max-w-none { max-width: none; }
.max-w-\[65\%\]  { max-width: 65%; }
.min-w-0         { min-width: 0; }
.min-w-\[120px\] { min-width: 120px; }
.min-w-\[140px\] { min-width: 140px; }
.min-w-\[150px\] { min-width: 150px; }
.min-w-\[160px\] { min-width: 160px; }
.min-w-\[200px\] { min-width: 200px; }
.min-w-\[220px\] { min-width: 220px; }
.min-w-\[950px\] { min-width: 950px; }

/* Flex / Grid */
.flex        { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col    { flex-direction: column; }
.flex-row    { flex-direction: row; }
.flex-wrap   { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.items-start   { align-items: flex-start; }
.items-center  { align-items: center; }
.items-end     { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-start   { justify-content: flex-start; }
.justify-center  { justify-content: center; }
.justify-end     { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around  { justify-content: space-around; }
.flex-1    { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }
.flex-grow { flex-grow: 1; }
.shrink-0  { flex-shrink: 0; }
.self-start   { align-self: flex-start; }
.self-center  { align-self: center; }
.self-end     { align-self: flex-end; }
.self-stretch { align-self: stretch; }
.grid         { display: grid; }
.inline-grid  { display: inline-grid; }
.grid-cols-1  { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5  { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6  { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.col-span-2   { grid-column: span 2 / span 2; }
.col-span-3   { grid-column: span 3 / span 3; }
.col-span-full { grid-column: 1 / -1; }

/* Display */
.block        { display: block; }
.inline-block { display: inline-block; }
.inline       { display: inline; }
.table        { display: table; }

/* Font weight */
.font-thin      { font-weight: 100; }
.font-light     { font-weight: 300; }
.font-normal    { font-weight: 400; }
.font-medium    { font-weight: 500; }
.font-semibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black     { font-weight: 900; }
.font-sans { font-family: 'Inter', sans-serif; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

/* Text size */
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; }
.text-xs   { font-size: 0.75rem;  line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem;     line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;  line-height: 2.5rem; }
.text-5xl  { font-size: 3rem;     line-height: 1; }
.text-6xl  { font-size: 3.75rem;  line-height: 1; }
.text-7xl  { font-size: 4.5rem;   line-height: 1; }

/* Text utils */
.uppercase   { text-transform: uppercase; }
.lowercase   { text-transform: lowercase; }
.capitalize  { text-transform: capitalize; }
.normal-case { text-transform: none; }
.tracking-tight   { letter-spacing: -0.025em; }
.tracking-normal  { letter-spacing: 0; }
.tracking-wide    { letter-spacing: 0.025em; }
.tracking-wider   { letter-spacing: 0.05em; }
.tracking-widest  { letter-spacing: 0.1em; }
.leading-none     { line-height: 1; }
.leading-tight    { line-height: 1.25; }
.leading-snug     { line-height: 1.375; }
.leading-normal   { line-height: 1.5; }
.leading-relaxed  { line-height: 1.625; }
.leading-loose    { line-height: 2; }
.text-left    { text-align: left; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-justify { text-align: justify; }
.truncate       { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }
.break-words    { word-break: break-word; }
.break-all      { word-break: break-all; }
.italic         { font-style: italic; }
.not-italic     { font-style: normal; }
.underline      { text-decoration: underline; }
.no-underline   { text-decoration: none; }
.line-through   { text-decoration: line-through; }

/* Border */
.border   { border: 1px solid; }
.border-0 { border: 0; }
.border-t { border-top: 1px solid; }
.border-b { border-bottom: 1px solid; }
.border-l { border-left: 1px solid; }
.border-r { border-right: 1px solid; }
.border-2   { border: 2px solid; }
.border-t-2 { border-top: 2px solid; }
.border-b-2 { border-bottom: 2px solid; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-slate-700 { border-color: #334155; }
.border-slate-800 { border-color: #1e293b; }
.border-white\/10 { border-color: rgba(255,255,255,0.10); }
.border-white\/15 { border-color: rgba(255,255,255,0.15); }
.border-white\/20 { border-color: rgba(255,255,255,0.20); }
.border-rose-500\/30 { border-color: rgba(244,63,94,0.30); }

/* Shadow */
.shadow-none { box-shadow: none; }
.shadow-sm   { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.shadow      { box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06); }
.shadow-md   { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.shadow-lg   { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-xl   { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.shadow-2xl  { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.05); }

/* Background */
.bg-white        { background-color: #ffffff; }
.bg-black        { background-color: #000000; }
.bg-transparent  { background-color: transparent; }
.bg-slate-50     { background-color: #f8fafc; }
.bg-slate-100    { background-color: #f1f5f9; }
.bg-slate-800    { background-color: #1e293b; }
.bg-slate-900    { background-color: #0f172a; }
.bg-slate-950    { background-color: #020617; }

/* Cursor / misc */
.cursor-pointer    { cursor: pointer; }
.cursor-default    { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }
.select-none       { user-select: none; }
.list-none         { list-style: none; }
.appearance-none   { appearance: none; }
.outline-none      { outline: none; }
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(230,57,70,0.4); }
.resize-none       { resize: none; }

/* Divide */
.divide-y > * + * { border-top: 1px solid; }
.divide-x > * + * { border-left: 1px solid; }
.divide-slate-100 > * + * { border-color: #f1f5f9; }
.divide-slate-200 > * + * { border-color: #e2e8f0; }
.divide-white\/10 > * + * { border-color: rgba(255,255,255,0.1); }
