/* ==========================================================================
   SPMB SDIT RABBANI KOTA BENGKULU - DESIGN SYSTEM v3.0 (ULTRA ELEGANT & RESPONSIVE)
   Crafted with Glassmorphism, Luxury Islamic Teal & Gold Palette, Fluid Typography,
   Micro-animations, Dark Mode, and Pixel-Perfect Multi-Device Responsiveness
   ========================================================================== */

/* --- GOOGLE FONTS IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
    /* Brand Color Palette - Luxury Islamic Teal & Amber Gold */
    --primary: #008080;
    --primary-hover: #006666;
    --primary-dark: #004d4d;
    --primary-light: #e6f5f5;
    --primary-gradient: linear-gradient(135deg, #008080 0%, #00a39d 50%, #0d9488 100%);
    --primary-rgb: 0, 128, 128;

    --secondary: #f59e0b;
    --secondary-hover: #d97706;
    --secondary-light: #fef3c7;
    --secondary-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);

    --accent-blue: #2563eb;
    --accent-blue-light: #dbeafe;
    --accent-green: #10b981;
    --accent-green-light: #d1fae5;
    --accent-purple: #8b5cf6;
    --accent-purple-light: #ede9fe;
    --accent-rose: #f43f5e;
    --accent-rose-light: #ffe4e6;

    --danger: #ef4444;
    --danger-light: #fee2e2;

    /* Neutrals & Surfaces - Light Theme */
    --dark: #0f172a;
    --dark-muted: #475569;
    --light-bg: #f8fafc;
    --surface: #f1f5f9;
    --card-bg: #ffffff;
    --card-hover-bg: #ffffff;
    --white: #ffffff;
    --border: #e2e8f0;
    --border-light: rgba(226, 232, 240, 0.7);

    /* Glassmorphism Tokens */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);

    /* Typography */
    --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Shadows & Elevation */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 6px 16px -2px rgba(0, 0, 0, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 24px 48px -8px rgba(0, 0, 0, 0.12), 0 8px 18px -4px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 25px rgba(0, 128, 128, 0.3);
    --shadow-gold: 0 0 25px rgba(245, 158, 11, 0.35);

    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   DARK MODE SYSTEM
   ========================================================================== */
[data-theme="dark"] {
    --dark: #f8fafc;
    --dark-muted: #94a3b8;
    --light-bg: #0b1120;
    --surface: #131d31;
    --card-bg: #1a243b;
    --card-hover-bg: #202d4a;
    --white: #1a243b;
    --border: #263554;
    --border-light: rgba(38, 53, 84, 0.6);

    --primary-light: rgba(0, 163, 157, 0.15);
    --secondary-light: rgba(245, 158, 11, 0.15);
    --accent-blue-light: rgba(37, 99, 235, 0.15);
    --accent-green-light: rgba(16, 185, 129, 0.15);
    --accent-purple-light: rgba(139, 92, 246, 0.15);
    --accent-rose-light: rgba(244, 63, 94, 0.15);
    --danger-light: rgba(239, 68, 68, 0.15);

    --glass-bg: rgba(26, 36, 59, 0.88);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);

    --shadow-md: 0 6px 16px -2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 24px 48px -8px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--dark);
    line-height: 1.65;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}
