/* ============================================
   Intelektiva.id - Design System CSS
   Portal Pendaftaran Test TOEFL
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700&display=swap');

/* ── CSS Variables ── */
:root {
    --color-primary: #331A5C;
    --color-primary-light: #5B2F9B;
    --color-primary-dark: #241238;
    --color-primary-50: #EDE6F7;
    --color-primary-100: #E1D8EE;
    --color-primary-200: #DDD6FE;
    --color-bg: #FAF8FB;
    --color-bg-tint: #F3EEFA;
    --color-bg-tint-2: #EDE6F7;
    --color-text: #231C2E;
    --color-text-light: #5B5468;
    --color-text-lighter: #9CA3AF;
    --color-white: #FFFFFF;
    --color-border: #E1D8EE;
    --color-border-light: #F3EEFA;
    --color-success: #10B981;
    --color-success-light: #D1FAE5;
    --color-warning: #F59E0B;
    --color-warning-light: #FEF3C7;
    --color-danger: #EF4444;
    --color-danger-light: #FEE2E2;
    --color-info: #3B82F6;
    --color-info-light: #DBEAFE;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.2s ease;
    --sidebar-width: 260px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: var(--color-bg); color: var(--color-text); line-height: 1.6; min-height: 100vh; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary-dark); }
img { max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', 'Inter', sans-serif; font-weight: 700; line-height: 1.3; color: var(--color-text); }
ul, ol { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* ── Layout ── */
.layout { display: flex; min-height: 100vh; }
.sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: var(--sidebar-width); background: var(--color-white); border-right: 1px solid var(--color-border); display: flex; flex-direction: column; z-index: 100; transition: transform 0.3s ease; }
.sidebar-brand { padding: 1.5rem; border-bottom: 1px solid var(--color-border-light); display: flex; align-items: center; gap: 0.75rem; text-align: left; }
.sidebar-brand img { max-height: 48px; width: auto; object-fit: contain; }
.sidebar-brand h2 { font-size: 1.25rem; font-family: 'Fraunces', serif; font-weight: 700; color: var(--color-primary-dark); letter-spacing: -0.01em; margin-bottom: 0.15rem; }
.sidebar-brand small { display: block; font-size: 0.7rem; color: var(--color-text-lighter); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.sidebar-nav { flex: 1; padding: 1rem 0.75rem; overflow-y: auto; }
.sidebar-nav-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border-radius: var(--radius); color: var(--color-text-light); font-weight: 500; font-size: 0.9rem; transition: var(--transition); margin-bottom: 4px; }
.sidebar-nav-item:hover { background: var(--color-primary-50); color: var(--color-primary); }
.sidebar-nav-item.active { background: var(--color-primary-100); color: var(--color-primary); font-weight: 600; }
.sidebar-nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.sidebar-footer { padding: 1rem 0.75rem; border-top: 1px solid var(--color-border-light); }
.sidebar-user { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem; }
.sidebar-user-avatar { width: 36px; height: 36px; border-radius: var(--radius-full); background: var(--color-primary-100); display: flex; align-items: center; justify-content: center; color: var(--color-primary); font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.sidebar-user-info { overflow: hidden; }
.sidebar-user-name { font-weight: 600; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { font-size: 0.75rem; color: var(--color-text-lighter); }
.main-content { flex: 1; margin-left: var(--sidebar-width); min-height: 100vh; padding: 2rem; }
.container { max-width: 1200px; margin: 0 auto; }

/* ── Mobile Header ── */
.mobile-header { display: none; position: sticky; top: 0; z-index: 99; background: var(--color-white); padding: 0.75rem 1rem; border-bottom: 1px solid var(--color-border); align-items: center; justify-content: space-between; }
.mobile-header h2 { font-size: 1.1rem; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hamburger { background: none; border: none; cursor: pointer; padding: 0.5rem; display: flex; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--color-text); border-radius: 2px; transition: var(--transition); }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99; opacity: 0; transition: opacity 0.3s ease; }
.sidebar-overlay.active { display: block; opacity: 1; }

/* ── Page Header ── */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.page-title { font-size: 1.5rem; color: var(--color-text); }
.page-subtitle { color: var(--color-text-light); font-size: 0.9rem; font-weight: 400; font-family: 'Inter', sans-serif; margin-top: 0.25rem; }
.page-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── Cards ── */
.card { background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-md); }
.card-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border-light); display: flex; align-items: center; justify-content: space-between; }
.card-header h3 { font-size: 1rem; }
.card-body { padding: 1.5rem; }
.card-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--color-border-light); background: var(--color-bg-tint); }

