/* ==========================================
   RISETE ACADEMY - SHARED STYLES
   Untuk semua halaman (home, detail, login, dll)
   ========================================== */

:root {
    --color-bg: #0f0f0f;
    --color-card-bg: #1a1a1a;
    --color-card-bg-alt: #252525;
    --color-gold: #c5a059;
    --color-gold-hover: #dfba72;
    --color-gold-soft: rgba(197, 160, 89, 0.6);
    --color-gold-bg: rgba(197, 160, 89, 0.2);
    --color-white: #ffffff;
    --color-gray: #a0aec0;
    --color-gray-2: #9ca3af;
    --color-border: #2d2d2d;
    --color-border-gold: rgba(197, 160, 89, 0.3);
    --font-body: 'Roboto', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --max-w: 1440px;
    --max-w-content: 1200px;
    --navbar-h: 80px;
    --space-mobile: 48px;
    --space-tablet: 56px;
    --space-desktop: 72px;
}

/* ============ RESET & BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-body); scroll-behavior: smooth; }
html, body { background-color: var(--color-bg); color: var(--color-white); font-family: var(--font-body); min-height: 100vh; overflow-x: clip; width: 100%; }
html { overflow-x: clip; }
h1, h2, h3, h4, h5, h6, .font-heading { font-family: var(--font-heading); }
img { max-width: 100%; }
a { cursor: pointer; text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

/* ============ SCROLLBAR ============ */
html, body { scrollbar-width: none; -ms-overflow-style: none; }
::-webkit-scrollbar { width: 0; height: 0; display: none; }
::-webkit-scrollbar-track { background: #0f0f0f; }
::-webkit-scrollbar-thumb { background: #2d2d2d; border-radius: 9px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }
::-webkit-scrollbar-button:vertical:start:decrement,
::-webkit-scrollbar-button:vertical:end:increment,
::-webkit-scrollbar-button:horizontal:start:decrement,
::-webkit-scrollbar-button:horizontal:end:increment { display: none; }

/* ============ LAYOUT ============ */
.wrapper-1440 { max-width: var(--max-w); width: 100%; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrapper-1440 { padding: 0 32px; } }
@media (min-width: 1280px) { .wrapper-1440 { padding: 0 64px; } }
.wrapper-content { max-width: var(--max-w-content); width: 100%; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrapper-content { padding: 0 32px; } }
.main-content { padding-top: var(--navbar-h); padding-bottom: 50px; min-height: 100vh; }
section, [id$="-section"], #katalog-section { scroll-margin-top: calc(var(--navbar-h) + 16px); }

/* ============ NAVBAR ============ */
.navbar { position: fixed; top: 0; left: 0; right: 0; width: 100%; background-color: rgba(15, 15, 15, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-border); z-index: 100; height: var(--navbar-h); pointer-events: auto; }
.navbar-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; gap: 16px; padding: 0 20px; max-width: var(--max-w); margin: 0 auto; pointer-events: auto; }
@media (min-width: 768px) { .navbar-inner { padding: 0 32px; } }
@media (min-width: 1280px) { .navbar-inner { padding: 0 64px; } }
.nav-logo { display: inline-flex; align-items: center; transition: transform 0.25s ease, opacity 0.25s ease; cursor: pointer; }
.nav-logo:hover { transform: scale(1.08); opacity: 0.9; }
.nav-logo:active { transform: scale(0.97); }
.nav-logo img { height: 60px; width: auto; object-fit: contain; }
.nav-menu { display: none; align-items: center; gap: 28px; pointer-events: auto; }
@media (min-width: 1200px) { .nav-menu { display: flex; } }
@media (min-width: 900px) and (orientation: landscape) { .nav-menu { display: flex; gap: 20px; } }
.nav-menu a { font-family: var(--font-heading); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-gray); transition: color 0.2s; padding: 8px 0; cursor: pointer; }
.nav-menu a:hover, .nav-menu a.active { color: var(--color-gold); }
.nav-auth { display: flex; align-items: center; gap: 10px; pointer-events: auto; }
.btn-member { display: inline-flex; align-items: center; justify-content: center; padding: 8px 20px; border-radius: 9999px; background: var(--color-gold); color: var(--color-bg); font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; transition: background 0.2s; box-shadow: 0 4px 16px rgba(197, 160, 89, 0.25); cursor: pointer; }
.btn-member:hover { background: var(--color-gold-hover); }
.btn-admin { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--color-border); color: var(--color-gray); font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; background: rgba(26, 26, 26, 0.8); transition: all 0.2s; cursor: pointer; }
.btn-admin:hover { border-color: var(--color-gold); color: var(--color-gold); }

/* Hamburger */
.hamburger { display: flex; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--color-white); border-radius: 2px; transition: 0.3s; }
@media (min-width: 1200px) { .hamburger { display: none; } }
@media (min-width: 900px) and (orientation: landscape) { .hamburger { display: none; } }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu { display: none; position: fixed; top: var(--navbar-h); left: 0; right: 0; background: var(--color-card-bg); border-bottom: 1px solid var(--color-border); padding: 20px 24px; z-index: 99; flex-direction: column; gap: 16px; pointer-events: auto; }
.mobile-menu.active { display: flex; }
@media (min-width: 1200px) { .mobile-menu { display: none !important; } }
@media (min-width: 900px) and (orientation: landscape) { .mobile-menu { display: none !important; } }
.mobile-menu a { font-family: var(--font-heading); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-gray); padding: 8px 0; cursor: pointer; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--color-gold); }

/* ============ HERO SECTION ============ */
.hero-section { position: relative; max-width: var(--max-w); margin: 0 auto; padding: calc(var(--navbar-h) + 40px) 20px var(--space-mobile); }
@media (min-width: 768px) { .hero-section { padding: calc(var(--navbar-h) + 48px) 32px var(--space-tablet); } }
@media (min-width: 1280px) { .hero-section { padding: calc(var(--navbar-h) + 56px) 64px var(--space-desktop); } }

.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 48px; } }

.hero-tagline { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 9999px; background: var(--color-card-bg); border: 1px solid var(--color-border); margin-bottom: 24px; box-shadow: 0 2px 12px rgba(197, 160, 89, 0.08); max-width: 100%; }
.hero-tagline .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-gold); animation: pulse 2s infinite; flex-shrink: 0; }
.hero-tagline span { font-family: var(--font-heading); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-gold); }

.hero-title { font-family: var(--font-heading); font-size: 1.875rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 20px; }
@media (min-width: 640px) { .hero-title { font-size: 2.25rem; } }
@media (min-width: 768px) { .hero-title { font-size: 2.75rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 3.25rem; } }
.hero-title .white { color: var(--color-white); }
.hero-title .gold { color: var(--color-gold); }
.hero-title-line { display: block; }

.hero-desc { font-size: 0.95rem; line-height: 1.6; color: var(--color-gray); max-width: 36rem; margin-bottom: 32px; }
@media (min-width: 768px) { .hero-desc { font-size: 1.05rem; } }

.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 40px; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; height: 48px; border-radius: 6px; background: var(--color-gold); color: var(--color-bg); font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; box-shadow: 0 4px 20px rgba(197, 160, 89, 0.3); transition: all 0.2s; }
.btn-primary:hover { background: var(--color-gold-hover); }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; height: 48px; border-radius: 6px; background: var(--color-card-bg); border: 1px solid var(--color-border); color: var(--color-white); font-family: var(--font-heading); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; transition: all 0.2s; }
.btn-secondary:hover { background: var(--color-card-bg-alt); border-color: var(--color-gold-soft); }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.hero-stats .stat b { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--color-gold); display: block; line-height: 1.2; }
@media (min-width: 768px) { .hero-stats .stat b { font-size: 1.75rem; } }
@media (min-width: 1280px) { .hero-stats .stat b { font-size: 2rem; } }
.hero-stats .stat span { font-family: var(--font-heading); font-size: 0.65rem; font-weight: 500; color: var(--color-gray); text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-top: 4px; }
@media (min-width: 768px) { .hero-stats .stat span { font-size: 0.7rem; } }

.hero-image-wrap { position: relative; display: flex; justify-content: center; margin-top: 24px; padding: 20px 48px 32px 24px; }
@media (min-width: 1024px) { .hero-image-wrap { margin-top: 0; padding: 24px 64px 40px 32px; } }
.hero-image-glow { position: absolute; inset: -8px; background: linear-gradient(90deg, rgba(197, 160, 89, 0.2), transparent, rgba(197, 160, 89, 0.1)); border-radius: 9999px; filter: blur(32px); opacity: 0.7; }

/* Circle Stage Wrapper */
.hero-circle-stage { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1; }
@media (min-width: 1280px) { .hero-circle-stage { max-width: 430px; } }

.hero-image-circle { position: relative; width: 100%; height: 100%; border-radius: 50%; border: 4px solid var(--color-gold-soft); padding: 10px; background: linear-gradient(180deg, var(--color-border), #121212); box-shadow: 0 16px 50px rgba(0, 0, 0, 0.8); overflow: hidden; }
.hero-image-circle img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hero-image-circle::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(15, 15, 15, 0.6)); border-radius: 50%; pointer-events: none; }

.hero-badge { position: absolute; bottom: 16px; left: -14px; background: var(--color-card-bg); border: 1px solid var(--color-gold-soft); padding: 10px 14px; border-radius: 12px; box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6); display: flex; align-items: center; gap: 10px; max-width: calc(100% - 20px); z-index: 4; }
@media (min-width: 1024px) { .hero-badge { bottom: 20px; left: -18px; padding: 12px 18px; } }
.hero-badge-icon { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--color-gold-bg); border: 1px solid var(--color-gold); display: flex; align-items: center; justify-content: center; color: var(--color-gold); }
.hero-badge-text { min-width: 0; }
.hero-badge-text b { font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; color: var(--color-white); text-transform: uppercase; letter-spacing: 0.05em; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-badge-text small { font-size: 0.65rem; color: var(--color-gray); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hero-cat-cascade { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.hero-cascade-pill {
    position: absolute;
    pointer-events: auto;
    background: rgba(22, 20, 16, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 7px 16px;
    border-radius: 9999px;
    border: 1.5px solid var(--color-gold-soft);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-heading);
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.06em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75);
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    cursor: pointer;
}
@media (min-width: 1024px) {
    .hero-cascade-pill {
        font-size: 0.69rem;
        padding: 7px 16px;
    }
}
.hero-cascade-pill:hover {
    background: rgba(36, 30, 20, 0.98);
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translate(-50%, -50%) scale(1.07);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.42);
}
.hero-cascade-pill .live-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--color-gold);
    animation: pulse 2s infinite;
}

/* Titik tengah tiap pill tepat di perimeter lingkaran (R = 50%): Live Mentoring geser ke kanan, lainnya turun ke bawah */
.hero-cascade-pill.cascade-1 { left: 56.0%; top: 0.4%; z-index: 5; }
.hero-cascade-pill.cascade-2 { left: 81.0%; top: 10.5%; z-index: 4; }
.hero-cascade-pill.cascade-3 { left: 94.2%; top: 26.5%; z-index: 3; }
.hero-cascade-pill.cascade-4 { left: 100.0%; top: 46.5%; z-index: 2; }
.hero-cascade-pill.cascade-5 { left: 97.5%; top: 65.5%; z-index: 1; }

/* ============ ANIMATIONS ============ */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.rise { animation: rise 0.5s ease both; }

/* ============ SECTION BASE ============ */
.section { width: 100%; padding: var(--space-mobile) 0; scroll-margin-top: var(--navbar-h); }
@media (min-width: 768px) { .section { padding: var(--space-tablet) 0; } }
@media (min-width: 1280px) { .section { padding: var(--space-desktop) 0; } }
.section-bordered { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .section-inner { padding: 0 32px; } }
@media (min-width: 1280px) { .section-inner { padding: 0 64px; } }

.section-head { margin-bottom: 32px; }
@media (min-width: 768px) { .section-head { margin-bottom: 40px; } }
@media (min-width: 1280px) { .section-head { margin-bottom: 48px; } }
.section-head.center { text-align: center; max-width: 42rem; margin-left: auto; margin-right: auto; }
.section-head.split { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 20px; }
@media (min-width: 768px) { .section-head.split { flex-direction: row; align-items: flex-end; gap: 24px; } }
@media (min-width: 1280px) { .section-head.split { gap: 32px; } }
.section-overline { font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-gold); display: block; margin-bottom: 10px; }
@media (min-width: 768px) { .section-overline { font-size: 0.75rem; margin-bottom: 12px; } }
.section-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--color-white); line-height: 1.2; }
@media (min-width: 768px) { .section-title { font-size: 1.875rem; } }
@media (min-width: 1280px) { .section-title { font-size: 2rem; } }
.section-subtitle { font-size: 0.85rem; color: var(--color-gray); max-width: 28rem; line-height: 1.6; }
@media (min-width: 768px) { .section-subtitle { font-size: 0.95rem; } }

/* ============ FEATURES GRID ============ */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; } }
@media (min-width: 1280px) { .features-grid { gap: 32px; } }
.feature-card { background: var(--color-card-bg); border: 1px solid var(--color-border); border-radius: 12px; padding: 28px 24px; transition: all 0.3s; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); display: flex; flex-direction: column; justify-content: space-between; }
@media (min-width: 768px) { .feature-card { padding: 32px 28px; } }
.feature-card:hover { border-color: var(--color-gold-soft); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(197, 160, 89, 0.12); }
.feature-icon { width: 48px; height: 48px; border-radius: 8px; background: var(--color-card-bg-alt); border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--color-gold); transition: border-color 0.3s; box-shadow: 0 4px 16px rgba(197, 160, 89, 0.12); }
.feature-card:hover .feature-icon { border-color: var(--color-gold-soft); }
.feature-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--color-white); margin-bottom: 10px; transition: color 0.3s; line-height: 1.3; }
.feature-card:hover .feature-title { color: var(--color-gold); }
.feature-desc { font-size: 0.85rem; color: var(--color-gray); line-height: 1.6; }
.feature-foot { padding-top: 16px; margin-top: 24px; border-top: 1px solid var(--color-border); display: flex; align-items: center; justify-content: space-between; gap: 6px; font-family: var(--font-heading); font-size: 0.7rem; font-weight: 600; color: var(--color-gold); }

/* ============ WEBINAR CARDS ============ */
.webinar-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .webinar-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .webinar-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
@media (min-width: 1280px) { .webinar-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.webinar-card { background: linear-gradient(135deg, var(--color-card-bg), #262114); border: 1px solid var(--color-gold); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); transition: box-shadow 0.3s; }
@media (min-width: 768px) { .webinar-card { padding: 24px; } }
.webinar-card:hover { box-shadow: 0 8px 30px rgba(197, 160, 89, 0.18); }
.webinar-poster { aspect-ratio: 1; width: 100%; border-radius: 8px; overflow: hidden; margin-bottom: 16px; position: relative; border: 1px solid var(--color-border); background: #121212; }
.webinar-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.webinar-card:hover .webinar-poster img { transform: scale(1.05); }
.webinar-badge { font-family: var(--font-heading); font-size: 0.7rem; font-weight: 600; color: var(--color-gold); margin-bottom: 6px; }
.webinar-title { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; color: var(--color-white); margin-bottom: 8px; transition: color 0.3s; line-height: 1.3; }
@media (min-width: 768px) { .webinar-title { font-size: 1.25rem; } }
.webinar-card:hover .webinar-title { color: var(--color-gold); }
.webinar-desc { font-size: 0.85rem; color: var(--color-gray); line-height: 1.6; margin-bottom: 16px; }
.webinar-foot { padding-top: 16px; border-top: 1px solid var(--color-border); }
.webinar-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; font-size: 0.95rem; color: var(--color-gold); margin-bottom: 12px; }
.webinar-price b { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; }
.webinar-price .old { color: var(--color-gray); text-decoration: line-through; font-size: 0.78rem; font-weight: 400; }
.webinar-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: var(--color-gray); margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.webinar-meta span { display: inline-flex; align-items: center; gap: 4px; }
.webinar-btn { width: 100%; height: 44px; border-radius: 6px; background: var(--color-gold); color: var(--color-bg); font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; transition: all 0.2s; box-shadow: 0 4px 16px rgba(197, 160, 89, 0.25); display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.webinar-btn:hover { background: var(--color-gold-hover); }

/* ============ CATALOG GRID + FILTER ============ */
.catalog-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; background: var(--color-card-bg); border-radius: 8px; border: 1px solid var(--color-border); justify-content: center; }
@media (min-width: 1024px) { .catalog-tabs { justify-content: flex-end; } }
.catalog-tab { padding: 6px 14px; border-radius: 6px; font-family: var(--font-heading); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-gray); font-weight: 600; transition: all 0.2s; }
@media (min-width: 768px) { .catalog-tab { padding: 6px 16px; font-size: 0.75rem; } }
.catalog-tab:hover { color: var(--color-white); }
.catalog-tab.active { background: var(--color-gold); color: var(--color-bg); font-weight: 700; }

.catalog-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--color-gray); }
.catalog-empty .material-symbols-outlined { font-size: 48px; color: var(--color-gold-soft); display: block; margin-bottom: 12px; }
.catalog-empty p { font-size: 0.9rem; margin: 0; }
.catalog-more { grid-column: 1 / -1; text-align: center; margin-top: 14px; }
.catalog-more a,
.catalog-more button,
.catalog-more-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 26px; background: var(--color-card-bg); border: 1px solid var(--color-gold-soft); color: var(--color-gold); border-radius: 8px; font-family: var(--font-heading); font-weight: 600; font-size: 0.84rem; transition: all 0.25s ease; cursor: pointer; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
.catalog-more a:hover,
.catalog-more button:hover,
.catalog-more-btn:hover { background: var(--color-gold); color: #121212; border-color: var(--color-gold); box-shadow: 0 4px 20px rgba(197, 160, 89, 0.35); transform: translateY(-2px); }

.catalog-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1280px) { .catalog-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.catalog-item { background: var(--color-card-bg); border-radius: 12px; border: 1px solid var(--color-border); transition: all 0.3s; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); }
.catalog-item:hover { border-color: var(--color-gold-soft); }
.catalog-poster { aspect-ratio: 1; width: 100%; position: relative; overflow: hidden; background: #121212; border-bottom: 1px solid var(--color-border); }
.catalog-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 15, 15, 0.78) 0%, rgba(15, 15, 15, 0.15) 45%, transparent 70%); pointer-events: none; }
.catalog-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.catalog-item:hover .catalog-poster img { transform: scale(1.06); }
.catalog-tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 6px; background: rgba(15, 15, 15, 0.88); backdrop-filter: blur(6px); border: 1px solid var(--color-border); font-family: var(--font-heading); font-size: 0.62rem; font-weight: 700; color: var(--color-gold); text-transform: uppercase; letter-spacing: 0.05em; display: inline-flex; align-items: center; gap: 5px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); }
.catalog-tag.live { border-color: var(--color-gold-soft); }
.catalog-tag .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-gold); animation: pulse 2s infinite; }

/* Category specific preview badges */
.badge-type-ecourse { background: linear-gradient(135deg, rgba(79, 70, 229, 0.92), rgba(67, 56, 202, 0.92)) !important; color: #fff !important; border-color: rgba(165, 180, 252, 0.5) !important; }
.badge-type-ebook { background: linear-gradient(135deg, rgba(225, 29, 72, 0.92), rgba(190, 18, 60, 0.92)) !important; color: #fff !important; border-color: rgba(254, 205, 211, 0.5) !important; }
.badge-type-template { background: linear-gradient(135deg, rgba(2, 132, 199, 0.92), rgba(3, 105, 161, 0.92)) !important; color: #fff !important; border-color: rgba(186, 230, 253, 0.5) !important; }
.badge-type-tools { background: linear-gradient(135deg, rgba(217, 119, 6, 0.92), rgba(180, 83, 9, 0.92)) !important; color: #fff !important; border-color: rgba(253, 230, 138, 0.5) !important; }
.badge-type-webinar { background: linear-gradient(135deg, rgba(180, 83, 9, 0.92), rgba(146, 64, 14, 0.92)) !important; color: #fff !important; border-color: var(--color-gold) !important; }
.badge-type-mentoring { background: linear-gradient(135deg, rgba(5, 150, 105, 0.92), rgba(4, 120, 87, 0.92)) !important; color: #fff !important; border-color: rgba(167, 243, 208, 0.5) !important; }
.badge-type-starter { background: linear-gradient(135deg, rgba(249, 115, 22, 0.92), rgba(194, 65, 12, 0.92)) !important; color: #fff !important; border-color: rgba(254, 215, 170, 0.5) !important; }
.tag-starter, .catalog-tag.tag-starter { background: linear-gradient(135deg, rgba(249, 115, 22, 0.95), rgba(194, 65, 12, 0.95)) !important; color: #fff !important; border-color: rgba(254, 215, 170, 0.4) !important; }

/* Preview watermark floating icon */
.catalog-watermark { position: absolute; bottom: 10px; right: 10px; z-index: 2; width: 30px; height: 30px; border-radius: 8px; background: rgba(15, 15, 15, 0.72); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.12); display: flex; align-items: center; justify-content: center; color: var(--color-gold); transition: all 0.3s ease; }
.catalog-item:hover .catalog-watermark, .webinar-card:hover .catalog-watermark, .materi-card:hover .catalog-watermark { background: var(--color-gold); color: var(--color-bg); transform: scale(1.1); box-shadow: 0 4px 12px rgba(197, 160, 89, 0.4); }
.catalog-watermark .material-symbols-outlined { font-size: 17px; }

/* Materi poster wrap in member dashboard */
.materi-poster-wrap { aspect-ratio: 1 / 1; width: 100%; position: relative; overflow: hidden; background: #121212; border-bottom: 1px solid var(--color-border); }
.materi-poster-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 15, 15, 0.78) 0%, rgba(15, 15, 15, 0.15) 45%, transparent 70%); pointer-events: none; }
.materi-poster-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.materi-card:hover .materi-poster-wrap img { transform: scale(1.06); }
.materi-poster-wrap .catalog-tag { top: 10px; left: 10px; }
.catalog-body { padding: 16px 20px; }
.catalog-title { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: var(--color-white); margin-bottom: 6px; line-height: 1.3; transition: color 0.3s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.catalog-item:hover .catalog-title { color: var(--color-gold); }
.catalog-desc { font-size: 0.75rem; color: var(--color-gray); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.catalog-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; font-size: 0.95rem; color: var(--color-gold); margin-top: 8px; }
.catalog-price b { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; }
.catalog-price .old { color: var(--color-gray); text-decoration: line-through; font-size: 0.78rem; font-weight: 400; }
.catalog-foot { padding: 0 20px 20px 20px; }
.catalog-buy { width: 100%; padding: 10px; border-radius: 6px; background: var(--color-gold); color: var(--color-bg); font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; transition: background 0.2s; box-shadow: 0 2px 10px rgba(197, 160, 89, 0.2); display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 768px) { .catalog-buy { font-size: 0.75rem; } }
.catalog-buy:hover { background: var(--color-gold-hover); }

/* ============ CATEGORY SHELVES (PER BARIS KATEGORI) ============ */
.catalog-shelves-wrap {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 24px;
}
.catalog-shelf-row {
    position: relative;
}
.catalog-shelf-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    flex-wrap: wrap;
    gap: 12px;
}
.catalog-shelf-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.catalog-shelf-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-gold);
}
.catalog-shelf-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
}
@media (min-width: 768px) {
    .catalog-shelf-title {
        font-size: 1.35rem;
    }
}
.catalog-shelf-desc {
    font-size: 0.78rem;
    color: var(--color-gray);
    margin: 0;
}
.catalog-shelf-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--color-gold);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 6px 14px;
    border-radius: 6px;
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.25);
}
.catalog-shelf-link:hover {
    background: var(--color-gold);
    color: var(--color-bg);
    border-color: var(--color-gold);
    transform: translateX(3px);
}

/* ============ MENTOR GRID ============ */
.mentor-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .mentor-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
@media (min-width: 1280px) { .mentor-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; } }
.mentor-card { background: var(--color-card-bg); border-radius: 16px; border: 1px solid var(--color-border-gold); padding: 20px; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); transition: all 0.3s; }
@media (min-width: 768px) { .mentor-card { padding: 24px; } }
.mentor-card:hover { border-color: var(--color-gold); }
.mentor-photo { width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; margin-bottom: 16px; border: 1px solid var(--color-border); background: #121212; position: relative; }
.mentor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: brightness(0.95); transition: all 0.5s; }
.mentor-card:hover .mentor-photo img { transform: scale(1.05); }
.mentor-name { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--color-white); margin-bottom: 4px; }
@media (min-width: 768px) { .mentor-name { font-size: 1.125rem; } }
.mentor-role { font-family: var(--font-heading); font-size: 0.65rem; font-weight: 700; color: var(--color-gold); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
@media (min-width: 768px) { .mentor-role { font-size: 0.7rem; } }
.mentor-desc { font-size: 0.75rem; color: var(--color-gray); line-height: 1.6; }

/* ============ MENTOR MARQUEE ============ */
@keyframes mentorMarqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.mentor-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0 24px;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.mentor-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: mentorMarqueeScroll 35s linear infinite;
    will-change: transform;
}
.mentor-marquee-track:hover {
    animation-play-state: paused;
}
.mentor-marquee-card {
    width: 280px;
    max-width: 80vw;
    flex-shrink: 0;
}

/* ============ TESTIMONIAL ============ */
.testimoni-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .testimoni-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.testimoni-card { background: var(--color-card-bg); border-radius: 12px; padding: 24px; border: 1px solid var(--color-border); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); display: flex; flex-direction: column; justify-content: space-between; }
@media (min-width: 768px) { .testimoni-card { padding: 28px; } }
.testimoni-stars { display: flex; gap: 2px; color: var(--color-gold); margin-bottom: 14px; font-size: 18px; }
.testimoni-quote { font-size: 0.875rem; color: #e5e7eb; line-height: 1.6; margin-bottom: 20px; }
.testimoni-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--color-border); }
.testimoni-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--color-gold-bg); border: 1px solid var(--color-gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; color: var(--color-gold); font-size: 0.75rem; flex-shrink: 0; }
.testimoni-name { font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700; color: var(--color-white); }
.testimoni-prof { font-size: 0.75rem; color: var(--color-gray); }

/* ============ TESTIMONIAL MARQUEE ============ */
@keyframes testimoniMarqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.testimoni-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0 24px;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.testimoni-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: testimoniMarqueeScroll 35s linear infinite;
    will-change: transform;
}
.testimoni-marquee-track:hover {
    animation-play-state: paused;
}
.testimoni-marquee-card {
    width: 380px;
    max-width: 85vw;
    flex-shrink: 0;
}
.testimoni-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* ============ FAQ ACCORDION ============ */
.faq-wrap { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--color-card-bg); border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; transition: all 0.2s; }
.faq-q { width: 100%; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; text-align: left; font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; color: var(--color-white); transition: color 0.2s; gap: 12px; }
@media (min-width: 768px) { .faq-q { padding: 18px 24px; font-size: 0.875rem; } }
.faq-q:hover { color: var(--color-gold); }
.faq-q-text { flex: 1; }
.faq-arrow { color: var(--color-gray); transition: transform 0.3s; flex-shrink: 0; font-size: 20px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 16px 20px; color: var(--color-gray); font-size: 0.85rem; line-height: 1.6; border-top: 1px solid rgba(45, 45, 45, 0.6); padding-top: 12px; }
@media (min-width: 768px) { .faq-a { padding: 0 24px 18px 24px; } }
.faq-item.open .faq-a { display: block; }