::-webkit-scrollbar-track {
    background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: var(--radius-full);
    border: 2px solid var(--light-bg);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 768px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-start { display: flex; justify-content: flex-start; align-items: center; }
.flex-end { display: flex; justify-content: flex-end; align-items: center; }
.flex-column { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }

.gap-05 { gap: 0.5rem; }
.gap-1 { gap: 1rem; }
.gap-15 { gap: 1.5rem; }
.gap-2 { gap: 2rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-muted { color: var(--dark-muted) !important; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-sm { font-size: 0.875rem !important; }
.text-xs { font-size: 0.775rem !important; }

.mb-05 { margin-bottom: 0.5rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-15 { margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-05 { margin-top: 0.5rem; }
.mt-1 { margin-top: 1rem; }
.mt-15 { margin-top: 1.5rem; }
.mt-2 { margin-top: 2rem; }
.my-1 { margin-top: 1rem; margin-bottom: 1rem; }
.my-2 { margin-top: 2rem; margin-bottom: 2rem; }

.hidden { display: none !important; }

/* ==========================================================================
   MICRO-ANIMATIONS & SCROLL REVEAL
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatSmooth {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 128, 128, 0.5); }
    50% { box-shadow: 0 0 0 12px rgba(0, 128, 128, 0); }
}

@keyframes shimmerGlow {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes spinSlow {
    to { transform: rotate(360deg); }
}

.spin-icon { animation: spinSlow 1.2s linear infinite; }

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
    background: linear-gradient(90deg, #004d4d 0%, #008080 50%, #0d9488 100%);
    color: #ffffff;
    font-size: 0.825rem;
    padding: 0.55rem 0;
    font-weight: 500;
    position: relative;
    z-index: 101;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.top-info i {
    width: 15px;
    height: 15px;
    color: #fbbf24;
}

.badge-pill {
    background: var(--secondary-gradient);
    color: #ffffff;
    padding: 0.15rem 0.65rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.725rem;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-link {
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
}

.top-link:hover {
    color: #fbbf24;
}

.top-admin-link {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24 !important;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(251, 191, 36, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
}

.top-admin-link:hover {
    background: rgba(251, 191, 36, 0.3);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   FLOATING GLASS NAVBAR
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 0.9rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.55rem 0;
    box-shadow: var(--shadow-md);
    background: var(--glass-bg);
}

[data-theme="dark"] .navbar {
    background: var(--glass-bg);
    border-bottom-color: var(--border);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 44px;
    height: 44px;
    background: var(--primary-gradient);
    color: #ffffff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-spring);
    flex-shrink: 0;
}

.brand:hover .brand-logo {
    transform: scale(1.06) rotate(-3deg);
}

.brand-logo i {
    width: 24px;
    height: 24px;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--primary);
    letter-spacing: -0.03em;
    display: block;
    line-height: 1.15;
}

[data-theme="dark"] .brand-name {
    color: #2dd4bf;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--dark-muted);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.925rem;
    color: var(--dark-muted);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
}

.nav-links a i {
    width: 17px;
    height: 17px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-links a.active {
    color: var(--primary);
    background: var(--primary-light);
    font-weight: 700;
}

[data-theme="dark"] .nav-links a.active {
    color: #2dd4bf;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Dark Mode Toggle Button */
.dark-mode-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    color: var(--dark-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.dark-mode-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: var(--secondary-light);
    transform: rotate(20deg) scale(1.05);
}

.dark-mode-btn i { width: 19px; height: 19px; }

/* ==========================================================================
   MOBILE HAMBURGER MENU & DRAWER
   ========================================================================== */
.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    background: var(--card-bg);
    color: var(--dark);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: var(--transition);
    z-index: 102;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 86%;
    max-width: 380px;
    height: 100vh;
    background: var(--card-bg);
    z-index: 150;
    transition: right 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav-overlay.open {
    right: 0;
}

.mobile-nav-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--danger-light);
    color: var(--danger);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-nav-close:hover {
    background: var(--danger);
    color: #ffffff;
}

.mobile-nav-links {
    padding: 1rem 0;
    flex: 1;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    transition: var(--transition);
    border-left: 3.5px solid transparent;
}

.mobile-nav-links a i {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: var(--primary-light);
    color: var(--primary);
    border-left-color: var(--primary);
}

.mobile-nav-actions {
    padding: 1.25rem 1.5rem 1.75rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--surface);
}

.mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(5px);
    z-index: 140;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open ~ .mobile-nav-backdrop,
body.mobile-menu-open .mobile-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   PREMIUM BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.925rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.btn i {
    width: 18px;
    height: 18px;
    transition: var(--transition-fast);
}

.btn-sm {
    padding: 0.45rem 0.95rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 0.9rem 1.9rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-block { width: 100%; }

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 128, 128, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 128, 128, 0.45);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(0, 128, 128, 0.2);
}

.btn-secondary:hover {
    background: #cceeee;
    transform: translateY(-2px);
}

.btn-outline {
    background: var(--card-bg);
    border: 1.5px solid var(--border);
    color: var(--dark);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-gold, .btn-gold {
    background: var(--secondary-gradient);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
}

/* Premium Admin Navbar Button */
.btn-admin-nav {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #fbbf24 !important;
    border: 1.5px solid rgba(251, 191, 36, 0.5) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25) !important;
    font-weight: 800;
    transition: var(--transition-spring);
}

.btn-admin-nav:hover {
    background: #020617 !important;
    border-color: #f59e0b !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4) !important;
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-admin-nav {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border-color: #fbbf24 !important;
}

/* Mobile Drawer Spotlight for Admin */
.mobile-admin-spotlight {
    margin: 1rem 1.25rem 0.25rem;
    padding: 0.85rem 1.15rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1.5px solid rgba(251, 191, 36, 0.45);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-spring);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.mobile-admin-spotlight:hover {
    border-color: #fbbf24;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(251, 191, 36, 0.25);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

.btn-light {
    background: var(--surface);
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-light:hover {
    background: var(--card-bg);
    transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION (LUXURIOUS MESH BACKGROUND)
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 4.5rem 0 5rem;
    background:
        radial-gradient(circle at 85% 15%, rgba(0, 163, 157, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(245, 158, 11, 0.1) 0%, transparent 45%),
        var(--light-bg);
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.shape-1 {
    width: 420px;
    height: 420px;
    background: rgba(0, 163, 157, 0.2);
    top: -120px;
    right: -80px;
    animation: floatSmooth 8s ease-in-out infinite;
}

.shape-2 {
    width: 320px;
    height: 320px;
    background: rgba(245, 158, 11, 0.15);
    bottom: -80px;
    left: -60px;
    animation: floatSmooth 9s ease-in-out infinite 1.5s;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary-light);
    color: #b45309;
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.hero-text h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.18;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.hero-text h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--dark-muted);
    margin-bottom: 2rem;
    max-width: 580px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.75rem;
}

/* Feature Highlights Bar */
.hero-features-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--dark-muted);
    box-shadow: var(--shadow-xs);
}

.hero-pill i {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    padding-top: 1.75rem;
    border-top: 1.5px dashed var(--border);
}

.stat-item {
    text-align: left;
}

.stat-item h3 {
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

[data-theme="dark"] .stat-item h3 {
    color: #2dd4bf;
}

.stat-item p {
    font-size: 0.825rem;
    color: var(--dark-muted);
    font-weight: 600;
    margin: 0;
}

/* Hero Visual Box */
.hero-visual {
    position: relative;
}

.hero-card-img {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--card-bg);
    background: var(--card-bg);
}

.hero-card-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-card-img:hover img {
    transform: scale(1.04);
}

.floating-badge {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-weight: 800;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--dark);
    border: 1px solid var(--glass-border);
    animation: floatSmooth 6s ease-in-out infinite;
    z-index: 2;
}

.floating-badge i {
    width: 20px;
    height: 20px;
}

.badge-top-right {
    top: 1.5rem;
    right: 1.5rem;
    border-left: 4px solid var(--accent-green);
    animation-delay: 0s;
}

.badge-bottom-left {
    bottom: 1.5rem;
    left: 1.5rem;
    border-left: 4px solid var(--secondary);
    animation-delay: 1.5s;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section {
    padding: 5rem 0;
    position: relative;
}

.bg-light {
    background-color: var(--surface);
}

.section-title {
    margin-bottom: 3.5rem;
}

.section-title.text-center {
    text-align: center;
}

.sub-title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.6rem;
    background: var(--primary-light);
    padding: 0.35rem 0.95rem;
    border-radius: var(--radius-full);
}

[data-theme="dark"] .sub-title {
    color: #2dd4bf;
}

.section-title h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--dark);
    margin-bottom: 0.85rem;
}