/* ── Stat Cards ── */
.stat-card { background: var(--color-white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: 1rem; transition: var(--transition); }
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.stat-card-icon { width: 48px; height: 48px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; background: var(--color-primary-50); color: var(--color-primary); flex-shrink: 0; }
.stat-card-icon svg { width: 24px; height: 24px; }
.stat-card-info { flex: 1; }
.stat-card-value { font-family: 'Poppins', sans-serif; font-size: 1.75rem; font-weight: 700; color: var(--color-text); line-height: 1.2; }
.stat-card-label { font-size: 0.85rem; color: var(--color-text-light); margin-top: 2px; }
.stat-card.warning .stat-card-icon { background: var(--color-warning-light); color: var(--color-warning); }
.stat-card.success .stat-card-icon { background: var(--color-success-light); color: var(--color-success); }
.stat-card.info .stat-card-icon { background: var(--color-info-light); color: var(--color-info); }
.stat-card.danger .stat-card-icon { background: var(--color-danger-light); color: var(--color-danger); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.625rem 1.25rem; border-radius: var(--radius); font-weight: 500; font-size: 0.9rem; border: 2px solid transparent; cursor: pointer; transition: var(--transition); text-align: center; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled, .btn.disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }
.btn-primary { background: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background: var(--color-primary-dark); color: var(--color-white); box-shadow: 0 4px 12px rgba(124,58,237,0.3); }
.btn-secondary { background: var(--color-border-light); color: var(--color-text); }
.btn-secondary:hover { background: var(--color-border); }
.btn-danger { background: var(--color-danger); color: var(--color-white); }
.btn-danger:hover { background: #DC2626; box-shadow: 0 4px 12px rgba(239,68,68,0.3); }
.btn-success { background: var(--color-success); color: var(--color-white); }
.btn-success:hover { background: #059669; }
.btn-info { background: var(--color-info); color: var(--color-white); }
.btn-info:hover { background: #0284C7; }
.btn-warning { background: var(--color-warning); color: var(--color-white); }
.btn-outline { background: transparent; border-color: var(--color-primary); color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: var(--color-white); }
.btn-outline-white { background: transparent; border-color: rgba(255,255,255,0.6); color: var(--color-white); }
.btn-outline-white:hover { background: var(--color-white); color: var(--color-primary); border-color: var(--color-white); }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { padding: 0.5rem; width: 36px; height: 36px; }
.btn svg { width: 18px; height: 18px; }

/* ── WhatsApp Floating Button ── */
.wa-float { position: fixed; bottom: 20px; right: 20px; background-color: #25D366; color: #fff; border-radius: 50%; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; box-shadow: 2px 2px 10px rgba(0,0,0,0.15); z-index: 1000; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.wa-float:hover { transform: scale(1.1); color: #fff; box-shadow: 2px 2px 15px rgba(0,0,0,0.25); }
.wa-float i { font-size: 32px; margin-top: 1px; }

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.85rem; color: var(--color-text); }
.form-control { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--color-border); border-radius: var(--radius); background: var(--color-white); color: var(--color-text); font-size: 0.9rem; transition: var(--transition); outline: none; }
.form-control:focus { border-color: var(--color-primary-light); box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }
.form-control::placeholder { color: var(--color-text-lighter); }
.form-control:disabled, .form-control[readonly] { background: var(--color-border-light); color: var(--color-text-light); cursor: not-allowed; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-error { color: var(--color-danger); font-size: 0.8rem; margin-top: 0.375rem; }
.form-text { color: var(--color-text-lighter); font-size: 0.8rem; margin-top: 0.375rem; }
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }
.password-wrapper { position: relative; }
.password-wrapper input { padding-right: 2.75rem; }
.password-toggle { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--color-text-light); cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; }
.password-toggle:hover { color: var(--color-primary); }

/* ── Tables ── */
.table-responsive { border-radius: var(--radius); overflow: visible; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th { background: var(--color-bg-tint); color: var(--color-text-light); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; padding: 0.875rem 1rem; text-align: left; border-bottom: 2px solid var(--color-border); white-space: nowrap; }
.table td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--color-border-light); vertical-align: middle; }
.table tr:hover td { background: var(--color-primary-50); }
.table tr:last-child td { border-bottom: none; }
.table .actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ── Dropdown Actions ── */
.dropdown { position: relative; display: inline-block; }
.dropdown-toggle { background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--color-text-light); transition: var(--transition); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.dropdown-toggle:hover { background: var(--color-primary-50); color: var(--color-primary); }
.dropdown-menu { display: none; position: absolute; right: 0; top: 100%; margin-top: 0.25rem; min-width: 140px; background: var(--color-white); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 1050; border: 1px solid var(--color-border-light); overflow: hidden; }
.dropdown-menu.dropdown-menu-up { top: auto; bottom: 100%; margin-top: 0; margin-bottom: 0.25rem; }
.dropdown-menu.active { display: block; animation: slideUp 0.2s ease; }
.dropdown-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1rem; color: var(--color-text); text-decoration: none; font-size: 0.85rem; transition: var(--transition); width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-family: inherit; }
.dropdown-item:hover { background: var(--color-bg-tint); color: var(--color-primary); }
.dropdown-item.text-danger:hover { background: var(--color-danger-light); color: var(--color-danger); }
.dropdown-item svg, .dropdown-item i[class*="fa-"] { width: 16px; height: 16px; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; }