/* ============ CTA BANNER ============ */
.section-cta { padding: 0 !important; background: linear-gradient(180deg, #241e14 0%, #1a160e 100%); }
.cta-card { position: relative; border: none; border-radius: 0; padding: 56px 20px 48px; text-align: center; background: transparent; width: 100%; }
@media (min-width: 768px) { .cta-card { padding: 68px 32px 56px; } }
@media (min-width: 1280px) { .cta-card { padding: 76px 64px 64px; } }
.cta-title { font-family: var(--font-heading); font-size: 1.85rem; font-weight: 800; color: var(--color-white); margin-bottom: 16px; line-height: 1.25; letter-spacing: -0.02em; }
@media (min-width: 768px) { .cta-title { font-size: 2.65rem; line-height: 1.22; } }
@media (min-width: 1280px) { .cta-title { font-size: 3.15rem; line-height: 1.2; } }
.cta-desc { font-size: 0.95rem; color: var(--color-gray); margin-bottom: 26px; max-width: 44rem; margin-left: auto; margin-right: auto; line-height: 1.65; }
@media (min-width: 768px) { .cta-desc { font-size: 1.05rem; margin-bottom: 30px; max-width: 56rem; } }
.cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; height: 48px; border-radius: 6px; background: var(--color-gold); color: var(--color-bg); font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; box-shadow: 0 4px 24px rgba(197, 160, 89, 0.35); transition: background 0.2s; }
@media (min-width: 768px) { .cta-btn { font-size: 0.875rem; padding: 12px 32px; } }
.cta-btn:hover { background: var(--color-gold-hover); }
.btn-large { font-size: 0.95rem; padding: 14px 32px; }

/* ============ FOOTER ============ */
.footer { 
    width: 100%; 
    background: #0b0b0b; 
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
    padding-top: 40px; 
    padding-bottom: 28px; 
    position: relative;
    z-index: 10;
}
@media (min-width: 768px) { .footer { padding-top: 48px; } }

.footer-minimal { 
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
    background: #0b0b0b; 
    padding: 18px 0; 
}
.footer-minimal-inner {
    display: flex;
    flex-direction: column;
}
.footer-top-row,
.footer-divider-line,
.footer-brand-wrap,
.footer-quick-links {
    display: none !important;
}
.footer-brand-wrap {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    transition: transform 0.22s ease, opacity 0.22s ease;
}
.footer-logo:hover {
    transform: scale(1.05);
    opacity: 0.92;
}
.footer-logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
}
@media (min-width: 768px) {
    .footer-logo img {
        height: 44px;
    }
}
.footer-tagline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 12px rgba(197, 160, 89, 0.08);
}
.footer-tagline-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-gold);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}
.footer-tagline-badge span:not(.dot) {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold);
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}
.footer-quick-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
}
.footer-quick-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
    font-weight: 500;
}
.footer-quick-links a:hover {
    color: var(--color-gold);
}
.footer-quick-links .sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
}
.footer-divider-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 2px 0;
}
.footer-bottom-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: center;
}
@media (min-width: 860px) {
    .footer-bottom-row {
        flex-direction: row;
        text-align: left;
    }
}
.footer-copy { 
    padding-top: 0; 
    margin: 0;
    text-align: center; 
    font-size: 0.78rem; 
    color: rgba(255, 255, 255, 0.48); 
    letter-spacing: 0.02em;
}
@media (min-width: 768px) { .footer-copy { padding-top: 0; } }
.footer-minimal .footer-copy { 
    padding-top: 0; 
    margin-top: 0; 
    font-size: 0.78rem; 
    color: rgba(255, 255, 255, 0.48); 
    letter-spacing: 0.02em; 
}
.footer-badge-secure {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.01em;
}
.footer-top { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--color-border); }
@media (min-width: 768px) { .footer-top { flex-direction: row; align-items: center; padding-bottom: 32px; } }
.footer-logo img { height: 44px; width: auto; object-fit: contain; }
@media (min-width: 768px) { .footer-logo img { height: 48px; } }
.footer-menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; font-family: var(--font-heading); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-gray); }
@media (min-width: 768px) { .footer-menu { gap: 24px; font-size: 0.75rem; } }
.footer-menu a:hover { color: var(--color-gold); }
.footer-auth { display: flex; align-items: center; gap: 8px; justify-content: center; }

/* ============ FORM CONTROLS ============ */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; color: var(--color-gray); font-size: 0.875rem; margin-bottom: 6px; }
.form-control { width: 100%; background: var(--color-bg); border: 1px solid var(--color-border); color: var(--color-white); padding: 12px 16px; border-radius: 8px; font-size: 0.875rem; font-family: var(--font-body); transition: border-color 0.2s; }
.form-control:focus { outline: none; border-color: var(--color-gold); }

/* Password Input with Toggle Visibility Button */
.password-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}
.password-wrap .form-control {
    padding-right: 46px;
}
.btn-toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--color-gray);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
    user-select: none;
    z-index: 2;
}
.btn-toggle-password:hover {
    color: var(--color-gold);
    background: rgba(197, 160, 89, 0.1);
}
.btn-toggle-password:active {
    transform: translateY(-50%) scale(0.92);
}
.btn-toggle-password .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}

/* Date Picker Input (Dark Theme with Pure White Calendar Icon) */
input[type="date"].form-control,
input[type="date"] {
    color-scheme: dark;
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    padding: 4px;
    margin-right: -2px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
    transform: scale(1.15);
}

input[type="date"]::-moz-calendar-picker-indicator {
    filter: brightness(0) invert(1);
    cursor: pointer;
}
.form-card { background: var(--color-card-bg); border: 1px solid var(--color-border); border-radius: 12px; padding: 24px; }
@media (min-width: 768px) { .form-card { padding: 32px; } }
@media (max-width: 1024px) { .form-card { padding: 18px 16px; border-radius: 10px; } }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-row > * { flex: 1; min-width: 120px; }

/* ============ UTILITY ============ */
.hidden { display: none !important; }
.text-gold { color: var(--color-gold); }
.text-gray { color: var(--color-gray); }
.text-center { text-align: center; }

/* ============ ROLE TABS (Login Staff) ============ */
.role-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 24px;
    width: 100%;
}
.role-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-gray);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
}
.role-tab:hover {
    border-color: var(--color-gold-soft);
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.03);
}
.role-tab.active {
    background: var(--color-gold);
    color: var(--color-bg);
    border-color: var(--color-gold);
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
    font-weight: 700;
}
.role-tab .material-symbols-outlined {
    font-size: 18px;
    flex-shrink: 0;
}
@media (max-width: 380px) {
    .role-tabs {
        gap: 6px;
    }
    .role-tab {
        font-size: 0.8rem;
        padding: 10px 4px;
        gap: 4px;
    }
    .role-tab .material-symbols-outlined {
        font-size: 16px;
    }
}

/* ============ DASHBOARD SHELL ============ */
.shell { display: flex; min-height: 100vh; background: var(--color-bg); width: 100%; max-width: 100vw; overflow-x: hidden; }
.shell-sidebar { width: 260px; background: var(--color-card-bg); border-right: 1px solid var(--color-border); position: fixed; top: 0; left: 0; bottom: 0; z-index: 40; display: flex; flex-direction: column; transition: transform 0.3s; }
.shell-brand { height: 68px; box-sizing: border-box; padding: 0 20px; font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; border-bottom: 1px solid var(--color-border); display: flex; align-items: center; gap: 10px; }
.shell-brand .logo-mark { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--color-gold), var(--color-gold-hover)); display: flex; align-items: center; justify-content: center; color: var(--color-bg); font-weight: 800; }
.shell-brand span { color: var(--color-gold); }
.shell-menu { list-style: none; padding: 16px 12px; margin: 0; flex: 1; overflow: auto; }
.shell-menu li { margin-bottom: 4px; }
.shell-menu a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--color-gray); font-weight: 500; border-radius: 8px; transition: 0.2s; font-size: 0.9rem; }
.shell-menu a:hover, .shell-menu li.active a { background: rgba(197, 160, 89, 0.1); color: var(--color-gold); }
.shell-menu a .material-symbols-outlined { font-size: 20px; }
.shell-menu .badge-count { margin-left: auto; background: var(--color-gold); color: var(--color-bg); font-size: 0.65rem; font-weight: 700; padding: 2px 7px; border-radius: 10px; font-family: var(--font-heading); }
.shell-foot { border-top: 1px solid var(--color-border); padding: 16px 12px; }
.shell-foot a.logout,
.shell-foot button.logout { 
    display: flex; 
    align-items: center; 
    justify-content: center;
    gap: 10px; 
    padding: 11px 16px; 
    color: #ef4444 !important; 
    background: rgba(239, 68, 68, 0.1); 
    border: 1px solid rgba(239, 68, 68, 0.3); 
    border-radius: 8px; 
    font-size: 0.88rem; 
    font-weight: 600; 
    width: 100%; 
    cursor: pointer; 
    font-family: inherit; 
    text-decoration: none; 
    transition: all 0.2s ease; 
    box-sizing: border-box; 
}
.shell-foot a.logout:hover,
.shell-foot button.logout:hover { 
    background: #ef4444; 
    color: #ffffff !important; 
    border-color: #ef4444; 
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35); 
}
.shell-foot .material-symbols-outlined { font-size: 20px; color: #ef4444; transition: color 0.2s; }
.shell-foot a.logout:hover .material-symbols-outlined,
.shell-foot button.logout:hover .material-symbols-outlined { color: #ffffff; }

.shell-main { margin-left: 260px; flex: 1; display: flex; flex-direction: column; min-height: 100vh; padding-top: 68px; min-width: 0; max-width: calc(100vw - 260px); box-sizing: border-box; }
.shell-topbar { 
    position: fixed; 
    top: 0; 
    left: 260px; 
    right: 0; 
    height: 68px; 
    box-sizing: border-box; 
    background: rgba(26, 26, 26, 0.95); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    padding: 0 28px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid var(--color-border); 
    z-index: 30; 
    gap: 12px; 
}
.shell-topbar h1 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; margin: 0; }
.shell-topbar .actions { display: flex; align-items: center; gap: 14px; }
.shell-topbar .user-mini { display: flex; align-items: center; gap: 10px; text-align: right; }
.shell-topbar .user-mini .avatar { width: 36px; height: 36px; border-radius: 8px; background: var(--color-gold); color: var(--color-bg); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.shell-topbar .user-mini .info { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; line-height: 1.25; text-align: right; min-width: 0; }
.shell-topbar .user-mini .info b { display: block; font-size: 0.85rem; font-weight: 600; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; width: 100%; margin-left: auto; }
.shell-topbar .user-mini .info small { font-size: 0.7rem; color: var(--color-gray); text-align: right; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; width: 100%; margin-left: auto; }


/* Shell Backdrop for Mobile Drawer */
.shell-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 85;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.shell-backdrop.open {
    display: block;
    opacity: 1;
}

.shell-body { padding: 28px 36px 40px 28px; flex: 1; min-width: 0; box-sizing: border-box; }
@media (max-width: 1024px) {
    .shell-sidebar { 
        transform: translateX(-100%); 
        z-index: 95; 
        box-shadow: 0 0 35px rgba(0, 0, 0, 0.8);
    }
    .shell-sidebar.open { transform: translateX(0); }
    .shell-main { margin-left: 0; padding-top: 60px; }
    .shell-body { padding: 20px 16px 100px; }
    .shell-brand { height: 60px; padding: 0 16px; }
    .shell-topbar { left: 0; height: 60px; padding: 0 14px; gap: 8px; }
    .shell-topbar h1 { font-size: 0.95rem; max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .shell-topbar .user-mini { gap: 8px; flex-shrink: 0; }
    .shell-topbar .user-mini .info { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
    .shell-topbar .user-mini .info b { font-size: 0.8rem; max-width: 140px; width: 100%; margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
    .shell-topbar .user-mini .info small { font-size: 0.68rem; max-width: 140px; width: 100%; margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
    .shell-topbar .user-mini .avatar { width: 32px; height: 32px; font-size: 0.78rem; }
    .menu-toggle { display: inline-flex; padding: 4px; }
    .shell-foot { 
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); 
    }
}
@media (max-width: 480px) {
    .shell-main { padding-top: 56px; }
    .shell-topbar { height: 56px; padding: 0 10px; gap: 6px; }
    .shell-topbar h1 { font-size: 0.88rem; max-width: 165px; }
    .shell-topbar .user-mini { gap: 6px; flex-shrink: 0; }
    .shell-topbar .user-mini .info b { font-size: 0.75rem; max-width: 105px; width: 100%; margin-left: auto; text-align: right; }
    .shell-topbar .user-mini .info small { font-size: 0.64rem; max-width: 105px; width: 100%; margin-left: auto; text-align: right; }
    .shell-topbar .user-mini .avatar { width: 30px; height: 30px; font-size: 0.75rem; }
}
@media (max-width: 360px) {
    .shell-topbar h1 { max-width: 85px; }
    .shell-topbar .user-mini .info b { max-width: 95px; width: 100%; margin-left: auto; text-align: right; }
    .shell-topbar .user-mini .info small { font-size: 0.6rem; max-width: 95px; width: 100%; margin-left: auto; text-align: right; }
}

/* Bottom Nav (mobile dashboard) */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(18, 18, 18, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--color-border);
    z-index: 50;
    justify-content: space-around;
    align-items: stretch;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.6);
    gap: 2px;
    min-height: 64px;
}
@media (max-width: 1024px) {
    .bottom-nav {
        display: flex;
    }
}
.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 5px;
    color: var(--color-gray);
    font-size: 0.65rem;
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 8px 6px;
    flex: 1;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.2;
    min-width: 0;
}
.bottom-nav a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
}
.bottom-nav a.on {
    color: var(--color-gold);
    font-weight: 700;
    background: rgba(197, 160, 89, 0.13);
}
.bottom-nav a .material-symbols-outlined {
    font-size: 23px;
    line-height: 1;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.bottom-nav a.on .material-symbols-outlined {
    transform: scale(1.12);
    color: var(--color-gold);
}
@media (max-width: 480px) {
    .bottom-nav a { font-size: 0.6rem; padding: 7px 4px; gap: 4px; }
    .bottom-nav a .material-symbols-outlined { font-size: 21px; }
}
@media (max-width: 360px) {
    .bottom-nav a { font-size: 0.55rem; padding: 6px 3px; gap: 3px; }
    .bottom-nav a .material-symbols-outlined { font-size: 19px; }
}

/* Hamburger toggle (mobile) */
.menu-toggle { display: none; background: none; border: none; color: var(--color-white); cursor: pointer; padding: 4px; }
@media (max-width: 1024px) { .menu-toggle { display: inline-flex; } }

/* Dashboard cards (greeting + chips) */
.greeting { background: linear-gradient(135deg, rgba(197, 160, 89, 0.15), rgba(223, 186, 114, 0.05)); border: 1px solid var(--color-border-gold); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.greeting h2 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 4px; }
.greeting h2 .wave { display: inline-block; animation: wave 1.5s infinite; transform-origin: 70% 70%; }
@keyframes wave { 0%, 100% { transform: rotate(0); } 20%, 60% { transform: rotate(-12deg); } 40%, 80% { transform: rotate(12deg); } }
.greeting p { color: var(--color-gray); font-size: 0.85rem; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.chip { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 99px; padding: 6px 14px; font-size: 0.75rem; color: var(--color-gray); display: inline-flex; align-items: center; gap: 6px; }
.chip b { color: var(--color-gold); font-family: var(--font-heading); }
@media (max-width: 1024px) {
    .chip-row { justify-content: center; gap: 8px; }
    .chip { padding: 5px 12px; font-size: 0.72rem; }
}
@media (max-width: 480px) {
    .chip-row { justify-content: center; gap: 6px 8px; }
    .chip { padding: 5px 10px; font-size: 0.7rem; }
}

/* ============ LIVE STRIP / BONUS WEBINAR BANNER ============ */
.live-strip { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 18px; 
    background: linear-gradient(135deg, rgba(32, 28, 20, 0.95), rgba(18, 18, 18, 0.98)); 
    border: 1px solid var(--color-gold); 
    border-radius: 12px; 
    padding: 18px 22px; 
    margin-bottom: 24px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}
.live-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #22c55e, var(--color-gold));
}
.live-strip .info { 
    flex: 1; 
    min-width: 0; 
}
.live-strip-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.live-strip .badge-bonus {
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
    border: 1px solid #22c55e;
    font-size: 0.68rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
}
.live-strip-sub {
    font-size: 0.76rem;
    color: var(--color-gold);
    font-weight: 600;
}
.live-strip b,
.live-strip-title { 
    display: block; 
    font-family: var(--font-heading); 
    font-size: 1rem; 
    line-height: 1.45;
    color: var(--color-white);
    margin: 6px 0 10px; 
    letter-spacing: -0.2px;
}
.live-strip-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}
.live-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--color-gold);
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.18);
    padding: 4px 9px;
    border-radius: 6px;
    line-height: 1.2;
}
.live-meta-item .material-symbols-outlined { 
    font-size: 15px; 
    color: var(--color-gold);
}
.live-strip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 8px;
    flex-shrink: 0;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.live-strip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}
.live-strip-btn .material-symbols-outlined {
    font-size: 19px;
}

/* Responsive Live Strip (Tablet & Mobile) */
@media (max-width: 820px) {
    .live-strip {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px 18px;
        margin-bottom: 20px;
    }
    .live-strip::before {
        width: 100%;
        height: 3px;
        top: 0;
        left: 0;
    }
    .live-strip-title,
    .live-strip b {
        font-size: 0.95rem;
        margin: 6px 0 10px;
    }
    .live-strip-meta {
        gap: 6px;
    }
    .live-meta-item {
        font-size: 0.72rem;
        padding: 4px 8px;
    }
    .live-strip-btn {
        width: 100%;
        padding: 13px 18px;
        font-size: 0.88rem;
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .live-strip {
        padding: 14px 14px 16px;
        border-radius: 10px;
        gap: 12px;
    }
    .live-strip-badge-row {
        gap: 6px;
    }
    .live-strip .badge-bonus {
        font-size: 0.65rem;
        padding: 2px 7px;
    }
    .live-strip-sub {
        font-size: 0.72rem;
    }
    .live-strip-title,
    .live-strip b {
        font-size: 0.9rem;
        line-height: 1.4;
        margin: 4px 0 8px;
    }
    .live-meta-item {
        font-size: 0.7rem;
        padding: 3px 7px;
    }
    .live-meta-item .material-symbols-outlined {
        font-size: 13px;
    }
    .live-strip-btn {
        padding: 11px 14px;
        font-size: 0.82rem;
    }
}

/* Page heading */
.page-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.page-title .material-symbols-outlined { color: var(--color-gold); font-size: 20px; }
@media (max-width: 1024px) { .page-title { font-size: 1rem; margin-bottom: 12px; } }
@media (max-width: 768px) {
    .page-title {
        justify-content: center;
        text-align: center;
    }
    .page-subtitle {
        text-align: center !important;
    }
    .member-katalog-header {
        text-align: center;
    }
}

/* Filter Bar - Modern Capsule Pills */
.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
    justify-content: flex-start;
}
.filter-bar button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.09);
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.82rem;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    user-select: none;
    letter-spacing: 0.2px;
}
@media (max-width: 768px) {
    .filter-bar {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 6px;
        padding-bottom: 0;
        margin-bottom: 16px;
        overflow-x: visible;
        justify-content: center;
    }
    .filter-bar button {
        padding: 6px 12px;
        font-size: 0.76rem;
        gap: 6px;
        flex: 0 0 auto;
    }
}
@media (max-width: 480px) {
    .filter-bar {
        gap: 7px 6px;
    }
    .filter-bar button {
        padding: 6px 11px;
        font-size: 0.74rem;
        gap: 5px;
    }
    .filter-bar button .pill-icon {
        font-size: 15px;
    }
    .filter-bar button .pill-count {
        min-width: 19px;
        height: 19px;
        font-size: 0.7rem;
        padding: 0 5px;
    }
}
@media (max-width: 360px) {
    .filter-bar {
        gap: 6px 4px;
    }
    .filter-bar button {
        padding: 5px 9px;
        font-size: 0.72rem;
        gap: 4px;
    }
}
.filter-bar button .pill-icon {
    font-size: 16px;
    color: #94a3b8;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.filter-bar button .pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    transition: all 0.2s ease;
    line-height: 1;
}
.filter-bar button .pill-count.zero {
    opacity: 0.45;
    background: rgba(255, 255, 255, 0.03);
    color: #64748b;
}
.filter-bar button:hover {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.35);
    transform: translateY(-1px);
}
.filter-bar button:hover .pill-icon {
    color: var(--color-gold);
}
.filter-bar button:hover .pill-count {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
.filter-bar button.active {
    background: linear-gradient(135deg, #d4af37 0%, #b38e2e 100%);
    color: #0f172a;
    font-weight: 700;
    border-color: #d4af37;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.28);
    transform: none;
}
.filter-bar button.active .pill-icon {
    color: #0f172a !important;
}
.filter-bar button.active .pill-count {
    background: rgba(15, 23, 42, 0.22);
    color: #0f172a;
    font-weight: 800;
}
.filter-bar button.active .pill-count.zero {
    opacity: 0.6;
}

/* Member Beli Kelas Lain Toolbar (Filter Tabs + Sort + View Mode) */
.member-katalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 16px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.member-katalog-toolbar .member-katalog-filters {
    margin-bottom: 0;
    flex: 1;
    min-width: 320px;
    justify-content: center;
}
.member-katalog-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}
.member-katalog-sort {
    background: #1a202c;
    color: #cbd5e1;
    border: 1px solid #2d3748;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 0.83rem;
    cursor: pointer;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s, color 0.2s;
}
.member-katalog-sort:hover, .member-katalog-sort:focus {
    border-color: var(--color-gold);
    color: #ffffff;
}
.member-katalog-views {
    display: flex;
    gap: 2px;
    background: #0d1117;
    border: 1px solid #232936;
    border-radius: 8px;
    padding: 3px;
}
.member-katalog-view-btn {
    background: transparent;
    border: none;
    color: #9ca3af;
    padding: 5px 7px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}
.member-katalog-view-btn:hover {
    color: #f1f5f9;
}
.member-katalog-view-btn.active {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

/* Tablet & Mobile Responsive */
@media (max-width: 860px) {
    .member-katalog-toolbar {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
    .member-katalog-toolbar .member-katalog-filters {
        width: 100%;
        min-width: unset;
        flex: none;
        justify-content: center;
        margin-bottom: 0;
    }
    .member-katalog-actions {
        width: auto;
        max-width: 100%;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }
    .member-katalog-sort {
        flex: 0 1 auto;
        min-width: 130px;
    }
    .member-katalog-views {
        flex-shrink: 0;
    }
}
@media (max-width: 480px) {
    .member-katalog-toolbar {
        align-items: center;
    }
    .member-katalog-actions {
        gap: 8px;
        width: auto;
    }
    .member-katalog-sort {
        font-size: 0.78rem;
        padding: 6px 8px;
        min-width: 110px;
        max-width: 170px;
    }
    .member-katalog-view-btn {
        padding: 4px 6px;
    }
    .member-katalog-view-btn .material-symbols-outlined {
        font-size: 16px !important;
    }
}

/* Profile (2-Column Modern Grid) */
.profile-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: start;
    width: 100%;
}
@media (max-width: 1024px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.profile-side-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.profile-card-banner {
    height: 70px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.25), rgba(26, 26, 26, 0.95));
    border-bottom: 1px solid var(--color-border);
}

.profile-card-body {
    padding: 0 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-card-avatar-wrap {
    margin-top: -40px;
    margin-bottom: 12px;
    position: relative;
}

.profile-card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold), #dfba72);
    color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    border: 4px solid var(--color-card-bg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.profile-card-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 4px;
}

.profile-card-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(197, 160, 89, 0.15);
    color: var(--color-gold);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.profile-card-role-badge .material-symbols-outlined {
    font-size: 15px;
}

.profile-card-spec {
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-bottom: 14px;
    line-height: 1.4;
}

.profile-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(46, 204, 113, 0.12);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.25);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.profile-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.8);
}

.profile-mini-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 12px 6px;
    margin-bottom: 18px;
}

.profile-mini-stats .mini-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.profile-mini-stats .mini-stat:not(:last-child) {
    border-right: 1px solid var(--color-border);
}

.profile-mini-stats .val {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-white);
}

.profile-mini-stats .lbl {
    font-size: 0.68rem;
    color: var(--color-gray);
}

.profile-detail-list {
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.profile-detail-item .item-lbl {
    color: var(--color-gray);
}

.profile-detail-item .item-val {
    color: var(--color-white);
    font-weight: 500;
}

/* Right column form cards */
.profile-main-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
}

.profile-card-header .header-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(197, 160, 89, 0.12);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-card-header .header-icon .material-symbols-outlined {
    font-size: 20px;
}

.profile-card-header h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 2px;
    color: var(--color-white);
}

.profile-card-header p {
    font-size: 0.76rem;
    color: var(--color-gray);
    margin: 0;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Backward compatibility for profile-form */
.profile-form { width: 100%; }
.profile-form .form-group { margin-bottom: 18px; }
.profile-form .avatar-wrap { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.profile-form .avatar-wrap .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--color-gold); color: var(--color-bg); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; }

