/* =====================================================
   TRACER STUDY & PELATIHAN ONLINE - UIN JURAI SIWO LAMPUNG
   Modern Glassmorphism Design System
   ===================================================== */

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

/* =====================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ===================================================== */
:root {
    /* Primary Palette */
    --primary-color: #193ee1;
    --primary-hover: #122cb3;
    --primary-light: rgba(25, 62, 225, 0.1);
    --primary-glow: rgba(25, 62, 225, 0.35);
    --secondary-color: #ad62df;
    --secondary-hover: #9047c2;
    --secondary-light: rgba(173, 98, 223, 0.15);
    --lms-header-color: #1c1d1f;

    /* Typography */
    --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Light Mode */
    --bg-color: #f0f2f5;
    --bg-subtle: #e8eaed;
    --panel-bg: #ffffff;
    --panel-bg-hover: #f8f9fa;
    --text-color: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --border-focus: var(--primary-color);
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.04);
    --card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.08), 0 12px 28px rgba(0, 0, 0, 0.06);
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: 20px;
    --danger-color: #ef4444;
    --danger-light: rgba(239, 68, 68, 0.1);
    --success-color: #10b981;
    --success-light: rgba(16, 185, 129, 0.1);
    --info-color: #3b82f6;
    --info-light: rgba(59, 130, 246, 0.1);
    --warning-color: #f59e0b;
    --input-bg: #ffffff;
    --skeleton-bg: #e5e7eb;
    --skeleton-shine: #f3f4f6;
    --overlay-bg: rgba(0, 0, 0, 0.45);
    --navbar-height: 64px;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-secondary: linear-gradient(135deg, #f093fb, #f5576c);
    --gradient-hero: linear-gradient(135deg, #193ee1 0%, #ad62df 100%);
}

[data-theme="dark"] {
    --bg-color: #0b0f19;
    --bg-subtle: #111827;
    --panel-bg: #1a1f2e;
    --panel-bg-hover: #232838;
    --text-color: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --border-color: #2a3042;
    --border-focus: #22c55e;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2);
    --card-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.35), 0 16px 40px rgba(0, 0, 0, 0.25);
    --glass-bg: rgba(26, 31, 46, 0.78);
    --glass-border: rgba(42, 48, 66, 0.6);
    --glass-blur: 24px;
    --input-bg: #111827;
    --skeleton-bg: #1e293b;
    --skeleton-shine: #334155;
    --overlay-bg: rgba(0, 0, 0, 0.65);
    --gradient-primary: linear-gradient(135deg, #193ee1, #ad62df);
    --gradient-hero: linear-gradient(135deg, #0b0f19 0%, #1e293b 50%, #151a2d 100%);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
    line-height: 1.6;
    font-size: 15px;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: #ffffff;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-color);
}

h1 {
    font-size: 2.25rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.75rem;
    letter-spacing: -0.015em;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1.1rem;
}

p {
    line-height: 1.7;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-hover);
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px;
    width: 100%;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-color);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
    background: var(--nav-bg, var(--glass-bg));
    color: var(--nav-text, var(--text-color));
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    height: var(--navbar-height);
    transition: background 0.3s, border-color 0.3s;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--nav-text, var(--text-color));
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.navbar-brand img {
    height: 38px;
    width: 38px;
    border-radius: 10px;
    object-fit: contain;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-link {
    color: var(--nav-text, var(--text-secondary));
    opacity: 0.85;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.navbar-link:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    opacity: 1;
}

.navbar-link.active {
    background: var(--nav-active-bg, var(--primary-light));
    color: var(--nav-active-text, var(--primary-color));
    font-weight: 600;
    opacity: 1;
}

[data-theme="dark"] .navbar-link.active {
    background: var(--nav-active-bg, rgba(34, 197, 94, 0.12));
    color: var(--nav-active-text, #22c55e);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.35rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.hamburger:hover {
    background: var(--primary-light);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-bg);
    z-index: 1100;
    animation: fadeIn 0.25s ease;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--panel-bg);
    z-index: 1101;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    animation: slideInRight 0.3s ease;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    border-left: 1px solid var(--border-color);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    color: var(--text-color) !important;
    opacity: 0.85;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav-link i {
    width: 20px;
    font-size: 1.1rem;
    color: var(--primary-color);
    text-align: center;
}

[data-theme="dark"] .mobile-nav-link i {
    color: #22c55e;
}

.mobile-nav-link:hover {
    background: var(--primary-light);
    color: var(--primary-color) !important;
    opacity: 1;
}

.mobile-nav-link.router-link-exact-active,
.mobile-nav-link.active {
    background: var(--primary-light);
    color: var(--primary-color) !important;
    opacity: 1;
}

[data-theme="dark"] .mobile-nav-link.router-link-exact-active,
[data-theme="dark"] .mobile-nav-link.active {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e !important;
}

.mobile-menu-close {
    background: var(--bg-subtle);
    border: none;
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

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

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    font-family: var(--font-family);
    white-space: nowrap;
    line-height: 1.4;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 2px 8px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 4px 16px var(--primary-glow);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: #1a1a1a;
    font-weight: 700;
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(240, 180, 41, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-outline:hover {
    background: var(--panel-bg-hover);
    border-color: var(--text-muted);
}

.btn-danger {
    background: var(--danger-color);
    color: #ffffff;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    padding: 8px;
}

.btn-ghost:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.82rem;
    border-radius: 8px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
    font-size: 1rem;
}

.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
}

/* =====================================================
   CARDS & PANELS
   ===================================================== */
.card {
    background: var(--panel-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    /* subtle hover only for interactive cards, applied via .card-hover */
}

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

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

[data-theme="dark"] .card-title i {
    color: #22c55e;
}

/* Stat Cards */
.stat-card {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.stat-card .stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 8px 0;
}

.stat-card .stat-label {
    font-size: 0.85rem;
    opacity: 0.85;
    font-weight: 500;
}

/* =====================================================
   FORMS
   ===================================================== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--border-color);
    background-color: var(--input-bg);
    color: var(--text-color);
    font-size: 0.9rem;
    font-family: var(--font-family);
    transition: all 0.25s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--primary-light);
}

[data-theme="dark"] .form-control:focus {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%236b7280'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* Custom Radio & Checkbox */
.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--border-color);
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.radio-option:hover,
.checkbox-option:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
}

/* =====================================================
   HERO SLIDER
   ===================================================== */
.hero-slider {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 480px;
    margin-bottom: 28px;
    box-shadow: var(--card-shadow);
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-slider:hover .slider-img {
    transform: scale(1.03);
}

.slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.75) 100%);
    color: #ffffff;
    padding: 60px 32px 28px;
}

.slider-title {
    color: #ffffff !important;
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slider-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.slider-dot.active {
    background: #ffffff;
    width: 28px;
    border-radius: 10px;
}

/* =====================================================
   NOTIFICATIONS
   ===================================================== */
.notif-bell {
    position: relative;
    cursor: pointer;
    padding: 0;
    border-radius: 10px;
    background: var(--panel-bg-hover);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.notif-bell:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    border-color: transparent;
}

.notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger-color);
    color: #ffffff;
    font-size: 0.65rem;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.notif-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 360px;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    z-index: 1200;
    overflow: hidden;
    animation: slideDown 0.2s ease;
}

.notif-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notif-list {
    max-height: 280px;
    overflow-y: auto;
}

.notif-item {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.15s;
    line-height: 1.5;
}

.notif-item:last-child {
    border-bottom: none;
}

.notif-item:hover {
    background: var(--panel-bg-hover);
}

.notif-item.unread {
    border-left: 3px solid var(--primary-color);
    background: var(--primary-light);
}

/* =====================================================
   THEME TOGGLE
   ===================================================== */