.section-title p {
    color: var(--dark-muted);
    font-size: 1.05rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ==========================================================================
   PROFIL & KEUNGGULAN (4 CARDS GRID)
   ========================================================================== */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.25rem 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition-spring);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 128, 128, 0.3);
    background: var(--card-hover-bg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-spring);
    flex-shrink: 0;
}

.feature-card:hover .icon-box {
    transform: scale(1.12) rotate(-6deg);
}

.icon-box i { width: 30px; height: 30px; }

.bg-teal { background: var(--primary-light); color: var(--primary); }
.bg-amber { background: var(--secondary-light); color: #d97706; }
.bg-blue { background: var(--accent-blue-light); color: var(--accent-blue); }
.bg-purple { background: var(--accent-purple-light); color: var(--accent-purple); }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--dark-muted);
    font-size: 0.925rem;
    line-height: 1.65;
    flex: 1;
}

/* ==========================================================================
   ALUR & SYARAT PENDAFTARAN (5-STEP ROADMAP)
   ========================================================================== */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-bottom: 3.5rem;
    position: relative;
}

.step-card {
    background: var(--card-bg);
    padding: 2.25rem 1.35rem 1.75rem;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    position: relative;
    text-align: center;
    transition: var(--transition-spring);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.step-card.highlight {
    border: 2px solid var(--primary);
    background: var(--primary-light);
}

[data-theme="dark"] .step-card.highlight {
    background: rgba(0, 128, 128, 0.12);
}

.step-num {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    background: var(--primary-gradient);
    color: #ffffff;
    font-weight: 900;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 128, 128, 0.35);
    font-size: 0.85rem;
}

.step-icon {
    width: 58px;
    height: 58px;
    margin: 0.5rem auto 1rem;
    background: var(--surface);
    color: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-spring);
}