/* Materi Card (dashboard & materi view) */
.materi-list { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .materi-list { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1024px) { .materi-list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1360px) { .materi-list { grid-template-columns: repeat(5, 1fr); gap: 18px; } }
.materi-card { background: var(--color-card-bg); border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; transition: all 0.25s; display: flex; flex-direction: column; cursor: pointer; user-select: none; }
.materi-card:hover { border-color: var(--color-gold-soft); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.4); }
.materi-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: #111; }
.materi-card .materi-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.materi-card .materi-tag { display: inline-block; font-family: var(--font-heading); font-size: 0.65rem; font-weight: 700; color: var(--color-gold); text-transform: uppercase; letter-spacing: 0.08em; }
.materi-card h4 { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: var(--color-white); line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.materi-card.full p { font-size: 0.8rem; color: var(--color-gray); line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.materi-card .materi-progress .pbar { height: 6px; }
.materi-card .materi-progress .pct-row,
.pct-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.78rem;
    width: 100%;
}

/* ============ MODAL (ZOOM & DIALOGS) ============ */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999 !important;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    overscroll-behavior: contain;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
body.modal-open,
html.modal-open {
    overflow: hidden !important;
}
.modal-content {
    background: #181818;
    border: 1px solid var(--color-border-gold);
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 25px rgba(197, 160, 89, 0.12);
    transform: scale(0.94) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.02);
}
.modal-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
}
.modal-close {
    width: 34px;
    height: 34px;
    min-width: 34px;
    max-width: 34px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
    align-self: center;
    box-sizing: border-box;
    padding: 0;
}
.modal-close .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
    pointer-events: none;
}
.modal-close:hover {
    background: rgba(197, 160, 89, 0.18);
    border-color: rgba(197, 160, 89, 0.5);
    color: var(--color-gold);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
}
.modal-body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 75vh;
    overflow-y: auto;
}
.modal-info-box {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.12), rgba(20, 20, 20, 0.6));
    border: 1px solid var(--color-border-gold);
    border-radius: 12px;
    padding: 14px 16px;
}
.modal-info-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.98rem;
    margin-bottom: 6px;
    color: var(--color-white);
    line-height: 1.35;
}
.modal-info-meta {
    font-size: 0.78rem;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.credential-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.credential-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111111;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 10px 14px;
    gap: 12px;
}
.credential-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.credential-label {
    font-size: 0.7rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.credential-val {
    font-family: monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.btn-copy {
    padding: 6px 12px;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid var(--color-border-gold);
    color: var(--color-gold);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: 0.2s;
    cursor: pointer;
    flex-shrink: 0;
}
.btn-copy:hover {
    background: var(--color-gold);
    color: var(--color-bg);
}
.btn-copy.copied {
    background: #22c55e;
    border-color: #22c55e;
    color: #ffffff;
}
.modal-rules {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.78rem;
    color: var(--color-gray);
    line-height: 1.5;
}
.modal-rules b {
    color: var(--color-white);
    display: block;
    margin-bottom: 4px;
}
.modal-rules ul {
    margin: 4px 0 0 16px;
    padding: 0;
}
.modal-footer {
    padding: 14px 22px 20px;
    display: flex;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.modal-footer .btn-primary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    font-size: 0.85rem;
}
.modal-footer .btn-secondary {
    padding: 0 18px;
    height: 44px;
    font-size: 0.85rem;
}

/* ============ CLASSROOM MODAL (THEATER MODE) ============ */
.modal-content.classroom-mode {
    max-width: 1040px;
    height: auto;
    max-height: 92vh;
}
.classroom-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    min-height: 480px;
    background: #111;
}
@media (max-width: 900px) {
    .classroom-grid {
        grid-template-columns: 1fr;
        max-height: 75vh;
        overflow-y: auto;
    }
}
.video-section {
    display: flex;
    flex-direction: column;
    background: #0d0d0d;
    border-right: 1px solid var(--color-border);
}
@media (max-width: 900px) {
    .video-section {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
}
.video-player-box {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    overflow: hidden;
}
.video-player-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-details {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.video-details h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
}
.video-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.btn-toggle-done {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    color: var(--color-white);
}
.btn-toggle-done:hover {
    background: rgba(255, 255, 255, 0.12);
}
.btn-toggle-done.is-done {
    background: rgba(34, 197, 94, 0.15);
    border-color: #22c55e;
    color: #4ade80;
}
.playlist-section {
    display: flex;
    flex-direction: column;
    background: #141414;
    overflow: hidden;
}
.playlist-head {
    padding: 16px 18px;
    border-bottom: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.02);
}
.playlist-head-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.playlist-items {
    overflow-y: auto;
    max-height: 440px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.module-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}
.module-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-border-gold);
}
.module-item.active {
    background: rgba(197, 160, 89, 0.12);
    border-color: var(--color-gold);
}
.module-item.active .module-num {
    background: var(--color-gold);
    color: var(--color-bg);
}
.module-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #202020;
    border: 1px solid var(--color-border);
    color: var(--color-gray);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.module-item.completed .module-num {
    background: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
    color: #4ade80;
}
.module-info {
    flex: 1;
    min-width: 0;
}
.module-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.35;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.module-dur {
    font-size: 0.72rem;
    color: var(--color-gray);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ============ ASSET & E-BOOK MODAL ============ */
.asset-header-box {
    display: flex;
    gap: 22px;
    align-items: center;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--color-border-gold);
    border-radius: 16px;
    padding: 20px;
}
.asset-thumb {
    width: 220px;
    height: 220px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    flex-shrink: 0;
    background: #111;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
}
.asset-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--color-gold);
}
.asset-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.toc-box {
    background: #121212;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 14px 16px;
    max-height: 180px;
    overflow-y: auto;
}
.toc-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.toc-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
    color: #e2e8f0;
}
.toc-list li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.toc-list li::before {
    content: "•";
    color: var(--color-gold);
    font-weight: bold;
}

/* ============ FULL-PAGE CLASSROOM VIEW ============ */
.classroom-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.classroom-topbar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: #141414;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 12px 18px;
}
.btn-back-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gold);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--color-border-gold);
    padding: 8px 16px;
    border-radius: 8px;
    transition: 0.2s;
}
.btn-back-nav:hover {
    background: var(--color-gold);
    color: var(--color-bg);
}
.classroom-view-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 1100px) {
    .classroom-view-grid {
        grid-template-columns: 1fr;
    }
}
.classroom-main-video {
    background: #141414;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.classroom-main-video .video-player-box {
    width: 100%;
    padding-bottom: 56.25%;
    position: relative;
    background: #000;
}
.classroom-main-video .video-player-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.classroom-side-playlist {
    background: #141414;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 90px;
}

/* ============ PROTECTED E-BOOK READER ============ */
body.view-reader-active .shell-main {
    min-height: 100vh;
    height: auto;
    overflow-y: auto;
}
body.view-reader-active .shell-body {
    padding: 10px 16px 28px !important;
    overflow: visible;
    display: flex;
    flex-direction: column;
}
@media (max-width: 1024px) {
    body.view-reader-active .shell-body {
        padding: 8px 10px 76px !important;
    }
}
@media (max-width: 640px) {
    body.view-reader-active .shell-body {
        padding: 4px 4px 72px !important;
    }
}

/* Fullscreen / Focus Mode */
body.reader-fullscreen-active {
    overflow: hidden !important;
    background: #0a0c10 !important;
}
body.reader-fullscreen-active .shell {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden !important;
}
body.reader-fullscreen-active .shell-sidebar,
body.reader-fullscreen-active .shell-topbar,
body.reader-fullscreen-active .bottom-nav {
    display: none !important;
}
body.reader-fullscreen-active .shell-main {
    margin-left: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}
body.reader-fullscreen-active .shell-body {
    padding: 8px 12px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}
body.reader-fullscreen-active .ebook-reader-page {
    width: 100% !important;
    max-width: 100% !important;
    height: calc(100vh - 16px) !important;
    max-height: calc(100vh - 16px) !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
body.reader-fullscreen-active .pdf-viewer-embed-wrap {
    flex: 1;
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
body.reader-fullscreen-active .pdf-viewer-card {
    flex: 1;
    width: 100% !important;
    height: 100% !important;
    display: flex;
    flex-direction: column;
    min-height: 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(197, 160, 89, 0.25);
}
body.reader-fullscreen-active .pdf-viewer-frame-container {
    flex: 1;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
}

.ebook-reader-page {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

/* Google Drive & PDF Reader Embed Styles */
.pdf-viewer-embed-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}
.pdf-viewer-card {
    background: #141720;
    border: 1px solid #232a3b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    width: 100%;
}
.pdf-viewer-header {
    padding: 10px 16px;
    background: #10131b;
    border-bottom: 1px solid #232a3b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.pdf-viewer-frame-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 165px);
    min-height: 720px;
    background: #0d1017;
    overflow: hidden;
}
.pdf-viewer-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #1a1a1a;
}


.pdf-viewer-footer {
    padding: 10px 16px;
    background: #0d1017;
    border-top: 1px solid #232a3b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #94a3b8;
    flex-wrap: wrap;
    gap: 6px;
}

@media (max-width: 1024px) {
    .pdf-viewer-frame-container {
        height: calc(100vh - 175px);
        min-height: 600px;
    }

}
@media (max-width: 640px) {
    .pdf-viewer-card {
        border-radius: 8px;
    }
    .pdf-viewer-header {
        padding: 8px 10px;
    }
    .pdf-viewer-frame-container {
        height: calc(100vh - 180px);
        min-height: 520px;
    }


    .pdf-viewer-footer {
        font-size: 0.7rem;
        padding: 8px 10px;
    }
    .ebook-reader-bar {
        padding: 8px 10px !important;
        gap: 6px !important;
    }
    .ebook-reader-bar .btn-back-nav {
        padding: 6px 10px !important;
        font-size: 0.78rem !important;
    }
    .ebook-reader-bar .tool-label {
        display: none !important;
    }
}

/* Reader Toolbar Buttons */
.reader-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1c1c1c;
    border: 1px solid var(--color-border);
    color: var(--color-white);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.reader-tool-btn:hover {
    background: #282828;
    border-color: var(--color-gold);
    color: var(--color-gold);
}
.reader-tool-btn.active {
    background: rgba(197, 160, 89, 0.18);
    border-color: var(--color-gold);
    color: var(--color-gold);
}
.reader-tool-btn .material-symbols-outlined {
    font-size: 16px;
}
.reader-tool-btn.fullscreen-btn {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.16), rgba(197, 160, 89, 0.06));
    border: 1px solid rgba(197, 160, 89, 0.45);
    color: var(--color-gold);
    font-weight: 700;
}
.reader-tool-btn.fullscreen-btn:hover {
    background: var(--color-gold);
    color: #0b0e14;
    border-color: var(--color-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.35);
}
.reader-tool-btn.exit-fullscreen-btn {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #f87171;
    font-weight: 700;
}
.reader-tool-btn.exit-fullscreen-btn:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}
.zoom-pct-btn {
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s;
}
.zoom-pct-btn:hover {
    color: var(--color-gold);
}
.ebook-reader-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    background: #141414;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 8px 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 10;
}
.ebook-reader-bar .bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}
.ebook-reader-bar .bar-left .btn-back-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-gold);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid var(--color-border-gold);
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.2s ease;
}
.ebook-reader-bar .bar-left .btn-back-nav:hover {
    background: var(--color-gold);
    color: #0a0a0a;
}
.ebook-reader-bar .bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.chapter-select {
    background: #1c1c1c;
    border: 1px solid var(--color-border);
    color: var(--color-white);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    outline: none;
    cursor: pointer;
    max-width: 320px;
}
.chapter-select:focus {
    border-color: var(--color-gold);
}
.ebook-paper {
    background: #141414;
    border: 1px solid var(--color-border-gold);
    border-radius: 16px;
    padding: 36px 44px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scroll-behavior: smooth;
}
/* Sleek custom scrollbar for reader paper */
.ebook-paper::-webkit-scrollbar {
    width: 8px;
}
.ebook-paper::-webkit-scrollbar-track {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 8px;
    margin: 8px 0;
}
.ebook-paper::-webkit-scrollbar-thumb {
    background: rgba(197, 160, 89, 0.35);
    border-radius: 8px;
    border: 2px solid #141414;
}
.ebook-paper::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}
@media (max-width: 768px) {
    .ebook-paper {
        padding: 24px 18px;
    }
}
.ebook-book-tag {
    color: var(--color-gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ebook-chapter-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.35;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}
.ebook-body-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #cbd5e1;
}
.ebook-body-text p {
    margin-bottom: 18px;
}
.ebook-body-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 28px 0 12px;
}
.ebook-body-text ul {
    margin: 0 0 20px 24px;
}
.ebook-body-text li {
    margin-bottom: 8px;
}
.ebook-quote {
    border-left: 3px solid var(--color-gold);
    background: rgba(197, 160, 89, 0.08);
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #f1f5f9;
}
/* Continuous Chapter Layout & Dividers */
.pdf-chapter-section {
    margin-bottom: 48px;
    scroll-margin-top: 16px;
}
.pdf-chapter-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 56px 0 36px;
    user-select: none;
}
.pdf-chapter-divider .divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.35), transparent);
}
.pdf-chapter-divider .divider-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #1e1e1e;
    border: 1px solid rgba(197, 160, 89, 0.35);
    padding: 4px 14px;
    border-radius: 99px;
}

/* Document End Badge */
.pdf-document-end {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px 24px;
    margin-top: 40px;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
}
.pdf-document-end .end-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 6px;
}
.pdf-document-end .end-desc {
    color: var(--color-gray);
    font-size: 0.85rem;
    margin: 0 0 16px;
}

.ebook-watermark {
    text-align: center;
    font-size: 0.72rem;
    color: var(--color-gray);
    margin-top: 20px;
}
.pdf-doc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    background: #1e1e1e;
    border: 1px solid var(--color-border);
    padding: 5px 10px;
    border-radius: 8px;
    max-width: 220px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
}
.pdf-doc-badge .pdf-doc-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    color: #fff;
}
.pdf-zoom-control {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1c1c1c;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 3px 8px;
    font-size: 0.8rem;
    color: var(--color-gray);
}
.pdf-zoom-control button {
    background: transparent;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 4px;
    border-radius: 4px;
}
.pdf-zoom-control button:hover {
    background: rgba(255, 255, 255, 0.1);
}
.pdf-nav-subbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 2px 4px;
    font-size: 0.82rem;
    color: var(--color-gray);
}
.pdf-page-indicator {
    font-size: 0.82rem;
    color: var(--color-gray);
}
.pdf-page-indicator b {
    color: var(--color-gold);
}
.pdf-page-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 14px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    margin-bottom: 24px;
}
.pdf-page-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #94a3b8;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    margin-top: 32px;
    flex-wrap: wrap;
    gap: 8px;
}
.pdf-paper-layout {
    position: relative;
    background: #131313;
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
    transition: font-size 0.2s ease;
}

/* Responsive E-Book Reader Bar */
@media (max-width: 820px) {
    .ebook-reader-bar {
        padding: 8px 10px;
        gap: 8px;
    }
    .pdf-doc-badge {
        max-width: 140px;
    }
    .reader-tool-btn {
        padding: 6px 9px;
        font-size: 0.74rem;
    }
    .reader-tool-btn .tool-label {
        display: none;
    }
    .reader-lock-badge .badge-text {
        display: none;
    }
    .reader-lock-badge {
        padding: 5px 8px !important;
    }
}
@media (max-width: 580px) {
    .ebook-reader-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px 12px;
    }
    .ebook-reader-bar .bar-left {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }
    .ebook-reader-bar .bar-left .btn-back-nav {
        flex-shrink: 0;
    }
    .pdf-doc-badge {
        max-width: 170px;
    }
    .ebook-reader-bar .bar-right {
        width: 100%;
        justify-content: space-between;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        gap: 6px;
    }
    .pdf-zoom-control {
        flex: 1;
        justify-content: center;
    }
    .reader-tool-btn .tool-label {
        display: inline;
    }
    .reader-lock-badge .badge-text {
        display: inline;
    }
    .pdf-nav-subbar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .chapter-select {
        max-width: 100%;
        width: 100%;
    }
}
@media print {
    .ebook-reader-page,
    .ebook-paper {
        display: none !important;
    }
}

/* ============ BADGES & PILLS ============ */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.2;
    white-space: nowrap;
    border: 1px solid transparent;
}
.badge.success {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.3);
}
.badge.pending {
    background: rgba(234, 179, 8, 0.14);
    color: #facc15;
    border-color: rgba(234, 179, 8, 0.35);
}
.badge.danger {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.3);
}
.badge.draft {
    background: rgba(156, 163, 175, 0.12);
    color: #d1d5db;
    border-color: rgba(156, 163, 175, 0.25);
}
.badge.warning,
.badge.mentoring,
.badge.purple {
    background: rgba(168, 85, 247, 0.14);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.35);
}
.badge.info,
.badge.cyan {
    background: rgba(6, 182, 212, 0.14);
    color: #22d3ee;
    border-color: rgba(6, 182, 212, 0.35);
}
.badge.gold {
    background: rgba(197, 160, 89, 0.15);
    color: var(--color-gold);
    border-color: rgba(197, 160, 89, 0.35);
}

/* ============ PRODUK & DATA TABLES ============ */
.produk-table, .tx-table {
    display: flex;
    flex-direction: column;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    margin-bottom: 24px;
}

.produk-table-head, .produk-row {
    display: grid;
    grid-template-columns: minmax(240px, 3fr) 0.95fr 1fr 1.05fr 0.9fr 1.5fr;
    gap: 16px;
    padding: 13px 20px;
    align-items: center;
    min-height: 52px;
}

.produk-table-head {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--color-border);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gray);
}
.produk-table-head > div:nth-child(1) { text-align: left; justify-content: flex-start; }
.produk-table-head > div:nth-child(2),
.produk-table-head > div:nth-child(3),
.produk-table-head > div:nth-child(4),
.produk-table-head > div:nth-child(5),
.produk-table-head > div:nth-child(6) {
    text-align: center;
    justify-content: center;
}

.produk-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
    font-size: 0.82rem;
}
.produk-row:last-child { border-bottom: none; }
.produk-row:hover { background: rgba(197, 160, 89, 0.04); }

.produk-info {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    min-width: 0;
    overflow: hidden;
}
.produk-info img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}
.produk-info > div { min-width: 0; overflow: hidden; }
.produk-info b {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
}
.produk-kat {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
}
.produk-mentor {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.82rem;
    color: #d1d5db;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.produk-harga {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
}
.produk-harga b {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}
.produk-peserta, .produk-rev {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
}
.produk-status {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.produk-aksi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
}

@media (max-width: 1100px) {
    .produk-table-head, .produk-row {
        grid-template-columns: minmax(180px, 2.2fr) 0.8fr 0.9fr 0.9fr 0.8fr 1.6fr;
        gap: 10px;
        padding: 10px 12px;
    }
}
@media (max-width: 900px) {
    .produk-table-head { display: none; }
    .produk-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px 14px;
        padding: 16px;
        align-items: center;
    }
    .produk-row > * { text-align: left; line-height: 1.4; }
    .produk-info {
        grid-column: 1 / -1;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--color-border);
        margin-bottom: 4px;
    }
    .produk-kat, .produk-status, .produk-mentor, .produk-harga, .produk-peserta, .produk-rev, .produk-aksi {
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: flex-start;
        text-align: left;
    }
    .produk-kat::before { content: 'Kategori'; font-size: 0.72rem; color: var(--color-gray); font-weight: 600; min-width: 75px; flex-shrink: 0; }
    .produk-mentor::before { content: 'Mentor'; font-size: 0.72rem; color: var(--color-gray); font-weight: 600; min-width: 75px; flex-shrink: 0; }
    .produk-harga::before { content: 'Harga'; font-size: 0.72rem; color: var(--color-gray); font-weight: 600; min-width: 75px; flex-shrink: 0; }
    .produk-peserta::before { content: 'Peserta'; font-size: 0.72rem; color: var(--color-gray); font-weight: 600; min-width: 75px; flex-shrink: 0; }
    .produk-rev::before { content: 'Pendapatan'; font-size: 0.72rem; color: var(--color-gray); font-weight: 600; min-width: 75px; flex-shrink: 0; }
    .produk-status::before { content: 'Status'; font-size: 0.72rem; color: var(--color-gray); font-weight: 600; min-width: 75px; flex-shrink: 0; }
    .produk-aksi {
        grid-column: 1 / -1;
        justify-content: flex-end;
        margin-top: 6px;
        padding-top: 10px;
        border-top: 1px solid var(--color-border);
    }
    .produk-aksi::before { display: none; }
}

/* ============ TRANSAKSI & GENERAL DATA TABLE ============ */
.tx-list { display: flex; flex-direction: column; width: 100%; }

.tx-table-head, .tx-card {
    display: grid;
    grid-template-columns: minmax(240px, 3.2fr) 0.9fr 1fr 1.1fr 0.9fr 0.8fr;
    gap: 16px;
    padding: 13px 20px;
    align-items: center;
    min-height: 52px;
}

/* Member Dashboard Transaction Table */
.tx-table-member .tx-table-head,
.tx-table-member .tx-card {
    grid-template-columns: minmax(280px, 3.8fr) 0.85fr 1.05fr 1.1fr 0.95fr 0.85fr;
    gap: 16px;
}

/* Admin Transaction Table */
.tx-table-admin .tx-table-head,
.tx-table-admin .tx-card {
    grid-template-columns: minmax(180px, 1.8fr) 0.85fr minmax(220px, 2.6fr) 1.05fr 0.95fr 0.85fr;
    gap: 16px;
}

/* Mentor Activity Table: Peserta (1), Produk (2), Tipe (3), Tanggal (4), Status (5), Aksi (6) */
.tx-table-mentor .tx-table-head,
.tx-table-mentor .tx-card {
    grid-template-columns: minmax(180px, 1.8fr) minmax(250px, 3.2fr) 0.95fr 1fr 0.85fr 0.8fr;
    gap: 16px;
}

/* Member: Col 1 rata kiri, Cols 2-6 (Invoice, Tanggal, Total, Status, Aksi) center judul & isi */
.tx-table-member .tx-table-head > div:nth-child(2),
.tx-table-member .tx-table-head > div:nth-child(3),
.tx-table-member .tx-table-head > div:nth-child(4),
.tx-table-member .tx-table-head > div:nth-child(5),
.tx-table-member .tx-table-head > div:nth-child(6) {
    justify-content: center;
    text-align: center;
}

.tx-table-member .tx-inv-cell,
.tx-table-member .tx-tgl,
.tx-table-member .tx-total {
    justify-content: center;
    text-align: center;
}

/* Admin: Col 1 (Member) rata kiri, Cols 2-6 center judul & isi */
.tx-table-admin .tx-table-head > div:nth-child(1) {
    justify-content: flex-start;
    text-align: left;
}

.tx-table-admin .tx-table-head > div:nth-child(2),
.tx-table-admin .tx-table-head > div:nth-child(3),
.tx-table-admin .tx-table-head > div:nth-child(4),
.tx-table-admin .tx-table-head > div:nth-child(5),
.tx-table-admin .tx-table-head > div:nth-child(6) {
    justify-content: center;
    text-align: center;
}

.tx-table-admin .tx-inv-cell,
.tx-table-admin .tx-total,
.tx-table-admin .tx-status,
.tx-table-admin .tx-aksi {
    justify-content: center;
    text-align: center;
}

.tx-table-admin .tx-produk,
.tx-table-mentor .tx-produk {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 3px !important;
}

.tx-table-admin .tx-produk .tx-prod-title,
.tx-table-mentor .tx-produk .tx-prod-title {
    display: block;
    line-height: 1.35;
    max-width: 100%;
}

.tx-table-admin .tx-produk .tx-prod-date,
.tx-table-mentor .tx-produk .tx-prod-date {
    display: block;
    font-size: 0.76rem;
    color: var(--color-gray);
    line-height: 1.2;
}

/* Mentor: Col 1 (Peserta) rata kiri, Cols 2-6 (Produk, Tipe, Tanggal, Status, Aksi) center judul & isi */
.tx-table-mentor .tx-table-head > div:nth-child(1) {
    justify-content: flex-start;
    text-align: left;
}

.tx-table-mentor .tx-table-head > div:nth-child(2),
.tx-table-mentor .tx-table-head > div:nth-child(3),
.tx-table-mentor .tx-table-head > div:nth-child(4),
.tx-table-mentor .tx-table-head > div:nth-child(5),
.tx-table-mentor .tx-table-head > div:nth-child(6) {
    justify-content: center;
    text-align: center;
}

.tx-table-mentor .tx-produk,
.tx-table-mentor .tx-tipe-cell,
.tx-table-mentor .tx-tgl,
.tx-table-mentor .tx-status,
.tx-table-mentor .tx-aksi {
    justify-content: center;
    text-align: center;
}

.tx-table-mentor .tx-produk b {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

/* Analitik Produk Table: Produk (1), Kategori (2), Mentor (3), Terjual (4), Pending (5), Revenue (6) */
.analitik-table .tx-table-head,
.analitik-table .tx-card {
    grid-template-columns: minmax(330px, 3.2fr) minmax(105px, 0.95fr) minmax(120px, 1.05fr) minmax(85px, 0.8fr) minmax(85px, 0.8fr) minmax(125px, 1.1fr);
    gap: 16px;
}

.analitik-table .tx-table-head > div:nth-child(1) { justify-content: flex-start; text-align: left; }
.analitik-table .tx-table-head > div:nth-child(2) { justify-content: center; text-align: center; }
.analitik-table .tx-table-head > div:nth-child(3) { justify-content: center; text-align: center; }
.analitik-table .tx-table-head > div:nth-child(4) { justify-content: center; text-align: center; }
.analitik-table .tx-table-head > div:nth-child(5) { justify-content: center; text-align: center; }
.analitik-table .tx-table-head > div:nth-child(6) { justify-content: flex-end; text-align: right; }

.analitik-table .tx-cell.tx-name { justify-content: flex-start; text-align: left; min-width: 0; }
.analitik-table .tx-cell.tx-name b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.35; }
.analitik-table .tx-cell.tx-kat { justify-content: center; text-align: center; }
.analitik-table .tx-cell.tx-mentor { justify-content: center; text-align: center; color: #d1d5db; font-size: 0.85rem; font-weight: 500; }
.analitik-table .tx-cell.tx-sold { justify-content: center; text-align: center; }
.analitik-table .tx-cell.tx-sold b { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; color: var(--color-white); }
.analitik-table .tx-cell.tx-pending { justify-content: center; text-align: center; }
.analitik-table .tx-cell.tx-rev { justify-content: flex-end; text-align: right; }
.analitik-table .tx-cell.tx-rev b { font-family: var(--font-heading); font-size: 0.88rem; font-weight: 700; color: var(--color-gold); }

/* 5 Column Variant (Data Member & Peserta Kelas) */
.tx-table-head.col-5, .tx-card.col-5,
.tx-table.col-5 .tx-table-head, .tx-table.col-5 .tx-card {
    grid-template-columns: minmax(190px, 2fr) 85px minmax(170px, 1.8fr) minmax(150px, 1.4fr) minmax(170px, 1.5fr);
    gap: 14px;
}

.tx-table-head.col-5 > div:nth-child(1),
.tx-table.col-5 .tx-table-head > div:nth-child(1) { justify-content: flex-start; text-align: left; }
.tx-table-head.col-5 > div:nth-child(2),
.tx-table.col-5 .tx-table-head > div:nth-child(2) { justify-content: center; text-align: center; }
.tx-table-head.col-5 > div:nth-child(3),
.tx-table.col-5 .tx-table-head > div:nth-child(3) { justify-content: center; text-align: center; }
.tx-table-head.col-5 > div:nth-child(4),
.tx-table.col-5 .tx-table-head > div:nth-child(4) { justify-content: center !important; text-align: center !important; }
.tx-table-head.col-5 > div:nth-child(5),
.tx-table.col-5 .tx-table-head > div:nth-child(5) { justify-content: center !important; text-align: center !important; }

.tx-table.col-5 .tx-inv-cell,
.tx-table.col-5 .tx-email-cell,
.tx-table.col-5 .tx-tgl,
.tx-table.col-5 .tx-contact,
.tx-table.col-5 .tx-status,
.tx-table.col-5 .tx-aksi {
    justify-content: center;
    text-align: center;
    align-items: center;
}

/* Data Member Admin Table: Member (1), ID (2), Kontak (3), Status & Aktivitas (4), Aksi (5) */
.member-table.tx-table .tx-table-head,
.member-table.tx-table .tx-card,
.member-table .tx-table-head,
.member-table .tx-card {
    grid-template-columns: minmax(130px, 1.1fr) minmax(70px, 0.7fr) minmax(140px, 1.2fr) minmax(120px, 1fr) minmax(140px, 1.2fr);
    gap: 10px;
    box-sizing: border-box;
}
.member-table.tx-table,
.member-table {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.member-table .tx-table-head > div:nth-child(1) { justify-content: flex-start; text-align: left; }
.member-table .tx-table-head > div:nth-child(2) { justify-content: center; text-align: center; }
.member-table .tx-table-head > div:nth-child(3) { justify-content: center; text-align: center; }
.member-table .tx-table-head > div:nth-child(4) { justify-content: center; text-align: center; }
.member-table .tx-table-head > div:nth-child(5) { justify-content: flex-end !important; text-align: right !important; }

.member-table .tx-cell.tx-name { justify-content: flex-start; text-align: left; min-width: 0; }
.member-table .tx-cell.tx-name b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.member-table .tx-cell.tx-inv-cell { justify-content: center; text-align: center; }
.member-table .tx-cell.tx-contact { justify-content: center; align-items: center; text-align: center; }
.member-table .tx-cell.tx-status-activity { justify-content: center; align-items: center; text-align: center; }
.member-table .tx-cell.tx-aksi { justify-content: flex-end !important; text-align: right !important; gap: 6px; }

/* Member Toolbar & Status Activity */
.member-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.member-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.member-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    color: var(--color-gray-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.member-tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.2);
}

.member-tab-btn.active {
    background: var(--color-gold-bg);
    border-color: var(--color-gold);
    color: var(--color-gold);
    box-shadow: 0 2px 10px rgba(212, 168, 83, 0.15);
}

.member-tab-btn .tab-count {
    padding: 1px 7px;
    border-radius: 99px;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
}

.member-tab-btn.active .tab-count {
    background: rgba(212, 168, 83, 0.25);
    color: var(--color-gold);
}

.dot-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.dot-indicator.green {
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.7);
}
.dot-indicator.yellow {
    background: #facc15;
    box-shadow: 0 0 6px rgba(250, 204, 21, 0.7);
}
.dot-indicator.red {
    background: #f87171;
    box-shadow: 0 0 6px rgba(248, 113, 113, 0.7);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 5px currentColor;
    display: inline-block;
}