.mode-toggle {
    cursor: pointer;
    background: var(--panel-bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-size: 1rem;
}

.mode-toggle:hover {
    background: var(--secondary-light);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: rotate(15deg);
}

/* =====================================================
   USER MENU (NAVBAR)
   ===================================================== */
.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color);
    padding: 4px 10px 4px 4px;
    border-radius: 12px;
    transition: background 0.2s;
}

.user-avatar-link:hover {
    background: var(--panel-bg-hover);
}

.user-avatar-img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.user-avatar-name {
    font-weight: 600;
    font-size: 0.875rem;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =====================================================
   TRACER STUDY FORM
   ===================================================== */
.tracer-question-card {
    border: 1px solid var(--border-color) !important;
    border-left: 5px solid var(--primary-color) !important;
    background: var(--panel-bg) !important;
    border-radius: 16px !important;
    padding: 32px !important;
    margin-bottom: 28px !important;
    box-shadow: var(--card-shadow) !important;
    transition: transform 0.25s, box-shadow 0.25s;
}

.tracer-question-card:hover {
    box-shadow: var(--card-shadow-hover) !important;
    transform: translateY(-1px);
}

[data-theme="dark"] .tracer-question-card {
    border-left-color: #22c55e !important;
}

.tracer-options-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.question-number {
    background: var(--primary-light) !important;
    color: var(--primary-color) !important;
    font-weight: 800 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-size: 0.95rem !important;
    box-shadow: 0 2px 8px rgba(15, 81, 50, 0.08) !important;
    border: 1px solid rgba(15, 81, 50, 0.15) !important;
    margin-right: 0 !important;
}

[data-theme="dark"] .question-number {
    background: rgba(34, 197, 94, 0.12) !important;
    color: #22c55e !important;
    border-color: rgba(34, 197, 94, 0.25) !important;
}

.radio-option, .checkbox-option {
    border: 1.5px solid var(--border-color) !important;
    padding: 16px 20px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    cursor: pointer !important;
    background: var(--panel-bg) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01) !important;
    margin: 0 !important;
}

.radio-option:hover, .checkbox-option:hover {
    border-color: var(--primary-color) !important;
    background: var(--panel-bg-hover) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04) !important;
}

.radio-option.active, .checkbox-option.active {
    border-color: var(--primary-color) !important;
    background: var(--primary-light) !important;
    box-shadow: 0 4px 12px var(--primary-glow) !important;
    font-weight: 600 !important;
}

.likert-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background-color: var(--panel-bg);
    color: var(--text-color);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    outline: none;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.likert-btn:hover {
    transform: scale(1.15);
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px var(--primary-glow);
}

.likert-btn.active {
    border-color: var(--primary-color) !important;
    background-color: var(--primary-color) !important;
    color: #fff !important;
    transform: scale(1.15);
    box-shadow: 0 4px 12px var(--primary-glow) !important;
}

/* =====================================================
   COURSE CARDS
   ===================================================== */
.course-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.course-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.course-card-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card:hover .course-card-thumb {
    transform: scale(1.05);
}

.course-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-card-target {
    font-size: 0.72rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: block;
}

[data-theme="dark"] .course-card-target {
    color: #22c55e;
}

.course-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-color);
    line-height: 1.4;
}