.step-card:hover .step-icon {
    transform: scale(1.12);
    background: var(--primary);
    color: #ffffff;
}

.step-icon i { width: 28px; height: 28px; }

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--dark-muted);
    line-height: 1.55;
}

/* LUXURY BSI BANK PAYMENT CARD */
.bsi-bank-card {
    background: linear-gradient(135deg, #004d4d 0%, #008080 50%, #0d9488 100%);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 2rem 2.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 77, 77, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.bsi-bank-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.bsi-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.bsi-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}

.bsi-badge {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.bsi-account-box {
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(8px);
    padding: 1.1rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.bsi-account-num {
    font-family: 'Outfit', monospace;
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: #ffffff;
}

.btn-copy-acc {
    background: var(--secondary-gradient);
    color: #ffffff;
    border: none;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-spring);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

.btn-copy-acc:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.5);
}

.bsi-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    gap: 1rem;
}

.bsi-holder-name {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

/* Requirements Box */
.requirements-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 2.25rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.requirements-box h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    font-size: 1.35rem;
    color: #ffffff;
}

.req-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2.5rem;
}

.req-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #cbd5e1;
}

.req-list li i {
    color: #10b981;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   FASILITAS GALLERY
   ========================================================================== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.facility-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition-spring);
    display: flex;
    flex-direction: column;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.facility-img-wrap {
    position: relative;
    overflow: hidden;
    height: 230px;
}

.facility-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.facility-card:hover .facility-img-wrap img {
    transform: scale(1.08);
}

.facility-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--dark);
}

.facility-placeholder {
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.facility-placeholder i { width: 64px; height: 64px; }

.facility-info {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.facility-info h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.facility-info p {
    font-size: 0.925rem;
    color: var(--dark-muted);
    line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIALS & STATS BANNER (NEW AESTHETIC SECTION)
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.testi-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-spring);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testi-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 128, 128, 0.3);
}

.testi-stars {
    display: flex;
    gap: 0.25rem;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.testi-stars i { width: 16px; height: 16px; fill: #f59e0b; }

.testi-quote {
    font-size: 0.95rem;
    color: var(--dark);
    font-style: italic;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.testi-name h5 {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0;
}

.testi-name p {
    font-size: 0.8rem;
    color: var(--dark-muted);
    margin: 0;
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */
.cta-section {
    padding: 4.5rem 0;
    background: linear-gradient(135deg, #004d4d 0%, #008080 60%, #0a665e 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.25rem;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-container {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    padding: 1.35rem 1.65rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    gap: 1rem;
}

.faq-question i {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary);
}

.faq-answer {
    padding: 0 1.65rem 1.35rem;
    color: var(--dark-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    display: none;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    background: var(--card-bg);
}

.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #090f1d;
    color: #94a3b8;
    padding: 4.5rem 0 2rem;
    position: relative;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.text-white { color: #ffffff !important; }

.footer-about p {
    margin-top: 1.25rem;
    font-size: 0.925rem;
    line-height: 1.7;
}

.footer-links h4, .footer-contact h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1.35rem;
    letter-spacing: -0.01em;
}

.footer-links ul li { margin-bottom: 0.75rem; }
.footer-links a:hover { color: #2dd4bf; }

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.9rem;
    font-size: 0.925rem;
    line-height: 1.55;
}

.footer-contact i {
    color: #f59e0b;
    margin-top: 2px;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    font-size: 0.85rem;
}

/* ==========================================================================
   MODALS SYSTEM
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.modal.open {
    display: flex !important;
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    position: relative;
    opacity: 0;
    border: 1px solid var(--border);
}

.modal.open .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-sm { max-width: 440px; }
.modal-md { max-width: 620px; }
.modal-lg { max-width: 880px; }

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

.modal-title h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
}

.modal-title p {
    font-size: 0.875rem;
    color: var(--dark-muted);
    margin-top: 0.2rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--dark-muted);
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--danger-light);
    color: var(--danger);
}

.modal-body {
    padding: 2rem;
}

/* ==========================================================================
   WIZARD STEPS
   ========================================================================== */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 1rem;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 8%;
    width: 84%;
    height: 3px;
    background: var(--border);
    z-index: 0;
}

.wizard-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.wizard-step .step-num {
    position: static;
    transform: none;
    width: 38px;
    height: 38px;
    background: var(--surface);
    color: var(--dark-muted);
    border: 2px solid var(--border);
    transition: var(--transition-spring);
}

.wizard-step.active .step-num {
    background: var(--primary-gradient);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 5px var(--primary-light);
}

.wizard-step.completed .step-num {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.step-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dark-muted);
}

.wizard-step.active .step-label { color: var(--primary); }

/* ==========================================================================
   FORM CONTROLS
   ========================================================================== */
.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.35rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--primary-light);
}

.form-group { margin-bottom: 1.35rem; }

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1.1rem;
    font-family: inherit;
    font-size: 0.95rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--card-bg);
    color: var(--dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; }