.member-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    padding: 6px 12px;
    border-radius: 8px;
    min-width: 220px;
    transition: border-color 0.2s;
}

.member-search-box:focus-within {
    border-color: var(--color-gold);
}

.member-search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-white);
    font-size: 0.8rem;
    width: 100%;
}

.member-search-box .material-symbols-outlined {
    font-size: 18px;
    color: var(--color-gray);
}

.clear-search {
    background: none;
    border: none;
    color: var(--color-gray);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
}
.clear-search:hover {
    color: var(--color-white);
}

/* Status + Activity Time */
.tx-cell.tx-status-activity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.tx-status-activity .activity-time {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    color: var(--color-gray);
    white-space: nowrap;
}

.tx-status-activity .activity-time .icon-mini {
    font-size: 12px;
    opacity: 0.7;
}

.tx-status-activity .activity-time.text-danger {
    color: #f87171;
}

.tx-status-activity .activity-time.text-warning {
    color: #fbbf24;
}

.tx-status-activity .activity-time.text-success {
    color: #4ade80;
}

/* WhatsApp Button */
.btn-mini.wa-btn {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #25d366;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 11px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-mini.wa-btn:hover {
    background: #25d366;
    border-color: #25d366;
    color: #0b0f19;
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.45);
    transform: translateY(-1px);
}

.tx-table-head {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--color-border);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gray);
}
.tx-table-head > div {
    display: flex;
    align-items: center;
    min-width: 0;
}
.tx-table-head > div:nth-child(1) { justify-content: flex-start; text-align: left; }
.tx-table-head > div:nth-child(2) { justify-content: flex-start; text-align: left; }
.tx-table-head > div:nth-child(3) { justify-content: flex-start; text-align: left; }
.tx-table-head > div:nth-child(4) { justify-content: flex-start; text-align: left; }
.tx-table-head > div:nth-child(5) { justify-content: center; text-align: center; }
.tx-table-head > div:nth-child(6) { justify-content: center; text-align: center; }


/* Explicit helper classes for headers */
.tx-th-center { justify-content: center !important; text-align: center !important; }
.tx-th-right  { justify-content: flex-end !important; text-align: right !important; }
.tx-th-left   { justify-content: flex-start !important; text-align: left !important; }

.tx-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
    font-size: 0.82rem;
}
.tx-card:last-child { border-bottom: none; }
.tx-card:hover { background: rgba(197, 160, 89, 0.04); }

.tx-cell {
    min-width: 0;
    display: flex;
    align-items: center;
}

/* First Column: Name / User / Product */
.tx-name {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    justify-content: flex-start;
    min-width: 0;
    overflow: hidden;
}
.tx-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    flex-shrink: 0;
}
.tx-icon .material-symbols-outlined { font-size: 18px; }
.tx-name b {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.35;
}

/* Second Column: Invoice / Tag / ID */
.tx-inv-cell {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-gold);
    font-size: 0.82rem;
    text-align: left;
    justify-content: flex-start;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Third Column: Product title / Date / Email */
.tx-produk, .tx-kat, .tx-tgl {
    font-size: 0.82rem;
    color: #d1d5db;
    text-align: left;
    justify-content: flex-start;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.35;
}
.tx-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    line-height: 1.3;
}
.tx-contact span {
    color: #e5e7eb;
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tx-contact small {
    color: var(--color-gray);
    font-size: 0.72rem;
    white-space: nowrap;
}

/* Fourth Column: Total / Price / Date */
.tx-total {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    min-width: 0;
}
.tx-total .tx-price {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Fifth Column: Status Badge */
.tx-status {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Sixth Column: Action Button */
.tx-aksi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

@media (max-width: 1100px) {
    .tx-table-head, .tx-card {
        grid-template-columns: minmax(200px, 2.8fr) 0.9fr 1fr 1fr 0.85fr 0.8fr;
        gap: 12px;
        padding: 11px 14px;
    }
    .tx-table-member .tx-table-head,
    .tx-table-member .tx-card {
        grid-template-columns: minmax(220px, 3.2fr) 0.85fr 1fr 1fr 0.9fr 0.8fr;
        gap: 12px;
        padding: 11px 14px;
    }
    .tx-table-admin .tx-table-head,
    .tx-table-admin .tx-card {
        grid-template-columns: minmax(160px, 1.8fr) 0.85fr minmax(180px, 2.2fr) 1fr 0.9fr 0.8fr;
        gap: 12px;
        padding: 11px 14px;
    }
    .tx-table-mentor .tx-table-head,
    .tx-table-mentor .tx-card {
        grid-template-columns: minmax(160px, 1.6fr) minmax(200px, 2.8fr) 0.9fr 1fr 0.85fr 0.8fr;
        gap: 12px;
        padding: 11px 14px;
    }
    .tx-table-head.col-5, .tx-card.col-5,
    .tx-table.col-5 .tx-table-head, .tx-table.col-5 .tx-card {
        grid-template-columns: minmax(160px, 1.8fr) 80px minmax(150px, 1.6fr) minmax(130px, 1.2fr) minmax(160px, 1.4fr);
        gap: 10px;
        padding: 11px 14px;
    }
    .analitik-table .tx-table-head,
    .analitik-table .tx-card {
        grid-template-columns: minmax(240px, 2.8fr) minmax(95px, 0.95fr) minmax(105px, 1.05fr) minmax(70px, 0.8fr) minmax(70px, 0.8fr) minmax(110px, 1.1fr);
        gap: 12px;
        padding: 11px 14px;
    }
    .member-table.tx-table .tx-table-head,
    .member-table.tx-table .tx-card,
    .member-table .tx-table-head,
    .member-table .tx-card {
        grid-template-columns: minmax(140px, 1.1fr) minmax(70px, 0.7fr) minmax(140px, 1.2fr) minmax(130px, 1.2fr) minmax(150px, 1.3fr);
        gap: 10px;
        padding: 11px 14px;
    }
}
@media (max-width: 900px) {
    .tx-table-head { display: none !important; }
    .tx-card,
    .tx-table .tx-card,
    .tx-table-member .tx-card,
    .tx-table-admin .tx-card,
    .tx-table-mentor .tx-card,
    .member-table .tx-card,
    .member-table.tx-table .tx-card,
    .tx-table.col-5 .tx-card,
    .tx-card.col-5,
    .analitik-table .tx-card {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 16px !important;
        align-items: stretch !important;
    }
    .tx-card > * { font-size: 0.82rem; text-align: left; line-height: 1.4; min-width: 0; }
    .tx-name {
        grid-column: 1 / -1 !important;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--color-border);
        margin-bottom: 4px;
        width: 100% !important;
    }
    .tx-inv-cell, .tx-email-cell, .tx-tipe-cell, .tx-produk, .tx-tgl, .tx-total, .tx-status,
    .analitik-table .tx-kat, .analitik-table .tx-mentor, .analitik-table .tx-sold, .analitik-table .tx-pending, .analitik-table .tx-rev {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 5px 0 !important;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.06) !important;
        text-align: right !important;
        gap: 12px !important;
        min-width: 0 !important;
    }
    .tx-tipe-cell::before { content: 'Tipe'; font-size: 0.74rem; color: var(--color-gray); font-weight: 600; min-width: 70px; text-align: left; flex-shrink: 0; }
    .tx-inv-cell::before { content: 'Invoice'; font-size: 0.74rem; color: var(--color-gray); font-weight: 600; min-width: 70px; text-align: left; flex-shrink: 0; }
    .tx-email-cell::before { content: 'Email'; font-size: 0.74rem; color: var(--color-gray); font-weight: 600; min-width: 70px; text-align: left; flex-shrink: 0; }
    .member-table .tx-inv-cell::before { content: 'ID Member'; font-size: 0.74rem; color: var(--color-gray); font-weight: 600; min-width: 70px; text-align: left; flex-shrink: 0; }
    .member-table .tx-contact::before { content: 'Kontak'; font-size: 0.74rem; color: var(--color-gray); font-weight: 600; min-width: 70px; text-align: left; flex-shrink: 0; }
    .tx-produk::before { content: 'Produk'; font-size: 0.74rem; color: var(--color-gray); font-weight: 600; min-width: 70px; text-align: left; flex-shrink: 0; }
    .tx-tgl::before { content: 'Tanggal'; font-size: 0.74rem; color: var(--color-gray); font-weight: 600; min-width: 70px; text-align: left; flex-shrink: 0; }
    .tx-total::before { content: 'Total'; font-size: 0.74rem; color: var(--color-gray); font-weight: 600; min-width: 70px; text-align: left; flex-shrink: 0; }
    .tx-status::before { content: 'Status'; font-size: 0.74rem; color: var(--color-gray); font-weight: 600; min-width: 70px; text-align: left; flex-shrink: 0; }
    .analitik-table .tx-kat::before { content: 'Kategori'; font-size: 0.74rem; color: var(--color-gray); font-weight: 600; min-width: 70px; text-align: left; flex-shrink: 0; }
    .analitik-table .tx-mentor::before { content: 'Mentor'; font-size: 0.74rem; color: var(--color-gray); font-weight: 600; min-width: 70px; text-align: left; flex-shrink: 0; }
    .analitik-table .tx-sold::before { content: 'Terjual'; font-size: 0.74rem; color: var(--color-gray); font-weight: 600; min-width: 70px; text-align: left; flex-shrink: 0; }
    .analitik-table .tx-pending::before { content: 'Pending'; font-size: 0.74rem; color: var(--color-gray); font-weight: 600; min-width: 70px; text-align: left; flex-shrink: 0; }
    .analitik-table .tx-rev::before { content: 'Revenue'; font-size: 0.74rem; color: var(--color-gray); font-weight: 600; min-width: 70px; text-align: left; flex-shrink: 0; }

    .tx-total .tx-price {
        font-size: 0.95rem;
        color: var(--color-gold);
    }
    .tx-card .tx-produk {
        flex-wrap: wrap !important;
        align-items: center !important;
    }
    .tx-card .tx-produk .tx-prod-title {
        text-align: right !important;
        flex: 1 !important;
    }
    .tx-card .tx-produk .tx-prod-date {
        width: 100% !important;
        text-align: right !important;
        margin-top: 2px !important;
    }
    .tx-status-activity {
        flex-direction: row !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end !important;
        gap: 6px;
    }
    .tx-aksi {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: flex-end !important;
        border-bottom: none !important;
        margin-top: 6px;
        padding-top: 10px;
        border-top: 1px solid var(--color-border);
    }
    .tx-aksi::before { display: none !important; }
    .tx-aksi .btn-mini { min-width: 90px; }
}
@media (max-width: 480px) {
    .tx-card,
    .tx-table .tx-card,
    .tx-table-member .tx-card,
    .tx-table-admin .tx-card,
    .tx-table-mentor .tx-card,
    .member-table .tx-card,
    .analitik-table .tx-card {
        padding: 14px 12px !important;
        gap: 6px !important;
    }
    .tx-icon { width: 32px; height: 32px; }
    .tx-email-cell::before, .tx-inv-cell::before, .tx-produk::before, .tx-tgl::before, .tx-total::before, .tx-status::before { min-width: 65px; font-size: 0.7rem; }
}

/* ============ MINI BUTTONS (AKSI) ============ */
.btn-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    color: #d1d5db;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.3;
    white-space: nowrap;
}
.btn-mini:hover {
    background: rgba(197, 160, 89, 0.12);
    border-color: var(--color-gold);
    color: var(--color-gold);
}
.btn-mini.gold {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-bg);
    font-weight: 700;
}
.btn-mini.gold:hover {
    background: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    color: var(--color-bg);
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(197, 160, 89, 0.3);
}
.btn-mini.danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}
.btn-mini.danger:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}
.btn-mini.excel {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.4);
    color: #34d399;
}
.btn-mini.excel:hover {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}
.btn-mini.print-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
}
.btn-mini.print-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Empty state */
.empty-state { background: var(--color-card-bg); border: 1px dashed var(--color-border); border-radius: 12px; padding: 48px 20px; text-align: center; color: var(--color-gray); font-size: 0.9rem; }

/* Profile form section title */
.profile-avatar-row { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 12px; margin-bottom: 24px; }
.profile-avatar-row .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--color-gold); color: var(--color-bg); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.form-section-title { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--color-white); margin: 14px 0 10px; padding-top: 12px; border-top: 1px dashed var(--color-border); }
.form-section-title:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.page-subtitle { color: var(--color-gray); font-size: 0.85rem; margin: -8px 0 16px; }

/* ============ ANALITIK PENJUALAN PRODUK ============ */
.kategori-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.kategori-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    min-width: 0;
}
.kategori-card:hover {
    border-color: var(--color-gold-soft);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.15);
}
.kategori-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.kategori-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    flex-shrink: 0;
}
.kategori-icon .material-symbols-outlined { font-size: 24px; }
.kategori-meta { flex: 1; min-width: 0; }
.kategori-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: visible;
}
.kategori-sub-lbl {
    display: block;
    font-size: 0.72rem;
    color: var(--color-gray);
    font-family: var(--font-body);
}
.kategori-sold-badge {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.16), rgba(223, 186, 114, 0.06));
    border: 1px solid var(--color-border-gold);
    border-radius: 10px;
    padding: 6px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    flex-shrink: 0;
}
.kategori-sold-badge .sold-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1;
}
.kategori-sold-badge .sold-lbl {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 3px;
}
.kategori-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    gap: 10px;
}
.kategori-lbl {
    font-size: 0.72rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: var(--font-heading);
    font-weight: 600;
}
.kategori-rev {
    font-family: var(--font-heading);
    color: var(--color-gold-hover);
    font-size: 1.05rem;
    font-weight: 700;
    white-space: nowrap;
}

.mentor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}
.mentor-analitik-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.25s ease;
    min-width: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.mentor-analitik-card:hover {
    border-color: var(--color-gold-soft);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.mentor-avatar-sm {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.mentor-info { flex: 1; min-width: 0; }
.mentor-info b {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mentor-info small {
    display: block;
    font-size: 0.75rem;
    color: var(--color-gray);
}
.mentor-stats {
    text-align: center;
    padding: 0 14px;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    flex-shrink: 0;
    min-width: 72px;
}
.mentor-stat-num {
    display: block;
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.1;
}
.mentor-stat-lbl {
    font-size: 0.65rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.mentor-rev {
    font-family: var(--font-heading);
    color: var(--color-gold-hover);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: right;
}

/* Analitik Detail Table Alignment */
.analitik-head, .analitik-row {
    grid-template-columns: 2fr 1fr 1.2fr 0.9fr 0.9fr 1.2fr !important;
}
.analitik-head > div:nth-child(1), .analitik-row .tx-name { justify-content: flex-start; text-align: left; }
.analitik-head > div:nth-child(2), .analitik-row .tx-kat { justify-content: flex-start; text-align: left; }
.analitik-head > div:nth-child(3), .analitik-row .tx-produk { justify-content: flex-start; text-align: left; }
.analitik-head > div:nth-child(4), .analitik-row .tx-sold { justify-content: center; text-align: center; }
.analitik-head > div:nth-child(5), .analitik-row .tx-pending { justify-content: center; text-align: center; }
.analitik-head > div:nth-child(6), .analitik-row .tx-rev { justify-content: flex-end; text-align: right; }

.analitik-row .tx-sold {
    display: flex;
    justify-content: center;
    align-items: center;
}
.analitik-row .tx-sold .tx-price {
    font-size: 0.95rem;
    color: var(--color-white);
}
.analitik-row .tx-rev {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.analitik-row .tx-rev .tx-price {
    color: var(--color-gold-hover);
    font-size: 0.88rem;
}

@media (max-width: 1024px) {
    .kategori-grid { grid-template-columns: repeat(2, 1fr); }
    .mentor-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .kategori-grid { grid-template-columns: 1fr; }
}

/* Mentor section title (untuk Peserta view) */
.mentor-section-title { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--color-white); margin: 20px 0 10px; padding: 0 4px; display: flex; align-items: center; gap: 8px; }
.mentor-section-title .material-symbols-outlined { color: var(--color-gold); font-size: 20px; }
.mentor-section-count { color: var(--color-gray); font-weight: 400; font-size: 0.8rem; }

.home-config-card { width: 100%; }
.home-section-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--color-border); flex-wrap: wrap; }
.section-count-tag { font-size: 0.8rem; font-family: var(--font-heading); color: var(--color-gray); }
.section-count-tag b { color: var(--color-gold); font-weight: 700; }
.section-quick-btns { display: flex; gap: 8px; }
.btn-xs-action { padding: 5px 12px; font-size: 0.75rem; font-family: var(--font-heading); font-weight: 500; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--color-border); border-radius: 6px; color: var(--color-gray); cursor: pointer; transition: all 0.2s ease; }
.btn-xs-action:hover { color: var(--color-gold); border-color: var(--color-gold-soft); background: rgba(197, 160, 89, 0.08); }
.home-section-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.home-section-card { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 10px; transition: all 0.2s ease; }
.home-section-card:hover { border-color: var(--color-gold-soft); }
.home-section-card.is-disabled { opacity: 0.55; background: rgba(0, 0, 0, 0.25); border-color: rgba(255, 255, 255, 0.05); }
.home-section-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--color-gold-bg); border: 1px solid var(--color-gold-soft); display: flex; align-items: center; justify-content: center; color: var(--color-gold); flex-shrink: 0; }
.home-section-icon .material-symbols-outlined { font-size: 20px; }
.home-section-body { flex: 1; min-width: 0; }
.home-section-body b { display: block; font-family: var(--font-heading); font-size: 0.88rem; color: var(--color-white); margin-bottom: 2px; }
.home-section-body small { font-size: 0.75rem; color: var(--color-gray); line-height: 1.4; display: block; }
.sec-status-badge { font-size: 0.72rem; font-weight: 600; font-family: var(--font-heading); padding: 3px 8px; border-radius: 6px; letter-spacing: 0.3px; white-space: nowrap; flex-shrink: 0; }
.sec-status-badge.on { background: rgba(197, 160, 89, 0.15); color: var(--color-gold); border: 1px solid rgba(197, 160, 89, 0.3); }
.sec-status-badge.off { background: rgba(255, 255, 255, 0.04); color: var(--color-gray); border: 1px solid var(--color-border); }
.home-toggle { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; cursor: pointer; }
.home-toggle input { opacity: 0; width: 0; height: 0; }
.home-toggle-slider { position: absolute; inset: 0; background: var(--color-border); border-radius: 24px; transition: 0.2s; }
.home-toggle-slider::before { content: ''; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: 0.2s; }
.home-toggle input:checked + .home-toggle-slider { background: var(--color-gold); }
.home-toggle input:checked + .home-toggle-slider::before { transform: translateX(18px); }
.home-chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 640px) {
    #customRangeBox { grid-template-columns: 1fr !important; }
}
.home-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--color-border); border-radius: 99px; cursor: pointer; font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600; color: var(--color-gray); transition: all 0.2s ease; user-select: none; outline: none; }
.home-chip:hover { border-color: var(--color-gold-soft); color: var(--color-white); background: rgba(255, 255, 255, 0.07); }
.home-chip.active { background: var(--color-gold); border-color: var(--color-gold); color: #0b0b0b; box-shadow: 0 2px 10px rgba(197, 160, 89, 0.25); }
.home-chip.active:hover { background: #d8b268; color: #000; }
.home-chip .chip-icon { font-size: 16px; line-height: 1; }
.home-chip.active .chip-icon { color: #0b0b0b; font-weight: 700; }
@media (max-width: 640px) {
    .home-section-card { padding: 12px; gap: 10px; flex-wrap: wrap; }
    .home-section-icon { width: 36px; height: 36px; }
    .home-section-body { min-width: calc(100% - 110px); }
    .home-section-body b { font-size: 0.82rem; }
    .home-section-body small { font-size: 0.7rem; }
}

/* Readonly notice */
.readonly-note { background: rgba(197, 160, 89, 0.08); border: 1px solid var(--color-gold-soft); border-radius: 10px; padding: 14px 18px; font-size: 0.85rem; color: var(--color-gray); margin-bottom: 24px; }
.readonly-note b { color: var(--color-gold); }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 20px; }
@media (max-width: 1024px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; } }
.stat-card { background: var(--color-card-bg); padding: 14px 18px; border-radius: 10px; border: 1px solid var(--color-border); border-left: 3px solid var(--color-gold); }
@media (max-width: 1024px) { .stat-card { padding: 12px 14px; } }
.stat-card b { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--color-white); display: block; line-height: 1.2; }
@media (min-width: 768px) { .stat-card b { font-size: 1.35rem; } }
@media (max-width: 1024px) { .stat-card b { font-size: 1.05rem !important; } }
.stat-card span { color: var(--color-gray); font-size: 0.75rem; display: block; margin-top: 2px; }
@media (max-width: 1024px) { .stat-card span { font-size: 0.68rem; } }

/* =========================================================================
   DASHBOARD SALES PERFORMANCE CHART (MODERN & BULLETPROOF)
   ========================================================================= */
.chart-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 12px;
}
.chart-top-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #fff;
}
.chart-top-title .material-symbols-outlined {
    color: var(--color-gold);
    font-size: 22px;
}
.chart-meta-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.chart-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.76rem;
    padding: 4px 10px;
    border-radius: 20px;
}
.chart-stat-chip .material-symbols-outlined {
    font-size: 14px;
    color: var(--color-gold);
}
.chart-stat-chip b {
    color: #fff;
}
.chart-stat-chip small {
    color: #94a3b8;
}

/* Chart Canvas Box */
.chart-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 24px;
    border-radius: 14px;
    background: linear-gradient(180deg, #161922 0%, #0d1117 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    padding: 18px 18px 12px;
}
.chart-wrap::-webkit-scrollbar {
    height: 5px;
    display: block;
}
.chart-wrap::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}
.chart-wrap::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

.chart {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    height: 180px;
    min-height: 180px;
    margin-bottom: 0;
    min-width: max-content;
    padding: 24px 6px 0;
    position: relative;
    /* Subtle horizontal grid lines */
    background-image: repeating-linear-gradient(to top, rgba(255, 255, 255, 0.04) 0px, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 40px);
}
@media (max-width: 1024px) {
    .chart { height: 160px; min-height: 160px; gap: 6px; }
}
@media (max-width: 480px) {
    .chart { height: 140px; min-height: 140px; gap: 5px; }
}

/* Column Wrapper */
.cbw {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 100%;
    justify-content: flex-end;
    width: 34px;
    min-width: 24px;
    flex-shrink: 0;
    cursor: pointer;
}
@media (max-width: 1024px) {
    .cbw { width: 28px; gap: 6px; }
}
@media (max-width: 480px) {
    .cbw { width: 22px; gap: 4px; }
}

/* The Bar */
.cbar {
    width: 18px;
    background: linear-gradient(180deg, #fde047 0%, #eab308 30%, #ca8a04 70%, #92400e 100%);
    border-radius: 6px 6px 2px 2px;
    min-height: 4px;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.35);
    border-top: 1.5px solid #fff;
    transition: filter 0.2s, transform 0.15s;
}
@media (max-width: 768px) {
    .cbar { width: 14px; }
}
.cbar:hover,
.cbw:hover .cbar {
    filter: brightness(1.25);
    transform: scaleX(1.08);
}

/* Zero value state */
.cbar.zero {
    width: 10px;
    height: 4px !important;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    border-top: none;
    border-radius: 3px;
}
.cbw:hover .cbar.zero {
    background: rgba(255, 255, 255, 0.25);
    filter: none;
}

/* Peak Day state */
.cbar.is-peak {
    background: linear-gradient(180deg, #ffffff 0%, #fde047 25%, #eab308 55%, #b45309 100%);
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.6);
    border-top: 2px solid #fff;
}
.cbw-peak-tag {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #d4af37, #92400e);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

/* Tooltip Popover on Hover */
.cbw-popover {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    padding: 6px 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.15s ease;
    z-index: 100;
    text-align: center;
}
.cbw:hover .cbw-popover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.cbw-p-date {
    font-size: 0.68rem;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 2px;
}
.cbw-p-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fde047;
    font-family: var(--font-heading);
    line-height: 1.2;
}
.cbw-p-sub {
    font-size: 0.65rem;
    color: #10b981;
    font-weight: 600;
    margin-top: 2px;
}
.cbw.is-zero .cbw-p-sub {
    color: #64748b;
}

/* X-Axis Date Labels */
.cbw span {
    font-size: 10px;
    color: var(--color-gray);
    font-family: var(--font-heading);
    white-space: nowrap;
    text-align: center;
    transition: color 0.15s ease;
    user-select: none;
}
.cbw:hover span {
    color: #fff;
}
.cbw.is-today span {
    color: var(--color-gold);
    font-weight: 700;
}
@media (max-width: 1024px) { .cbw span { font-size: 9px; } }
@media (max-width: 480px) { .cbw span { font-size: 8px; } }

/* Section title in dashboard views */
.sec-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--color-white); margin: 24px 0 14px; }

/* ============ DETAIL PRODUK ============ */
.detail-hero { position: relative; width: 100%; background-size: cover; background-position: center; background-color: #0f0f0f; padding: calc(var(--navbar-h) + 32px) 0 var(--space-mobile); }
@media (min-width: 768px) { .detail-hero { padding: calc(var(--navbar-h) + 48px) 0 var(--space-tablet); } }
@media (min-width: 1280px) { .detail-hero { padding: calc(var(--navbar-h) + 56px) 0 var(--space-desktop); } }
.detail-hero-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; width: 100%; padding: 0 20px; display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 768px) { .detail-hero-inner { padding: 0 32px; } }
@media (min-width: 1280px) { .detail-hero-inner { grid-template-columns: 1.4fr 1fr; gap: 56px; padding: 0 64px; } }
.detail-hero-content { text-align: center; }
@media (min-width: 1280px) { .detail-hero-content { text-align: left; } }
.detail-back-wrap { display: flex; margin-bottom: 24px; justify-content: center; }
@media (min-width: 1280px) { .detail-back-wrap { justify-content: flex-start; margin-bottom: 28px; } }
.detail-back-link,
.detail-back-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #94a3b8;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.2;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}
.detail-back-link .material-symbols-outlined,
.detail-back-pill .material-symbols-outlined {
    font-size: 18px;
    color: var(--color-gold);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}