.course-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.course-card-footer {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.course-card-author {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =====================================================
   COURSE DETAIL / LMS PLAYER
   ===================================================== */
.session-row {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.session-header {
    background: var(--panel-bg-hover);
    padding: 14px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.session-header:hover {
    background: var(--primary-light);
}

.session-body {
    padding: 16px 20px;
    animation: slideDown 0.25s ease;
}

.material-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.15s;
}

.material-item:last-child {
    border-bottom: none;
}

.material-item:hover {
    padding-left: 8px;
}

.material-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.material-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.material-icon.video {
    background: var(--info-light);
    color: var(--info-color);
}

.material-icon.pdf {
    background: var(--danger-light);
    color: var(--danger-color);
}

.completed-badge {
    background: var(--success-color);
    color: #ffffff;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Progress Bar */
.progress-bar-container {
    background: var(--border-color);
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* =====================================================
   CERTIFICATE BUILDER
   ===================================================== */
.cert-builder-canvas {
    width: 100%;
    height: 500px;
    border: 2px dashed var(--border-color);
    position: relative;
    border-radius: 12px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    background-color: var(--bg-subtle);
}

.draggable-text {
    position: absolute;
    padding: 6px 12px;
    background: rgba(240, 180, 41, 0.9);
    border: 2px solid var(--secondary-color);
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 6px;
    cursor: move;
    user-select: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* =====================================================
   TABLES
   ===================================================== */
.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
}

.table-modern thead tr {
    border-bottom: 2px solid var(--border-color);
}

.table-modern thead th {
    padding: 12px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.table-modern tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s;
}

.table-modern tbody tr:hover {
    background: var(--panel-bg-hover);
}

.table-modern tbody td {
    padding: 14px 16px;
    font-size: 0.9rem;
}

/* =====================================================
   MODALS
   ===================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-bg);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background: var(--panel-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    width: 100%;
    animation: scaleIn 0.25s ease;
    overflow: hidden;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.modal-body {
    padding: 24px;
    max-height: 65vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* =====================================================
   ALERTS & BADGES
   ===================================================== */
.alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-success {
    background: var(--success-light);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-danger {
    background: var(--danger-light);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-warning {
    background: var(--secondary-light);
    color: #92400e;
    border: 1px solid rgba(240, 180, 41, 0.2);
}

[data-theme="dark"] .alert-warning {
    color: var(--secondary-color);
}

.alert-info {
    background: var(--info-light);
    color: var(--info-color);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
}

.badge-success {
    background: var(--success-light);
    color: var(--success-color);
}

.badge-danger {
    background: var(--danger-light);
    color: var(--danger-color);
}

.badge-info {
    background: var(--info-light);
    color: var(--info-color);
}

.badge-primary {
    background: var(--primary-light);
    color: var(--primary-color);
}

.badge-warning {
    background: var(--secondary-light);
    color: #92400e;
}

/* =====================================================
   CHART CONTAINERS
   ===================================================== */
.chart-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--card-shadow);
}

.chart-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.4;
}

/* =====================================================
   NEWS / BERITA
   ===================================================== */
.news-item {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-img {
    width: 100px;
    min-width: 100px;
    height: 75px;
    border-radius: 10px;
    object-fit: cover;
}

.news-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.news-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.4;
}

.news-excerpt {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.news-date {
    font-size: 0.72rem;
    color: var(--primary-color);
    font-weight: 600;
}

[data-theme="dark"] .news-date {
    color: #22c55e;
}

/* =====================================================
   KOP SURAT / LETTERHEAD PREVIEW
   ===================================================== */
.letterhead-preview {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    margin-top: 8px;
}

.letterhead-preview img {
    max-width: 100%;
    max-height: 120px;
    border-radius: 8px;
    object-fit: contain;
}

/* =====================================================
   EMPTY STATES & LOADERS
   ===================================================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 3.5rem;
    color: var(--border-color);
    margin-bottom: 16px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 8px;
}

/* Loading spinner */
.loading-container {
    text-align: center;
    padding: 60px 0;
}

.loading-container i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

[data-theme="dark"] .loading-container i {
    color: #22c55e;
}

/* Skeleton */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background-image: linear-gradient(90deg, var(--skeleton-bg) 25%, var(--skeleton-shine) 50%, var(--skeleton-bg) 75%) !important;
    background-size: 200% 100% !important;
    animation: shimmer 1.5s infinite linear !important;
    border-radius: 8px;
}

.skeleton-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

/* =====================================================
   DIVIDER
   ===================================================== */
.divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 20px 0;
}

.divider-text {
    text-align: center;
    position: relative;
    margin: 24px 0;
}

.divider-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.divider-text span {
    background: var(--panel-bg);
    padding: 0 16px;
    position: relative;
    z-index: 1;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =====================================================
   FOOTER
   ===================================================== */
.app-footer {
    background: var(--panel-bg);
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: auto;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Page transitions */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.2s ease;
}

.fade-enter,
.fade-leave-to {
    opacity: 0;
}

/* =====================================================
   AUTH PAGES (LOGIN / REGISTER)
   ===================================================== */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--navbar-height) - 60px);
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 40px 32px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo img {
    height: 56px;
    margin-bottom: 12px;
}

.auth-logo h2 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.auth-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Google button */
.btn-google {
    width: 100%;
    background: var(--panel-bg);
    border: 1.5px solid var(--border-color);
    color: var(--text-color);
    font-weight: 600;
    gap: 12px;
}

.btn-google:hover {
    background: var(--panel-bg-hover);
    border-color: var(--text-muted);
}

.btn-google img {
    width: 20px;
    height: 20px;
}

/* =====================================================
   PROFILE PAGE
   ===================================================== */
.profile-avatar-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    border: 4px solid var(--border-color);
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.profile-role-badge {
    display: inline-flex;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--primary-light);
    color: var(--primary-color);
    margin-top: 8px;
}

[data-theme="dark"] .profile-role-badge {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

/* =====================================================
   QUIZ RESULT
   ===================================================== */
.quiz-result-card {
    text-align: center;
    padding: 40px 20px;
}

.quiz-result-score {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin: 16px 0;
}

.quiz-result-score.passed {
    color: var(--success-color);
}

.quiz-result-score.failed {
    color: var(--danger-color);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .navbar-menu {
        display: none;
    }

    .navbar-search {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu-overlay.open {
        display: block;
    }

    .user-avatar-name {
        display: none;
    }

    .navbar {
        padding: 0 16px;
    }

    .navbar-brand span {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px 16px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        height: 220px;
        border-radius: 14px;
    }

    .slider-title {
        font-size: 1.15rem;
    }

    .slider-content {
        padding: 40px 20px 20px;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    .notif-dropdown {
        width: 300px;
        right: -40px;
    }

    .auth-card {
        padding: 28px 20px;
    }

    .stat-card .stat-number {
        font-size: 2.2rem;
    }

    .cert-builder-canvas {
        height: 300px;
    }

    .table-modern {
        font-size: 0.82rem;
    }

    .table-modern thead th,
    .table-modern tbody td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .navbar-brand img {
        height: 32px;
        width: 32px;
    }

    .hero-slider {
        height: 180px;
    }

    .btn {
        padding: 9px 16px;
        font-size: 0.85rem;
    }
}


/* =====================================================
   ADMIN DROPDOWN STYLES
   ===================================================== */
.dropdown-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 10px 20px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-link:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.dropdown-link.router-link-active {
    background: var(--primary-light);
    color: var(--primary-color);
    font-weight: 600;
}

[data-theme="dark"] .dropdown-link.router-link-active {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {

    .navbar,
    .app-footer,
    .mode-toggle,
    .notif-bell,
    .hamburger {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* =====================================================
   DATATABLE & TABS & JOB BOARD STYLES
   ===================================================== */
.dataTables_wrapper {
    padding: 16px;
    background: var(--panel-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    color: var(--text-color);
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 16px;
    color: var(--text-color) !important;
    font-size: 0.88rem;
}

.dataTables_wrapper .dataTables_length select {
    background-color: var(--input-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 12px;
    margin: 0 6px;
    outline: none;
}

.dataTables_wrapper .dataTables_filter input {
    background-color: var(--input-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 14px;
    margin-left: 10px;
    outline: none;
    transition: border-color 0.2s;
    width: 250px;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--border-focus);
}

.dataTables_wrapper .dataTables_info {
    color: var(--text-muted) !important;
    font-size: 0.85rem;
    padding-top: 16px;
}

.dataTables_wrapper .dataTables_paginate {
    padding-top: 16px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: 1px solid var(--border-color) !important;
    border-radius: 6px !important;
    background: var(--panel-bg) !important;
    color: var(--text-color) !important;
    padding: 6px 12px !important;
    margin: 0 3px !important;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--primary-light) !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--gradient-primary) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
    font-weight: 600;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-color) !important;
    color: var(--text-muted) !important;
    border-color: var(--border-color) !important;
}

/* Tab System */
.tab-container {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1px;
    overflow-x: auto;
    white-space: nowrap;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

[data-theme="dark"] .tab-btn.active {
    color: #22c55e;
    border-bottom-color: #22c55e;
}

/* Job Board Styles */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.job-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.job-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 6px;
}

.job-company {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

[data-theme="dark"] .job-company {
    color: #22c55e;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.job-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.job-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--primary-light);
    color: var(--primary-color);
}

[data-theme="dark"] .job-badge {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

/* =====================================================
   CERTIFICATE BUILDER VISUAL EDITOR
   ===================================================== */
.cert-builder-canvas {
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    user-select: none;
}

.draggable-text {
    position: absolute;
    cursor: grab;
    padding: 3px 8px;
    border: 1.5px dashed rgba(15, 81, 50, 0.35);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.75);
    color: #0b2d1c;
    white-space: nowrap;
    transition: box-shadow 0.15s, border-color 0.15s;
    z-index: 2;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.draggable-text:hover,
.draggable-text:active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(15, 81, 50, 0.13), 0 2px 8px rgba(15, 81, 50, 0.10);
    cursor: grabbing;
    z-index: 10;
}

/* Per-label font styling to preview actual cert output */
.draggable-text[data-key="header"] {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
    color: #0b2d1c;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.draggable-text[data-key="sub_header"] {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #b8860b;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.draggable-text[data-key="name"] {
    font-family: 'Alex Brush', cursive;
    font-weight: 400;
    color: #0f5132;
}

.draggable-text[data-key="desc"] {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #444;
}

.draggable-text[data-key="course"] {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #111;
}

.draggable-text[data-key="cert_no"],
.draggable-text[data-key="date"] {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #666;
}

.cert-logo-overlay {
    position: absolute;
    cursor: grab;
    border: 1.5px dashed rgba(184, 134, 11, 0.5);
    border-radius: 6px;
    z-index: 3;
    transition: box-shadow 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.35);
}

.cert-logo-overlay:hover,
.cert-logo-overlay:active {
    border-color: #b8860b;
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.18), 0 2px 8px rgba(184, 134, 11, 0.12);
    cursor: grabbing;
}

.cert-logo-overlay img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* SKELETON LOADING DEFINED ABOVE */

/* COURSE CATEGORIES & CHIPS STYLE */
.category-chips-container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 2px 14px 2px;
    margin: 8px 0 20px 0;
    -webkit-overflow-scrolling: touch;
}

.category-chips-container::-webkit-scrollbar {
    height: 5px;
}

.category-chips-container::-webkit-scrollbar-track {
    background: transparent;
}

.category-chips-container::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

.chip-btn {
    border: 1px solid var(--border-color);
    background: var(--panel-bg);
    color: var(--text-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.chip-btn:hover {
    border-color: var(--primary-color);
    background: rgba(15, 81, 50, 0.05);
    color: var(--primary-color);
    transform: translateY(-1px);
}

[data-theme="dark"] .chip-btn:hover {
    background: rgba(15, 81, 50, 0.2);
}

.chip-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 81, 50, 0.3);
}

.badge-category {
    background: var(--secondary-light);
    color: #92400e;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: 1px solid rgba(240, 180, 41, 0.2);
}

[data-theme="dark"] .badge-category {
    background: rgba(240, 180, 41, 0.15);
    color: var(--secondary-color);
    border-color: rgba(240, 180, 41, 0.3);
}

.category-inline-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-inline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-color);
}

.category-inline-item:last-child {
    border-bottom: none;
}

.category-inline-actions {
    display: flex;
    gap: 6px;
}

/* =====================================================
   LANDING PAGE — PROFESSIONAL REDESIGN
   ===================================================== */

/* Hero Slider & Overlay */
.landing-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--card-shadow);
}
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
}
.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}
.slider-content {
    position: absolute;
    bottom: 60px;
    left: 60px;
    right: 60px;
    z-index: 2;
    color: #ffffff;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.slider-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.slider-subtitle {
    color: #ffffff !important;
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 24px;
    font-weight: 500;
}
.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}
.btn-outline-white {
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.btn-outline-white:hover {
    background: #ffffff;
    color: #1a1a1a;
}

/* Quick Stats Bar */
.landing-stats-section {
    padding: 20px 0 60px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-card-new {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: all 0.3s;
}
.stat-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}
.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(15, 81, 50, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
[data-theme="dark"] .stat-icon-wrapper {
    background: rgba(15, 81, 50, 0.25);
}
.stat-info {
    display: flex;
    flex-direction: column;
}
.stat-number-new {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
}
.stat-label-new {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Section Common Headers */
.section-header-center {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px auto;
}
.section-header-between {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}
.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.section-title-new {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}
.section-subtitle-new {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Tentang Platform */
.landing-about-section {
    padding: 80px 0;
    background: rgba(15, 81, 50, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 30px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    border-color: var(--primary-color);
}
.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(15, 81, 50, 0.3);
}
.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}
.feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Infografis Section */
.landing-infographics-section {
    padding: 80px 0;
}
.infographics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.info-chart-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}
.info-chart-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}
.chart-container-new {
    position: relative;
    height: 280px;
    width: 100%;
}

/* Pelatihan Section */
.landing-courses-section {
    padding: 80px 0;
    background: rgba(15, 81, 50, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.course-card-new {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.course-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    border-color: var(--primary-color);
}
.course-thumb-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.course-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.course-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}
.course-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.course-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
    line-height: 1.4;
}
.course-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}
.course-meta {
    border-top: 1px solid var(--border-color);
    padding: 12px 0 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.course-target {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Berita & Pengumuman Section */
.landing-news-section {
    padding: 80px 0;
}
.news-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}
.featured-news-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}
.featured-news-img-wrapper {
    height: 320px;
    overflow: hidden;
}
.featured-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.featured-news-content {
    padding: 30px;
}
.news-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 12px;
}
.featured-news-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
    line-height: 1.3;
}
.featured-news-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}
.news-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar-news-item {
    display: flex;
    gap: 16px;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.25s;
}
.sidebar-news-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.sidebar-news-img {
    width: 100px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}