.form-card-box {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.box-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1.1rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.upload-box-container {
    background: var(--primary-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1.5px dashed var(--primary);
}

.file-input-box {
    background: var(--card-bg);
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.file-input-box label {
    font-size: 0.825rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.file-input-box input { font-size: 0.825rem; }

.input-readonly {
    background: var(--surface) !important;
    cursor: default;
}

.demo-login-info {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.95rem;
    margin-top: 0.85rem;
    font-size: 0.875rem;
}

.demo-login-info code {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.825rem;
    color: var(--primary);
    font-weight: 700;
}

.config-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
}

/* ==========================================================================
   PREVIEW TABLE & SUCCESS CARD
   ========================================================================== */
.preview-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.preview-table td {
    padding: 0.7rem 0.95rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.925rem;
}

.preview-table td:first-child {
    font-weight: 700;
    width: 36%;
    color: var(--dark-muted);
    background: var(--surface);
}

.success-icon {
    width: 76px;
    height: 76px;
    background: var(--accent-green-light);
    color: var(--accent-green);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.success-icon i { width: 46px; height: 46px; }

.print-card-wrapper {
    background: #ffffff;
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin: 1.5rem 0;
    text-align: left;
    box-shadow: var(--shadow-md);
    color: #000000;
}

/* ==========================================================================
   ADMIN DASHBOARD VIEW
   ========================================================================== */
.admin-header {
    background: linear-gradient(135deg, #090f1d 0%, #1e293b 100%);
    color: #ffffff;
    padding: 1.5rem 0;
    border-bottom: 1px solid #334155;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-brand h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
}

.admin-brand p {
    font-size: 0.85rem;
    color: #94a3b8;
}

.bg-white-glass {
    background: rgba(255, 255, 255, 0.15);
    color: #fbbf24;
}

.admin-user-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.admin-content {
    padding: 2.25rem 1.5rem 5rem;
}

.sync-banner {
    background: var(--card-bg);
    padding: 1.15rem 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    gap: 1rem;
}

/* Quota Monitoring Card in Admin */
.quota-monitor-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-spring);
}

.quota-monitor-card:hover {
    border-color: rgba(0, 128, 128, 0.4);
    box-shadow: var(--shadow-md);
}

.quota-info-title h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quota-info-title p {
    font-size: 0.85rem;
    color: var(--dark-muted);
    margin-top: 0.2rem;
}

.quota-progress-bar-bg {
    width: 100%;
    height: 12px;
    background: var(--surface);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}

.quota-progress-bar-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sync-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.sheet-link-preview a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

/* Admin Stats Cards */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.15rem;
    margin-bottom: 1.75rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 1.35rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-spring);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i { width: 26px; height: 26px; }

.stat-details p {
    font-size: 0.8rem;
    color: var(--dark-muted);
    font-weight: 700;
}

.stat-details h3 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--dark);
}