.detail-back-link:hover,
.detail-back-pill:hover {
    color: #ffffff;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: none;
}
.detail-back-link:hover .material-symbols-outlined,
.detail-back-pill:hover .material-symbols-outlined {
    transform: translateX(-4px);
    color: var(--color-gold-hover, #dfba72);
}
.detail-back-link:active,
.detail-back-pill:active {
    opacity: 0.8;
}
@media (max-width: 768px) {
    .detail-back-link,
    .detail-back-pill {
        font-size: 0.78rem;
    }
    .detail-back-link .material-symbols-outlined,
    .detail-back-pill .material-symbols-outlined {
        font-size: 17px;
    }
}
.detail-hero .badge-overline { display: inline-block; padding: 6px 14px; border-radius: 99px; background: var(--color-gold-bg); border: 1px solid var(--color-gold-soft); color: var(--color-gold); font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.detail-hero h1 { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--color-white); line-height: 1.2; margin-bottom: 16px; }
@media (min-width: 768px) { .detail-hero h1 { font-size: 2.25rem; } }
@media (min-width: 1280px) { .detail-hero h1 { font-size: 2.75rem; } }
.detail-hero .desc { color: var(--color-gray); font-size: 0.95rem; line-height: 1.65; margin-bottom: 20px; max-width: 36rem; margin-left: auto; margin-right: auto; }
@media (min-width: 1280px) { .detail-hero .desc { margin-left: 0; margin-right: 0; } }
.detail-hero .meta-row { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 24px; color: var(--color-gray); font-size: 0.85rem; justify-content: center; }
@media (min-width: 1280px) { .detail-hero .meta-row { justify-content: flex-start; } }
.detail-hero .meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.detail-hero .meta-row .material-symbols-outlined { font-size: 18px; color: var(--color-gold); }
.detail-hero .price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; justify-content: center; }
@media (min-width: 1280px) { .detail-hero .price-row { justify-content: flex-start; } }
.detail-hero .price-now { font-family: var(--font-heading); font-size: 1.85rem; font-weight: 700; color: var(--color-gold); }
@media (min-width: 768px) { .detail-hero .price-now { font-size: 2.25rem; } }
.detail-hero .price-old { color: var(--color-gray); text-decoration: line-through; font-size: 1.05rem; }
.detail-hero .price-save { background: var(--color-gold-bg); border: 1px solid var(--color-gold-soft); color: var(--color-gold); padding: 4px 10px; border-radius: 99px; font-size: 0.72rem; font-weight: 700; font-family: var(--font-heading); }
.detail-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 1280px) { .detail-hero .ctas { justify-content: flex-start; } }
.detail-hero .ctas .btn-primary, .detail-hero .ctas .btn-secondary { flex: 1; min-width: 180px; }
.detail-hero .trust { display: flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--color-gray); font-size: 0.78rem; justify-content: center; }
@media (min-width: 1280px) { .detail-hero .trust { justify-content: flex-start; } }
.detail-hero .trust .material-symbols-outlined { font-size: 16px; color: var(--color-gold); }
.detail-poster-wrap { display: flex; justify-content: center; }
@media (min-width: 1280px) { .detail-poster-wrap { justify-content: flex-end; } }
.detail-poster { width: 100%; max-width: 360px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 2px solid var(--color-gold-soft); box-shadow: 0 20px 50px rgba(0,0,0,0.6); }
.detail-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }

.detail-body { max-width: var(--max-w); margin: 0 auto; padding: 40px 20px 60px; }
@media (min-width: 768px) { .detail-body { padding: 48px 32px 72px; } }
@media (min-width: 1280px) { .detail-body { padding: 56px 64px 80px; } }
.detail-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .detail-layout { grid-template-columns: 260px 1fr; gap: 40px; } }

.detail-sidebar { 
    background: var(--color-card-bg); 
    border: 1px solid var(--color-border); 
    border-radius: 12px; 
    padding: 20px; 
    position: -webkit-sticky;
    position: sticky; 
    top: calc(var(--navbar-h) + 20px); 
    align-self: start; 
    max-height: calc(100vh - var(--navbar-h) - 36px);
    overflow-y: auto;
    z-index: 20;
    scrollbar-width: thin;
}
.detail-sidebar h4 { font-family: var(--font-heading); color: var(--color-gold); font-size: 0.9rem; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--color-border); }
.detail-sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.detail-sidebar-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: var(--color-gray); border-radius: 8px; font-size: 0.82rem; transition: 0.2s; }
.detail-sidebar-nav a:hover, .detail-sidebar-nav a.active { background: rgba(197, 160, 89, 0.1); color: var(--color-gold); }
.detail-sidebar-nav a .material-symbols-outlined { font-size: 18px; flex-shrink: 0; }
.detail-sidebar .sidebar-cta { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 10px 14px; background: rgba(197, 160, 89, 0.12); border: 1px solid rgba(197, 160, 89, 0.4); color: var(--color-gold); border-radius: 8px; font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; text-decoration: none; transition: all 0.22s ease; cursor: pointer; }
.detail-sidebar .sidebar-cta:hover { background: var(--color-gold); color: #0f0f0f; border-color: var(--color-gold); box-shadow: 0 4px 14px rgba(197, 160, 89, 0.25); transform: translateY(-1px); }
.detail-sidebar .sidebar-divider { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--color-border); }

.detail-content { display: flex; flex-direction: column; gap: 24px; }
.detail-content .section-block { background: var(--color-card-bg); border: 1px solid var(--color-border); border-radius: 12px; padding: 24px; scroll-margin-top: 100px; }
@media (min-width: 768px) { .detail-content .section-block { padding: 32px; } }
.detail-content .section-block h2 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--color-gold); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(197, 160, 89, 0.25); text-align: center; font-weight: 700; letter-spacing: -0.01em; }
@media (min-width: 768px) { .detail-content .section-block h2 { font-size: 1.5rem; } }
.detail-content .section-block h3 { font-family: var(--font-heading); font-size: 1.05rem; color: var(--color-white); margin: 18px 0 10px; }
.detail-content .section-block p, .detail-content .section-block li { color: var(--color-gray); line-height: 1.7; font-size: 0.9rem; margin-bottom: 8px; }
.detail-content .section-block ul { padding-left: 22px; }
.detail-content .section-block .rte { color: var(--color-gray); line-height: 1.7; font-size: 0.9rem; }
.rte-mt { margin-top: 18px; }
.text-mt { margin-top: 12px; font-size: 0.9rem; }
.detail-content .section-block .rte h2 { color: var(--color-gold); margin: 16px 0 8px; font-family: var(--font-heading); }
.detail-content .section-block .rte h3, .detail-content .section-block .rte h4 { color: var(--color-white); margin: 16px 0 8px; }
.detail-content .section-block .rte h4 { font-size: 1rem; }
.detail-content .section-block .rte blockquote { border-left: 3px solid var(--color-gold); padding: 10px 14px; color: var(--color-gold); margin: 12px 0; background: rgba(197, 160, 89, 0.05); border-radius: 0 8px 8px 0; }
.detail-content .section-block .rte b, .detail-content .section-block b { color: var(--color-white); }
.detail-content .section-block .rte ul { padding-left: 22px; }
.detail-content .section-block .rte ul.rte-plain-list { list-style: none; padding-left: 0; margin: 12px 0 16px; display: flex; flex-direction: column; gap: 10px; }
.detail-content .section-block .rte .rte-plain-item { display: flex; align-items: flex-start; gap: 12px; color: var(--color-gray); font-size: 0.92rem; line-height: 1.6; margin-bottom: 0; }
.detail-content .section-block .rte .rte-bullet-icon { flex-shrink: 0; font-size: 1.05rem; line-height: 1.5; }
.detail-content .section-block .rte .rte-bullet-text { flex: 1; min-width: 0; }
.detail-content .section-block .rte .rte-bullet-text b { color: var(--color-white); }

/* ============ MENTOR CARD DETAIL (REDESIGNED) ============ */
.mentor-card-detail {
    display: flex;
    gap: 32px;
    align-items: center;
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.95), rgba(16, 16, 16, 0.98));
    border: 1px solid rgba(197, 160, 89, 0.28);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mentor-card-detail::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.mentor-card-detail:hover {
    border-color: rgba(197, 160, 89, 0.55);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 24px rgba(197, 160, 89, 0.12);
    transform: translateY(-2px);
}
.mentor-card-avatar-wrap {
    position: relative;
    width: 320px;
    height: 320px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(197, 160, 89, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
    background: #0f0f0f;
    z-index: 1;
}
.mentor-card-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}
.mentor-card-detail:hover .mentor-card-avatar-wrap img {
    transform: scale(1.04);
}
.mentor-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}
.mentor-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: var(--color-gold);
    font-size: 0.78rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 14px;
    align-self: flex-start;
}
.mentor-role-badge .material-symbols-outlined {
    font-size: 16px;
}
.mentor-card-info .mentor-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    text-transform: capitalize;
    line-height: 1.25;
}
.mentor-card-info .mentor-bio {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0 0 22px;
}
.mentor-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}
.mentor-highlight-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-gray);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 14px;
    border-radius: 8px;
}
.mentor-highlight-item .material-symbols-outlined {
    font-size: 16px;
    color: var(--color-gold);
}
@media (max-width: 992px) {
    .mentor-card-avatar-wrap {
        width: 270px;
        height: 270px;
    }
}
@media (max-width: 768px) {
    .mentor-card-detail {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 22px;
    }
    .mentor-card-avatar-wrap {
        width: 240px;
        height: 240px;
        max-width: 85vw;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }
    .mentor-role-badge {
        align-self: center;
    }
    .mentor-highlights {
        justify-content: center;
    }
}

.video-embed { width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.video-embed img, .video-embed iframe, .video-embed video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a1a1a, #2d2418); height: 100%; text-align: center; padding: 20px; }
.video-placeholder .material-symbols-outlined { font-size: 64px; color: var(--color-gold); }
.video-placeholder p { color: var(--color-gray); margin-top: 12px; font-size: 0.85rem; }

.mentor-video-wrap { display: flex; flex-direction: column; gap: 12px; }
.mentor-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.mentor-video-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease, filter 0.3s; filter: brightness(0.65); }
.mentor-video:hover .mentor-video-thumb { transform: scale(1.03); filter: brightness(0.55); }
.mentor-video-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.55)); transition: opacity 0.3s; }
.mentor-video-play { width: 64px; height: 64px; border-radius: 50%; background: var(--color-gold); color: var(--color-bg); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(197,160,89,0.45); transition: transform 0.25s; }
.mentor-video:hover .mentor-video-play { transform: scale(1.1); }
.mentor-video-play .material-symbols-outlined { font-size: 36px; margin-left: 3px; }
.mentor-video-info { text-align: center; color: var(--color-white); }
.mentor-video-info b { display: block; font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: 2px; }
.mentor-video-info span { font-size: 0.78rem; color: var(--color-gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.mentor-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: none; }
.mentor-video.playing .mentor-video-overlay { display: none; }
.mentor-video.playing iframe { display: block; }
.mentor-video-caption { color: var(--color-gray); font-size: 0.82rem; font-style: italic; text-align: center; margin: 0; }
@media (max-width: 640px) { .mentor-video-play { width: 52px; height: 52px; } .mentor-video-play .material-symbols-outlined { font-size: 28px; } .mentor-video-info b { font-size: 0.92rem; } }

.checkout-card { 
    background: transparent; 
    border: none; 
    border-radius: 0; 
    box-shadow: none;
    padding: 0; 
    max-width: 720px; 
    margin: 0 auto; 
}
@media (min-width: 768px) { .checkout-card { padding: 0; } }
.checkout-card h2 { font-family: var(--font-heading); text-align: center; color: var(--color-gold); font-size: 1.2rem; border-bottom: 1px dashed var(--color-border); padding-bottom: 14px; margin: 0 0 20px; }
.checkout-card .product-summary { 
    display: flex; 
    gap: 16px; 
    align-items: center; 
    justify-content: space-between;
    margin-bottom: 22px; 
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(26, 26, 26, 0.85) 100%); 
    border: 1px solid rgba(212, 175, 55, 0.35); 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(212, 175, 55, 0.25); 
    padding: 14px 18px; 
    border-radius: 12px; 
    transition: all 0.25s ease;
}
.checkout-card .product-summary:hover {
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.18), inset 0 1px 0 rgba(212, 175, 55, 0.35);
}
.checkout-card .product-summary-head {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}
.checkout-card .product-summary-thumb,
.checkout-card .product-summary img { 
    width: 60px; 
    height: 60px; 
    border-radius: 10px; 
    object-fit: cover; 
    flex-shrink: 0; 
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.checkout-card .product-summary-meta {
    flex: 1;
    min-width: 0;
}
.checkout-card .product-summary-title,
.checkout-card .product-summary h4 { 
    margin: 0 0 5px; 
    font-family: var(--font-heading); 
    font-size: 0.98rem; 
    font-weight: 700; 
    color: #fff; 
    line-height: 1.35;
    word-break: break-word;
}
.checkout-card .product-tag { 
    color: #cbd5e1; 
    font-size: 0.72rem; 
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.checkout-card .price-block { 
    text-align: right; 
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}
.checkout-card .price-label-mobile {
    display: none;
    font-size: 0.78rem;
    color: var(--color-gray);
    font-weight: 500;
}
.checkout-card .price-values {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.checkout-card .price-block .old { 
    display: block; 
    text-decoration: line-through; 
    color: var(--color-gray); 
    font-size: 0.78rem; 
    line-height: 1.2;
}
.checkout-card .price-block .now { 
    color: var(--color-gold); 
    font-weight: 800; 
    font-family: var(--font-heading); 
    font-size: 1.28rem; 
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.25); 
    line-height: 1.2;
    margin-top: 2px;
}
.checkout-card .btn-block { width: 100%; margin-top: 12px; padding: 14px; font-size: 0.9rem; }
.checkout-card .promo { display: block; color: var(--color-gold); font-size: 0.72rem; margin-top: 4px; font-style: italic; }
.checkout-card .checkout-note { margin-top: 16px; font-size: 0.75rem; color: var(--color-gray); text-align: center; }

/* Responsive Mobile Layout for Checkout Card (<= 640px) */
@media (max-width: 640px) {
    .checkout-card .product-summary {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px 16px;
    }
    .checkout-card .product-summary-head {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    .checkout-card .product-summary-thumb,
    .checkout-card .product-summary img {
        width: 56px;
        height: 56px;
        border-radius: 8px;
    }
    .checkout-card .product-summary-title,
    .checkout-card .product-summary h4 {
        font-size: 0.92rem;
        margin-bottom: 4px;
        line-height: 1.3;
    }
    .checkout-card .price-block {
        width: 100%;
        border-top: 1px dashed rgba(212, 175, 55, 0.25);
        padding-top: 10px;
        margin-top: 2px;
        margin-left: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .checkout-card .price-label-mobile {
        display: block;
    }
    .checkout-card .price-values {
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
    }
    .checkout-card .price-block .old {
        display: inline-block;
        font-size: 0.76rem;
    }
    .checkout-card .price-block .now {
        display: inline-block;
        font-size: 1.22rem;
        margin-top: 0;
    }
    .checkout-card .promo {
        width: 100%;
        text-align: right;
        margin-top: 4px;
    }
}

/* Coupon Highlight Card */
.checkout-coupon-card {
    transition: all 0.25s ease;
}
.checkout-coupon-card:focus-within {
    border-color: rgba(212, 175, 55, 0.55) !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
}
.btn-apply-coupon {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-apply-coupon:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4) !important;
}
.btn-apply-coupon:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.2) !important;
}

/* ========== SMART CHECKOUT STEP 2 & STEP 3 STYLES ========== */
.co-step2-wrapper { display: flex; flex-direction: column; gap: 20px; animation: coFadeIn 0.3s ease; }
@keyframes coFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.co-step2-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--color-border); }
.co-badge-status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: #f59e0b; background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.3); padding: 5px 12px; border-radius: 20px; }
.co-pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 8px #f59e0b; animation: coPulse 1.5s infinite; }
@keyframes coPulse { 0% { transform: scale(0.95); opacity: 0.8; } 50% { transform: scale(1.3); opacity: 1; } 100% { transform: scale(0.95); opacity: 0.8; } }
.co-badge-timer { font-size: 0.85rem; color: var(--color-gray); }
.co-badge-timer b { color: var(--color-gold); font-family: monospace; font-size: 1rem; margin-left: 4px; }