.sidebar-news-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sidebar-news-date {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 4px;
}
.sidebar-news-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.4;
    margin: 0;
}

/* Call to Action Section */
.landing-cta-section {
    padding: 40px 0 80px 0;
}
.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #062f1c 100%);
    border-radius: 20px;
    padding: 50px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(15, 81, 50, 0.2);
}
.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.cta-content p {
    font-size: 1.05rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 30px;
}
.cta-actions {
    display: flex;
    gap: 16px;
}
.cta-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(5px);
}
.cta-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.step-num {
    background: var(--secondary-color);
    color: #1a1a1a;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.cta-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px 0;
}
.cta-step p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
    line-height: 1.4;
}

/* Footer Upgraded Styles */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 40px;
    text-align: left;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 8px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 35px;
    height: 2px;
    background: var(--primary-color);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-logo {
    height: 36px;
}
.footer-brand h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}
.footer-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.footer-col ul {
    list-style: none;
    padding: 0; margin: 0;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}
.footer-col ul li a:hover {
    color: var(--primary-color);
}
.footer-col p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.footer-col p i {
    color: var(--primary-color);
    margin-top: 4px;
}
.social-links {
    display: flex;
    gap: 10px;
}
.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 81, 50, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.2s;
    text-decoration: none;
}
.social-icon:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Empty State Styles */
.empty-state-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
}
.empty-state-card i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--border-color);
}
.empty-state-card p {
    font-size: 0.92rem;
    margin: 0;
}

/* Mobile Responsiveness for Redesign */
@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-features-grid {
        grid-template-columns: 1fr;
    }
    .infographics-grid {
        grid-template-columns: 1fr;
    }
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-layout {
        grid-template-columns: 1fr;
    }
    .cta-box {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .slider-wrapper {
        height: 360px;
    }
    .slider-content {
        left: 20px;
        right: 20px;
        bottom: 40px;
    }
    .slider-title {
        font-size: 1.8rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .courses-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .btn-hide-mobile {
        display: none !important;
    }
    .btn-show-mobile {
        display: block !important;
    }
}
@media (min-width: 769px) {
    .btn-show-mobile {
        display: none !important;
    }
}

/* =====================================================
   SKELETON SHIMMER LOADERS
   ===================================================== */
.skeleton-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

/* If skeleton-card is empty, make it shimmer directly */
.skeleton-card:empty {
    background-image: linear-gradient(90deg, var(--skeleton-bg) 25%, var(--skeleton-shine) 50%, var(--skeleton-bg) 75%) !important;
    background-size: 200% 100% !important;
    animation: shimmer 1.5s infinite linear !important;
    border-color: transparent !important;
}

.skeleton-img-placeholder,
.skeleton-title-placeholder,
.skeleton-text-placeholder,
.skeleton-text-short-placeholder,
.skeleton-button-placeholder,
.skeleton-circle-placeholder,
.skeleton-chart-bar-placeholder {
    background-image: linear-gradient(90deg, var(--skeleton-bg) 25%, var(--skeleton-shine) 50%, var(--skeleton-bg) 75%) !important;
    background-size: 200% 100% !important;
    animation: shimmer 1.5s infinite linear !important;
}

.skeleton-img-placeholder {
    width: 100%;
    height: 180px;
    border-radius: 8px;
}

.skeleton-title-placeholder {
    width: 75%;
    height: 20px;
}

.skeleton-text-placeholder {
    width: 100%;
    height: 14px;
}

.skeleton-text-short-placeholder {
    width: 45%;
    height: 14px;
}

.skeleton-button-placeholder {
    width: 100%;
    height: 38px;
    border-radius: 8px;
}

.skeleton-circle-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin: 0 auto;
}

.skeleton-chart-bar-placeholder {
    width: 100%;
    height: 250px;
    border-radius: 8px;
}

/* =====================================================
   PUBLIC PAGES STYLING (ACADEMIC & PROFESSIONAL)
   ===================================================== */
.academic-page-header {
    background: var(--gradient-hero);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.academic-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.academic-page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.academic-page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* About Page Specifics */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.vision-mission-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    margin-bottom: 24px;
}

.vision-mission-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.academic-list {
    list-style: none;
    padding-left: 0;
}

.academic-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    line-height: 1.6;
}