/* ── Badges ── */
.badge { display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.badge-primary { background: var(--color-primary-100); color: var(--color-primary); }
.badge-success { background: var(--color-success-light); color: #065F46; }
.badge-warning { background: var(--color-warning-light); color: #92400E; }
.badge-danger { background: var(--color-danger-light); color: #991B1B; }
.badge-info { background: var(--color-info-light); color: #1E40AF; }
.badge-secondary { background: var(--color-border-light); color: var(--color-text-light); }

/* ── Alerts ── */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1rem; border-left: 4px solid; font-size: 0.9rem; }
.alert-success { background: var(--color-success-light); border-color: var(--color-success); color: #065F46; }
.alert-danger { background: var(--color-danger-light); border-color: var(--color-danger); color: #991B1B; }
.alert-warning { background: var(--color-warning-light); border-color: var(--color-warning); color: #92400E; }
.alert-info { background: var(--color-info-light); border-color: var(--color-info); color: #1E40AF; }

/* ── Modal ── */
.modal { display: none; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; padding: 1rem; }
.modal.active { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); animation: fadeIn 0.2s ease; }
.modal-content { position: relative; background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; animation: slideUp 0.3s ease; }
.modal-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border-light); display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { font-size: 1.1rem; }
.modal-body { padding: 1.5rem; }
.modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--color-border-light); display: flex; justify-content: flex-end; gap: 0.75rem; }
.modal-close { background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--color-text-light); font-size: 1.5rem; line-height: 1; }
.modal-close:hover { color: var(--color-text); }

/* ── Toast ── */
.toast-container { position: fixed; top: 1.5rem; right: 1.5rem; z-index: 1100; display: flex; flex-direction: column; gap: 0.75rem; max-width: 400px; }
.toast { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; background: var(--color-white); border-radius: var(--radius); box-shadow: var(--shadow-lg); animation: slideInRight 0.4s ease; font-size: 0.9rem; }
.toast-warning { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.toast-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.toast-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.toast-info { background: #DBEAFE; color: #1E3A8A; border: 1px solid #BFDBFE; }
.toast-message { flex: 1; }
.toast-close { background: none; border: none; cursor: pointer; color: inherit; opacity: 0.6; font-size: 1.25rem; padding: 0; line-height: 1; }
.toast-close:hover { opacity: 1; }

/* ── Empty State ── */
.empty-state { text-align: center; padding: 3rem 1.5rem; }
.empty-state-icon { margin: 0 auto 1rem; width: 64px; height: 64px; color: var(--color-text-lighter); opacity: 0.5; }
.empty-state-icon svg { width: 100%; height: 100%; }
.empty-state-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.empty-state-text { color: var(--color-text-light); font-size: 0.9rem; margin-bottom: 1rem; }

/* ── Loading ── */
.loading-spinner { width: 40px; height: 40px; border: 3px solid var(--color-border); border-top-color: var(--color-primary); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 2rem auto; }

/* ── Grid ── */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Filter Bar ── */
.filter-bar { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end; margin-bottom: 1.5rem; padding: 1.25rem; background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.filter-bar .form-group { margin-bottom: 0; min-width: 180px; }

/* ── Jadwal Cards ── */
.jadwal-card { background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.jadwal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.jadwal-card-header { padding: 1.25rem 1.5rem; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light)); color: var(--color-white); }
.jadwal-card-header h3 { font-size: 1.1rem; color: var(--color-white); }
.jadwal-card-body { padding: 1.25rem 1.5rem; flex: 1; }
.jadwal-card-info { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 0.9rem; color: var(--color-text-light); }
.jadwal-card-info svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--color-primary-light); }
.jadwal-card-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--color-border-light); display: flex; align-items: center; justify-content: space-between; background: var(--color-bg-tint); }
.jadwal-card-price { font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--color-primary); }
.jadwal-card.full { opacity: 0.7; }
.jadwal-card.full .jadwal-card-header { background: linear-gradient(135deg, #6B7280, #9CA3AF); }

/* ── Kuota Bar ── */
.kuota-bar { height: 6px; background: var(--color-border); border-radius: var(--radius-full); overflow: hidden; margin-top: 0.375rem; }
.kuota-bar-fill { height: 100%; background: linear-gradient(90deg, var(--color-success), #34D399); border-radius: var(--radius-full); transition: width 0.5s ease; }
.kuota-bar-fill.warning { background: linear-gradient(90deg, var(--color-warning), #FBBF24); }
.kuota-bar-fill.danger { background: linear-gradient(90deg, var(--color-danger), #F87171); }

/* ── Landing Page ── */
.navbar-public { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-border-light); padding: 0.75rem 0; }
.navbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.navbar-brand { font-size: 1.25rem; font-weight: 700; color: var(--color-primary-dark); font-family: 'Fraunces', serif; display: flex; align-items: center; gap: 0.5rem; letter-spacing: -0.01em; }
.navbar-brand img { height: 32px; width: auto; object-fit: contain; }
.navbar-links { display: flex; gap: 1.5rem; align-items: center; }
.navbar-links a { color: var(--color-text-light); font-weight: 500; font-size: 0.9rem; }
.navbar-links a:hover { color: var(--color-primary); }
.navbar-actions { display: flex; align-items: center; gap: 0.75rem; }
.navbar-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }

.hero { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, #C4B5FD 100%); padding: 5rem 1.5rem; text-align: center; color: var(--color-white); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,0.05); }
.hero::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,0.05); }
.hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero-title { font-size: 2.75rem; color: var(--color-white); margin-bottom: 1rem; line-height: 1.2; }
.hero-subtitle { font-size: 1.1rem; opacity: 0.9; margin-bottom: 2rem; font-family: 'Inter', sans-serif; font-weight: 400; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn { padding: 0.875rem 2rem; font-size: 1rem; }

.section { padding: 4rem 1.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 1.75rem; margin-bottom: 0.75rem; }
.section-subtitle { text-align: center; color: var(--color-text-light); margin-bottom: 2.5rem; font-size: 1rem; }

.feature-card { text-align: center; padding: 2rem 1.5rem; }
.feature-icon { width: 64px; height: 64px; margin: 0 auto 1rem; background: var(--color-primary-100); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: var(--color-primary); }
.feature-icon svg { width: 32px; height: 32px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--color-text-light); font-size: 0.9rem; }
.feature-step { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--color-primary); color: var(--color-white); border-radius: 50%; font-size: 0.8rem; font-weight: 700; margin-bottom: 1rem; }

.cta-banner { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light)); padding: 3rem 1.5rem; text-align: center; color: var(--color-white); border-radius: var(--radius-xl); margin: 0 1.5rem; }
.cta-banner h2 { color: var(--color-white); margin-bottom: 1rem; }
.cta-banner p { opacity: 0.9; margin-bottom: 1.5rem; }

.footer-public { background: var(--color-text); color: rgba(255,255,255,0.7); padding: 2rem 1.5rem; text-align: center; font-size: 0.85rem; }

/* ── Auth Pages ── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--color-primary-50) 0%, var(--color-bg) 50%, var(--color-primary-100) 100%); padding: 2rem 1rem; }
.auth-card { background: var(--color-white); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); width: 100%; max-width: 440px; padding: 2.5rem; }
.auth-brand { text-align: center; margin-bottom: 2rem; }
.auth-brand h1 { font-size: 1.5rem; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.auth-brand p { color: var(--color-text-light); font-size: 0.9rem; margin-top: 0.5rem; }

.auth-divider { display: flex; align-items: center; text-align: center; margin: 1.5rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--color-border); }
.auth-divider span { padding: 0 1rem; color: var(--color-text-light); font-size: 0.85rem; font-weight: 500; }

.btn-google { background: var(--color-white); color: var(--color-text); border-color: var(--color-border); justify-content: center; font-weight: 600; }
.btn-google:hover { background: var(--color-bg-tint); color: var(--color-text); border-color: var(--color-border); box-shadow: var(--shadow-sm); }
.google-icon { width: 24px; height: 24px; margin-right: 0.5rem; }

.auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.85rem; color: var(--color-text-light); }

/* ── Payment Info Card ── */
.payment-info { background: var(--color-primary-50); border: 1px solid var(--color-primary-100); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; }
.payment-info-item { display: flex; justify-content: space-between; padding: 0.375rem 0; font-size: 0.9rem; }
.payment-info-item strong { color: var(--color-text); }

/* ── Pendaftaran Detail ── */
.detail-row { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid var(--color-border-light); font-size: 0.9rem; }
.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--color-text-light); }
.detail-value { font-weight: 500; text-align: right; }