.co-invoice-box { 
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%); 
    border: 1px solid rgba(212, 175, 55, 0.35); 
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(212, 175, 55, 0.2);
    border-radius: 14px; 
    padding: 18px 20px; 
}
.co-invoice-top { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 14px; 
    padding-bottom: 16px; 
    border-bottom: 1px dashed rgba(212, 175, 55, 0.25); 
}
.co-invoice-id-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.co-invoice-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 4px 10px;
    border-radius: 6px;
    width: fit-content;
}
.co-invoice-badge .material-symbols-outlined {
    font-size: 16px;
    color: var(--color-gold);
}
.co-invoice-num { 
    font-family: var(--font-heading); 
    font-size: 0.98rem; 
    font-weight: 800; 
    color: var(--color-gold); 
    letter-spacing: 0.5px; 
}
.co-invoice-date { 
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.74rem; 
    color: #94a3b8; 
}
.co-buyer-meta { 
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 320px;
}
.co-buyer-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.co-buyer-avatar .material-symbols-outlined {
    font-size: 18px;
}
.co-buyer-info {
    min-width: 0;
    overflow: hidden;
}
.co-buyer-name { 
    display: block; 
    color: #f1f5f9; 
    font-size: 0.86rem; 
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.co-buyer-email { 
    display: block;
    color: #94a3b8; 
    font-size: 0.74rem; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.co-total-amount-box { margin-top: 14px; text-align: center; background: rgba(191, 161, 95, 0.06); border: 1px solid rgba(191, 161, 95, 0.2); border-radius: 8px; padding: 14px; }
.co-amount-label { font-size: 0.8rem; color: var(--color-gray); margin-bottom: 4px; }
.co-amount-row { display: flex; align-items: center; justify-content: center; gap: 10px; }
.co-amount-value { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 800; color: var(--color-gold); letter-spacing: 0.5px; }
.co-amount-note { display: block; color: var(--color-gray); font-size: 0.72rem; margin-top: 4px; font-style: italic; }

.co-payment-methods { background: var(--color-card-bg); border: 1px solid var(--color-border); border-radius: 10px; overflow: hidden; }
.co-nav-tabs { display: flex; background: rgba(0, 0, 0, 0.3); border-bottom: 1px solid var(--color-border); overflow-x: auto; }
.co-tab-item { flex: 1; min-width: 130px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 14px; font-size: 0.84rem; font-weight: 600; color: var(--color-gray); background: transparent; border: none; border-bottom: 2px solid transparent; cursor: pointer; transition: 0.2s; white-space: nowrap; }
.co-tab-item:hover { color: var(--color-white); background: rgba(255, 255, 255, 0.03); }
.co-tab-item.active { color: var(--color-gold); border-bottom-color: var(--color-gold); background: rgba(191, 161, 95, 0.08); }
.co-tab-item .material-symbols-outlined { font-size: 18px; }

.co-tab-panel { display: none; padding: 20px; }
.co-tab-panel.active { display: block; animation: coFadeIn 0.25s ease; }

/* QRIS Container */
.co-qris-container { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.co-qris-card { background: #ffffff; color: #111827; border-radius: 12px; padding: 16px 20px; text-align: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); max-width: 280px; width: 100%; }
.co-qris-header { display: flex; flex-direction: column; align-items: center; margin-bottom: 8px; border-bottom: 1px solid #e5e7eb; padding-bottom: 8px; }
.co-qris-logo { font-size: 1.4rem; font-weight: 900; letter-spacing: 2px; color: #dc2626; font-family: sans-serif; }
.co-qris-sub { font-size: 0.65rem; color: #6b7280; text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
.co-qris-qr { display: flex; justify-content: center; margin: 6px 0; }
.co-qris-merchant { font-size: 0.72rem; font-weight: 700; color: #1f2937; letter-spacing: 0.5px; margin-top: 4px; text-transform: uppercase; }
.co-qris-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #e5e7eb; }
.co-qris-badges span { font-size: 0.62rem; font-weight: 700; color: #4b5563; background: #f3f4f6; border-radius: 4px; padding: 2px 6px; }

.co-instructions { color: var(--color-gray); font-size: 0.82rem; line-height: 1.6; padding-left: 20px; margin: 0; width: 100%; }
.co-instructions li { margin-bottom: 6px; }
.co-instructions b { color: var(--color-white); }

/* Virtual Account & Transfer List */
.co-va-list { display: flex; flex-direction: column; gap: 12px; }
.co-va-item { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 8px; padding: 12px 16px; }
.co-va-bank b { display: block; font-size: 0.88rem; color: var(--color-white); }
.co-va-bank small { font-size: 0.75rem; color: var(--color-gray); }
.co-va-number { display: flex; align-items: center; gap: 10px; }
.co-va-number code { font-family: monospace; font-size: 1.05rem; font-weight: 700; color: var(--color-gold); background: rgba(0, 0, 0, 0.4); padding: 4px 10px; border-radius: 6px; letter-spacing: 1px; }
.co-note-mini { color: var(--color-gray); font-size: 0.78rem; font-style: italic; margin-top: 12px; line-height: 1.5; }

/* Action Buttons */
.co-action-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.btn-wa-confirm { display: flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: #ffffff !important; font-weight: 700; font-size: 0.95rem; padding: 14px; border-radius: 8px; text-decoration: none; border: none; box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3); transition: 0.2s ease; }
.btn-wa-confirm:hover { background: linear-gradient(135deg, #059669 0%, #047857 100%); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45); }
.btn-simulasi-pay { display: flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, #bfa15f 0%, #a48238 100%); color: #0b0c0e; font-weight: 800; font-size: 0.95rem; padding: 14px; border-radius: 8px; border: none; cursor: pointer; box-shadow: 0 4px 14px rgba(191, 161, 95, 0.3); transition: 0.2s ease; }
.btn-simulasi-pay:hover { background: linear-gradient(135deg, #d4b878 0%, #bfa15f 100%); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(191, 161, 95, 0.45); }
.co-simulasi-note { font-size: 0.72rem; color: var(--color-gray); text-align: center; font-style: italic; }
.co-back-link { font-size: 0.82rem; color: var(--color-gray); text-decoration: underline; transition: 0.2s; }
.co-back-link:hover { color: var(--color-gold); }

/* STEP 3: SUCCESS STATE */
.co-success-container { text-align: center; padding: 20px 10px; animation: coFadeIn 0.4s ease; }
.co-success-icon-wrap { width: 72px; height: 72px; border-radius: 50%; background: rgba(16, 185, 129, 0.15); border: 2px solid #10b981; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; animation: coSuccessPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes coSuccessPop { 0% { transform: scale(0.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.co-success-icon { font-size: 42px; color: #10b981; }
.co-success-title { font-family: var(--font-heading); color: #10b981; font-size: 1.4rem; margin: 0 0 8px; border: none !important; padding: 0 !important; }
.co-success-desc { color: var(--color-gray); font-size: 0.9rem; line-height: 1.6; max-width: 520px; margin: 0 auto 20px; }
.co-success-summary { background: var(--color-card-bg); border: 1px solid var(--color-border); border-radius: 8px; padding: 14px 18px; max-width: 480px; margin: 0 auto 22px; text-align: left; }
.co-sum-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font-size: 0.85rem; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.co-sum-row:last-child { border-bottom: none; }
.co-sum-row span { color: var(--color-gray); flex-shrink: 0; }
.co-sum-row b { color: var(--color-white); flex: 1; min-width: 0; text-align: right; word-break: break-word; }
.co-success-actions { max-width: 480px; margin: 0 auto; }
.btn-wa-group { background: #25d366; color: #fff !important; font-weight: 700; border-radius: 8px; text-decoration: none; padding: 12px; }
.btn-wa-group:hover { background: #20ba5c; }
.co-redirect-notice { font-size: 0.78rem; color: var(--color-gray); margin-top: 18px; font-style: italic; }
/* E-Wallet Styles */
.co-ewallet-grid { display: flex; flex-direction: column; gap: 12px; }
.co-ewallet-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 8px; padding: 14px; }
.co-ewallet-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.co-ewallet-header b { font-size: 0.88rem; color: var(--color-white); }
.co-ewallet-badge { font-size: 0.72rem; font-weight: 800; padding: 2px 8px; border-radius: 4px; letter-spacing: 0.5px; }
.co-ewallet-badge.ovo { background: #4c3494; color: #ffffff; }
.co-ewallet-badge.gopay { background: #00aed6; color: #ffffff; }
.co-ewallet-badge.dana { background: #118eea; color: #ffffff; }
.co-ewallet-badge.shopee { background: #ee4d2d; color: #ffffff; }
.co-ewallet-desc { font-size: 0.78rem; color: var(--color-gray); margin-bottom: 8px; line-height: 1.4; }

/* Retail Badges */
.co-retail-badge { font-size: 0.68rem; font-weight: 800; padding: 2px 6px; border-radius: 4px; display: inline-block; margin-bottom: 4px; }
.co-retail-badge.indo { background: #005aa9; color: #fff; }
.co-retail-badge.alfa { background: #ed1c24; color: #fff; }

/* KARTU KREDENSIAL LOGIN MEMBER */
.co-credential-card { background: rgba(191, 161, 95, 0.08); border: 1px solid var(--color-gold); border-radius: 12px; padding: 18px 20px; max-width: 480px; margin: 0 auto 20px; text-align: left; box-sizing: border-box; }
.co-credential-card.member-exists { background: rgba(16, 185, 129, 0.06); border-color: rgba(16, 185, 129, 0.4); }
.co-cred-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; border-bottom: 1px dashed rgba(191, 161, 95, 0.25); padding-bottom: 12px; }
.co-credential-card.member-exists .co-cred-head { border-bottom-color: rgba(16, 185, 129, 0.25); }
.co-cred-icon { font-size: 32px !important; color: var(--color-gold); flex-shrink: 0; }
.co-cred-icon.success { color: #10b981; }
.co-cred-head-text { flex: 1; min-width: 0; }
.co-cred-head h4 { font-family: var(--font-heading); color: var(--color-gold); font-size: 1rem; margin: 0 0 3px; line-height: 1.3; }
.co-credential-card.member-exists .co-cred-head h4 { color: #10b981; }
.co-cred-head p { font-size: 0.8rem; color: var(--color-gray); margin: 0; line-height: 1.4; }

/* Warning / Notice Box Kredensial */
.co-warning-box, .co-notice-box { background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.4); border-left: 4px solid #f59e0b; border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; box-sizing: border-box; }
.co-notice-box.success { background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.3); border-left: 4px solid #10b981; }
.co-warning-title { display: flex; align-items: center; gap: 8px; color: #f59e0b; font-size: 0.88rem; font-weight: 700; margin-bottom: 4px; }
.co-warning-title.success { color: #10b981; }
.co-warning-title .material-symbols-outlined { font-size: 18px; flex-shrink: 0; }
.co-warning-box p, .co-notice-box p { color: #d1d5db; font-size: 0.78rem; line-height: 1.5; margin: 0; }

.co-cred-body { display: flex; flex-direction: column; gap: 10px; }
.co-cred-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--color-bg); padding: 10px 14px; border-radius: 8px; border: 1px solid var(--color-border); box-sizing: border-box; }
.co-cred-label { font-size: 0.82rem; color: var(--color-gray); flex-shrink: 0; }
.co-cred-val { display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-size: 0.9rem; color: var(--color-white); min-width: 0; flex: 1; }
.co-cred-text { overflow-wrap: anywhere; word-break: break-all; min-width: 0; font-size: 0.9rem; color: #ffffff; }
.co-cred-text.gold { color: var(--color-gold); letter-spacing: 1.5px; font-size: 1.05rem; }
.co-cred-val .btn-mini { flex-shrink: 0; }

/* Tombol Salin Semua Kredensial */
.co-cred-actions { margin-top: 14px; }
.btn-copy-all { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(255, 255, 255, 0.05); border: 1px dashed var(--color-gold); color: var(--color-gold); padding: 11px 14px; border-radius: 8px; font-size: 0.84rem; font-weight: 600; cursor: pointer; transition: 0.2s ease; text-align: center; line-height: 1.35; box-sizing: border-box; }
.co-credential-card.member-exists .btn-copy-all { border-color: #10b981; color: #10b981; }
.btn-copy-all:hover { background: rgba(191, 161, 95, 0.15); color: #ffffff; border-style: solid; }
.co-credential-card.member-exists .btn-copy-all:hover { background: rgba(16, 185, 129, 0.15); color: #ffffff; }

.co-cred-footer { display: flex; align-items: center; gap: 6px; font-size: 0.74rem; color: #10b981; margin-top: 12px; line-height: 1.4; }

/* MIDTRANS PAYMENT GATEWAY BOX & BUTTON */
.co-midtrans-box {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(56, 189, 248, 0.04) 100%);
  border: 1px solid rgba(14, 165, 233, 0.35);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.co-midtrans-info { display: flex; flex-direction: column; gap: 4px; }
.co-midtrans-title { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; color: #38bdf8; font-weight: 700; }
.co-midtrans-info p { font-size: 0.78rem; color: #94a3b8; margin: 0; line-height: 1.4; }
.btn-midtrans-pay {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.btn-midtrans-pay:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
  transform: translateY(-1px);
}
.co-divider-or {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 14px 0 16px;
  color: var(--color-gray);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.co-divider-or::before, .co-divider-or::after {
  content: '';
  flex: 1;
  border-bottom: 1px dashed var(--color-border);
}
.co-divider-or span {
  padding: 0 10px;
}

/* MIDTRANS SNAP SIMULATOR MODAL */
.snap-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: snapFadeIn 0.2s ease;
}
@keyframes snapFadeIn { from { opacity: 0; } to { opacity: 1; } }
.snap-modal-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}
.snap-modal-header {
  background: #0f172a;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.snap-modal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.snap-logo-badge {
  background: #0284c7;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.snap-modal-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
}
.snap-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 4px;
}
.snap-modal-close:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.snap-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.snap-order-preview {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.snap-order-meta { display: flex; flex-direction: column; }
.snap-order-meta span { font-size: 0.75rem; color: #94a3b8; }
.snap-order-meta b { font-size: 0.88rem; color: #f8fafc; }
.snap-order-amount { text-align: right; }
.snap-order-amount span { font-size: 0.75rem; color: #94a3b8; display: block; }
.snap-order-amount b { font-size: 1.15rem; color: #38bdf8; font-weight: 800; }
.snap-methods-list { display: flex; flex-direction: column; gap: 8px; }
.snap-method-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #e2e8f0;
}
.snap-method-item .icons { display: flex; gap: 6px; align-items: center; }
.snap-tag { font-size: 0.65rem; background: rgba(255, 255, 255, 0.08); padding: 2px 6px; border-radius: 4px; color: #94a3b8; }
.snap-modal-footer {
  padding: 14px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}



.curriculum-list { display: flex; flex-direction: column; gap: 8px; }
.curriculum-intro { margin-bottom: 14px; font-size: 0.85rem; }
.curriculum-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 8px; }
.curriculum-item .num { width: 32px; height: 32px; border-radius: 50%; background: var(--color-gold-bg); border: 1px solid var(--color-gold); color: var(--color-gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.curriculum-item .info { flex: 1; }
.curriculum-item .info b { display: block; font-family: var(--font-heading); font-size: 0.88rem; color: var(--color-white); }
.curriculum-item .info small { color: var(--color-gray); font-size: 0.75rem; }
.curriculum-item .material-symbols-outlined.lock { color: var(--color-gray); font-size: 20px; }

.testimoni-mini { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .testimoni-mini { grid-template-columns: repeat(2, 1fr); } }
.testimoni-mini .testimoni-card-mini { background: var(--color-bg); border: 1px solid var(--color-border); border-left: 3px solid var(--color-gold); border-radius: 8px; padding: 18px; }
.testimoni-mini p { color: var(--color-gray); font-size: 0.85rem; font-style: italic; line-height: 1.6; margin-bottom: 12px; }
.testimoni-mini .author { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--color-border); }
.testimoni-mini .avatar-mini { width: 36px; height: 36px; border-radius: 50%; background: var(--color-gold-bg); border: 1px solid var(--color-gold); color: var(--color-gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 0.7rem; }
.testimoni-mini .author b { display: block; font-size: 0.85rem; color: var(--color-white); }
.testimoni-mini .author small { font-size: 0.75rem; color: var(--color-gray); }
.testimoni-mini .stars { color: var(--color-gold); margin-bottom: 8px; font-size: 14px; letter-spacing: 2px; }

.faq-mini { display: flex; flex-direction: column; gap: 10px; }
.faq-mini-item { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 8px; padding: 14px 18px; cursor: pointer; transition: 0.2s; }
.faq-mini-item:hover { border-color: var(--color-gold-soft); }
.faq-mini-q { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: var(--color-white); }
.faq-mini-q .material-symbols-outlined { color: var(--color-gold); font-size: 20px; transition: transform 0.3s; flex-shrink: 0; }
.faq-mini-item.open .faq-mini-q .material-symbols-outlined { transform: rotate(180deg); }
.faq-mini-a { display: none; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--color-border); color: var(--color-gray); font-size: 0.82rem; line-height: 1.6; }
.faq-mini-item.open .faq-mini-a { display: block; }

.detail-cta-section { padding: 0 20px 60px; }
@media (min-width: 768px) { .detail-cta-section { padding: 0 32px 72px; } }
@media (min-width: 1280px) { .detail-cta-section { padding: 0 64px 80px; } }
.detail-not-found { padding: 140px 20px; text-align: center; color: var(--color-gray); }
.detail-not-found a { color: var(--color-gold); }
.detail-loading { padding: 140px 20px; text-align: center; color: var(--color-gray); }
.cta-banner-detail { background: linear-gradient(135deg, var(--color-card-bg), #262114); border: 1px solid var(--color-gold); border-radius: 16px; padding: 36px 24px; text-align: center; max-width: 720px; margin: 0 auto; }
@media (min-width: 768px) { .cta-banner-detail { padding: 48px 32px; } }
.cta-banner-detail h2 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 10px; color: var(--color-white); }
@media (min-width: 768px) { .cta-banner-detail h2 { font-size: 1.5rem; } }
.cta-banner-detail p { color: var(--color-gray); font-size: 0.9rem; margin-bottom: 20px; max-width: 32rem; margin-left: auto; margin-right: auto; }

@media (max-width: 1023px) {
    .detail-sidebar { display: none !important; }
}

/* ============ RESPONSIVE: TABLET & MOBILE PERFECTION ============ */
@media (max-width: 1024px) {
    .wrapper-1440, .wrapper-content, .section-inner {
        padding: 0 24px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    .hero-tagline {
        margin: 0 auto 20px;
    }
    .hero-desc {
        margin: 0 auto 28px;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-stats {
        max-width: 480px;
        margin: 0 auto;
    }
    .hero-image-wrap {
        padding: 16px 20px;
        margin-top: 10px;
    }
    .section-head.split {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    .section-head.split .section-subtitle {
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .wrapper-1440, .wrapper-content, .section-inner {
        padding: 0 16px;
    }
    
    /* Section Headings */
    .section {
        padding: 40px 0;
    }
    .section-head {
        text-align: center;
        margin-bottom: 28px;
    }
    .section-head .section-title {
        font-size: 1.4rem;
    }
    .section-head .section-subtitle {
        font-size: 0.82rem;
        margin: 0 auto;
    }
    
    /* Hero */
    .hero-section {
        padding: calc(var(--navbar-h) + 24px) 16px 40px;
    }
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    .hero-desc {
        font-size: 0.88rem;
    }
    .hero-ctas {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 360px;
        margin: 0 auto 32px;
    }
    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary {
        width: 100%;
        height: 46px;
    }
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding-top: 20px;
    }
    .hero-stats .stat b {
        font-size: 1.3rem;
    }
    .hero-stats .stat span {
        font-size: 0.6rem;
    }
    .hero-image-wrap {
        padding: 20px 40px 32px 20px;
    }
    .hero-circle-stage {
        max-width: 270px;
    }
    .hero-badge {
        bottom: 8px;
        left: -8px;
        padding: 6px 10px;
    }
    .hero-cascade-pill {
        padding: 4px 10px;
        font-size: 0.52rem;
        border-width: 1px;
    }

    /* Cards */
    .catalog-grid,
    .webinar-grid,
    .mentor-grid,
    .testimoni-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .catalog-item,
    .webinar-card,
    .mentor-card,
    .testimoni-card,
    .feature-card {
        width: 100%;
    }
    
    /* Catalog Tabs */
    .catalog-tabs {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px 8px;
        padding: 6px;
        border-radius: 12px;
        max-width: 100%;
    }
    .catalog-tab {
        padding: 7px 15px;
        font-size: 0.74rem;
        border-radius: 8px;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* FAQ */
    .faq-q {
        padding: 14px 16px;
        font-size: 0.82rem;
    }
    .faq-a {
        padding: 0 16px 14px 16px;
        font-size: 0.8rem;
    }

    /* CTA Section */
    .cta-card {
        padding: 44px 16px;
    }
    .cta-title {
        font-size: 1.75rem;
        line-height: 1.28;
        font-weight: 800;
    }
    .cta-desc {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    .cta-btn {
        width: 100%;
        max-width: 320px;
        height: 46px;
        font-size: 0.78rem;
    }

    /* Footer */
    .footer {
        padding-top: 32px;
        padding-bottom: 20px;
    }
    .footer-top {
        text-align: center;
        align-items: center;
        flex-direction: column;
        gap: 20px;
    }
    .footer-menu {
        gap: 14px;
        font-size: 0.68rem;
    }
    
    /* Dashboard Shell Mobile Adjustments */
    .shell-brand {
        height: 56px;
        padding: 0 14px;
    }
    .shell-topbar {
        height: 56px;
        padding: 0 14px;
    }
    .shell-body {
        padding: 16px 14px 110px;
    }
    .greeting {
        padding: 18px 16px;
    }
    .greeting h2 {
        font-size: 1.2rem;
    }
    .form-card {
        padding: 16px 14px;
    }
    .asset-header-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
        padding: 16px;
    }
    .asset-thumb {
        width: 140px;
        height: 140px;
    }
    .asset-meta-row {
        justify-content: center;
    }
}

/* Settings Page (Admin Pengaturan) */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}
.settings-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.settings-actions-bar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
}
@media (max-width: 992px) {
    .settings-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
@media (max-width: 600px) {
    .settings-actions-bar {
        flex-direction: column;
    }
    .settings-actions-bar button {
        width: 100%;
    }
}

/* ============ DYNAMIC PRODUCT MODAL & CATEGORY BUILDERS ============ */
.modal-content.product-modal-wide {
    max-width: 820px;
    width: 95%;
    height: 86vh;
    max-height: 820px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--color-border-gold);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), 0 0 35px rgba(197, 160, 89, 0.2);
    position: relative;
    z-index: 100000;
}
.modal-content.product-modal-wide .product-modal-form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}
.modal-content.product-modal-wide .modal-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px 22px;
}
.modal-content.product-modal-wide .modal-footer {
    flex-shrink: 0;
    padding: 14px 22px;
    background: #151515;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    z-index: 10;
}
@media (max-height: 740px) {
    .modal-content.product-modal-wide {
        height: 94vh;
        max-height: 94vh;
    }
    .modal-content.product-modal-wide .modal-body {
        padding: 12px 18px;
    }
    .modal-content.product-modal-wide .modal-footer {
        padding: 10px 18px;
    }
}
@media (max-width: 768px) {
    .modal-content.product-modal-wide {
        width: 96vw;
        height: 92vh;
        max-height: 94vh;
    }
    .modal-content.product-modal-wide .modal-footer {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 10px;
    }
    .modal-content.product-modal-wide .modal-footer > div {
        display: flex;
        justify-content: flex-end;
    }
}
.modal-tab-nav {
    display: flex;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid var(--color-border);
}
.modal-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--color-gray);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.modal-tab-btn:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
}
.modal-tab-btn.active {
    background: rgba(197, 160, 89, 0.12);
    border-color: var(--color-gold-soft);
    color: var(--color-gold);
}
.modal-tab-btn .material-symbols-outlined {
    font-size: 18px;
}
.cat-content-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cat-banner-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.08), rgba(20, 20, 20, 0.6));
    border: 1px solid var(--color-gold-soft);
    border-radius: 10px;
}
.cat-banner-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--color-gold-bg);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cat-banner-text b {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    color: var(--color-white);
}
.cat-banner-text small {
    font-size: 0.74rem;
    color: var(--color-gray);
}
.video-builder-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.video-builder-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 18px 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.video-builder-card:hover {
    border-color: var(--color-gold-soft);
}
.video-builder-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.video-builder-num {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 7px;
}
.source-toggle-wrap {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 3px;
    gap: 4px;
    margin-bottom: 12px;
}
.source-toggle-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--color-gray);
    font-size: 0.76rem;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.source-toggle-btn.active {
    background: var(--color-gold);
    color: #0b0b0b;
}
.file-drop-area {
    border: 1px dashed var(--color-border);
    border-radius: 8px;
    padding: 14px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.2s;
}
.file-drop-area:hover {
    border-color: var(--color-gold-soft);
    background: rgba(197, 160, 89, 0.05);
}
.file-drop-area input[type="file"] {
    display: none;
}
.file-selected-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid var(--color-gold-soft);
    border-radius: 6px;
    font-size: 0.76rem;
    color: var(--color-gold);
    margin-top: 6px;
}

/* ---- Builder Row Actions (reorder + delete) ---- */
.builder-row-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}
.builder-row-actions .btn-mini {
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---- E-Book Bab Per-Chapter Editor ---- */
.bab-editor-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.bab-editor-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(197,160,89,0.2);
    border-radius: 12px;
    padding: 18px 20px;
    transition: border-color 0.2s;
}
.bab-editor-card:hover {
    border-color: rgba(197,160,89,0.45);
}
.bab-editor-card .video-builder-head {
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

/* ---- Tools Feature Per-Row Editor ---- */
.feat-editor-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.feat-editor-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(197,160,89,0.2);
    border-radius: 8px;
    padding: 8px 10px;
    transition: border-color 0.2s;
}
.feat-editor-row:hover {
    border-color: rgba(197,160,89,0.4);
}
.feat-editor-row .form-control {
    background: transparent;
    border: none;
    padding: 2px 4px;
    font-size: 0.84rem;
    flex: 1;
}
.feat-editor-row .form-control:focus {
    outline: none;
    background: rgba(197,160,89,0.06);
    border-radius: 4px;
}

/* ---- video-builder-head has flex in the main rule above ---- */

/* ==========================================================================
   LANDING PAGE DETAIL BLOCKS BUILDER (ADMIN DASHBOARD)
   ========================================================================== */
.landing-builder-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.landing-builder-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: 10px;
    color: var(--color-gray-light);
    font-size: 0.82rem;
    line-height: 1.4;
}
.landing-builder-banner .banner-icon {
    font-size: 24px;
    color: var(--color-gold);
    flex-shrink: 0;
}
.landing-builder-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.builder-block-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 10px;
    transition: all 0.2s ease;
    overflow: hidden;
}
.builder-block-card:hover {
    border-color: rgba(197, 160, 89, 0.45);
    background: rgba(255, 255, 255, 0.035);
}
.builder-block-card.is-hidden {
    opacity: 0.55;
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.2);
}
.builder-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid transparent;
    cursor: pointer;
    user-select: none;
}
.builder-block-card.is-expanded .builder-block-header {
    border-bottom-color: rgba(197, 160, 89, 0.15);
}
.builder-block-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.builder-block-order {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-gray);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.builder-block-title {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--color-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.builder-block-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    flex-shrink: 0;
}
.builder-block-badge.gold {
    background: rgba(197, 160, 89, 0.15);
    color: var(--color-gold);
    border: 1px solid rgba(197, 160, 89, 0.3);
}
.builder-block-badge.cyan {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}
.builder-block-badge.purple {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}
.builder-block-badge.emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.builder-block-badge.gray {
    background: rgba(156, 163, 175, 0.12);
    color: #d1d5db;
    border: 1px solid rgba(156, 163, 175, 0.25);
}
.builder-block-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.builder-block-actions .btn-mini {
    padding: 3px 6px;
    min-width: 26px;
    height: 26px;
    font-size: 0.75rem;
}
.builder-block-body {
    padding: 14px;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.builder-add-section-box {
    margin-top: 6px;
    padding: 14px;
    background: rgba(197, 160, 89, 0.04);
    border: 1px dashed rgba(197, 160, 89, 0.3);
    border-radius: 10px;
    text-align: center;
}
.builder-add-menu {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
    margin-top: 10px;
    text-align: left;
}
.builder-add-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: var(--color-white);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.builder-add-item:hover {
    background: rgba(197, 160, 89, 0.14);
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-1px);
}
.builder-add-item.builder-add-custom-btn {
    border-color: rgba(197, 160, 89, 0.45);
    background: rgba(197, 160, 89, 0.08);
    font-weight: 600;
}
.builder-add-item.builder-add-custom-btn:hover {
    background: rgba(197, 160, 89, 0.22);
    border-color: var(--color-gold);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2);
}
.builder-add-item .material-symbols-outlined {
    font-size: 16px;
    color: var(--color-gold);
}
.custom-block-media {
    margin: 18px 0;
    border-radius: 12px;
}
.custom-media-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    display: block;
}
.custom-media-caption {
    display: block;
    text-align: center;
    color: var(--color-gray);
    margin-top: 8px;
    font-size: 0.8rem;
    font-style: italic;
    line-height: 1.4;
}
.custom-block-cta {
    margin-top: 22px;
}
.custom-block-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 8px;
    background: var(--color-gold);
    color: #0b0b0b;
    text-decoration: none;
    transition: all 0.22s ease;
}
.custom-block-cta .btn:hover {
    background: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(197, 160, 89, 0.35);
}
.faq-builder-row {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
}
.faq-builder-row-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--color-gold);
}

/* ============ MULTI-MODE HERO BANNER STYLES ============ */
/* Admin Hero Mode Switcher */
.hero-mode-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.02);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
@media (max-width: 640px) {
    .hero-mode-tabs {
        grid-template-columns: 1fr;
    }
}
.hero-mode-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--color-gray);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.hero-mode-tab-btn:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.04);
}
.hero-mode-tab-btn.active {
    background: rgba(197, 160, 89, 0.14);
    border-color: rgba(197, 160, 89, 0.4);
    color: var(--color-gold);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.hero-mode-tab-btn .material-symbols-outlined {
    font-size: 16px;
}

/* Admin Slide Manager Cards */
.admin-slide-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}
.admin-slide-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px;
    position: relative;
    transition: border-color 0.2s;
}
.admin-slide-card:hover {
    border-color: rgba(197, 160, 89, 0.3);
}
.admin-slide-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.admin-slide-badge-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 6px;
}
.admin-slide-preview-thumb {
    width: 100%;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 8px;
    background: #111;
    display: block;
}

/* Frontend Hero Slideshow Carousel */
.hero-slider-section {
    position: relative;
    padding: 24px 0 20px;
    max-width: 1240px;
    margin: 0 auto;
}
.hero-slider-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-gold-soft);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    background: #0d0d0d;
}
.hero-slider-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}
.hero-slide-item {
    min-width: 100%;
    width: 100%;
    position: relative;
    height: 420px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .hero-slide-item {
        height: 320px;
    }
}
@media (max-width: 480px) {
    .hero-slide-item {
        height: 290px;
    }
}
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.6) 45%, rgba(10, 10, 10, 0.2) 100%);
    z-index: 1;
}
.hero-slide-content {
    position: relative;
    z-index: 2;
    padding: 32px 40px;
    max-width: 720px;
}
@media (max-width: 768px) {
    .hero-slide-content {
        padding: 20px 22px;
    }
}
.hero-slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(197, 160, 89, 0.2);
    color: var(--color-gold);
    border: 1px solid rgba(197, 160, 89, 0.45);
    padding: 3px 12px;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    backdrop-filter: blur(6px);
}
.hero-slide-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-white);
    margin: 0 0 10px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
    .hero-slide-title {
        font-size: 1.25rem;
    }
}
.hero-slide-desc {
    font-size: 0.88rem;
    color: #e5e7eb;
    margin: 0 0 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
    .hero-slide-desc {
        font-size: 0.78rem;
        -webkit-line-clamp: 2;
    }
}
.hero-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-bg);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.84rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.hero-slide-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.4);
}
.hero-slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}
.hero-slider-nav-btn:hover {
    background: var(--color-gold);
    color: var(--color-bg);
    border-color: var(--color-gold);
}
.hero-slider-nav-btn.prev {
    left: 14px;
}
.hero-slider-nav-btn.next {
    right: 14px;
}
@media (max-width: 640px) {
    .hero-slider-nav-btn {
        width: 36px;
        height: 36px;
    }
    .hero-slider-nav-btn.prev { left: 8px; }
    .hero-slider-nav-btn.next { right: 8px; }
}
.hero-slider-dots {
    position: absolute;
    bottom: 16px;
    right: 32px;
    z-index: 3;
    display: flex;
    gap: 6px;
    align-items: center;
}
@media (max-width: 640px) {
    .hero-slider-dots {
        right: 18px;
        bottom: 12px;
    }
}
.hero-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    padding: 0;
}
.hero-slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--color-gold);
}

/* Frontend Single Banner */
.hero-single-section {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 0 20px;
}
.hero-single-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-gold-soft);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    display: block;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #0d0d0d;
}
.hero-single-wrap:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(197, 160, 89, 0.22);
}
.hero-single-wrap img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
}

/* Admin Feature Blocks Manager */
.admin-feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}
.admin-feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
    position: relative;
    transition: border-color 0.2s;
}
.admin-feature-card:hover {
    border-color: rgba(197, 160, 89, 0.35);
}
.admin-feature-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.admin-feature-badge-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 6px;
}
.admin-feature-icon-preview {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    flex-shrink: 0;
}
.admin-feature-icon-preview .material-symbols-outlined {
    font-size: 20px;
}

/* Admin Mentor Cards Manager */
.admin-mentor-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}
.admin-mentor-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
    position: relative;
    transition: border-color 0.2s;
}
.admin-mentor-card:hover {
    border-color: rgba(197, 160, 89, 0.35);
}
.admin-mentor-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.admin-mentor-badge-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 6px;
}
.admin-mentor-photo-preview {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--color-gold-soft);
    object-fit: cover;
    object-position: top;
    background: #181818;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

/* Admin Testimonial Cards Manager */
.admin-testi-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}
.admin-testi-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
    position: relative;
    transition: border-color 0.2s;
}
.admin-testi-card:hover {
    border-color: rgba(197, 160, 89, 0.35);
}
.admin-testi-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.admin-testi-badge-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 6px;
}
.admin-testi-avatar-preview {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-gold-bg);
    border: 1px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-gold);
    font-size: 0.8rem;
    flex-shrink: 0;
    overflow: hidden;
}
.admin-testi-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============ TAMPILAN HOME: HORIZONTAL NAVIGATION TABS ============ */
.home-nav-tabs-wrap,
.home-nav-tabs-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 6px 10px;
    flex-wrap: wrap;
}
.home-nav-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}
.home-nav-tabs::-webkit-scrollbar {
    display: none;
}
.home-nav-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--color-gray);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.home-nav-tab-btn:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.04);
}
.home-nav-tab-btn.active {
    color: var(--color-gold);
    background: rgba(197, 160, 89, 0.12);
    border-color: rgba(197, 160, 89, 0.35);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.home-nav-tab-btn .material-symbols-outlined {
    font-size: 18px;
}
.home-tab-pane {
    display: none;
    animation: fadeInTab 0.25s ease forwards;
}
.home-tab-pane.active {
    display: block;
}
@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.home-admin-wrapper,
.katalog-admin-wrapper {
    width: 100%;
    margin-bottom: 30px;
    box-sizing: border-box;
}
.home-tab-pane-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}

/* Admin FAQ Manager Cards */
.admin-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}
.admin-faq-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 16px;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}
.admin-faq-card:hover {
    border-color: rgba(197, 160, 89, 0.35);
    background: rgba(255, 255, 255, 0.03);
}
.admin-faq-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-faq-badge-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* CS SUPPORT MODE & TASK BANNER */
.cs-task-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.04) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-left: 4px solid #10b981;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cs-task-head { display: flex; flex-direction: column; gap: 4px; }
.cs-task-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #10b981;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.cs-task-head h4 {
  font-family: var(--font-heading);
  color: #34d399;
  font-size: 1rem;
  margin: 0;
}
.cs-task-head p {
  font-size: 0.82rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
}
.cs-task-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sapa-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  margin-top: 4px;
}

/* ==========================================
   MEMBER DETAIL MODAL & CS FOLLOW-UP TOOLS
   ========================================== */
.modal-content.member-modal-wide {
    max-width: 980px;
    width: 95vw;
    height: 88vh;
    max-height: 850px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #161616;
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}
.member-modal-hero {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.12) 0%, rgba(20, 20, 20, 0.85) 100%);
    border-bottom: 1px solid var(--color-border);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.member-hero-cta-group {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 0;
    margin-left: auto;
}
.member-hero-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.member-hero-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #c5a059 0%, #8f7238 100%);
    color: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(197, 160, 89, 0.3);
    flex-shrink: 0;
}
.member-hero-info h3 {
    margin: 0 0 4px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.member-id-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.75rem;
    font-family: monospace;
    font-weight: 700;
    color: var(--color-gray-2);
    padding: 2px 8px;
    border-radius: 6px;
}
.member-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--color-gray);
    flex-wrap: wrap;
}
.member-modal-tabs {
    display: flex;
    gap: 4px;
    padding: 8px 18px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--color-border);
    overflow-x: auto;
    flex-shrink: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 160, 89, 0.35) transparent;
}
.member-modal-tabs::-webkit-scrollbar {
    height: 4px;
}
.member-modal-tabs::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
.member-modal-tabs::-webkit-scrollbar-thumb {
    background: rgba(197, 160, 89, 0.35);
    border-radius: 4px;
}
.member-tab-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--color-gray);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}
.member-tab-nav-btn:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
}
.member-tab-nav-btn.active {
    color: var(--color-gold);
    background: rgba(197, 160, 89, 0.12);
    border-color: rgba(197, 160, 89, 0.35);
}
.member-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.mem-section-card {
    background: #1a1a1a;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 18px 20px;
}
.mem-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mem-section-title {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 8px;
}
.mem-section-title .material-symbols-outlined {
    font-size: 18px;
    color: var(--color-gold);
}
/* Progress bar card */
.mem-course-card {
    background: #141414;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.mem-course-card:last-child { margin-bottom: 0; }
.mem-course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 12px;
}
.mem-course-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.35;
}
.mem-course-progress-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.mem-progress-track {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
}
.mem-progress-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--color-gold) 0%, #eab308 100%);
    transition: width 0.3s ease;
}
.mem-progress-fill.high {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}
.mem-progress-fill.low {
    background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
}
.mem-progress-pct {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-gold);
    min-width: 42px;
    text-align: right;
}
.mem-cs-recommendation {
    background: rgba(16, 185, 129, 0.08);
    border-left: 3px solid #10b981;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.78rem;
    color: #a7f3d0;
    line-height: 1.45;
    margin-top: 8px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
/* Credentials Box */
.mem-cred-box {
    background: #121212;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mem-cred-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}
.mem-cred-row span {
    color: var(--color-gray);
    font-size: 0.78rem;
}
.mem-cred-row code {
    font-family: monospace;
    font-size: 0.9rem;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 3px 8px;
    border-radius: 5px;
    border: 1px solid rgba(56, 189, 248, 0.25);
}
/* Note Item */
.mem-note-item {
    background: #141414;
    border-left: 3px solid var(--color-gold);
    border-radius: 4px;
    padding: 10px 14px;
    margin-bottom: 8px;
    font-size: 0.82rem;
}
.mem-note-item:last-child { margin-bottom: 0; }
.mem-note-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-gray);
    font-size: 0.7rem;
    margin-bottom: 4px;
}
.mem-note-text {
    color: #f1f5f9;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .member-modal-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .member-hero-cta-group {
        width: 100%;
        display: flex;
        gap: 8px;
    }
    .member-hero-cta-group button, .member-hero-cta-group a {
        flex: 1;
        justify-content: center;
    }
}

/* ================================================================
   COMPREHENSIVE RESPONSIVE ENHANCEMENTS (MOBILE & TABLET POLISH)
   ================================================================ */