.academic-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Infographics Page Specifics */
.chart-box {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chart-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.chart-header-inline h3 {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.analysis-card {
    background: var(--primary-light);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 0 12px 12px 0;
    margin-top: 24px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* News Search */
.news-search-bar {
    max-width: 600px;
    margin: -20px auto 40px auto;
    position: relative;
    z-index: 10;
    padding: 0 16px;
}

.news-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    box-shadow: var(--card-shadow-hover);
    padding: 6px 12px 6px 20px;
}

.news-search-input-wrapper input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 1rem;
    background: transparent;
    color: var(--text-color);
    padding: 8px 0;
}

.news-search-input-wrapper i {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-right: 12px;
}

.news-search-input-wrapper .btn-search {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.news-search-input-wrapper .btn-search:hover {
    background: var(--primary-hover);
}

/* =====================================================
   PUBLIC COURSES PAGE SIDEBAR LAYOUT
   ===================================================== */
.courses-layout-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    margin-top: 32px;
}

@media (max-width: 992px) {
    .courses-layout-container {
        grid-template-columns: 1fr;
    }
}

.category-sidebar {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 90px;
}

.category-sidebar-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.category-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item-btn {
    background: none;
    border: none;
    text-align: left;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-item-btn:hover {
    background: var(--panel-bg-hover);
    color: var(--primary-color);
}

.category-item-btn.active {
    background: var(--primary-light);
    color: var(--primary-color);
}

.category-item-btn.active .badge {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

/* =====================================================
   PUBLIC NEWS LIST PAGE STYLES (PREMIUM)
   ===================================================== */
/* =====================================================
   PUBLIC NEWS LIST PAGE STYLES (PREMIUM)
   ===================================================== */
.news-search-bar {
    display: flex;
    justify-content: center;
    margin: 40px auto 20px auto;
    padding: 0 16px;
    width: 100%;
}
.news-search-input-wrapper {
    position: relative;
    background: var(--panel-bg);
    border: 1.5px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border-radius: 50px;
    padding: 6px 12px 6px 20px;
    display: flex;
    align-items: center;
    width: 340px;
    max-width: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.news-search-input-wrapper:focus-within {
    width: 520px;
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(15, 81, 50, 0.12);
}
.news-search-input-wrapper input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    color: var(--text-color);
    padding: 4px 0;
}
.news-search-input-wrapper i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.15rem;
}
.news-card-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.news-card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover:hover .news-card-img-container img {
    transform: scale(1.08);
}
.news-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(15, 81, 50, 0.9);
    color: #ffffff;
    backdrop-filter: blur(8px);
    font-size: 0.7rem;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.news-card-content {
    padding: 24px;
}
.news-card-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}
.news-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-color);
    margin-bottom: 12px;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-hover:hover .news-card-title {
    color: var(--primary-color);
}
.news-card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-read-more {
    font-size: 0.88rem;
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.news-read-more i {
    transition: transform 0.2s ease;
}
.card-hover:hover .news-read-more i {
    transform: translateX(4px);
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    width: 100%;
}
.pagination-btn {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.pagination-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--panel-bg-hover);
}
.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.pagination-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    background: var(--panel-bg);
    cursor: pointer;
    transition: all 0.2s ease;
}
.pagination-number:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.pagination-number.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

/* Related News / Suggestions section */
.suggestions-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}
.suggestions-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-color);
}

/* Futuristic Hero Slider Transition: Cross-Fade Zoom */
.slider-fade-enter-active, .slider-fade-leave-active {
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.slider-fade-enter-active .slider-img, .slider-fade-leave-active .slider-img {
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.slider-fade-enter-active .slider-content, .slider-fade-leave-active .slider-content {
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-fade-enter {
    opacity: 0;
}
.slider-fade-enter .slider-img {
    transform: scale(1.08);
}
.slider-fade-enter .slider-content {
    opacity: 0;
    transform: translateY(20px);
}

.slider-fade-leave-to {
    opacity: 0;
}
.slider-fade-leave-to .slider-img {
    transform: scale(0.95);
}
.slider-fade-leave-to .slider-content {
    opacity: 0;
    transform: translateY(-20px);
}

/* Page Transition: Fade & Slide */
.fade-slide-enter-active, .fade-slide-leave-active {
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-slide-enter {
    opacity: 0;
    transform: scale(1.02) translateY(5px);
}
.fade-slide-leave-to {
    opacity: 0;
    transform: scale(0.98) translateY(-5px);
}

/* =====================================================
   REDESIGN v2 — MODERN, CLEAN, PREMIUM PUBLIC PAGES
   ===================================================== */

/* --- Entrance Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(3deg); }
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes morphBlob {
    0%, 100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
    25% { border-radius: 73% 27% 40% 60% / 50% 62% 38% 50%; }
    50% { border-radius: 28% 72% 55% 45% / 58% 30% 70% 42%; }
    75% { border-radius: 60% 40% 30% 70% / 35% 65% 35% 65%; }
}

.anim-fadeInUp {
    animation: fadeInUp 0.6s ease both;
}
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }
.anim-delay-5 { animation-delay: 0.5s; }
.anim-delay-6 { animation-delay: 0.6s; }

/* --- Redesigned Hero v2 --- */
.landing-hero-v2 {
    position: relative;
    overflow: hidden;
    height: 540px;
    margin-bottom: 0;
    margin-top: -28px;
    margin-left: -24px;
    margin-right: -24px;
    border-radius: 0 !important;
}
.landing-hero-v2 .slider-wrapper {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 0 !important;
}
.landing-hero-v2 .slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.landing-hero-v2 .slider-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(25, 62, 225, 0.45) 0%, rgba(173, 98, 223, 0.7) 100%);
    z-index: 2;
}
.landing-hero-v2 .slider-content {
    bottom: 80px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0 24px;
    position: absolute;
    z-index: 10;
}
.landing-hero-v2 .slider-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.4rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    text-shadow: 0 6px 30px rgba(0,0,0,0.5);
    max-width: 860px;
    margin: 0 auto 16px auto;
    color: #ffffff !important;
    line-height: 1.2;
}
.landing-hero-v2 .slider-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 32px auto;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.landing-hero-v2 .hero-badge {
    background: var(--gradient-secondary);
    color: #111827;
    border: none;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(240, 180, 41, 0.35);
}
.landing-hero-v2 .hero-actions {
    justify-content: center;
    display: flex;
    gap: 16px;
}
.landing-hero-v2 .hero-actions .btn-primary {
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 4px 20px var(--primary-glow);
}
.landing-hero-v2 .hero-actions .btn-outline-white {
    border-radius: 50px;
    padding: 12px 28px;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.08);
}

/* Futuristic Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.slider-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px var(--primary-glow);
    transform: translateY(-50%) scale(1.08);
}
.slider-arrow.prev {
    left: 40px;
}
.slider-arrow.next {
    right: 40px;
}

/* Futuristic Sidebar Indicators (Right) */
.slider-indicators-right {
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 25;
}
.indicator-row {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    opacity: 0.45;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.indicator-row:hover {
    opacity: 0.85;
}
.indicator-row.active {
    opacity: 1;
}
.indicator-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.05em;
    width: 20px;
    text-align: right;
}
.indicator-bar {
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 1px;
}
.indicator-row.active .indicator-bar {
    width: 48px;
    background: var(--secondary-color);
    box-shadow: 0 0 10px rgba(173, 98, 223, 0.8);
}

/* Floating Particles & Decorations in Hero */
.particles-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 3;
}
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0.35;
    animation: floatParticle 8s ease-in-out infinite;
}
.particle-1 { top: 15%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 35%; left: 75%; animation-delay: 2s; width: 8px; height: 8px; }
.particle-3 { top: 75%; left: 15%; animation-delay: 4s; }
.particle-4 { top: 55%; left: 60%; animation-delay: 1s; width: 4px; height: 4px; }
.particle-5 { top: 80%; left: 85%; animation-delay: 3s; }

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.25; }
    50% { transform: translateY(-30px) scale(1.2); opacity: 0.6; }
}

.hero-decorations {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}
.deco-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 10%;
    right: 5%;
    animation: spinDeco 24s linear infinite;
}
.deco-dots {
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 20%, transparent 20%);
    background-size: 10px 10px;
    bottom: 15%;
    left: 8%;
}