.bg-blue-light { background: var(--accent-blue-light); color: var(--accent-blue); }
.bg-yellow-light { background: var(--secondary-light); color: #d97706; }
.bg-teal-light { background: var(--primary-light); color: var(--primary); }
.bg-green-light-stat { background: var(--accent-green-light); color: var(--accent-green); }
.bg-red-light { background: var(--danger-light); color: var(--danger); }
.bg-emerald-light { background: #d1fae5; color: #059669; }
.bg-purple-light { background: var(--accent-purple-light); color: var(--accent-purple); }

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
}

.badge-success { background: var(--accent-green-light); color: #059669; }
.badge-warning { background: var(--secondary-light); color: #b45309; }
.badge-danger { background: var(--danger-light); color: var(--danger); }
.badge-teal { background: var(--primary-light); color: var(--primary); }
.badge-info { background: var(--accent-blue-light); color: var(--accent-blue); }
.badge-purple { background: #ede9fe; color: #6d28d9; border: 1px solid #ddd6fe; }
.badge-indigo { background: #e0e7ff; color: #4338ca; border: 1px solid #c7d2fe; }

[data-theme="dark"] .badge-success { color: #34d399; }
[data-theme="dark"] .badge-warning { color: #fbbf24; }
[data-theme="dark"] .badge-danger { color: #f87171; }
[data-theme="dark"] .badge-teal { color: #2dd4bf; }
[data-theme="dark"] .badge-purple { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; border-color: rgba(139, 92, 246, 0.4); }
[data-theme="dark"] .badge-indigo { background: rgba(99, 102, 241, 0.2); color: #a5b4fc; border-color: rgba(99, 102, 241, 0.4); }

/* Data Table & Card */
.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.card-header {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--border);
}

.table-title h3 {
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-title p {
    font-size: 0.85rem;
    color: var(--dark-muted);
    margin-top: 0.25rem;
}

.table-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.table-filters select {
    padding: 0.55rem 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.85rem;
    background: var(--card-bg);
    color: var(--dark);
    font-weight: 700;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--dark-muted);
}

.search-box input {
    padding: 0.55rem 0.95rem 0.55rem 2.4rem;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    font-family: inherit;
    background: var(--card-bg);
    color: var(--dark);
    min-width: 230px;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    text-align: left;
}

.data-table th {
    background: var(--surface);
    padding: 0.95rem 1.15rem;
    font-weight: 800;
    color: var(--dark-muted);
    border-bottom: 1.5px solid var(--border);
    white-space: nowrap;
}

.data-table td {
    padding: 0.95rem 1.15rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.data-table tbody tr:hover {
    background: var(--surface);
}

.btn-action-group {
    display: flex;
    gap: 0.4rem;
}

.pagination-container {
    padding: 1.15rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pagination-info {
    font-size: 0.85rem;
    color: var(--dark-muted);
    font-weight: 700;
}

.pagination-buttons {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.pagination-buttons .btn {
    min-width: 36px;
    padding: 0.4rem 0.65rem;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: #0f172a;
    color: #ffffff;
    padding: 0.95rem 1.35rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    max-width: 440px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .toast {
    background: #1a243b;
    border: 1px solid #263554;
}

.toast i { width: 20px; height: 20px; flex-shrink: 0; }
.toast-success { border-left: 4px solid var(--accent-green); }
.toast-error { border-left: 4px solid var(--danger); }
.toast-info { border-left: 4px solid var(--primary); }

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    animation: toastProgress 3.5s linear forwards;
}

.toast-exit { animation: toastSlideOut 0.4s ease forwards; }

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastSlideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* ==========================================================================
   APPS SCRIPT CODE BOX
   ========================================================================== */
.code-block-wrapper {
    position: relative;
    margin-top: 1rem;
}

.btn-copy {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: inherit;
    transition: var(--transition);
}

.btn-copy:hover {
    background: rgba(255, 255, 255, 0.35);
}

#appscriptCodeText {
    background: #0f172a;
    color: #e2e8f0;
    padding: 1.35rem;
    border-radius: var(--radius-md);
    font-family: 'Cascadia Code', 'Fira Code', monospace;
    font-size: 0.825rem;
    overflow-x: auto;
    line-height: 1.6;
}

/* ==========================================================================
   WHATSAPP INTEGRATION & FLOATING BUTTON
   ========================================================================== */
.btn-whatsapp {
    background: #25D366;
    color: #ffffff !important;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    transition: var(--transition-spring);
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.wa-floating-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    color: #ffffff;
    padding: 0.85rem 1.35rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 0.925rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 990;
    text-decoration: none;
    transition: var(--transition-spring);
    animation: waPulse 2.5s infinite;
}

.wa-floating-btn:hover {
    background: #20ba59;
    transform: scale(1.06) translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

.wa-floating-btn i { width: 22px; height: 22px; }

@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.payment-proof-preview {
    max-width: 100%;
    max-height: 220px;
    border-radius: var(--radius-md);
    margin-top: 0.5rem;
    object-fit: contain;
    border: 2px solid var(--border);
    background: var(--surface);
}

.student-upload-preview {
    max-width: 90px;
    max-height: 120px;
    border-radius: 6px;
    margin-top: 0.4rem;
    border: 1.5px solid var(--border);
    object-fit: cover;
    display: block;
}

hr {
    border: none;
    border-top: 1px solid var(--border);
}

/* ==========================================================================
   MULTI-DEVICE RESPONSIVE BREAKPOINTS (MOBILE, TABLET, LAPTOP)
   ========================================================================== */

/* TABLETS & SMALL LAPTOPS (≤ 1024px) */
@media (max-width: 1024px) {
    .grid-4, .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-features-bar {
        justify-content: center;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: 480px;
        margin: 0 auto;
    }
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-about {
        grid-column: span 2;
    }
    .nav-links { display: none !important; }
    .mobile-menu-toggle { display: flex !important; }
    .btn-nav-cek, .btn-nav-pay { display: none !important; }
    .btn-nav-admin { display: inline-flex !important; }
    .btn-nav-register { display: inline-flex !important; }
    .admin-header .container {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .admin-stats {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    .req-list {
        grid-template-columns: 1fr;
    }
}

/* TABLETS (PORTRAIT ≤ 768px) */
@media (max-width: 768px) {
    .nav-links { display: none !important; }
    .mobile-menu-toggle { display: flex !important; }
    .btn-nav-cek,
    .btn-nav-pay {
        display: none !important;
    }
    .btn-nav-admin {
        display: inline-flex !important;
        padding: 0.45rem 0.75rem;
        font-size: 0.82rem;
    }
    .btn-nav-register {
        display: inline-flex !important;
        padding: 0.45rem 0.75rem;
        font-size: 0.82rem;
    }
    .sync-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .table-filters {
        width: 100%;
    }
    .table-filters select {
        flex: 1;
        min-width: 0;
    }
    .search-box {
        width: 100%;
    }
    .search-box input {
        width: 100%;
        min-width: 0;
    }
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .admin-user-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .hero-card-img img {
        height: 360px;
    }
}

/* SMARTPHONES (≤ 640px) */
@media (max-width: 640px) {
    .grid-4, .timeline-grid, .form-grid-2, .form-grid-3 {
        grid-template-columns: 1fr;
    }
    .top-contact { display: none; }
    .btn-nav-admin {
        padding: 0.4rem 0.65rem !important;
        font-size: 0.78rem !important;
    }
    .btn-nav-register {
        padding: 0.4rem 0.65rem !important;
        font-size: 0.78rem !important;
    }
    .nav-reg-text {
        display: none;
    }
    .btn-nav-register::after {
        content: "Daftar";
    }
    .hero-section {
        padding: 3rem 0 3.5rem;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .section-title h2 {
        font-size: 1.75rem;
    }
    .section {
        padding: 3.5rem 0;
    }
    .wizard-steps::before { display: none; }
    .step-label { font-size: 0.725rem; }
    .modal-body { padding: 1.35rem; }
    .modal-header { padding: 1.25rem 1.35rem; }
    .hero-card-img img { height: 280px; }
    .toast-container { left: 1rem; right: 1rem; bottom: 1rem; }
    .toast { max-width: 100%; font-size: 0.85rem; }
    .wa-floating-btn span { display: none; }
    .wa-floating-btn { padding: 0.85rem; border-radius: 50%; }
    .pagination-container {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .bsi-bank-card {
        padding: 1.5rem;
    }
    .bsi-account-num {
        font-size: 1.35rem;
        letter-spacing: 1.5px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-about {
        grid-column: span 1;
    }
}

/* ==========================================================================
   PRINT MEDIA - EXACTLY 1 PAGE A4 REGISTRATION CARD
   ========================================================================== */
@page {
    size: A4 portrait;
    margin: 8mm 12mm;
}

@media print {
    html, body {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        color: #000000 !important;
        overflow: visible !important;
        font-size: 10pt !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .top-bar,
    .navbar,
    #mainNavbar,
    #publicView,
    #adminView,
    .footer,
    .wa-floating-btn,
    .toast-container,
    .mobile-nav-overlay,
    .mobile-nav-backdrop,
    .modal-close,
    .no-print,
    #registrationModal,
    #loginModal,
    #detailModal,
    #googleSheetsModal,
    #wavesModal,
    #paymentModal,
    #proofViewModal,
    #checkStatusModal {
        display: none !important;
    }

    #successModal {
        display: block !important;
        position: static !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        border: none !important;
        opacity: 1 !important;
        overflow: visible !important;
        page-break-after: avoid !important;
        break-after: avoid !important;
    }

    #successModal .modal-content {
        display: block !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        transform: none !important;
        opacity: 1 !important;
        overflow: visible !important;
        page-break-after: avoid !important;
        break-after: avoid !important;
    }

    #successModal .modal-content > *:not(#printableCard) {
        display: none !important;
    }

    #printableCard,
    .print-card-wrapper {
        display: block !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 10px 16px !important;
        border: 2px solid #005e5d !important;
        border-radius: 8px !important;
        background: #ffffff !important;
        color: #000000 !important;
        box-shadow: none !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        page-break-before: avoid !important;
        break-before: avoid !important;
        page-break-after: avoid !important;
        break-after: avoid !important;
    }

    .kop-surat-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        padding-bottom: 0 !important;
    }

    .kop-logo-img {
        width: 70px !important;
        max-height: 80px !important;
        object-fit: contain !important;
        display: block !important;
    }

    .kop-text-col {
        text-align: center !important;
        flex: 1 !important;
    }

    .kop-instansi-1 {
        font-family: 'Times New Roman', Times, Georgia, serif !important;
        font-weight: 900 !important;
        font-size: 12pt !important;
        text-transform: uppercase !important;
        color: #000000 !important;
        margin: 0 !important;
        line-height: 1.15 !important;
    }

    .kop-instansi-2 {
        font-family: 'Times New Roman', Times, Georgia, serif !important;
        font-weight: 900 !important;
        font-size: 11pt !important;
        text-transform: uppercase !important;
        color: #000000 !important;
        margin: 2px 0 0 !important;
        line-height: 1.15 !important;
    }

    .kop-instansi-3 {
        font-family: 'Times New Roman', Times, Georgia, serif !important;
        font-weight: 900 !important;
        font-size: 10pt !important;
        color: #000000 !important;
        margin: 2px 0 0 !important;
        line-height: 1.15 !important;
    }

    .kop-alamat {
        font-family: 'Times New Roman', Times, Georgia, serif !important;
        font-style: italic !important;
        font-size: 7.5pt !important;
        color: #000000 !important;
        margin: 2px 0 0 !important;
        line-height: 1.2 !important;
    }

    .kop-double-divider {
        border-top: 2.5px solid #000000 !important;
        border-bottom: 1px solid #000000 !important;
        height: 3px !important;
        margin-top: 5px !important;
        margin-bottom: 6px !important;
    }

    .card-sub-header {
        margin-bottom: 4px !important;
    }

    .card-main-title {
        font-size: 11pt !important;
        font-weight: 900 !important;
        text-decoration: underline !important;
        text-underline-offset: 3px !important;
        color: #000000 !important;
        margin: 0 0 2px !important;
        letter-spacing: 0.5px !important;
    }

    .card-main-subtitle {
        font-size: 8.5pt !important;
        font-weight: 800 !important;
        color: #000000 !important;
        margin: 0 !important;
    }

    .reg-number-badge {
        background: #f1f5f9 !important;
        border: 1px solid #cbd5e1 !important;
        padding: 4px 8px !important;
        border-radius: 6px !important;
        margin-bottom: 6px !important;
        text-align: center !important;
    }

    .reg-number-badge small {
        font-size: 7.5pt !important;
        color: #334155 !important;
    }

    .reg-number-badge h3 {
        color: #005e5d !important;
        font-size: 12pt !important;
        font-weight: 800 !important;
        margin: 0 !important;
        letter-spacing: 1px !important;
    }

    .print-card-content-grid {
        display: flex !important;
        flex-direction: row !important;
        gap: 14px !important;
        align-items: flex-start !important;
        margin: 6px 0 !important;
    }

    .print-photo-box {
        width: 100px !important;
        min-width: 100px !important;
        text-align: center !important;
        background: #f8fafc !important;
        border: 1.5px dashed #64748b !important;
        border-radius: 6px !important;
        padding: 4px !important;
        box-shadow: none !important;
    }

    .student-print-photo {
        width: 100% !important;
        height: 125px !important;
        object-fit: cover !important;
        border-radius: 3px !important;
        display: block !important;
    }

    .photo-caption {
        font-size: 6.5pt !important;
        font-weight: 800 !important;
        color: #334155 !important;
        margin-top: 3px !important;
        letter-spacing: 0.5px !important;
    }

    .print-table-box {
        flex: 1 !important;
    }

    .card-details-table {
        width: 100% !important;
        font-size: 8.5pt !important;
        border-collapse: collapse !important;
    }

    .card-details-table td {
        padding: 2.5px 0 !important;
        color: #000000 !important;
        border-bottom: 1px dotted #e2e8f0 !important;
        vertical-align: top !important;
    }

    .card-details-table td strong {
        color: #000000 !important;
    }

    .badge {
        border: 1px solid #000 !important;
        padding: 1px 5px !important;
        font-size: 7.5pt !important;
        font-weight: bold !important;
    }

    .badge-success {
        background: #dcfce7 !important;
        color: #166534 !important;
    }

    .badge-warning {
        background: #fef3c7 !important;
        color: #92400e !important;
    }

    .badge-danger {
        background: #fee2e2 !important;
        color: #991b1b !important;
    }

    .card-footer-note {
        margin-top: 6px !important;
        text-align: center !important;
        color: #475569 !important;
        font-style: italic !important;
        font-size: 7.5pt !important;
    }
}