/* --- 1. Admin & General 2-Col Form Grid --- */
.admin-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 640px) {
    .admin-form-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

/* --- 2. Member Detail Transaction Card (Tab 4) --- */
.mem-detail-tx-card {
    display: grid !important;
    grid-template-columns: 110px 1.5fr 1fr 1fr !important;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    font-size: 0.82rem;
    margin-bottom: 8px;
    border-radius: 8px;
    background: #131313;
    border: 1px solid var(--color-border);
}
.mem-detail-inv {
    font-family: monospace;
    font-weight: 700;
    color: var(--color-gold);
}
.mem-detail-total {
    font-weight: 700;
    color: var(--color-white);
}
.mem-detail-status {
    text-align: right;
}

/* --- 3. Responsive Modals (Member Detail & Product Form) --- */
@media (max-width: 768px) {
    .modal-content.member-modal-wide {
        width: 96vw;
        max-width: 96vw;
        height: 94vh;
        max-height: 94vh;
        border-radius: 12px;
    }
    .member-modal-body {
        padding: 14px 16px;
        gap: 14px;
    }
    .mem-section-card {
        padding: 14px 14px;
        border-radius: 10px;
    }
    .mem-detail-tx-card {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px 12px !important;
        padding: 12px 14px;
    }
    .mem-detail-tx-card .mem-detail-prod {
        grid-column: 1 / -1;
    }
    .mem-detail-tx-card .mem-detail-status {
        text-align: right;
    }

    /* Product Modal Responsive Footer & Tabs */
    .modal-content.product-modal-wide .modal-footer {
        flex-direction: column-reverse !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 12px 16px !important;
    }
    .modal-content.product-modal-wide .modal-footer > div {
        display: flex !important;
        justify-content: stretch !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .modal-content.product-modal-wide .modal-footer button {
        flex: 1 !important;
        text-align: center !important;
        justify-content: center !important;
    }
    .modal-tab-nav {
        overflow-x: auto !important;
        white-space: nowrap !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 8px 14px !important;
        gap: 6px !important;
    }
    .modal-tab-btn {
        flex-shrink: 0 !important;
        padding: 6px 12px !important;
        font-size: 0.76rem !important;
    }
}

@media (max-width: 480px) {
    .member-modal-tabs {
        padding: 6px 14px;
        gap: 4px;
    }
    .member-tab-nav-btn {
        padding: 6px 10px;
        font-size: 0.72rem;
    }
    .mem-cred-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .mem-cred-row > div {
        width: 100%;
        justify-content: space-between;
    }
    .mem-cred-row code {
        max-width: calc(100% - 75px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .mem-course-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .mem-course-header .badge {
        align-self: flex-start;
    }
    .mem-detail-tx-card {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }
    .mem-detail-tx-card .mem-detail-status {
        text-align: left;
        margin-top: 4px;
    }
}

/* --- 4. Navbar & Mobile Header (320px - 480px) --- */
@media (max-width: 480px) {
    .navbar-inner {
        padding: 0 12px;
        gap: 8px;
    }
    .nav-logo img {
        height: 44px;
    }
    .nav-auth {
        gap: 6px;
    }
    .btn-member {
        padding: 6px 12px;
        font-size: 0.68rem;
        letter-spacing: 0.02em;
    }
    .btn-admin {
        padding: 6px 10px;
        font-size: 0.68rem;
        letter-spacing: 0.02em;
    }
    .hamburger {
        padding: 6px 4px;
    }
    .hamburger span {
        width: 20px;
    }
}
@media (max-width: 360px) {
    .navbar-inner {
        padding: 0 8px;
        gap: 4px;
    }
    .nav-logo img {
        height: 38px;
    }
    .btn-member {
        padding: 5px 8px;
        font-size: 0.62rem;
    }
    .btn-admin {
        padding: 5px 7px;
        font-size: 0.62rem;
    }
}

/* --- 5. Landing Page Hero Stage & Floating Badges --- */
@media (max-width: 640px) {
    .hero-image-wrap {
        padding: 16px 12px 24px;
        max-width: 100%;
        overflow: hidden;
    }
    .hero-circle-stage {
        max-width: 280px;
    }
    .hero-cascade-pill {
        font-size: 0.58rem;
        padding: 5px 12px;
        gap: 5px;
        border-width: 1px;
    }
    .hero-badge {
        padding: 8px 12px;
        bottom: 10px;
        left: -8px;
        border-radius: 10px;
    }
    .hero-badge-icon {
        width: 28px;
        height: 28px;
    }
    .hero-badge-text b {
        font-size: 0.65rem;
    }
    .hero-badge-text small {
        font-size: 0.6rem;
    }
    .hero-stats {
        gap: 10px;
    }
    .hero-stats .stat b {
        font-size: 1.25rem;
    }
    .hero-stats .stat span {
        font-size: 0.6rem;
    }
}
@media (max-width: 380px) {
    .hero-circle-stage {
        max-width: 240px;
    }
    .hero-cascade-pill {
        font-size: 0.52rem;
        padding: 4px 8px;
    }
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .hero-stats .stat:last-child {
        grid-column: 1 / -1;
        text-align: center;
    }
}

/* --- 6. Horizontal Scroll Chips & Catalog Tabs --- */
@media (max-width: 640px) {
    .catalog-tabs {
        flex-wrap: wrap;
        overflow-x: visible;
        justify-content: center;
        padding: 6px;
        border-radius: 12px;
        gap: 6px 8px;
        margin: 6px auto 0;
        max-width: 440px;
        width: 100%;
        box-sizing: border-box;
    }
    .catalog-tab {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 7px 14px;
        font-size: 0.72rem;
        border-radius: 8px;
        min-height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}
@media (max-width: 400px) {
    .catalog-tabs {
        gap: 5px 6px;
        padding: 5px;
    }
    .catalog-tab {
        padding: 6px 11px;
        font-size: 0.68rem;
        min-height: 32px;
    }
}
@media (max-width: 640px) {
    .home-chip-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .home-chip {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* --- 7. Detail & Smart Checkout Responsive Layout --- */
@media (max-width: 640px) {
    .checkout-card {
        padding: 0;
        border: none;
    }
    .co-invoice-box {
        padding: 14px 16px;
    }
    .co-invoice-top {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-bottom: 14px;
    }
    .co-invoice-id-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .co-invoice-badge {
        padding: 3px 8px;
    }
    .co-invoice-num {
        font-size: 0.92rem;
    }
    .co-invoice-date {
        font-size: 0.72rem;
    }
    .co-buyer-meta {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        padding: 8px 10px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.07);
        border-radius: 8px;
    }
    .co-buyer-avatar {
        width: 32px;
        height: 32px;
    }
    .co-buyer-name {
        font-size: 0.84rem;
    }
    .co-buyer-email {
        font-size: 0.72rem;
    }
    .co-amount-value {
        font-size: 1.45rem;
    }
    .co-nav-tabs {
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .co-tab-item {
        min-width: 110px;
        padding: 10px 8px;
        font-size: 0.78rem;
    }
    .co-tab-panel {
        padding: 14px 10px;
    }
    .co-va-item {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px 12px;
    }
    .co-va-number {
        width: 100%;
        justify-content: space-between;
    }
    .co-va-number code {
        font-size: 0.95rem;
    }
    .co-credential-card {
        padding: 14px 12px;
        margin-bottom: 16px;
    }
    .co-cred-head {
        gap: 10px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    .co-cred-head h4 {
        font-size: 0.92rem;
    }
    .co-cred-head p {
        font-size: 0.76rem;
    }
    .co-warning-box, .co-notice-box {
        padding: 10px 12px;
        margin-bottom: 12px;
    }
    .co-warning-title {
        font-size: 0.82rem;
    }
    .co-warning-box p, .co-notice-box p {
        font-size: 0.75rem;
    }
    .co-cred-row {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 10px 12px;
    }
    .co-cred-label {
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #94a3b8;
        flex-shrink: 0;
        white-space: nowrap;
    }
    .co-cred-val {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        min-width: 0;
        overflow: hidden;
    }
    .co-cred-text {
        font-size: 0.85rem;
        word-break: break-all;
        overflow-wrap: anywhere;
        min-width: 0;
        flex: 1;
        text-align: left;
        line-height: 1.4;
    }
    .co-cred-text.gold {
        font-size: 0.95rem;
        letter-spacing: 1px;
        color: var(--color-gold);
    }
    .co-cred-val .btn-mini {
        flex-shrink: 0;
        padding: 6px 10px;
        font-size: 0.7rem;
        white-space: nowrap;
        min-width: 56px;
        text-align: center;
    }
    .btn-copy-all {
        font-size: 0.78rem;
        padding: 10px 10px;
        line-height: 1.35;
        word-break: break-word;
    }
    .co-success-summary {
        padding: 12px 14px;
        margin-bottom: 18px;
    }
    .co-sum-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
        padding: 8px 0;
    }
    .co-sum-row span {
        flex-shrink: 0;
        font-size: 0.82rem;
    }
    .co-sum-row b {
        flex: 1;
        min-width: 0;
        text-align: right;
        word-break: break-word;
        font-size: 0.85rem;
    }
}
@media (max-width: 360px) {
    .co-amount-value {
        font-size: 1.25rem;
    }
    .btn-wa-confirm, .btn-simulasi-pay, .btn-midtrans-pay {
        font-size: 0.85rem;
        padding: 12px 10px;
    }
}

/* --- Transaksi Member: Card View di Mobile --- */
@media (max-width: 640px) {
    /* Sembunyikan header tabel, tampilkan card vertikal */
    .tx-table-member .tx-table-head {
        display: none !important;
    }
    .tx-table-member .tx-card {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 14px 14px !important;
        margin-bottom: 10px !important;
        border-radius: 10px !important;
        border: 1px solid var(--color-border) !important;
        background: var(--color-card) !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
    }
    .tx-table-member .tx-card .tx-cell {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        padding: 6px 0 !important;
        border-bottom: 1px dashed rgba(255,255,255,0.07) !important;
        gap: 10px !important;
        font-size: 0.82rem !important;
        min-width: 0 !important;
        width: 100% !important;
    }
    .tx-table-member .tx-card .tx-cell:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
        margin-top: 4px;
    }
    /* Label pseudo di kiri */
    .tx-table-member .tx-card .tx-inv-cell::before { content: 'Invoice'; }
    .tx-table-member .tx-card .tx-tgl::before { content: 'Tanggal'; }
    .tx-table-member .tx-card .tx-total::before { content: 'Total'; }
    .tx-table-member .tx-card .tx-status::before { content: 'Status'; }
    .tx-table-member .tx-card .tx-aksi::before { content: 'Aksi'; }
    .tx-table-member .tx-card .tx-inv-cell::before,
    .tx-table-member .tx-card .tx-tgl::before,
    .tx-table-member .tx-card .tx-total::before,
    .tx-table-member .tx-card .tx-status::before,
    .tx-table-member .tx-card .tx-aksi::before {
        font-size: 0.72rem;
        color: var(--color-gray);
        font-weight: 600;
        min-width: 65px;
        flex-shrink: 0;
        text-align: left;
        text-transform: uppercase;
        letter-spacing: 0.4px;
    }
    /* Nama produk - full width tanpa label */
    .tx-table-member .tx-card .tx-name {
        gap: 10px !important;
        padding-bottom: 10px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        margin-bottom: 4px !important;
        justify-content: flex-start !important;
    }
    .tx-table-member .tx-card .tx-name .tx-icon {
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0 !important;
    }
    .tx-table-member .tx-card .tx-name b {
        font-size: 0.88rem !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        line-height: 1.35 !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    /* Konten di kanan */
    .tx-table-member .tx-card .tx-inv-cell,
    .tx-table-member .tx-card .tx-tgl,
    .tx-table-member .tx-card .tx-total,
    .tx-table-member .tx-card .tx-status,
    .tx-table-member .tx-card .tx-aksi {
        justify-content: space-between !important;
        text-align: right !important;
    }
    .tx-table-member .tx-card .tx-inv-cell { font-family: monospace; font-size: 0.78rem !important; }
    .tx-table-member .tx-card .tx-price { font-size: 0.9rem !important; }
    .tx-table-member .tx-card .tx-aksi {
        justify-content: flex-end !important;
        padding-top: 8px !important;
    }
    .tx-table-member .tx-card .tx-aksi::before { display: none !important; }
    .tx-table-member .tx-card .tx-aksi .btn-mini {
        font-size: 0.78rem !important;
        padding: 7px 14px !important;
        width: 100% !important;
        justify-content: center !important;
    }
    /* Filter bar */
    .tx-table-member .filter-bar,
    .filter-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 6px;
        padding-bottom: 4px;
    }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-bar button {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}

/* --- 8. Dashboard Tables & Mobile Bottom Nav --- */
@media (max-width: 1024px) {
    .bottom-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        padding: 7px 10px calc(7px + env(safe-area-inset-bottom, 0px));
        width: 100%;
        overflow-x: visible;
    }
    .bottom-nav a {
        flex: 1;
        max-width: 100px;
        padding: 6px 8px;
        font-size: 0.68rem;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .bottom-nav {
        gap: 4px;
        padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    }
    .bottom-nav a {
        padding: 5px 4px;
        font-size: 0.65rem;
        max-width: 85px;
    }
    .bottom-nav a .material-symbols-outlined {
        font-size: 21px;
    }
}
@media (max-width: 360px) {
    .bottom-nav {
        gap: 2px;
        padding: 5px 3px calc(5px + env(safe-area-inset-bottom, 0px));
    }
    .bottom-nav a {
        padding: 4px 2px;
        font-size: 0.6rem;
    }
    .bottom-nav a .material-symbols-outlined {
        font-size: 19px;
    }
}

/* Admin Dashboard Bottom Nav specifically with 7 items */
@media (max-width: 600px) {
    .shell.admin-shell .bottom-nav {
        gap: 2px;
    }
    .shell.admin-shell .bottom-nav a {
        padding: 4px 2px;
        font-size: 0.58rem;
        max-width: 52px;
    }
    .shell.admin-shell .bottom-nav a .material-symbols-outlined {
        font-size: 19px;
    }
}


/* --- 9. Classroom View (Video Player & Modules) --- */
@media (max-width: 640px) {
    .classroom-topbar-nav {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        margin-bottom: 16px;
    }
    .classroom-topbar-nav .btn-back-nav {
        width: 100%;
        justify-content: center;
    }
    .classroom-topbar-nav .classroom-course-title {
        text-align: center !important;
        width: 100% !important;
        font-size: 1rem !important;
        line-height: 1.4 !important;
        margin: 2px 0 !important;
    }
    .classroom-topbar-nav .badge {
        align-self: center !important;
        margin: 0 auto !important;
    }
    .classroom-view-grid {
        gap: 16px;
    }
    .video-details {
        padding: 14px 14px;
    }
    .video-controls-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .video-controls-row .btn-primary,
    .video-controls-row .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    .playlist-item {
        padding: 10px 12px;
    }
}

/* ============ ADMIN DASHBOARD MOBILE RESPONSIVE FIXES ============ */

/* Prevent horizontal overflow on mobile */
@media (max-width: 1024px) {
    /* NOTE: overflow-x MUST NOT be set on .shell-main — it would break position:fixed on .shell-topbar */
    .shell-body {
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    .shell-main {
        max-width: 100vw;
        box-sizing: border-box;
        /* do NOT add overflow here */
    }
    body {
        overflow-x: hidden;
    }
}

/* Member Toolbar & Tabs - Mobile Scroll */
@media (max-width: 768px) {
    .member-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .member-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        width: 100%;
        gap: 6px;
    }
    .member-tabs::-webkit-scrollbar {
        display: none;
    }
    .member-tab-btn {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.72rem;
        padding: 6px 10px;
    }
    .member-search-box {
        width: 100%;
        min-width: 0;
    }
}

/* Member Card - Mobile: contact & status layout */
@media (max-width: 900px) {
    .member-table .tx-cell.tx-contact,
    .member-table .tx-produk.tx-contact {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        width: 100% !important;
        padding: 5px 0 !important;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.06) !important;
        gap: 12px !important;
        min-width: 0 !important;
        text-align: right !important;
    }
    .member-table .tx-cell.tx-contact::before,
    .member-table .tx-produk.tx-contact::before {
        content: 'Kontak';
        font-size: 0.74rem;
        color: var(--color-gray);
        font-weight: 600;
        min-width: 70px;
        text-align: left;
        flex-shrink: 0;
    }
    .member-table .tx-cell.tx-contact span,
    .member-table .tx-cell.tx-contact small,
    .member-table .tx-produk.tx-contact span,
    .member-table .tx-produk.tx-contact small {
        text-align: right;
        word-break: break-all;
    }
    .member-table .tx-cell.tx-status-activity,
    .member-table .tx-status.tx-status-activity {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 5px 0 !important;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.06) !important;
        gap: 12px !important;
        min-width: 0 !important;
    }
    .member-table .tx-cell.tx-status-activity::before,
    .member-table .tx-status.tx-status-activity::before {
        content: 'Status';
        font-size: 0.74rem;
        color: var(--color-gray);
        font-weight: 600;
        min-width: 70px;
        text-align: left;
        flex-shrink: 0;
    }
    .member-table .tx-cell.tx-aksi {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: flex-end !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        border-bottom: none !important;
        margin-top: 6px;
        padding-top: 10px;
        border-top: 1px solid var(--color-border);
    }
}

/* Tampilan Home - Tabs & Container Mobile Fix */
@media (max-width: 768px) {
    .home-nav-tabs-wrap {
        padding: 4px 6px;
        gap: 6px;
    }
    .home-nav-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        scrollbar-width: none;
        width: 100%;
        gap: 3px;
    }
    .home-nav-tabs::-webkit-scrollbar {
        display: none;
    }
    .home-nav-tab-btn {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.72rem;
        padding: 8px 10px;
        gap: 5px;
    }
    .home-nav-tab-btn .material-symbols-outlined {
        font-size: 15px;
    }
    .home-tab-pane-container {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    .home-section-card,
    .form-card {
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .home-section-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .section-quick-btns {
        width: 100%;
        display: flex;
        gap: 6px;
    }
    .section-quick-btns .btn-xs-action {
        flex: 1;
        text-align: center;
    }
}

/* Tampilan Home - Header wrap on mobile */
@media (max-width: 640px) {
    .page-title {
        font-size: 1rem;
    }
    .page-subtitle {
        font-size: 0.78rem;
        text-align: center;
    }
}

/* ============ MENTOR PESERTA DETAIL MODAL ============ */
.mentor-modal-card {
    border: 1px solid rgba(197, 160, 89, 0.35) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(197, 160, 89, 0.15) !important;
}
.mentor-peserta-hero {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.12) 0%, rgba(26, 26, 26, 0.9) 100%);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.mentor-hero-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-gold) 0%, #8f7238 100%);
    color: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.25);
    flex-shrink: 0;
}
.mentor-hero-info {
    flex: 1;
    min-width: 0;
}
.mentor-hero-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.mentor-hero-name-row h4 {
    margin: 0;
    font-size: 1.05rem;
    font-family: var(--font-heading);
    color: var(--color-white);
}
.mentor-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 0.78rem;
    color: var(--color-gray);
}
.mentor-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.mentor-hero-meta .material-symbols-outlined {
    font-size: 15px;
    color: var(--color-gold);
}
@media (max-width: 540px) {
    .mentor-peserta-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .mentor-hero-meta {
        flex-direction: column;
        gap: 6px;
    }
}

/* ============================================================
   LANDSCAPE TABLET & COMPACT SCREENS — Redmi Pad 2 & similar (900–1366px)
   ============================================================ */
@media (min-width: 900px) and (max-width: 1366px) {

    /* Katalog: 4 kolom */
    .catalog-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    /* Tab filter: 1 baris, scroll horizontal jika perlu, tidak wrap */
    .catalog-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 6px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .catalog-tabs::-webkit-scrollbar { display: none; }
    .catalog-tab {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 6px 14px;
        font-size: 0.72rem;
    }

    /* Header section: judul kiri, tab kanan dalam 1 baris */
    .section-head.split {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: nowrap;
    }
    .section-head.split > div:first-child {
        flex-shrink: 0;
    }
    .section-head.split .catalog-tabs {
        max-width: 65%;
    }

    /* Webinar grid: 4 kolom */
    .webinar-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    /* Section padding lebih compact */
    .section { padding-top: 40px; padding-bottom: 40px; }

    /* ==========================================
       ADMIN DASHBOARD — TABLET RESPONSIVE (Redmi Pad 2)
       ========================================== */
    /* Shell & Sidebar */
    .shell {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    .shell-sidebar {
        width: 210px !important;
        transform: translateX(0) !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        z-index: 40 !important;
    }
    .menu-toggle {
        display: none !important;
    }
    .shell-backdrop {
        display: none !important;
    }
    .shell-brand {
        height: 62px !important;
        padding: 0 16px !important;
        font-size: 1rem !important;
    }
    .shell-menu {
        padding: 12px 8px !important;
    }
    .shell-menu a {
        padding: 10px 12px !important;
        font-size: 0.84rem !important;
        gap: 10px !important;
    }
    .shell-menu a .material-symbols-outlined {
        font-size: 18px !important;
    }
    .shell-foot {
        padding: 12px 8px !important;
    }
    .shell-foot a.logout,
    .shell-foot button.logout {
        padding: 9px 12px !important;
        font-size: 0.82rem !important;
    }
    .shell-main {
        margin-left: 210px !important;
        width: calc(100vw - 210px) !important;
        max-width: calc(100vw - 210px) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding-top: 62px !important;
        overflow-x: hidden !important;
    }
    .shell-topbar {
        left: 210px !important;
        height: 62px !important;
        padding: 0 28px 0 20px !important;
        right: 0 !important;
        box-sizing: border-box !important;
    }
    .shell-topbar h1 {
        font-size: 1.05rem !important;
    }
    .shell-topbar .user-mini {
        gap: 8px !important;
    }
    .shell-topbar .user-mini .info b {
        font-size: 0.8rem !important;
        max-width: 150px !important;
    }
    .shell-topbar .user-mini .info small {
        font-size: 0.68rem !important;
        max-width: 150px !important;
    }
    .shell-topbar .user-mini .avatar {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.78rem !important;
    }
    .shell-body {
        padding: 18px 24px 50px 20px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    /* Admin Titles & Headings — Tablet Landscape */
    .page-title {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        font-size: 1.05rem !important;
        margin-bottom: 6px !important;
        box-sizing: border-box !important;
    }
    .page-title span.material-symbols-outlined {
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }
    .page-title .btn-mini {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    .page-subtitle {
        font-size: 0.82rem !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
        color: var(--color-gray) !important;
    }
    .member-toolbar {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        margin-bottom: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .member-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 6px !important;
        padding-bottom: 2px !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    .member-tabs::-webkit-scrollbar {
        display: none !important;
    }
    .member-tab-btn {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        font-size: 0.74rem !important;
        padding: 6px 11px !important;
        gap: 5px !important;
    }
    .member-tab-btn .tab-count {
        font-size: 0.66rem !important;
        padding: 1px 6px !important;
    }
    .member-search-box {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 6px 12px !important;
    }
    .member-search-box input {
        font-size: 0.78rem !important;
    }

    /* Tabel Member: proporsional, rapi, lega di sebelah kanan */
    .member-table.tx-table {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .member-table.tx-table .tx-table-head,
    .member-table.tx-table .tx-card,
    .member-table .tx-table-head,
    .member-table .tx-card {
        grid-template-columns: minmax(110px, 1.1fr) 58px minmax(120px, 1.2fr) minmax(105px, 1fr) minmax(130px, 1.1fr) !important;
        gap: 8px !important;
        padding: 10px 12px !important;
        box-sizing: border-box !important;
        min-height: 48px !important;
    }
    .member-table .tx-cell.tx-name {
        gap: 8px !important;
        min-width: 0 !important;
    }
    .member-table .tx-cell.tx-name .tx-icon {
        width: 30px !important;
        height: 30px !important;
        flex-shrink: 0 !important;
    }
    .member-table .tx-cell.tx-name b {
        font-size: 0.8rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 110px !important;
    }
    .member-table .tx-cell.tx-inv-cell {
        font-size: 0.75rem !important;
        font-family: monospace !important;
    }
    .member-table .tx-cell.tx-contact {
        min-width: 0 !important;
        align-items: center !important;
        text-align: center !important;
    }
    .member-table .tx-cell.tx-contact span {
        font-size: 0.73rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 125px !important;
        display: block !important;
    }
    .member-table .tx-cell.tx-contact small {
        font-size: 0.68rem !important;
        display: block !important;
    }
    .member-table .tx-cell.tx-status-activity {
        min-width: 0 !important;
        gap: 3px !important;
    }
    .member-table .tx-cell.tx-status-activity .badge {
        font-size: 0.68rem !important;
        padding: 2px 7px !important;
    }
    .member-table .tx-cell.tx-status-activity .activity-time {
        font-size: 0.66rem !important;
    }
    .member-table .tx-cell.tx-status-activity .activity-time .icon-mini {
        font-size: 11px !important;
    }
    .member-table .tx-cell.tx-aksi {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 3px !important;
        flex-wrap: nowrap !important;
    }
    .member-table .tx-cell.tx-aksi .btn-mini {
        padding: 4px 7px !important;
        font-size: 0.68rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        gap: 2px !important;
    }
    .member-table .tx-cell.tx-aksi .btn-mini .material-symbols-outlined {
        font-size: 12px !important;
    }
    .member-table .tx-cell.tx-aksi .sapa-status-tag {
        font-size: 0.62rem !important;
        margin-top: 2px !important;
    }

    /* Admin Tampilan Home — Tablet Landscape */
    .home-nav-tabs-wrap {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 6px 10px !important;
        margin-bottom: 18px !important;
    }
    .home-nav-tabs {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        flex-wrap: nowrap !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(197, 160, 89, 0.4) transparent !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding-bottom: 4px !important;
    }
    .home-nav-tabs::-webkit-scrollbar {
        height: 4px !important;
        display: block !important;
    }
    .home-nav-tabs::-webkit-scrollbar-track {
        background: transparent !important;
    }
    .home-nav-tabs::-webkit-scrollbar-thumb {
        background: rgba(197, 160, 89, 0.4) !important;
        border-radius: 4px !important;
    }
    .home-nav-tab-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 7px 11px !important;
        font-size: 0.74rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .home-nav-tab-btn .material-symbols-outlined {
        font-size: 16px !important;
    }

    .home-admin-wrapper,
    .katalog-admin-wrapper {
        width: 100% !important;
        margin-bottom: 24px !important;
        box-sizing: border-box !important;
    }
    .home-tab-pane-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    .form-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 18px 20px !important;
        overflow-x: hidden !important;
    }
    .form-card .form-control {
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .profile-card-header h4 {
        font-size: 0.96rem !important;
    }
    .profile-card-header p {
        font-size: 0.74rem !important;
    }
    .home-section-toolbar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .section-count-tag {
        font-size: 0.76rem !important;
        white-space: nowrap !important;
    }
    .section-quick-btns {
        display: flex !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }
    .section-quick-btns .btn-xs-action {
        padding: 5px 9px !important;
        font-size: 0.72rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .home-section-list {
        gap: 8px !important;
    }
    .home-section-card {
        padding: 10px 14px !important;
        gap: 12px !important;
    }
    .home-section-icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 6px !important;
    }
    .home-section-icon .material-symbols-outlined {
        font-size: 18px !important;
    }
    .home-section-body b {
        font-size: 0.84rem !important;
    }
    .home-section-body small {
        font-size: 0.72rem !important;
    }
    .sec-status-badge {
        font-size: 0.68rem !important;
        padding: 2px 7px !important;
    }
    .home-toggle {
        width: 38px !important;
        height: 22px !important;
    }
    .home-toggle-slider::before {
        height: 16px !important;
        width: 16px !important;
    }
    .home-toggle input:checked + .home-toggle-slider::before {
        transform: translateX(16px) !important;
    }
}

/* ==========================================
   DEDICATED KATALOG PAGE STYLES (katalog.html)
   ========================================== */
.katalog-page {
    background-color: var(--color-bg);
    color: var(--color-white);
    min-height: 100vh;
}

.katalog-main-wrap {
    padding-top: 100px;
    padding-bottom: 80px;
}

.katalog-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.katalog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-bottom: 24px;
}

.katalog-crumb-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.katalog-crumb-link:hover {
    color: var(--color-gold);
}

.katalog-crumb-sep {
    color: #4b5563;
}

.katalog-crumb-current {
    color: var(--color-gold);
    font-weight: 600;
}

/* Hero Section */
.katalog-hero-section {
    margin-bottom: 36px;
}

.katalog-hero-content {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 32px;
}

.katalog-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: var(--color-gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.katalog-hero-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .katalog-hero-title {
        font-size: 2.85rem;
    }
}

.katalog-hero-desc {
    font-size: 0.92rem;
    color: #9ca3af;
    line-height: 1.65;
    margin: 0;
}

@media (min-width: 768px) {
    .katalog-hero-desc {
        font-size: 1.02rem;
    }
}

/* Filter Controls Card */
.katalog-controls-card {
    background: #181511;
    border: 1px solid rgba(197, 160, 89, 0.22);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    margin-bottom: 18px;
}

.katalog-controls-top {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.katalog-search-box {
    flex: 1;
    min-width: 260px;
    position: relative;
    display: flex;
    align-items: center;
}

.katalog-search-box .search-icon {
    position: absolute;
    left: 14px;
    color: var(--color-gold);
    font-size: 20px;
    pointer-events: none;
}

.katalog-search-box input {
    width: 100%;
    padding: 12px 42px 12px 44px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.88rem;
    font-family: inherit;
    transition: all 0.2s;
    outline: none;
}

.katalog-search-box input:focus {
    border-color: var(--color-gold);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}

.katalog-search-clear {
    position: absolute;
    right: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s;
}

.katalog-search-clear:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

.katalog-sort-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.katalog-sort-box label {
    font-size: 0.78rem;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.katalog-sort-select {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    padding: 10px 14px;
    font-size: 0.82rem;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.katalog-sort-select:focus {
    border-color: var(--color-gold);
}

/* Category Filter Pills */
.katalog-cat-pills-wrap {
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.katalog-cat-pills {
    display: flex;
    gap: 8px;
    min-width: max-content;
}

.katalog-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d1d5db;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    outline: none;
}

.katalog-cat-pill .material-symbols-outlined {
    font-size: 16px;
    color: var(--color-gold);
}

.katalog-cat-pill .cat-count-badge {
    background: rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    padding: 2px 7px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    transition: all 0.2s;
}

.katalog-cat-pill:hover {
    background: rgba(197, 160, 89, 0.12);
    border-color: rgba(197, 160, 89, 0.3);
    color: #ffffff;
}

.katalog-cat-pill.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #121212;
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.3);
}

.katalog-cat-pill.active .material-symbols-outlined {
    color: #121212;
}

.katalog-cat-pill.active .cat-count-badge {
    background: rgba(0, 0, 0, 0.22);
    color: #121212;
}

/* Stats Bar */
.katalog-stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 6px;
    font-size: 0.8rem;
    color: #9ca3af;
}

.katalog-stats-text b {
    color: var(--color-gold);
}

.katalog-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.katalog-reset-btn:hover {
    background: rgba(197, 160, 89, 0.12);
    text-decoration: underline;
}

/* Stats bar right side (reset + view toggle) */
.katalog-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* View Mode Toggle */
.katalog-view-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 3px;
}

.katalog-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
    outline: none;
    font-family: var(--font-body);
}

.katalog-view-btn .material-symbols-outlined {
    font-size: 16px;
}

.katalog-view-btn .view-label {
    display: none;
}

.katalog-view-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #d1d5db;
}

.katalog-view-btn.active {
    background: rgba(197, 160, 89, 0.18);
    color: var(--color-gold);
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.katalog-view-btn.active .view-label {
    display: inline;
}

/* ── VIEW MODE: catalog-grid variants ── */

/* Extra Large: 2 kolom */
.catalog-grid.view-xlarge {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px;
}
@media (max-width: 639px) {
    .catalog-grid.view-xlarge { grid-template-columns: 1fr !important; }
}

/* Large (default): 4 kolom sudah ada di base, override for katalog */
.catalog-grid.view-large {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px;
}
@media (max-width: 1023px) {
    .catalog-grid.view-large { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 639px) {
    .catalog-grid.view-large { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Medium: 5 kolom */
.catalog-grid.view-medium {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px;
}
@media (max-width: 1023px) {
    .catalog-grid.view-medium { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (max-width: 639px) {
    .catalog-grid.view-medium { grid-template-columns: repeat(3, 1fr) !important; }
}

/* Medium mode: perkecil card body */
.catalog-grid.view-medium .catalog-body { padding: 10px 12px; }
.catalog-grid.view-medium .catalog-title { font-size: 0.78rem; -webkit-line-clamp: 2; margin-bottom: 4px; }
.catalog-grid.view-medium .catalog-desc { display: none; }
.catalog-grid.view-medium .catalog-price { font-size: 0.78rem; margin-top: 4px; }
.catalog-grid.view-medium .catalog-price b { font-size: 0.88rem; }
.catalog-grid.view-medium .catalog-foot { padding: 0 10px 12px; }
.catalog-grid.view-medium .catalog-buy { padding: 7px; font-size: 0.62rem; }
.catalog-grid.view-medium .katalog-card-mentor { font-size: 0.62rem; }

/* Small: 7 kolom */
.catalog-grid.view-small {
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 10px;
}
@media (max-width: 1279px) {
    .catalog-grid.view-small { grid-template-columns: repeat(6, 1fr) !important; }
}
@media (max-width: 1023px) {
    .catalog-grid.view-small { grid-template-columns: repeat(5, 1fr) !important; }
}
@media (max-width: 767px) {
    .catalog-grid.view-small { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (max-width: 479px) {
    .catalog-grid.view-small { grid-template-columns: repeat(3, 1fr) !important; }
}

/* Small mode: sangat compact */
.catalog-grid.view-small .catalog-body { padding: 7px 8px; }
.catalog-grid.view-small .catalog-title { font-size: 0.68rem; -webkit-line-clamp: 2; margin-bottom: 2px; }
.catalog-grid.view-small .catalog-desc { display: none; }
.catalog-grid.view-small .catalog-price { display: none; }
.catalog-grid.view-small .catalog-foot { padding: 0 8px 10px; }
.catalog-grid.view-small .catalog-buy { padding: 5px 6px; font-size: 0.55rem; }
.catalog-grid.view-small .katalog-card-mentor { font-size: 0.55rem; padding: 1px 5px; }
.catalog-grid.view-small .catalog-tag { font-size: 0.5rem; padding: 2px 6px; }
.catalog-grid.view-small .catalog-watermark { width: 22px; height: 22px; }
.catalog-grid.view-small .catalog-watermark .material-symbols-outlined { font-size: 12px; }

/* List mode (Public Catalog) */
.catalog-grid.view-list {
    grid-template-columns: 1fr !important;
    gap: 14px;
}

.catalog-grid.view-list .catalog-item {
    flex-direction: row !important;
    align-items: center;
    border-radius: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #161922 0%, #11131a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.catalog-grid.view-list .catalog-item:hover {
    border-color: rgba(217, 119, 6, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 25px rgba(217, 119, 6, 0.08);
}

.catalog-grid.view-list .catalog-poster {
    width: 130px;
    min-width: 130px;
    height: 130px;
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.catalog-grid.view-list .catalog-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.catalog-grid.view-list .catalog-item:hover .catalog-poster img {
    transform: scale(1.05);
}

.catalog-grid.view-list .catalog-poster::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
}

.catalog-grid.view-list .catalog-item > div:first-child {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 20px;
}

.catalog-grid.view-list .catalog-body {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.catalog-grid.view-list .catalog-title {
    font-size: 1.05rem;
    font-weight: 700;
    -webkit-line-clamp: 1;
    margin-bottom: 2px;
    color: #f8fafc;
    font-family: var(--font-heading);
}

.catalog-grid.view-list .catalog-item:hover .catalog-title {
    color: var(--color-gold);
}

.catalog-grid.view-list .catalog-desc {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    margin-bottom: 6px;
}

.catalog-grid:not(.view-list) .katalog-list-chips { display: none; }
.catalog-grid.view-list .katalog-list-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; }

.catalog-grid.view-list .catalog-foot {
    width: 220px;
    min-width: 200px;
    flex-shrink: 0;
    padding: 0 0 0 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
}

.catalog-grid.view-list .catalog-buy {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--color-gold), #b38a3e);
    color: #0d1117;
    border: none;
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
    cursor: pointer;
    transition: all 0.2s;
}

.catalog-grid.view-list .catalog-buy:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.45);
}

.catalog-grid.view-list .catalog-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-top: 0;
}

.catalog-grid.view-list .catalog-price b {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-gold);
    font-family: var(--font-heading);
    line-height: 1;
}

.catalog-grid.view-list .catalog-price .old {
    font-size: 0.75rem;
    color: #64748b;
    text-decoration: line-through;
}

@media (max-width: 860px) {
    .catalog-grid.view-list .catalog-item {
        flex-direction: column !important;
        align-items: stretch;
        gap: 14px;
        padding: 14px;
    }
    .catalog-grid.view-list .catalog-item > div:first-child {
        gap: 14px;
        align-items: flex-start;
    }
    .catalog-grid.view-list .catalog-poster {
        width: 100px;
        min-width: 100px;
        height: 100px;
    }
    .catalog-grid.view-list .catalog-foot {
        width: 100%;
        min-width: 0;
        padding: 12px 0 0 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .catalog-grid.view-list .catalog-price {
        align-items: flex-start;
    }
    .catalog-grid.view-list .catalog-buy {
        width: auto;
        padding: 9px 18px;
    }
}

/* ==========================================================================
   MEMBER CATALOG LIST CARD (ENHANCED DETAIL VIEW)
   ========================================================================== */
.member-catalog-list-card {
    background: linear-gradient(135deg, #161922 0%, #11131a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.member-catalog-list-card:hover {
    border-color: rgba(217, 119, 6, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 25px rgba(217, 119, 6, 0.08);
}

.member-catalog-list-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-gold), transparent);
    opacity: 0;
    transition: opacity 0.2s;
}

.member-catalog-list-card:hover::before {
    opacity: 1;
}

/* 1. Poster / Thumbnail */
.mcl-poster-wrap {
    position: relative;
    width: 130px;
    min-width: 130px;
    height: 130px;
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    background: #090b10;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.mcl-poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.member-catalog-list-card:hover .mcl-poster-wrap img {
    transform: scale(1.05);
}

.mcl-poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

/* 2. Middle Content */
.mcl-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.mcl-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mcl-type-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(197, 160, 89, 0.12);
    color: var(--color-gold);
    border: 1px solid rgba(197, 160, 89, 0.28);
    letter-spacing: 0.3px;
}

.mcl-mentor-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #cbd5e1;
    font-weight: 500;
}

.mcl-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    color: #facc15;
    font-weight: 700;
    background: rgba(250, 204, 21, 0.08);
    padding: 2px 7px;
    border-radius: 4px;
}

.mcl-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: #f8fafc;
    font-family: var(--font-heading);
    transition: color 0.18s;
}

.member-catalog-list-card:hover .mcl-title {
    color: var(--color-gold);
}

.mcl-desc {
    margin: 0;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mcl-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.mcl-chip {
    font-size: 0.7rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 3. Action / Price Box */
.mcl-action-box {
    width: 220px;
    min-width: 200px;
    flex-shrink: 0;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
    gap: 10px;
}

.mcl-price-label {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mcl-price-current {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-gold);
    font-family: var(--font-heading);
    line-height: 1;
}

.mcl-price-strike-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mcl-price-strike {
    font-size: 0.75rem;
    color: #64748b;
    text-decoration: line-through;
}

.mcl-discount-badge {
    font-size: 0.65rem;
    font-weight: 800;
    background: rgba(239, 68, 68, 0.16);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.32);
    border-radius: 4px;
    padding: 1px 5px;
}

.mcl-btn-buy {
    width: 100%;
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--color-gold), #b38a3e);
    color: #0d1117;
    border: none;
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
    transition: all 0.2s;
    font-family: var(--font-body);
}

.mcl-btn-buy:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.45);
}