@keyframes spinDeco {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


@media (max-width: 900px) {
    .slider-arrow { display: none; }
    .slider-indicators-right { display: none; }
}

/* Hero Decorative Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    animation: floatSlow 8s ease-in-out infinite;
}
.hero-blob-1 {
    width: 300px; height: 300px;
    background: var(--primary-color);
    top: -80px; right: -60px;
    animation-delay: 0s;
}
.hero-blob-2 {
    width: 200px; height: 200px;
    background: var(--secondary-color);
    bottom: -40px; left: -40px;
    animation-delay: 2s;
}

/* --- Stats Section v2 --- */
.landing-stats-v2 {
    padding: 0;
    margin-top: -48px;
    position: relative;
    z-index: 10;
}
.landing-stats-v2 .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat-card-v2 {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.stat-card-v2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}
.stat-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}
.stat-card-v2:hover::after {
    opacity: 1;
}
.stat-icon-v2 {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    background: var(--primary-light);
    color: var(--primary-color);
    transition: all 0.3s;
}
.stat-card-v2:hover .stat-icon-v2 {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.08);
}
.stat-number-v2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.stat-label-v2 {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* --- Features Section v2 --- */
.landing-features-v2 {
    padding: 100px 0 80px 0;
    position: relative;
}
.feature-card-v2 {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}
.feature-card-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: transparent;
}
.feature-card-v2:hover::before {
    transform: scaleX(1);
}
.feature-icon-v2 {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    background: var(--primary-light);
    color: var(--primary-color);
    transition: all 0.35s;
}
.feature-card-v2:hover .feature-icon-v2 {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 8px 24px var(--primary-glow);
}
.feature-card-v2 h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.feature-card-v2 p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* --- Chart Section v2 --- */
.landing-charts-v2 {
    padding: 80px 0;
    background: var(--bg-subtle);
}
.chart-card-v2 {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: all 0.3s;
}
.chart-card-v2:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.chart-card-v2-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}
.chart-card-v2-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.chart-card-v2-header h3 i {
    color: var(--primary-color);
}

/* --- Courses Section v2 (Landing) --- */
.landing-courses-v2 {
    padding: 80px 0;
}
.course-card-v2 {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.course-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: transparent;
}
.course-card-v2 .course-thumb-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.course-card-v2 .course-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.course-card-v2:hover .course-thumb {
    transform: scale(1.08);
}
.course-card-v2 .course-badge {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.course-card-v2 .course-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.course-card-v2 .course-title {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.course-card-v2 .course-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.course-card-v2 .course-meta {
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.course-card-v2 .course-meta .btn {
    border-radius: 50px;
    padding: 8px 20px;
}

/* --- News Section v2 (Landing) --- */
.landing-news-v2 {
    padding: 80px 0;
    background: var(--bg-subtle);
}
.news-featured-v2 {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
    display: block;
    text-decoration: none;
    color: inherit;
}
.news-featured-v2:hover {
    box-shadow: 0 16px 50px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.news-featured-v2 .featured-news-img-wrapper {
    height: 340px;
    overflow: hidden;
}
.news-featured-v2 .featured-news-img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.news-featured-v2:hover .featured-news-img {
    transform: scale(1.05);
}
.sidebar-news-v2 {
    display: flex;
    gap: 14px;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}
.sidebar-news-v2:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    transform: translateX(4px);
}
.sidebar-news-v2 img {
    width: 90px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

/* --- CTA Section v2 --- */
.landing-cta-v2 {
    padding: 40px 0 100px 0;
}
.cta-box-v2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, #062f1c 100%);
    border-radius: 24px;
    padding: 60px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    box-shadow: 0 20px 60px rgba(15, 81, 50, 0.25);
    position: relative;
    overflow: hidden;
}
.cta-box-v2::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    animation: floatSlow 10s ease-in-out infinite;
}
.cta-box-v2::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 200px; height: 200px;
    background: rgba(240,180,41,0.08);
    border-radius: 50%;
    animation: floatSlow 8s ease-in-out infinite reverse;
}
.cta-box-v2 .cta-content {
    position: relative;
    z-index: 1;
}
.cta-box-v2 .cta-steps {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(10px);
}
.cta-box-v2 .step-num {
    background: var(--secondary-color);
    color: #1a1a1a;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: all 0.3s;
}
.cta-box-v2 .cta-step:hover .step-num {
    transform: scale(1.15) rotate(-5deg);
}
.cta-box-v2 .cta-actions .btn {
    border-radius: 50px;
    padding: 14px 32px;
}

/* --- Auth Pages v2 (Login/Register) --- */
.auth-page-v2 {
    display: flex;
    min-height: 100vh;
    background: var(--bg-color);
}
.auth-decor-panel {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, #062f1c 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}
.auth-decor-aurora {
    position: absolute;
    width: 150%; height: 150%;
    top: -25%; left: -25%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15), transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1), transparent 40%);
    animation: rotateAurora 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}
.auth-decor-particles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: radial-gradient(circle, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle, black, transparent 80%);
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}
.auth-decor-bubbles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.auth-decor-bubbles .bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: bubbleFloat 15s infinite ease-in-out;
}
@keyframes bubbleFloat {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-120vh) scale(1.2) rotate(360deg);
        opacity: 0;
    }
}
@keyframes rotateAurora {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.auth-decor-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 380px;
}
.auth-decor-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.auth-decor-content p {
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 32px;
}
.auth-decor-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}
.auth-decor-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.92rem;
    font-weight: 500;
    opacity: 0.9;
}
.auth-decor-feature-item i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.auth-form-panel {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}
.auth-card-v2 {
    width: 100%;
    max-width: 440px;
    animation: fadeInUp 0.6s ease both;
}
.auth-card-v2 .auth-logo {
    margin-bottom: 32px;
}
.auth-card-v2 .auth-logo-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.auth-card-v2 h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.auth-card-v2 .btn-primary {
    border-radius: 12px;
    padding: 13px 28px;
}
.auth-card-v2 .btn-google {
    border-radius: 12px;
}
.auth-back-link {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 10;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
}
.auth-back-link:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}
.auth-theme-toggle {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
}

@media (max-width: 900px) {
    .auth-page-v2 {
        flex-direction: column;
    }
    .auth-decor-panel {
        display: none;
    }
    .auth-form-panel {
        padding: 24px;
    }
}