/* ── Utilities ── */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-primary { color: var(--color-primary); }
.text-success { color: var(--color-success); }
.text-danger { color: var(--color-danger); }
.text-warning { color: var(--color-warning); }
.text-muted { color: var(--color-text-light); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.w-full { width: 100%; }
.d-none { display: none; }
.d-block { display: block; }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }

/* ── Animations ── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.animate-fadeIn { animation: fadeIn 0.4s ease; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .mobile-header { display: flex; }
    .main-content { margin-left: 0; padding: 1rem; }
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .page-header { flex-direction: column; align-items: flex-start; }
    .filter-bar { flex-direction: column; }
    .filter-bar .form-group { min-width: 100%; }
    .hero { padding: 3rem 1rem; }
    .hero-title { font-size: 1.75rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .section { padding: 2.5rem 1rem; }
    .section-title { font-size: 1.35rem; }
    .navbar-links { display: none; }
    .navbar-toggle { display: block; }
    .navbar-links.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-white); padding: 1rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
    .navbar-actions .btn { font-size: 0.8rem; padding: 0.5rem 0.75rem; }
    .auth-card { padding: 1.75rem; }
    .table-responsive { overflow-x: auto; }
    .table th, .table td { padding: 0.625rem 0.75rem; font-size: 0.8rem; }
    .toast-container { right: 1rem; left: 1rem; max-width: none; }
    .cta-banner { margin: 0; border-radius: 0; }
}

@media (max-width: 480px) {
    .stat-card { padding: 1rem; }
    .stat-card-value { font-size: 1.5rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; max-width: 280px; }
}