.mcl-btn-detail {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.75rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px;
    transition: color 0.15s;
    font-family: var(--font-body);
    font-weight: 500;
}

.mcl-btn-detail:hover {
    color: var(--color-gold);
}

@media (max-width: 860px) {
    .member-catalog-list-card {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 14px;
    }
    .mcl-poster-wrap {
        width: 100px;
        min-width: 100px;
        height: 100px;
    }
    .mcl-action-box {
        width: 100%;
        min-width: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 12px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
    .mcl-action-box > div:first-child {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .mcl-btn-buy {
        width: auto;
        padding: 9px 18px;
    }
    .mcl-btn-detail {
        display: none;
    }
}

/* Card Mentor tag */
.katalog-card-mentor {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: var(--color-gold);
    background: rgba(197, 160, 89, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

/* Empty State */
.katalog-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 70px 20px;
    background: #181511;
    border: 1px dashed rgba(197, 160, 89, 0.25);
    border-radius: 14px;
}

.katalog-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.1);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.katalog-empty-icon .material-symbols-outlined {
    font-size: 32px;
}

.katalog-empty-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.katalog-empty-desc {
    font-size: 0.88rem;
    color: #9ca3af;
    max-width: 480px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

/* Consult Section */
.katalog-consult-section {
    margin-top: 60px;
}

.katalog-consult-card {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.12) 0%, rgba(20, 18, 14, 0.9) 100%);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 16px;
    padding: 36px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.katalog-consult-body {
    flex: 1;
    min-width: 280px;
}

.katalog-consult-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.katalog-consult-body h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.katalog-consult-body p {
    font-size: 0.88rem;
    color: #d1d5db;
    margin: 0;
    line-height: 1.6;
}

.katalog-consult-action {
    flex-shrink: 0;
}

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

/* ==========================================================================
   ADMIN DASHBOARD - KELOLA KATALOG & KELAS STYLES
   ========================================================================== */
.admin-preview-frame {
    background: radial-gradient(circle at top center, rgba(197, 160, 89, 0.08) 0%, rgba(15, 15, 18, 0.98) 70%);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 14px;
    padding: 24px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}
.admin-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold);
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.admin-cat-manager-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 14px;
}
.admin-cat-manager-card {
    background: rgba(25, 25, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.2s ease;
}
.admin-cat-manager-card:hover {
    border-color: rgba(197, 160, 89, 0.4);
    background: rgba(30, 30, 36, 0.95);
    transform: translateY(-2px);
}
.admin-cat-manager-card.disabled {
    opacity: 0.55;
    background: rgba(20, 20, 24, 0.5);
    border-color: rgba(255, 255, 255, 0.04);
}
.admin-cat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.admin-cat-icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(197, 160, 89, 0.15);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.admin-cat-key-name {
    font-size: 0.78rem;
    color: var(--color-gray);
    font-family: monospace;
}
.admin-cat-count-pill {
    background: rgba(255, 255, 255, 0.08);
    color: #e4e4e7;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Switch Toggle Component */
.switch-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    vertical-align: middle;
}

.switch-toggle input {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
    outline: none !important;
    border: none !important;
    background: transparent !important;
}

.switch-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #27272a;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
    box-sizing: border-box;
}

.switch-toggle .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: #71717a;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.switch-toggle input:checked + .slider {
    background-color: var(--color-gold, #c5a880);
    border-color: var(--color-gold, #c5a880);
}

.switch-toggle input:checked + .slider:before {
    transform: translateX(20px);
    background-color: #18181b;
}

.switch-toggle:hover .slider {
    border-color: rgba(255, 255, 255, 0.35);
}

.switch-toggle input:checked:hover + .slider {
    filter: brightness(1.1);
}

.admin-katalog-prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.admin-katalog-prod-card {
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}
.admin-katalog-prod-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.admin-katalog-prod-thumb {
    width: 100%;
    height: 135px;
    object-fit: cover;
    background: #27272a;
    display: block;
}
.admin-katalog-prod-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.admin-katalog-prod-tags {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 8px;
}
.admin-katalog-prod-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.admin-katalog-prod-mentor {
    font-size: 0.75rem;
    color: var(--color-gray);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}
.admin-katalog-prod-foot {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.admin-katalog-prod-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-gold);
}

/* ==========================================
   STAFF MANAGEMENT - MODERN MINIMALIST HERO
   ========================================== */
.staff-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
}
.staff-header-info {
    display: flex;
    align-items: center;
    gap: 14px;
}
.staff-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.28);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.staff-header-icon .material-symbols-outlined {
    font-size: 24px;
}
.staff-header-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    font-family: var(--font-heading);
    line-height: 1.25;
}
.staff-header-sub {
    font-size: 0.82rem;
    color: var(--color-gray);
    margin: 4px 0 0;
    line-height: 1.4;
}
.btn-staff-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 10px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #dfba72 0%, #c5a059 100%);
    color: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(197, 160, 89, 0.25);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-staff-add:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
    filter: brightness(1.06);
}
.btn-staff-add:active {
    transform: translateY(0);
}

/* Staff Quick Stat Cards Grid */
.staff-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
@media (max-width: 900px) {
    .staff-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 12px;
    }
}
@media (max-width: 540px) {
    .staff-stats-grid {
        grid-template-columns: 1fr;
    }
}

.staff-card {
    position: relative;
    background: linear-gradient(145deg, rgba(26, 26, 32, 0.85) 0%, rgba(18, 18, 22, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    user-select: none;
}
.staff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0.8;
    transition: opacity 0.25s ease;
}
.staff-card.mentor::before {
    background: linear-gradient(90deg, #c084fc 0%, rgba(192, 132, 252, 0) 80%);
}
.staff-card.cs::before {
    background: linear-gradient(90deg, #10b981 0%, rgba(16, 185, 129, 0) 80%);
}
.staff-card.admin::before {
    background: linear-gradient(90deg, var(--color-gold) 0%, rgba(197, 160, 89, 0) 80%);
}

.staff-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 26px -6px rgba(0, 0, 0, 0.5);
}
.staff-card.mentor:hover {
    border-color: rgba(192, 132, 252, 0.4);
    box-shadow: 0 10px 26px -6px rgba(0, 0, 0, 0.5), 0 0 18px rgba(192, 132, 252, 0.12);
}
.staff-card.cs:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 10px 26px -6px rgba(0, 0, 0, 0.5), 0 0 18px rgba(16, 185, 129, 0.12);
}
.staff-card.admin:hover {
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 10px 26px -6px rgba(0, 0, 0, 0.5), 0 0 18px rgba(197, 160, 89, 0.12);
}

.staff-card.active {
    background: linear-gradient(145deg, rgba(32, 32, 40, 0.95) 0%, rgba(22, 22, 28, 0.98) 100%);
}
.staff-card.mentor.active {
    border-color: rgba(192, 132, 252, 0.65);
    box-shadow: 0 8px 24px -4px rgba(192, 132, 252, 0.22);
}
.staff-card.cs.active {
    border-color: rgba(16, 185, 129, 0.65);
    box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.22);
}
.staff-card.admin.active {
    border-color: rgba(197, 160, 89, 0.65);
    box-shadow: 0 8px 24px -4px rgba(197, 160, 89, 0.22);
}

.staff-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.staff-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.staff-card.mentor .staff-card-icon {
    background: rgba(192, 132, 252, 0.12);
    border: 1px solid rgba(192, 132, 252, 0.25);
    color: #c084fc;
}
.staff-card.cs .staff-card-icon {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #10b981;
}
.staff-card.admin .staff-card-icon {
    background: rgba(197, 160, 89, 0.14);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--color-gold);
}
.staff-card-icon .material-symbols-outlined {
    font-size: 20px;
}

.staff-card-badge {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.staff-card.mentor .staff-card-badge {
    background: rgba(192, 132, 252, 0.14);
    color: #d8b4fe;
    border: 1px solid rgba(192, 132, 252, 0.28);
}
.staff-card.cs .staff-card-badge {
    background: rgba(16, 185, 129, 0.14);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.28);
}
.staff-card.admin .staff-card-badge {
    background: rgba(197, 160, 89, 0.15);
    color: #dfba72;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.staff-card-meta {
    margin-top: 14px;
}
.staff-card-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.staff-card-val-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.staff-card-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
}
.staff-card-sublabel {
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748b;
}
.staff-card-desc {
    font-size: 0.76rem;
    color: #808b96;
    line-height: 1.45;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   KUPON & KOL / AFFILIATE MANAGEMENT STYLES
   ========================================================================== */
.badge-kol {
    background: rgba(168, 85, 247, 0.15) !important;
    color: #c084fc !important;
    border: 1px solid rgba(168, 85, 247, 0.35) !important;
}

.badge-promo {
    background: rgba(56, 189, 248, 0.15) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
}

.kupon-code-pill {
    font-family: var(--font-mono, monospace);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-gold);
    background: rgba(234, 179, 8, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(234, 179, 8, 0.3);
    letter-spacing: 1px;
    display: inline-block;
}

.checkout-applied-coupon {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 14px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #10b981;
    animation: fadeIn 0.25s ease;
}

/* Kupon Desktop vs Mobile Views */
.kupon-desktop-view {
    display: block;
}
.kupon-mobile-view {
    display: none;
}

/* Kupon Table Styling (Desktop) */
.kupon-table-container {
    background: var(--color-card-bg, #141416);
    border: 1px solid var(--color-border, rgba(255, 255, 255, 0.08));
    border-radius: 14px;
    overflow-x: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.kupon-table-head {
    min-width: 1100px;
    display: grid;
    grid-template-columns: 1.8fr 1.6fr 1.3fr 1.2fr 1.6fr 1.2fr 1.1fr 0.9fr 0.9fr;
    gap: 12px;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gray, #94a3b8);
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--color-border, rgba(255, 255, 255, 0.08));
}

.kupon-row {
    min-width: 1100px;
    display: grid;
    grid-template-columns: 1.8fr 1.6fr 1.3fr 1.2fr 1.6fr 1.2fr 1.1fr 0.9fr 0.9fr;
    gap: 12px;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s ease;
}
.kupon-row:last-child {
    border-bottom: none;
}
.kupon-row:hover {
    background: rgba(197, 160, 89, 0.03);
}

.kupon-code-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.kupon-code-pill {
    font-family: var(--font-mono, monospace);
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--color-gold, #c5a059);
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.35);
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 1px;
    display: inline-block;
}

.kupon-catatan-tag {
    font-size: 0.74rem;
    color: #94a3b8;
    line-height: 1.35;
    margin-top: 1px;
    max-width: 220px;
}

.kupon-kol-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}

.kupon-kol-name {
    font-weight: 700;
    color: #f8fafc;
    font-size: 0.92rem;
}

.kupon-kol-wa {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    padding: 2px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    width: fit-content;
}
.kupon-kol-wa:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

.kupon-internal-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--color-gray, #94a3b8);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 9px;
    border-radius: 6px;
    width: fit-content;
}

.kupon-diskon-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.kupon-diskon-val {
    font-size: 0.96rem;
    font-weight: 800;
    color: #ffffff;
}

.kupon-scope-pill {
    font-size: 0.72rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-block;
}

.kupon-komisi-rate {
    font-size: 0.92rem;
    font-weight: 700;
    color: #c084fc;
    display: flex;
    align-items: baseline;
    gap: 3px;
}
.kupon-komisi-rate small {
    font-size: 0.75rem;
    color: var(--color-gray, #94a3b8);
    font-weight: 400;
}

.kupon-usage-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}

.kupon-usage-top {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
}
.kupon-usage-count {
    font-weight: 700;
    color: #ffffff;
}
.kupon-kuota-tag {
    font-size: 0.72rem;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
}
.kupon-kuota-tag.limited {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.kupon-omzet-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
}
.kupon-omzet-lbl {
    font-size: 0.7rem;
    color: var(--color-gray, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.kupon-omzet-val {
    font-weight: 700;
    color: var(--color-gold, #c5a059);
}

.kupon-total-komisi-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}
.kupon-total-komisi-val {
    font-size: 1rem;
    font-weight: 800;
    color: #c084fc;
    letter-spacing: 0.2px;
}
.kupon-total-komisi-sub {
    font-size: 0.7rem;
    color: var(--color-gray, #94a3b8);
}

/* Stat Cards on Kupon View */
.stats-grid.kupon-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 850px) {
    .kupon-desktop-view {
        display: none !important;
    }
    .kupon-mobile-view {
        display: flex !important;
        flex-direction: column;
        gap: 14px;
    }
    .stats-grid.kupon-stats {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .stats-grid.kupon-stats .stat-card {
        padding: 13px 14px !important;
        border-radius: 12px !important;
    }
    .stats-grid.kupon-stats .stat-card > div:nth-child(2) {
        font-size: 1.35rem !important;
    }
}

@media (max-width: 480px) {
    .stats-grid.kupon-stats {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .stats-grid.kupon-stats .stat-card {
        padding: 10px 12px !important;
    }
    .stats-grid.kupon-stats .stat-card > div:nth-child(2) {
        font-size: 1.15rem !important;
    }
    .stats-grid.kupon-stats .stat-card small {
        font-size: 0.7rem !important;
    }
}

/* Kupon Mobile Structured Card */
.kupon-mobile-card {
    background: var(--color-card-bg, #141416);
    border: 1px solid var(--color-border, rgba(255, 255, 255, 0.08));
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.kupon-mobile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-gold, #c5a059);
    opacity: 0.8;
}

.kmc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.kmc-kode-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.kmc-kode {
    font-family: var(--font-mono, monospace);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-gold);
    background: rgba(234, 179, 8, 0.12);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(234, 179, 8, 0.35);
    letter-spacing: 1.2px;
}

.kmc-status-btn {
    cursor: pointer;
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}
.kmc-status-btn:active {
    opacity: 0.7;
}

.kmc-catatan {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.45;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 2px solid var(--color-gold);
}

.kmc-info-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.kmc-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
}

.kmc-info-row:last-child {
    border-bottom: none;
}

.kmc-label {
    color: var(--color-gray, #94a3b8);
    font-size: 0.78rem;
    font-weight: 500;
    flex-shrink: 0;
    min-width: 95px;
    text-align: left;
}

.kmc-val {
    text-align: right;
    color: #f1f5f9;
}

.kmc-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    color: #25d366;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.25);
    padding: 2px 8px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 4px;
    font-weight: 600;
}

.kmc-komisi-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.14), rgba(168, 85, 247, 0.04));
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 10px;
    padding: 10px 14px;
    margin: 2px 0;
}

.kmc-komisi-lbl {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #c084fc;
}

.kmc-komisi-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #f3e8ff;
}

.kmc-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.kmc-btn-salin {
    flex: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.kmc-btn-icons {
    display: flex;
    gap: 6px;
}

.kmc-btn-icons .btn-mini {
    padding: 9px 12px !important;
    border-radius: 8px !important;
}

/* ==========================================================================
   LIVE MENTORING & ACCESS MANAGEMENT COMPONENT STYLES
   ========================================================================== */
.mentoring-hero-banner {
    position: relative;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.22) 0%, rgba(6, 78, 59, 0.28) 50%, rgba(15, 23, 42, 0.75) 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 8px 32px rgba(5, 150, 105, 0.16);
    backdrop-filter: blur(10px);
}

.mentoring-program-card {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mentoring-program-card:hover {
    border-color: rgba(16, 185, 129, 0.55) !important;
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.12) !important;
}

.m-sess-pill {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.m-sess-pill:hover {
    border-color: rgba(16, 185, 129, 0.6) !important;
    background: rgba(16, 185, 129, 0.12) !important;
    color: #a7f3d0 !important;
    transform: translateY(-1px);
}

.m-sess-pill.active {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.25) !important;
    color: #34d399 !important;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.22);
}

.m-sess-pill:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .mentoring-hero-banner {
        padding: 18px 16px !important;
    }
    .mentoring-hero-banner h2 {
        font-size: 1.35rem !important;
    }
    .mentoring-program-card {
        padding: 16px !important;
    }
}