/* --- Page Header v2 --- */
.page-header-v2 {
    background: var(--header-bg, var(--gradient-hero));
    background-size: cover;
    background-position: center;
    color: var(--header-text, #ffffff) !important;
    padding: 35px 0 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}
.page-header-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.page-header-v2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 25px;
    background: var(--public-bg-color-2, var(--bg-color));
    border-radius: 30px 30px 0 0;
    transition: background-color 0.4s ease;
    display: block;
}
.page-header-v2 h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
    color: var(--header-text, #ffffff) !important;
}
.page-header-v2 p {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 850px;
    margin: 0 auto;
    font-weight: 400;
    position: relative;
    z-index: 1;
    color: var(--header-text, #ffffff) !important;
}
.page-header-v2 .header-decoration {
    position: absolute;
    pointer-events: none;
    transition: all 0.5s ease-in-out;
}

/* Default / Spheres */
[data-header-decor="sphere"] .page-header-v2 .header-decoration {
    width: 150px; height: 150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    filter: none;
}
[data-header-decor="sphere"] .page-header-v2 .header-decoration:nth-child(1) {
    top: -40px; right: 10%;
    animation: floatSlow 8s ease-in-out infinite;
}
[data-header-decor="sphere"] .page-header-v2 .header-decoration:nth-child(2) {
    bottom: 20px; left: 8%;
    width: 100px; height: 100px;
    animation: floatSlow 10s ease-in-out infinite reverse;
}

/* Tech Grid */
[data-header-decor="grid"] .page-header-v2 .header-decoration {
    border-radius: 0;
    animation: none !important;
}
[data-header-decor="grid"] .page-header-v2 .header-decoration:nth-child(1) {
    top: 0; right: 0; left: 0; bottom: 0;
    width: 100%; height: 100%;
    background-size: 30px 30px;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    opacity: 0.85;
}
[data-header-decor="grid"] .page-header-v2 .header-decoration:nth-child(2) {
    display: none;
}

/* Aurora Glow */
[data-header-decor="aurora"] .page-header-v2 .header-decoration {
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
    filter: blur(40px);
}
[data-header-decor="aurora"] .page-header-v2 .header-decoration:nth-child(1) {
    top: -120px; right: 5%;
    animation: pulseGlow 12s ease-in-out infinite alternate;
}
[data-header-decor="aurora"] .page-header-v2 .header-decoration:nth-child(2) {
    bottom: -100px; left: -50px;
    width: 250px; height: 250px;
    animation: pulseGlow 8s ease-in-out infinite alternate-reverse;
}

/* None / Clean */
[data-header-decor="none"] .page-header-v2 .header-decoration {
    display: none;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
    50% { transform: scale(1.15) translate(20px, -10px); opacity: 0.9; }
    100% { transform: scale(0.9) translate(-10px, 20px); opacity: 0.5; }
}

/* --- Footer v2 --- */
.app-footer-v2 {
    background: var(--footer-bg, var(--panel-bg));
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    position: relative;
}
.app-footer-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
}
.footer-grid-v2 {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 40px;
    text-align: left;
    margin-bottom: 40px;
}
.footer-col-v2 h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.82rem;
}
.footer-col-v2 h4::after {
    content: '';
    display: block;
    width: 28px; height: 2px;
    background: var(--primary-color);
    margin-top: 8px;
    border-radius: 2px;
}
.footer-col-v2 ul {
    list-style: none;
    padding: 0; margin: 0;
}
.footer-col-v2 ul li {
    margin-bottom: 10px;
}
.footer-col-v2 ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-col-v2 ul li a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s;
}
.footer-col-v2 ul li a:hover {
    color: var(--primary-color);
}
.footer-col-v2 ul li a:hover::before {
    width: 12px;
}
.footer-brand-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-brand-v2 img {
    height: 40px;
    border-radius: 10px;
}
.footer-brand-v2 h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
}
.footer-desc-v2 {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.footer-contact-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-contact-item i {
    color: var(--primary-color);
    margin-top: 3px;
    width: 16px;
    text-align: center;
}
.social-links-v2 {
    display: flex;
    gap: 10px;
}
.social-icon-v2 {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.3s;
    text-decoration: none;
}
.social-icon-v2:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--primary-glow);
}
.footer-bottom-v2 {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* --- Section Header v2 --- */
.section-header-v2 {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px auto;
}
.section-tag-v2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}
[data-theme="dark"] .section-tag-v2 {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}
.section-title-v2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.section-subtitle-v2 {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* --- About Page v2 --- */
.about-timeline {
    position: relative;
    padding-left: 40px;
}
.about-timeline::before {
    content: '';
    position: absolute;
    left: 15px; top: 0; bottom: 0;
    width: 2px;
    background: var(--border-color);
}
.about-timeline-item {
    position: relative;
    margin-bottom: 24px;
}
.about-timeline-dot {
    position: absolute;
    left: -40px; top: 4px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px var(--primary-glow);
    z-index: 1;
}

/* --- Jobs Card v2 --- */
.job-card-v2 {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.job-card-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--gradient-primary);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity 0.3s;
}
/* --- Public BG Types --- */
.bg-radial-bola {
    background: radial-gradient(circle at 50% 50%, var(--public-bg-color-1, rgba(15, 81, 50, 0.12)) 0%, var(--public-bg-color-2, var(--bg-color)) 100%) !important;
}
.bg-grid-kotak {
    background-color: var(--public-bg-color-2, var(--bg-color)) !important;
    background-image: linear-gradient(var(--public-bg-color-1, rgba(15, 81, 50, 0.08)) 1px, transparent 1px),
                      linear-gradient(90deg, var(--public-bg-color-1, rgba(15, 81, 50, 0.08)) 1px, transparent 1px) !important;
    background-size: 32px 32px !important;
}
.bg-aurora {
    background-color: var(--public-bg-color-2, var(--bg-color)) !important;
    background-image: radial-gradient(at 0% 0%, var(--public-bg-color-1, rgba(15, 81, 50, 0.15)) 0px, transparent 50%),
                      radial-gradient(at 100% 0%, var(--public-bg-color-2, rgba(240, 180, 41, 0.1)) 0px, transparent 50%),
                      radial-gradient(at 100% 100%, var(--public-bg-color-1, rgba(59, 130, 246, 0.1)) 0px, transparent 50%),
                      radial-gradient(at 0% 100%, var(--public-bg-color-2, rgba(239, 68, 68, 0.08)) 0px, transparent 50%) !important;
    background-attachment: fixed !important;
}
.bg-dots {
    background-color: var(--public-bg-color-2, var(--bg-color)) !important;
    background-image: radial-gradient(var(--public-bg-color-1, rgba(15, 81, 50, 0.15)) 1.5px, transparent 1.5px) !important;
    background-size: 24px 24px !important;
    background-attachment: fixed !important;
}
.bg-stripes {
    background-color: var(--public-bg-color-2, var(--bg-color)) !important;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, var(--public-bg-color-1, rgba(15, 81, 50, 0.04)) 10px, var(--public-bg-color-1, rgba(15, 81, 50, 0.04)) 20px) !important;
    background-attachment: fixed !important;
}
.bg-blobs {
    background-color: var(--public-bg-color-2, var(--bg-color)) !important;
    background-image: radial-gradient(circle at 15% 25%, var(--public-bg-color-1, rgba(15, 81, 50, 0.1)) 0%, transparent 45%),
                      radial-gradient(circle at 85% 75%, var(--public-bg-color-2, rgba(240, 180, 41, 0.08)) 0%, transparent 45%) !important;
    background-attachment: fixed !important;
}
.job-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: transparent;
}
.job-card-v2:hover::before {
    opacity: 1;
}
.job-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: var(--primary-light);
    color: var(--primary-color);
}

/* --- Modal v2 --- */
.modal-v2 {
    max-width: 620px;
    width: 90%;
    background: var(--panel-bg);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 24px 80px rgba(0,0,0,0.2);
    animation: fadeInScale 0.3s ease both;
    overflow: hidden;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
}
.modal-v2-header {
    padding: 28px 32px 20px 32px;
    border-bottom: 1px solid var(--border-color);
}
.modal-v2-body {
    padding: 24px 32px;
}
.modal-v2-footer {
    padding: 20px 32px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}
.modal-close-v2 {
    position: absolute;
    top: 20px; right: 20px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.modal-close-v2:hover {
    background: var(--danger-light);
    color: var(--danger-color);
    border-color: transparent;
}

/* --- News Detail v2 --- */
.news-detail-card-v2 {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.news-detail-header-v2 {
    padding: 40px 48px 0 48px;
}
.news-detail-body-v2 {
    padding: 32px 48px 48px 48px;
}
.news-detail-body-v2 .news-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-color);
}
.news-detail-body-v2 .news-content p {
    margin-bottom: 16px;
}
.news-detail-body-v2 .news-content img {
    border-radius: 12px;
    max-width: 100%;
}

/* --- Skeleton v2 (Layout-specific) --- */
.skel-hero {
    height: 540px;
    background: var(--bg-subtle);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0 24px 80px 24px;
    position: relative;
    overflow: hidden;
}
.skel-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, transparent 40%, var(--bg-subtle) 100%);
}
.skel-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: -48px;
    position: relative;
    z-index: 10;
}
.skel-stat-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.skel-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.skel-feature-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
}
.skel-charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.skel-chart-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
}
.skel-courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.skel-course-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
}
.skel-news-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
}
.skel-sidebar-news {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.skel-sidebar-item {
    display: flex;
    gap: 14px;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px;
}

/* --- Skeleton for sub-pages --- */
.skel-page-header {
    height: 200px;
    background: var(--bg-subtle);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    position: relative;
}
.skel-page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: var(--bg-color);
    border-radius: 40px 40px 0 0;
}

/* --- Responsive v2 --- */
@media (max-width: 991px) {
    .landing-hero-v2, .landing-hero-v2 .slider-wrapper { height: 420px; }
    .landing-hero-v2 .slider-title { font-size: 2rem; }
    .skel-hero { height: 420px; }
    .skel-stats-grid, .stat-card-v2 { grid-template-columns: repeat(2, 1fr); }
    .landing-stats-v2 .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .skel-features-grid, .about-features-grid { grid-template-columns: 1fr; }
    .skel-charts-grid { grid-template-columns: 1fr; }
    .skel-courses-grid, .courses-grid { grid-template-columns: repeat(2, 1fr); }
    .skel-news-layout, .news-layout { grid-template-columns: 1fr; }
    .cta-box-v2 { grid-template-columns: 1fr; padding: 36px; gap: 24px; }
    .footer-grid-v2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .landing-hero-v2, .landing-hero-v2 .slider-wrapper { height: auto; min-height: 380px; padding: 40px 0; }
    .landing-hero-v2 .slider-title { font-size: 1.65rem; }
    .landing-hero-v2 .slider-content { bottom: auto; position: relative; padding: 40px 20px; }
    .skel-hero { height: 380px; }
    .skel-stats-grid, .landing-stats-v2 .stats-grid { grid-template-columns: 1fr; }
    .skel-courses-grid, .courses-grid { grid-template-columns: 1fr; }
    .skel-features-grid { grid-template-columns: 1fr; }
    .footer-grid-v2 { grid-template-columns: 1fr; }
    .cta-box-v2 { padding: 28px 20px; gap: 20px; grid-template-columns: 1fr; }
    .cta-box-v2 .cta-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; }
    .cta-box-v2 .cta-actions .btn { width: 100%; text-align: center; }
    .cta-box-v2 .cta-steps { padding: 20px 16px; }
    .cta-box-v2 .cta-step { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
    .cta-box-v2 .cta-step:last-child { margin-bottom: 0; }
    .page-header-v2 { padding: 40px 0 60px 0; }
    .page-header-v2 h1 { font-size: 1.65rem; }
    .section-title-v2 { font-size: 1.6rem; }
    .news-detail-header-v2 { padding: 28px 24px 0 24px; }
    .news-detail-body-v2 { padding: 24px 24px 32px 24px; }
}
@media (max-width: 480px) {
    .landing-hero-v2, .landing-hero-v2 .slider-wrapper { min-height: 320px; }
    .landing-hero-v2 .slider-title { font-size: 1.4rem; }
    .landing-hero-v2 .hero-badge { font-size: 0.72rem; padding: 6px 14px; }
}

/* --- Utility: btn-outline-primary fix --- */
.btn-outline-primary {
    background: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #ffffff;
}
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}
.btn-success {
    background: var(--success-color);
    color: #ffffff;
}
.btn-success:hover {
    background: #059669;
}

/* --- CKEditor 5 Layout & Design System Adaptations --- */
.ck-editor__editable_inline {
    min-height: 420px !important;
    max-height: 700px !important;
    font-family: var(--font-family) !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    padding: 16px 24px !important;
    color: var(--text-color) !important;
    background-color: var(--input-bg) !important;
}

.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused) {
    border-color: var(--border-color) !important;
}

.ck.ck-toolbar {
    background: var(--bg-subtle) !important;
    border-color: var(--border-color) !important;
    border-radius: 8px 8px 0 0 !important;
}

[data-theme="dark"] .ck-editor__editable_inline {
    color: #cbd5e1 !important;
    background-color: #111827 !important;
}

[data-theme="dark"] .ck.ck-toolbar {
    background: #1a1f2e !important;
    border-color: #2a3042 !important;
}

[data-theme="dark"] .ck.ck-button {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .ck.ck-button:hover {
    background: #232838 !important;
}

[data-theme="dark"] .ck.ck-button.ck-on {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

/* ============================================================
   ALUMNI MAP PAGE - Modern Technological Design
   ============================================================ */

/* Marker Animations */
.map-marker-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.map-marker-pulse {
    position: absolute;
    border-radius: 50%;
    animation: markerPulse 2.8s ease-out infinite;
}

.map-marker-pulse-2 {
    position: absolute;
    border-radius: 50%;
    animation: markerPulse 2.8s ease-out infinite 1.4s;
}

@keyframes markerPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(3.5); opacity: 0; }
}

.map-marker-core {
    position: relative;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-family: 'Inter', sans-serif;
    z-index: 2;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s ease;
    border: 2px solid rgba(255,255,255,0.25);
}

.map-marker-wrapper:hover .map-marker-core {
    transform: scale(1.25);
}

/* Custom Leaflet Tooltip */
.map-tooltip-custom {
    background: rgba(15, 23, 42, 0.92) !important;
    color: #e2e8f0 !important;
    border: 1px solid rgba(6, 182, 212, 0.35) !important;
    border-radius: 10px !important;
    padding: 7px 14px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45) !important;
    letter-spacing: 0.2px !important;
    backdrop-filter: blur(8px) !important;
}

.map-tooltip-custom::before {
    border-top-color: rgba(15, 23, 42, 0.92) !important;
}

/* Detail Panel Animation */
.map-detail-enter {
    animation: mapSlideIn 0.35s cubic-bezier(.4,0,.2,1);
}

@keyframes mapSlideIn {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Province Rank Bar */
.province-rank-bar-fill {
    transition: width 1s cubic-bezier(.4,0,.2,1);
}

/* Province Rank Item */
.province-rank-item {
    transition: all 0.2s ease;
    cursor: pointer;
}

.province-rank-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Alumni Card */
.alumni-card-item {
    transition: all 0.2s ease;
}

.alumni-card-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Map Stat Card Hover */
.map-stat-card {
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
}

.map-stat-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 4px;
    border-radius: 0 12px 12px 0;
    transition: opacity 0.3s;
    opacity: 0;
}

.map-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.map-stat-card:hover::after {
    opacity: 1;
}

/* Map Container dark mode override */
.map-dark-container {
    background: #0f172a !important;
    border: 1px solid rgba(6, 182, 212, 0.15) !important;
}

/* City bar animation */
.city-bar-fill {
    transition: width 0.6s cubic-bezier(.4,0,.2,1) 0.2s;
}

/* Stagger animation for list items */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.stagger-item {
    animation: fadeInUp 0.4s ease-out both;
}

/* Leaflet overrides for dark map */
.leaflet-control-zoom a {
    background: rgba(15, 23, 42, 0.85) !important;
    color: #e2e8f0 !important;
    border-color: rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(8px);
}

.leaflet-control-zoom a:hover {
    background: rgba(30, 41, 59, 0.95) !important;
    color: #06b6d4 !important;
}

.leaflet-control-attribution {
    background: rgba(15, 23, 42, 0.7) !important;
    color: rgba(148, 163, 184, 0.6) !important;
    font-size: 9px !important;
    backdrop-filter: blur(4px);
}

.leaflet-control-attribution a {
    color: rgba(6, 182, 212, 0.6) !important;
}

/* Scrollbar for detail panel */
.map-detail-scroll::-webkit-scrollbar {
    width: 4px;
}

.map-detail-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.map-detail-scroll::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.map-detail-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

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

/* LMS Responsive Layout Grids */
.lms-responsive-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: start;
}

.lms-responsive-grid.reverse-skeleton {
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.lms-responsive-grid.wide-gap {
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .lms-responsive-grid,
    .lms-responsive-grid.reverse-skeleton,
    .lms-responsive-grid.wide-gap {
        grid-template-columns: 1fr !important;
    }
}

/* =====================================================
   INFOGRAPHIC COMPONENT STYLES
   ===================================================== */
.infographic-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.infographic-stat-pill {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.infographic-stat-pill:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 81, 50, 0.08);
}

[data-theme="dark"] .infographic-stat-pill:hover {
    background: rgba(34, 197, 94, 0.12);
    border-color: #22c55e;
    color: #22c55e;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1);
}

/* Constrain news content images to prevent layout breakage on right */
.news-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    margin: 16px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Ensure SweetAlert2 is always on top of modal overlays (z-index 2000) */
.swal2-container {
    z-index: 3000 !important;
}