:root {
    /* DEFAULT: Dark Mode — Classic Dark Grey (Zinc) + Trusted Blue */
    --bg-color: #121214;
    --card-bg: #1e1e22;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --border: #2e3035;
    --border-hover: #2563eb;
    --glass-border: #2e3035;
    --card-border-color: rgba(255, 255, 255, 0.08);
    
    /* Variables for popups and components */
    --input-bg: #151618;
    --input-border: #2e3035;
    --input-focus-border: #2563eb;
    --btn-secondary-bg: #222428;
    --btn-secondary-border: #2e3035;
    --btn-secondary-text: #f3f4f6;
    --btn-secondary-hover-bg: #2d3036;
    
    --success-bg: rgba(16, 185, 129, 0.1);
    --success-border: #059669;
    --success-text: #10b981;
    
    --danger-bg: rgba(239, 68, 68, 0.1);
    --danger-border: #dc2626;
    --danger-text: #ef4444;
    
    --info-bg: rgba(37, 99, 235, 0.1);
    --info-border: #1d4ed8;
    --info-text: #60a5fa;

    --stepper-bg: rgba(37, 99, 235, 0.05);
    --stepper-border: #1d4ed8;
    --stepper-text: #60a5fa;

    --menu-hover-bg: #222428;
    --menu-hover-border: #2e3035;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 10px 24px rgba(0, 0, 0, 0.45);

    /* Classic Corporate Accents */
    --brand-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --text-gradient: linear-gradient(120deg, #f3f4f6, #60a5fa);
    --glass-bg: #1e1e22;
    --shadow-glow: 0 0 0 1px var(--primary);
}

body.light-mode {
    /* Light Mode — Classic Light Grey (Zinc) + Corporate Blue */
    --bg-color: #f1f5f9;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --border: #e2e8f0;
    --border-hover: #1d4ed8;
    --glass-border: #e2e8f0;
    --card-border-color: rgba(15, 23, 42, 0.08);

    /* Variables for popups and components */
    --input-bg: #ffffff;
    --input-border: #e2e8f0;
    --input-focus-border: #2563eb;
    --btn-secondary-bg: #f8fafc;
    --btn-secondary-border: #e2e8f0;
    --btn-secondary-text: #0f172a;
    --btn-secondary-hover-bg: #e2e8f0;
    
    --success-bg: #ecfdf5;
    --success-border: #a7f3d0;
    --success-text: #059669;
    
    --danger-bg: #fef2f2;
    --danger-border: #fecaca;
    --danger-text: #dc2626;
    
    --info-bg: #eff6ff;
    --info-border: #bfdbfe;
    --info-text: #1d4ed8;

    --stepper-bg: #eff6ff;
    --stepper-border: #bfdbfe;
    --stepper-text: #1d4ed8;

    --menu-hover-bg: #e5e7eb;
    --menu-hover-border: #cbd5e1;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    --card-shadow-hover: 0 10px 24px rgba(0, 0, 0, 0.08);
    
    /* Clean Light Accents */
    --brand-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --text-gradient: linear-gradient(120deg, #111827, #1d4ed8);
    --glass-bg: #ffffff;
    --shadow-glow: 0 0 0 1px var(--primary);
}

body.light-mode #bg-canvas {
    display: none !important;
}

#bg-canvas {
    display: none !important;
}

/* CUSTOM PREMIUM SCROLLBAR (DESKTOP ONLY) */
@media (min-width: 1024px) {
    /* Firefox Support */
    html {
        scrollbar-width: thin;
        scrollbar-color: rgba(37, 99, 235, 0.5) rgba(9, 10, 12, 0.4);
    }

    /* Chrome, Edge, Safari, Opera Support */
    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    ::-webkit-scrollbar-track {
        background: rgba(5, 6, 8, 0.6);
        border-left: 1px solid var(--glass-border);
    }

    ::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
        border-radius: 10px;
        border: 2px solid var(--bg-color);
    }

    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
    }

    /* Optimized Sharp borders for desktop cards */
    .product-card:not(.dynamic-jb-card),
    .border-glow-card:not(.dynamic-jb-card) {
        border: 1px solid var(--border) !important;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent !important; /* Eliminate ugly blue highlight box on mobile tap */
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
}

.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

/* MOBILE BRAND (Hidden on Desktop) */
.mobile-brand {
    display: block;
    margin-bottom: 20px;
}
.mobile-brand .brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* SIDEBAR - Desktop */
.sidebar {
    width: 250px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: 1px solid var(--glass-border);
    display: none; /* hidden on mobile */
    flex-direction: column;
    padding: 24px 18px;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 100;
}

.logo-container {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.brand-name {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* FLOWING MENU (SIDEBAR) */
.desktop-nav {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    gap: 6px;
}

.menu__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
    height: 48px;
    border: 0.8px solid var(--border);
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.menu__item:hover {
    background: var(--menu-hover-bg);
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.menu__item-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 16px;
    height: 100%;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
    transition: color 0.2s ease;
    letter-spacing: 0.2px;
}

.menu__item:hover .menu__item-link {
    color: var(--text-main);
}

.marquee {
    display: none !important;
}

.menu__item.active {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.18);
    transform: translateX(4px);
}

body.light-mode .menu__item.active {
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.12);
}

.menu__item.active .menu__item-link {
    color: #ffffff !important;
    font-weight: 600;
}

/* MAIN CONTENT */
.main-content {
    flex: 1;
    padding: 30px 30px 90px 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* HEADER SEARCH & CHIPS */
.top-header {
    margin-bottom: 30px;
}

.search-bar {
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 1px solid var(--border);
    border-radius: 14px;
    outline: none;
    font-size: 0.95rem;
    background-color: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-main);
    margin-bottom: 10px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-bar input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-bar::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* CLASSIC CHIPS / PILLS CATEGORY NAVIGATION */
.icon-btns {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 4px;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
.icon-btns::-webkit-scrollbar {
    display: none; /* Chrome, Edge, Safari, Opera */
}

.icon-btn {
    background-color: var(--card-bg);
    outline: none;
    position: relative;
    height: 38px;
    width: auto;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    -webkit-tap-highlight-color: transparent;
}

.icon-btn__back {
    display: none !important;
}

.icon-btn__front {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0;
    position: static;
    width: auto;
    height: auto;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.icon-btn__icon {
    margin: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.icon-btn__icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor !important;
    color: inherit;
}

.icon-btn__label {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    text-align: left;
    color: inherit;
    opacity: 1;
    position: static;
    transform: none !important;
}

.icon-btn:hover {
    background-color: var(--menu-hover-bg);
    border-color: var(--border-hover);
    color: var(--text-main);
    transform: translateY(-2px);
}

/* Active state for selected category */
.icon-btn--active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2) !important;
}

body.light-mode .icon-btn--active {
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.12) !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* View pages consistent padding */
.page-view {
    padding-bottom: 20px;
}

/* Non-beranda views butuh padding atas */
#view-sosmed,
#view-carabeli,
#view-checkout {
    padding-top: 10px;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 20px;
    position: relative;
    isolation: isolate;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.2s ease;
    box-shadow: var(--card-shadow);
}

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

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 0.8px solid var(--border);
    gap: 10px;
}

/* Override btn-primary width:100% untuk tombol kecil di kartu */
.card-footer .btn-primary {
    width: auto !important;
    flex-shrink: 0;
    padding: 9px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 8px;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* BORDER GLOW CARD (React Bits Variant simplified to Classic) */
.border-glow-card {
  position: relative;
  border-radius: 10px;
  isolation: isolate;
  display: grid;
  background: var(--card-bg);
  overflow: visible;
  border: 1px solid var(--border);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.2s ease;
  box-shadow: var(--card-shadow);
}

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

.border-glow-card::before,
.border-glow-card::after,
.border-glow-card > .edge-light {
    display: none !important;
}

.product-card:not(.dynamic-jb-card),
.border-glow-card:not(.dynamic-jb-card) {
    border: 1px solid var(--border) !important;
}


.border-glow-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.app-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #10b981, #047857);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-weight: bold;
    font-size: 1.3rem;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3);
}

.app-icon-img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.app-title h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}
.app-title p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.card-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 1;
}
.card-price .price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.card-price .price-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.card-price br {
    display: none;
}

.payment-selection {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.payment-selection h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    font-weight: 500;
}

.subtotal-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    padding-top: 15px;
    border-top: 1px dashed var(--border);
}

.subtotal-price {
    color: #60a5fa;
    font-size: 1.2rem;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--brand-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.15), 0 4px 12px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.15), 0 6px 16px rgba(37, 99, 235, 0.35);
}
.btn-primary:disabled {
    background-color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* --- VIEW STYLES --- */
.view-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-main);
}

.guide-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.guide-step {
    display: flex;
    gap: 24px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    border-radius: 20px;
    align-items: center;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

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

.guide-step::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.step-num {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.guide-step:hover .step-num {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.step-desc h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.guide-step:hover .step-desc h4 {
    color: #60a5fa;
}

.step-desc p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* SMM BOOSTER UI */
.smm-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.smm-platforms {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.smm-platform-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
}

.smm-platform-btn:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color:  var(--primary);
    color: var(--text-main);
}

.smm-platform-btn.active {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.15);
}

.smm-card {
    padding: 0;
}

.smm-form-group {
    margin-bottom: 20px;
}

.smm-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.smm-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.smm-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.smm-input::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.smm-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.smm-service-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 500;
}

.smm-service-btn:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--text-main);
}

.smm-service-btn.active {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.smm-subtotal-card {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.smm-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.smm-subtotal-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.smm-subtotal-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #60a5fa;
}

.smm-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

/* Amount Header row (label + harga per unit) */
.smm-amount-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.smm-price-per-unit {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--primary);
    border-radius: 6px;
    padding: 3px 9px;
    letter-spacing: 0.2px;
}

/* Quick Preset Buttons */
.smm-presets {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.smm-preset-btn {
    flex: 1;
    min-width: 56px;
    padding: 7px 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.2px;
}

.smm-preset-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color:  var(--primary);
    color: var(--primary);
}

.smm-preset-btn.active {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

/* Subtotal breakdown */
.smm-breakdown {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--primary);
}

.smm-breakdown span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'Inter', monospace;
    letter-spacing: 0.2px;
}

/* Order note below button */
.smm-order-note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.smm-order-note svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #2563eb;
    opacity: 0.6;
}

/* Spin animation untuk loading button */
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* CHECKOUT VIEW STYLES (FloydApps Style) */
.checkout-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.checkout-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 992px) {
    .checkout-container {
        flex-direction: row;
        align-items: flex-start;
    }
    .checkout-main {
        flex: 1.5;
    }
    .checkout-side {
        flex: 1;
        position: sticky;
        top: 20px;
    }
}

.product-summary-card, .checkout-form, .payment-method-card {
    margin-bottom: 20px;
}

.selected-product {
    display: flex;
    align-items: center;
    gap: 20px;
}

#checkout-app-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.selected-info h3 {
    margin: 0 0 4px 0;
    font-size: 1.2rem;
    color: var(--text-main);
}

.selected-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.selected-price {
    margin-left: auto;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.form-title {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-form textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-main);
    resize: vertical;
    outline: none;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.payment-option {
    cursor: pointer;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s;
}

.payment-option.active {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
}

.option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-name {
    display: block;
    font-weight: 600;
    color: var(--text-main);
}

.option-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.option-check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    position: relative;
}

.payment-option.active .option-check {
    border-color: var(--primary);
    background: var(--primary);
}

.payment-option.active .option-check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.order-total {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.total-row hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 10px 0;
}

.total-row.final {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
}

.btn-pay-now {
    height: 56px;
    font-size: 1.1rem;
}

/* Info keterangan di bawah tombol Bayar Sekarang */
.checkout-info-note {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid var(--primary);
    border-radius: 10px;
}

.checkout-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.checkout-info-item svg {
    flex-shrink: 0;
    color: var(--primary);
    opacity: 0.8;
}

/* Label ikon kategori selalu tampil */
.icon-btn__label--always {
    opacity: 1 !important;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.icon-btn--active .icon-btn__label--always {
    color: #ffffff !important;
}

.icon-btn:hover .icon-btn__label--always {
    color: var(--text-main);
}

.input-with-icon {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.input-with-icon:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.input-prefix {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    background: rgba(255,255,255,0.03);
    border-right: 1px solid var(--border);
    color: var(--text-muted);
    font-weight: 600;
    height: 52px;
    user-select: none;
}

.input-prefix svg {
    color: #25D366; /* WhatsApp Green */
}

.input-with-icon input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    height: 52px;
    padding: 0 16px;
    color: var(--text-main);
    font-size: 1rem;
    outline: none !important;
    box-shadow: none !important;
}

.checkout-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-main);
    outline: none;
    transition: all 0.2s;
}

.checkout-input:focus {
    border-color: var(--primary);
    background: rgba(0,0,0,0.3);
}

.variant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.variant-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.variant-btn:hover {
    background: rgba(255,255,255,0.06);
    border-color:  var(--border);
}

.variant-btn.active {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary);
}

.variant-btn.disabled {
    background: rgba(255, 255, 255, 0.01) !important;
    border-color:  var(--border) !important;
    color: rgba(148, 163, 184, 0.4) !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

.variant-btn.disabled .variant-name {
    color: rgba(148, 163, 184, 0.4) !important;
}

.variant-btn.disabled .variant-price {
    color: rgba(148, 163, 184, 0.3) !important;
}

.variant-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.variant-price {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.security-note {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 8px;
    border: 1px solid var(--success-border);
}

.security-note svg {
    flex-shrink: 0;
    color: #22c55e;
    margin-top: 2px;
}

.security-note span {
    font-size: 0.75rem;
    color: #86efac;
    line-height: 1.4;
}

.checkout-form .form-group {
    margin-bottom: 24px; /* Lebih lebar jaraknya */
}

.checkout-form label {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-form label svg {
    color: var(--primary);
    opacity: 0.8;
}


.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: #050608;
    color: white;
    outline: none;
}

/* SHINY TEXT EFFECT */
.shiny-text {
    display: inline-block;
    background: linear-gradient(
        120deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.4) 35%, 
        rgba(255, 255, 255, 1) 50%, 
        rgba(255, 255, 255, 0.4) 65%, 
        rgba(255, 255, 255, 0.4) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

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

/* BOTTOM NAVIGATION (Mobile Only) - Premium Redesign */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    z-index: 100;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.15);
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 6px 16px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
    letter-spacing: 0.3px;
}

.bottom-nav .nav-item svg {
    transition: all 0.2s ease;
}

.bottom-nav .nav-item.active {
    color: var(--primary);
}

.bottom-nav .nav-item.active svg {
    filter: drop-shadow(0 0 6px var(--primary));
}

.bottom-nav .nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: 0 0 4px 4px;
}

/* RESPONSIVE DESKTOP */
/* --- BORDER GLOW EFFECT (Premium) --- */
.border-glow-card {
  --edge-proximity: 0;
  --cursor-angle: 45deg;
  --edge-sensitivity: 30;
  --color-sensitivity: 50;
  --glow-padding: 20px;
  --cone-spread: 25;
  --card-bg: var(--card-bg);
  --fill-opacity: 0.3;

  position: relative;
  isolation: isolate;
  transform: translate3d(0, 0, 0.01px);
  overflow: visible;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--card-shadow);
}

.border-glow-card::before,
.border-glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity 0.5s ease;
  z-index: -1;
  display: none !important;
}

/* colored mesh-gradient border */
.border-glow-card::before {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card-bg) 0 100%) padding-box,
    radial-gradient(at 80% 55%, var(--primary) 0px, transparent 50%) border-box,
    radial-gradient(at 8% 6%, #2563eb 0px, transparent 50%) border-box,
    linear-gradient(var(--primary) 0 100%) border-box;

  mask-image: conic-gradient(from var(--cursor-angle) at center, black 25%, transparent 40%, transparent 60%, black 75%);
}

.border-glow-inner {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  background-color: var(--card-bg);
  border-radius: inherit;
  padding: 24px;
  height: 100%;
}

/* FLOATING WA BUTTON (Premium) */
.floating-ws {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    text-decoration: none;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 
        0 4px 15px rgba(37, 211, 102, 0.4),
        0 0 30px rgba(37, 211, 102, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-ws::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--border);
    animation: wa-pulse 2s ease-in-out infinite;
}

.floating-ws::after {
    content: 'Chat Admin';
    position: absolute;
    right: 72px;
    background: var(--card-bg);
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.floating-ws:hover {
    transform: scale(1.1);
    box-shadow: 
        0 6px 25px rgba(37, 211, 102, 0.5),
        0 0 50px rgba(37, 211, 102, 0.2);
}

.floating-ws:hover::after {
    opacity: 1;
    transform: translateX(0);
}

@keyframes wa-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@media (min-width: 768px) {
    .sidebar {
        display: flex;
    }
    .mobile-brand {
        display: none;
    }
    .bottom-nav {
        display: none;
    }
    .floating-ws {
        bottom: 30px;
    }
    #fab-ai-btn {
        bottom: 105px;
    }
    #panel-ai-chat {
        bottom: 170px;
    }
    .main-content {
        padding: 40px 40px 40px 40px;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 14px !important;
    }
    .product-card {
        padding: 15px !important;
    }
    .border-glow-card {
        padding: 0 !important;
    }
    .card-header {
        gap: 10px !important;
        margin-bottom: 12px !important;
    }
    .app-icon-img {
        width: 44px !important;
        height: 44px !important;
        border-radius: 10px !important;
    }
    .app-title h3 {
        font-size: 0.95rem !important;
    }
    .app-title p {
        font-size: 0.75rem !important;
    }
    .card-footer {
        margin-top: auto !important;
        padding-top: 10px !important;
        gap: 8px !important;
    }
    .card-price .price {
        font-size: 0.85rem !important;
    }
    .card-price .price-sub {
        font-size: 0.62rem !important;
    }
    .card-footer .btn-primary {
        padding: 7px 12px !important;
        font-size: 0.75rem !important;
        border-radius: 6px !important;
    }
    .logo-container {
        border-right: 4px solid var(--primary);
        padding-right: 15px;
        display: inline-block;
    }
    .fab-container {
        left: 270px !important;
        bottom: 30px !important;
    }
    .fab-panel {
        left: 270px !important;
        bottom: 100px !important;
        transform-origin: bottom left !important;
    }
    .product-card:not(.dynamic-jb-card),
    .border-glow-card:not(.dynamic-jb-card) {
        border-width: 1px !important;
    }

    /* Center category navbar on desktop & tablet viewports */
    .icon-btns {
        justify-content: center !important;
        flex-wrap: wrap !important;
        overflow-x: visible !important;
        padding: 8px 0;
    }
    .category-scroll-btn {
        display: none !important;
    }
}

/* ==============================
   MOBILE RESPONSIVE (< 768px)
   ============================== */
@media (max-width: 767px) {
    /* Layout Utama & Anti Horizontal Overflow */
    html, body {
        max-width: 100% !important;
        overflow-x: hidden !important;
        width: 100% !important;
    }
    .layout-wrapper {
        display: block !important; /* Neutralize flexbox to prevent child elements stretching the parent layout */
        max-width: 100% !important;
        overflow-x: hidden !important;
        width: 100% !important;
    }

    /* Prevent mobile auto-zoom on input focus */
    input, select, textarea, button, .smm-input, .smm-input-premium {
        font-size: 16px !important;
    }
    .main-content {
        padding: 76px 16px 100px 16px !important; /* Jarak atas buat fixed top brand, bawah buat bottom nav */
        width: auto !important; /* Let browser compute auto width natively within block boundaries */
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Lock inner overflow to prevent layout bleeding */
        margin: 0 !important;
    }
    
    /* Mobile Brand - Fixed Top Header Navbar */
    .mobile-brand {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 60px !important;
        background: var(--glass-bg) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid var(--glass-border) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        padding: 0 16px !important;
        margin-bottom: 0 !important;
        z-index: 1010 !important; /* Tinggi di atas konten lain */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    }
    .mobile-brand .brand-name {
        font-size: 1.25rem !important;
        font-weight: 800 !important;
        margin: 0 !important;
        flex: 1 !important;
        background: var(--text-gradient) !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        letter-spacing: -0.02em !important;
    }
    .mobile-brand .live-status {
        margin-left: auto !important;
        margin-top: 0 !important;
        padding: 4px 10px !important;
    }

    /* Bottom Nav Fluid & Responsive Overrides */
    .bottom-nav {
        justify-content: space-around !important;
        padding: 6px 4px max(6px, env(safe-area-inset-bottom)) 4px !important;
    }
    .bottom-nav .nav-item {
        flex: 1 !important;
        min-width: 0 !important;
        padding: 6px 0 !important;
        margin: 0 2px !important;
        font-size: 0.63rem !important;
        gap: 3px !important;
        text-align: center !important;
    }
    .bottom-nav .nav-item svg {
        width: 19px !important;
        height: 19px !important;
    }

    /* Search Bar */
    .search-bar input {
        font-size: 0.9rem;
        padding: 12px 16px 12px 44px;
    }

    /* Category Pills - horizontal scrollable chips for mobile */
    .icon-btns {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: visible;
        padding: 8px 16px 12px 16px;
        gap: 8px !important;
        scrollbar-width: none; /* Hide for Firefox */
        -ms-overflow-style: none; /* Hide for IE/Edge */
        width: auto !important;
        margin-left: -16px !important;
        margin-right: -16px !important;
    }
    .icon-btns::-webkit-scrollbar {
        display: none !important; /* Hide for Chrome, Safari, Opera */
    }
    .icon-btn {
        height: 32px !important;
        width: auto !important;
        flex-shrink: 0;
        padding: 0 12px !important;
    }
    .icon-btn__label {
        font-size: 0.78rem !important;
    }

    /* Product Grid - 1 kolom penuh di mobile */
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        width: auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    .product-card {
        padding: 16px !important;
        width: auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 0 14px 0 !important;
    }
    .app-icon-img {
        width: 48px;
        height: 48px;
    }
    .app-title h3 {
        font-size: 1rem;
    }
    .card-price .price {
        font-size: 0.9rem;
    }
    .card-footer .btn-primary {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* Checkout View - stack vertikal */
    .checkout-header {
        padding: 10px 0 16px;
    }
    .checkout-container {
        flex-direction: column;
        gap: 14px;
    }
    .checkout-main, .checkout-side {
        width: 100%;
    }
    .border-glow-card {
        padding: 0 !important;
    }
    .border-glow-inner {
        padding: 16px !important;
    }
    .selected-product {
        gap: 12px;
    }
    #checkout-app-icon {
        width: 48px;
        height: 48px;
    }
    .selected-info h3 {
        font-size: 1rem;
    }
    .selected-price {
        font-size: 1rem;
    }
    .variant-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .variant-btn {
        padding: 10px;
    }
    .variant-name {
        font-size: 0.8rem;
    }
    .btn-pay-now {
        height: 50px;
        font-size: 1rem;
    }

    /* SMM Booster & Jastip Grid */
    .smm-split-container {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    #view-sosmed .view-title,
    #view-jastip .view-title,
    #view-carabeli .view-title {
        text-align: center !important;
        justify-content: center !important;
        display: flex !important;
        align-items: center !important;
    }
    #view-sosmed .smm-subtitle,
    #view-jastip .smm-subtitle,
    #view-carabeli .smm-subtitle {
        text-align: center !important;
        max-width: 550px !important;
        margin: 0 auto 24px auto !important;
    }
    .smm-platforms {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        max-width: 550px !important;
        margin: 0 auto 24px auto !important;
    }
    .smm-card {
        max-width: 550px !important;
        margin: 0 auto 14px auto !important;
    }
    .smm-platform-btn {
        width: 100% !important;
        padding: 12px 4px !important;
        font-size: 0.75rem !important;
        flex: none !important;
    }
    .country-selector, .smm-country-selector, .jastip-country-selector {
        gap: 8px !important;
    }
    .country-btn {
        padding: 10px 8px !important;
        font-size: 0.76rem !important;
        gap: 6px !important;
    }
    .country-btn img {
        width: 16px !important;
    }
    .smm-service-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }
    .smm-service-btn {
        padding: 10px 4px !important;
        font-size: 0.72rem !important;
    }
    .smm-subtotal-card {
        padding: 12px !important;
    }
    .smm-subtotal-value {
        font-size: 1.25rem !important;
    }
    .input-with-icon input {
        min-width: 0 !important;
    }

    /* Modal Pembayaran */
    .modal-box {
        width: 95%;
    }
    .modal-box .border-glow-inner {
        padding: 20px 16px;
    }
    .qris-container img, .qris-container svg {
        max-width: 160px;
    }
    .modal-actions {
        padding: 14px;
    }
    .timer-value {
        font-size: 1.2rem;
    }
    .payment-badges img {
        height: 20px;
    }

    /* View Title */
    .view-title {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }

    /* Guide Steps */
    .guide-step {
        padding: 16px;
        gap: 14px;
    }
}

/* ─────────────────────────────────────────────
   TOAST NOTIFICATION (Real-time)
───────────────────────────────────────────── */
#toast-container {
    position: fixed;
    bottom: 80px; /* di atas bottom nav mobile */
    right: 20px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 320px;
    width: calc(100vw - 40px);
}

.toast-notif {
    display: flex;
    align-items: center;
    background: var(--btn-secondary-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--primary);
    color: var(--text-main);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    box-shadow: var(--card-shadow);
    animation: toastSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    pointer-events: auto;
}

.toast-notif svg {
    flex-shrink: 0;
    margin-right: 10px;
    color: #60a5fa;
}

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

@media (min-width: 768px) {
    #toast-container {
        bottom: 30px; /* desktop: tidak ada bottom nav */
        right: 30px;
        width: 320px;
    }
}

/* ─────────────────────────────────────────────
   PREMIUM SKELETON SCREEN PRELOADER (Shimmer)
───────────────────────────────────────────── */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050608;
    z-index: 99999;
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.5s;
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Base bone element */
.sk-bone {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.sk-bone::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 25%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.03) 75%,
        transparent 100%
    );
    animation: sk-shimmer 1.8s ease-in-out infinite;
    transform: translateX(-100%);
}

@keyframes sk-shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Sidebar Skeleton Specific Bones */
.sk-sidebar {
    pointer-events: none;
}

.sk-logo-bone {
    width: 44px;
    height: 44px;
    border-radius: 10px;
}

.sk-title-bone {
    width: 120px;
    height: 24px;
    border-radius: 6px;
}

.sk-status-bone {
    width: 100%;
    height: 34px;
    border-radius: 20px;
}

.sk-menu-bone {
    width: 100%;
    height: 36px;
    border-radius: 6px;
}

/* Mobile brand bones */
.sk-logo-bone-mob {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    flex-shrink: 0;
}

.sk-title-bone-mob {
    width: 100px;
    height: 20px;
    border-radius: 6px;
}

.sk-status-bone-mob {
    width: 90px;
    height: 26px;
    border-radius: 16px;
}

/* Categories bones */
.sk-cat-btn-bone {
    width: 110px;
    height: 38px;
    border-radius: 30px;
    flex-shrink: 0;
}

/* Card bones */
.sk-card-icon-bone {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    flex-shrink: 0;
}

.sk-card-title-bone {
    width: 70%;
    height: 16px;
    border-radius: 4px;
}

.sk-card-sub-bone {
    width: 90%;
    height: 12px;
    border-radius: 4px;
}

.sk-card-badge-bone {
    width: 60px;
    height: 18px;
    border-radius: 8px;
}

.sk-card-price-bone {
    width: 80px;
    height: 14px;
    border-radius: 4px;
}

.sk-card-pricesub-bone {
    width: 110px;
    height: 10px;
    border-radius: 4px;
}

.sk-card-btn-bone {
    width: 56px;
    height: 32px;
    border-radius: 10px;
    flex-shrink: 0;
}

/* Bottom nav bones */
.sk-nav-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.sk-nav-label {
    width: 36px;
    height: 8px;
    border-radius: 3px;
}

.sk-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* Forcing glowing states to placeholder cards */
.sk-card-placeholder {
    --edge-proximity: 75 !important;
    --cursor-angle: 135deg !important;
    --fill-opacity: 0.12 !important;
    border: 1px solid var(--border) !important;
    pointer-events: none !important;
    transform: none !important;
    background: var(--card-bg) !important;
}

/* Hide real preloader interactive behaviors but ensure layout-wrapper is correct */
#preloader .layout-wrapper {
    background-color: transparent !important;
}

/* ─────────────────────────────────────────────
   LIVE STATUS INDICATOR
───────────────────────────────────────────── */
.live-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid var(--success-border);
    padding: 6px 12px;
    border-radius: 20px;
    margin-top: 10px;
}

.sidebar .live-status {
    width: 100%;
    justify-content: center;
}

.mobile-brand .live-status {
    margin-top: 0;
    padding: 4px 10px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e, 0 0 20px #22c55e;
    animation: pulse-dot 1.8s infinite;
}

.status-text {
    font-size: 0.72rem;
    font-weight: 700;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #22c55e, 0 0 25px #22c55e; }
}

.live-status.offline {
    background: rgba(148, 163, 184, 0.08) !important;
    border: 1px solid var(--border) !important;
}
.live-status.offline .status-dot {
    background-color: var(--text-muted) !important;
    box-shadow: none !important;
    animation: none !important;
}
.live-status.offline .status-text {
    color: var(--text-muted) !important;
}


/* ─────────────────────────────────────────────
   FEATURES GRID (TRUST BADGES)
───────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.feature-card {
    padding: 16px !important;
    text-align: center;
    border: 1px solid var(--border) !important;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: translateY(-6px) translateZ(0) !important;
    border-color: var(--primary) !important;
    box-shadow: var(--card-shadow-hover) !important;
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.feature-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.feature-card p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

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

/* ─────────────────────────────────────────────
   FAQ SECTION (ACCORDION)
───────────────────────────────────────────── */
.faq-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.faq-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0.3px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--card-shadow);
}

.faq-item:hover {
    transform: translateY(-3px) translateZ(0);
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow-hover);
}

.faq-question {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-main);
    user-select: none;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #60a5fa;
}

.faq-arrow {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: #60a5fa;
}

.faq-item.active .faq-question {
    color: #60a5fa;
    border-bottom: 1px solid var(--border);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer p {
    padding: 18px 24px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================
   FLOATING ACTION BUTTONS (FAB) & EXPANSION PANELS
   ========================================== */
.fab-container {
    position: fixed;
    bottom: 25px;
    left: 25px;
    display: flex;
    gap: 15px;
    z-index: 9999;
}

.fab-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid #60a5fa;
    background: rgba(9, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-main);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3), inset 0 0 10px rgba(37, 99, 235, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    user-select: none;
}

.fab-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5), inset 0 0 15px rgba(37, 99, 235, 0.3);
    border-color: #c4b5fd;
}

.fab-btn::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    opacity: 0;
    transition: all 0.4s;
    animation: fab-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes fab-ping {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.fab-tooltip {
    position: absolute;
    bottom: 65px;
    background: rgba(9, 10, 12, 0.95);
    border: 1px solid var(--primary);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.fab-btn:hover .fab-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Expansion Panels */
.fab-panel {
    position: fixed;
    bottom: 95px;
    left: 25px;
    width: 380px;
    max-height: 520px;
    background: rgba(9, 10, 12, 0.95);
    border: 1px solid var(--primary);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(37, 99, 235, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9998;
    transform: scale(0);
    transform-origin: bottom left;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fab-panel.active {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.fab-panel-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(9, 10, 12, 0) 100%);
}

.fab-panel-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.3px;
}

.fab-panel-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-panel-close:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.fab-panel-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* Custom Scrollbar for Fab Panel Body */
.fab-panel-body::-webkit-scrollbar {
    width: 6px;
}
.fab-panel-body::-webkit-scrollbar-track {
    background: transparent;
}
.fab-panel-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
.fab-panel-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Keuntungan Panel Card */
.keuntungan-item-simple {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}
.keuntungan-item-simple:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.keuntungan-icon-simple {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.keuntungan-info-simple h4 {
    margin: 0 0 4px 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
}
.keuntungan-info-simple p {
    margin: 0;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* FAQ Form inside Panel */
.faq-ask-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.faq-ask-title {
    font-size: 13px;
    font-weight: 700;
    color: #c4b5fd;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-input-group {
    margin-bottom: 12px;
}

.faq-input-group label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-weight: 500;
}

.faq-text-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text-main);
    font-size: 12px;
    transition: all 0.3s;
}

.faq-text-input:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.15);
}

.btn-faq-submit {
    width: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    font-size: 12px;
    padding: 11px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-faq-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* Responsiveness and Custom Glow for FAB and Floating WhatsApp on mobile */
@media (max-width: 767px) {
    .fab-container {
        display: flex !important;
        bottom: 82px !important;
        left: 16px !important;
        gap: 8px !important;
    }
    .fab-btn {
        width: 44px !important;
        height: 44px !important;
    }
    .fab-btn svg {
        width: 18px !important;
        height: 18px !important;
    }
    .fab-panel {
        bottom: 140px !important;
        left: 16px !important;
        width: calc(100vw - 32px) !important;
        max-height: 380px !important;
        z-index: 1020 !important;
    }
    .fab-tooltip {
        display: none !important;
    }
    
    /* Resizing & Repositioning Floating WhatsApp on Mobile */
    .floating-ws {
        bottom: 82px !important;
        right: 16px !important;
        width: 46px !important;
        height: 46px !important;
        z-index: 1005 !important;
    }
    .floating-ws svg {
        width: 24px !important;
        height: 24px !important;
    }
    .floating-ws::after {
        display: none !important; /* Hide 'Chat Admin' tooltip text on mobile to avoid screen clutter */
    }
    #fab-ai-btn {
        bottom: 143px !important;
        right: 17px !important;
        width: 44px !important;
        height: 44px !important;
    }
    #panel-ai-chat {
        bottom: 197px !important;
        left: 16px !important;
        right: auto !important;
        width: calc(100vw - 32px) !important;
        max-height: 380px !important;
    }
}

/* Custom Individual Premium Glow for FAB Buttons */
#fab-faq-btn {
    border-color: #f87171 !important;
    box-shadow: 0 4px 15px rgba(248, 113, 113, 0.25), inset 0 0 10px rgba(248, 113, 113, 0.15) !important;
}
#fab-keterangan-btn {
    border-color: #fb923c !important;
    box-shadow: 0 4px 15px rgba(251, 146, 60, 0.25), inset 0 0 10px rgba(251, 146, 60, 0.15) !important;
}
#fab-testimoni-btn {
    border-color: #fbbf24 !important;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.25), inset 0 0 10px rgba(251, 191, 36, 0.15) !important;
}

#fab-faq-btn:hover {
    border-color: #fca5a5 !important;
    box-shadow: 0 6px 20px rgba(248, 113, 113, 0.45) !important;
}
#fab-keterangan-btn:hover {
    border-color: #fdba74 !important;
    box-shadow: 0 6px 20px rgba(251, 146, 60, 0.45) !important;
}
#fab-testimoni-btn:hover {
    border-color: #fde047 !important;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.45) !important;
}

/* Country Selector Styles */
.country-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px !important;
    border-radius: 12px !important;
    background: rgba(9, 10, 12, 0.45) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-muted) !important;
    cursor: pointer;
    font-weight: 600 !important;
    font-size: 0.86rem !important;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.03);
}
.country-btn:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color:  var(--border) !important;
    color: #f1f5f9 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.05) !important;
}
.country-btn.active {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.2) 0%, rgba(37, 99, 235, 0.25) 100%) !important;
    border-color: #60a5fa !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 
        0 0 20px rgba(37, 99, 235, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.15) !important;
    transform: translateY(0) !important;
}
/* Flag image styling in selector buttons */
.country-btn img {
    width: 20px !important;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}
.country-btn:hover img {
    transform: scale(1.1);
}

/* TOAST NOTIFICATION CONTAINER (TOP-RIGHT) */
#toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100000;
    pointer-events: none;
}

/* BOTTOM SHEET FOR THREADED REPLIES */
.bottom-sheet {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
}

.bottom-sheet-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 10, 12, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.bottom-sheet-content {
    background: #050608;
    border-top: 1px solid var(--primary);
    border-radius: 24px 24px 0 0;
    padding: 24px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: auto;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.bottom-sheet.active .bottom-sheet-overlay {
    opacity: 1;
}

.bottom-sheet.active .bottom-sheet-content {
    transform: translateY(0);
}

.bottom-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.bottom-sheet-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.bottom-sheet-close:hover {
    color: var(--text-main);
}

/* LIVE BROADCAST CARD DETAILS */
.broadcast-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}

.broadcast-card:hover {
    transform: translateY(-6px) translateZ(0);
    border-color: var(--border-hover) !important;
    box-shadow: var(--card-shadow-hover);
}

/* EMOJI PICKER POPUP */
.emoji-picker {
    display: flex;
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 6px 12px;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(99,102,241,0.1);
    gap: 8px;
    animation: fadeInUp 0.2s ease forwards;
}

.emoji-picker span {
    cursor: pointer;
    font-size: 1.25rem;
    padding: 4px;
    border-radius: 50%;
    transition: transform 0.2s, background 0.2s;
}

.emoji-picker span:hover {
    transform: scale(1.2) rotate(5deg);
    background: rgba(255, 255, 255, 0.08);
}

/* PREMIUM GLOWING DISCOUNT WATERMARK BADGE */
.product-card {
    position: relative;
}

.discount-watermark {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 8px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.65), inset 0 1px 0 rgba(255,255,255,0.2);
    border: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: neon-pulse 1.8s infinite alternate ease-in-out;
    pointer-events: none;
}

.discount-watermark svg {
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.5));
}

@keyframes neon-pulse {
    0% {
        box-shadow: 0 0 8px rgba(239, 68, 68, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 18px rgba(239, 68, 68, 0.9), 0 0 8px rgba(249, 115, 22, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
        transform: scale(1.03);
    }
}

/* --- PREMIUM ACTION BUTTON & CUSTOM FILE UPLOAD --- */
.btn-premium-action {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.btn-premium-action:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-premium-action:active {
    transform: translateY(0);
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.3);
}

.btn-premium-action:disabled {
    background: #334155 !important;
    border-color:  var(--border) !important;
    color: var(--text-muted) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.custom-file-upload {
    position: relative;
    width: 100%;
}

.hidden-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 2px dashed var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    gap: 8px;
    user-select: none;
}

.file-upload-label:hover {
    background: rgba(37, 99, 235, 0.04);
    border-color:  var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.file-upload-label.has-file {
    background: rgba(16, 185, 129, 0.03);
    border-color:  var(--success-border);
    border-style: solid;
}

.file-upload-label.has-file:hover {
    background: rgba(16, 185, 129, 0.06);
    border-color:  var(--success-border);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.file-upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.file-upload-label:hover .file-upload-icon {
    background: rgba(37, 99, 235, 0.1);
    color: #60a5fa;
    transform: translateY(-2px);
}

.file-upload-label.has-file .file-upload-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}

.file-upload-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.file-name-display {
    font-size: 0.75rem;
    color: var(--text-muted);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 2px 8px;
    border-radius: 4px;
}

.file-upload-label.has-file .file-name-display {
    color: #e2e8f0;
    font-weight: 500;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success-border);
}

/* --- SHOPEE STYLE JB MEDIA SLIDER --- */
.jb-card-media-box {
    position: relative;
    width: 100%;
    height: 160px;
    background: rgba(0, 0, 0, 0.4);
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.jb-media-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.jb-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jb-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.jb-slider-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(9, 10, 12, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.video-play-overlay:hover {
    background: rgba(37, 99, 235, 0.8);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

.jb-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(9, 10, 12, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.jb-card-media-box:hover .jb-slider-arrow {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.jb-slider-arrow:hover {
    background: rgba(37, 99, 235, 0.8);
    border-color: #60a5fa;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

.jb-slider-arrow.prev { left: 8px; }
.jb-slider-arrow.next { right: 8px; }

.jb-slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

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

.jb-slider-dot.active {
    background: #60a5fa;
    width: 14px;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.8);
}

/* Glassmorphic Video Indicator Badge on Thumbnail */
.video-indicator-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(9, 10, 12, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    color: #60a5fa;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.video-indicator-badge svg {
    color: #60a5fa;
    transition: transform 0.3s ease;
}

.video-indicator-badge:hover {
    background: rgba(37, 99, 235, 0.9);
    color: #ffffff;
    border-color:  var(--primary);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
    transform: scale(1.05);
}

.video-indicator-badge:hover svg {
    color: #ffffff;
    transform: scale(1.2);
}

/* --- Premium Category Scroll Wrapper (Desktop Only) --- */
.category-scroll-container {
    position: relative;
    width: 100%;
}

.category-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: rgba(9, 10, 12, 0.7);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.category-scroll-btn:hover {
    background: rgba(37, 99, 235, 0.35);
    border-color:  var(--primary);
    color: #60a5fa;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.category-scroll-btn.prev {
    left: -16px;
}

.category-scroll-btn.next {
    right: -16px;
}

@media (max-width: 768px) {
    .category-scroll-btn {
        display: none !important;
    }
    .cashflow-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* --- PREMIUM JASA TITIP & SPLIT LAYOUT DESIGNS --- */
.smm-split-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    align-items: start;
}

.jastip-step-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 15px;
}

.jastip-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.jastip-step:hover {
    background: rgba(129, 140, 248, 0.05);
    border-color:  var(--border);
    transform: translateX(6px);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.jastip-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(129, 140, 248, 0.15);
    border: 1px solid var(--border);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(129, 140, 248, 0.15);
}

.jastip-step-content {
    flex: 1;
}

.jastip-step-content h4 {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-main);
}

.jastip-step-content p {
    margin: 4px 0 0 0;
    font-size: 0.73rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Jasa Titip Page Level Country Selector Card spacing and constraints */
.jastip-country-card {
    max-width: 1100px;
    margin: 0 auto 20px auto !important;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================
   AI CHAT WIDGET (PurēAssistant) STYLES
   ========================================== */
#fab-ai-btn::after {
    border-color:  var(--success-border);
}

.online-indicator-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border: 2px solid #050608;
    border-radius: 50%;
    animation: dot-pulse 1.8s infinite ease-in-out;
}

@keyframes dot-pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

#chat-messages-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    scroll-behavior: smooth;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    font-size: 0.82rem;
    line-height: 1.5;
    word-break: break-word;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.chat-msg.assistant {
    align-self: flex-start;
    background: var(--card-bg);
    color: var(--text-main);
    border-radius: 16px 16px 16px 4px;
    border: 1px solid var(--border);
}

.chat-msg.user {
    align-self: flex-end;
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    color: #ffffff;
    border-radius: 16px 16px 4px 16px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.chat-input-area {
    padding: 14px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg-color);
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input-area input {
    flex: 1;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 20px;
    padding: 10px 16px;
    color: var(--text-main);
    font-size: 0.85rem;
    outline: none;
    transition: all 0.3s;
}

.chat-input-area input:focus {
    border-color: var(--input-focus-border);
    background: var(--input-bg);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.chat-input-area button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    transition: all 0.3s;
}

.chat-input-area button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.chat-input-area button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 12px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-muted);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing-bounce {
    0%, 80%, 100% { 
        transform: scale(0);
    } 40% { 
        transform: scale(1);
    }
}

.chat-cursor {
    display: inline-block;
    width: 6px;
    height: 14px;
    background-color: #10b981;
    margin-left: 4px;
    vertical-align: middle;
    animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
    from, to { background-color: transparent }
    50% { background-color: #10b981 }
}

/* AI Chat Button Left Tooltip Position */
#fab-ai-btn .fab-tooltip {
    bottom: auto;
    top: 9px;
    right: 72px;
    transform: translateX(10px);
    transition: opacity 0.3s, transform 0.3s;
    background: var(--card-bg);
    color: var(--text-main);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#fab-ai-btn:hover .fab-tooltip {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* AI Chat FAB Button & Panel Positioning */
#fab-ai-btn {
    position: fixed;
    bottom: 175px;
    right: 22.5px;
    z-index: 9999;
}

#panel-ai-chat {
    position: fixed;
    bottom: 240px;
    right: 20px;
    left: auto;
    z-index: 9998;
    transform-origin: bottom right;
}

@media (min-width: 768px) {
    /* Tombol FAB AI */
    #fab-ai-btn {
        position: fixed !important;
        bottom: 105px !important; /* Di atas tombol WA */
        right: 22.5px !important;
        z-index: 9999;
    }

    /* Panel Chat AI */
    #panel-ai-chat {
        position: fixed !important;
        bottom: 170px !important; /* Di atas tombol FAB AI */
        right: 20px !important;
        z-index: 9998;
        left: auto !important;
        transform-origin: bottom right !important;
    }
}

/* Adjust discount watermark for mobile screens */
@media (max-width: 767px) {
    .discount-watermark {
        top: 8px !important;
        right: 8px !important;
        font-size: 0.58rem !important;
        padding: 3px 6px !important;
        border-radius: 6px !important;
        gap: 2px !important;
    }
    .discount-watermark svg {
        width: 10px !important;
        height: 10px !important;
    }
}

/* ─────────────────────────────────────────────
   CLASSIC MINIMALIST PRELOADER STYLE
   ───────────────────────────────────────────── */
.classic-preloader-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.classic-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.classic-preloader-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.classic-progress-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

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

@keyframes blink-cursor {
    from, to { opacity: 0; }
    50% { opacity: 1; }
}

/* ─────────────────────────────────────────────
   THEME TOGGLE SYSTEM STYLES
   ───────────────────────────────────────────── */
.theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    padding: 0;
}

body.light-mode .theme-toggle-btn {
    background: rgba(0, 0, 0, 0.04);
}

.theme-toggle-btn:hover {
    background: var(--primary);
    color: white !important;
    border-color: transparent;
    box-shadow: 0 0 14px rgba(37, 99, 235, 0.45);
    transform: rotate(30deg) scale(1.05);
}

.theme-toggle-btn svg {
    transition: transform 0.3s ease;
}

/* Toggle icon visibility dynamically */
body.light-mode .theme-toggle-btn .sun-icon {
    display: none !important;
}
body.light-mode .theme-toggle-btn .moon-icon {
    display: block !important;
}
body:not(.light-mode) .theme-toggle-btn .sun-icon {
    display: block !important;
}
body:not(.light-mode) .theme-toggle-btn .moon-icon {
    display: none !important;
}

/* Sidebar Footer */
.sidebar-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
}

.theme-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* Scrollbar styling overrides to respect variables */
body.light-mode ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
}
body.light-mode ::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.3);
    border: 2px solid #ffffff;
}
body.light-mode ::-webkit-scrollbar-thumb:hover {
    background: rgba(37, 99, 235, 0.5);
}

/* Disabled buttons styling overrides */
.btn-primary:disabled,
button:disabled {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-muted) !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

body.light-mode .btn-primary:disabled,
body.light-mode button:disabled {
    background: rgba(0, 0, 0, 0.06) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-muted) !important;
}

/* Light mode specific SMM and checking input overrides */
body.light-mode .smm-input-premium {
    background: rgba(0, 0, 0, 0.03) !important;
    border-color: var(--border) !important;
}
body.light-mode .smm-input-premium:focus {
    background: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}
body.light-mode .premium-input-icon {
    color: var(--text-muted) !important;
}
body.light-mode .input-with-icon-premium:focus-within .premium-input-icon {
    color: var(--primary) !important;
}
body.light-mode .cek-divider-text {
    background: #ffffff !important;
    border-color: var(--border) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    color: var(--primary) !important;
}
body.light-mode .cek-divider-text::before,
body.light-mode .cek-divider-text::after {
    background: linear-gradient(to right, rgba(37, 99, 235, 0) 0%, rgba(37, 99, 235, 0.15) 50%, rgba(37, 99, 235, 0) 100%) !important;
}
body.light-mode .tx-lbl {
    color: var(--text-muted) !important;
}
body.light-mode .tx-val {
    color: var(--text-main) !important;
}
body.light-mode .tx-val--success {
    background: rgba(0, 0, 0, 0.03) !important;
    border-color: var(--border) !important;
    color: var(--primary) !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.03) !important;
}
body.light-mode .cred-value-wrap {
    background: rgba(0, 0, 0, 0.03) !important;
    border-color: var(--border) !important;
}
body.light-mode .cred-value {
    color: var(--primary) !important;
}
body.light-mode .btn-copy-cred {
    background: rgba(37, 99, 235, 0.08) !important;
    border-color:  var(--primary) !important;
    color: var(--primary) !important;
}
body.light-mode .btn-copy-cred:hover {
    background: var(--primary) !important;
    color: white !important;
}
body.light-mode .modal-close-btn {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color:  var(--border) !important;
    color: var(--text-muted) !important;
}
body.light-mode .modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.1) !important;
    color: var(--text-main) !important;
}
body.light-mode .btn-tutup-modal {
    background: rgba(0, 0, 0, 0.03) !important;
}
body.light-mode .btn-tutup-modal:hover {
    background: rgba(0, 0, 0, 0.06) !important;
}
body.light-mode .category-scroll-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: var(--border) !important;
    color: var(--text-main) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}
body.light-mode .category-scroll-btn:hover {
    background: #ffffff !important;
    color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}

/* --- LIGHT MODE INPUTS & COMPONENTS OVERRIDES --- */
body.light-mode .smm-input,
body.light-mode .smm-service-btn,
body.light-mode .checkout-form textarea,
body.light-mode .payment-option,
body.light-mode .faq-text-input,
body.light-mode .file-upload-label {
    background: #ffffff !important;
    border-color: var(--border) !important;
    color: var(--text-main) !important;
}

body.light-mode .smm-input:focus,
body.light-mode .checkout-form textarea:focus,
body.light-mode .faq-text-input:focus {
    background: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

body.light-mode .smm-service-btn:hover {
    background: rgba(37, 99, 235, 0.06) !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

body.light-mode .smm-service-btn.active {
    background: rgba(37, 99, 235, 0.12) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

body.light-mode .payment-option:hover {
    background: rgba(37, 99, 235, 0.04) !important;
    border-color: var(--primary) !important;
}

body.light-mode .payment-option.active {
    background: rgba(37, 99, 235, 0.08) !important;
    border-color: var(--primary) !important;
}

body.light-mode .file-upload-label:hover {
    background: rgba(37, 99, 235, 0.04) !important;
    border-color: var(--primary) !important;
}

/* --- NO BROADCAST CARD CLASS --- */
.no-broadcast-card {
    background: var(--card-bg);
    border: 1px dashed var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- LIGHT MODE PORTAL & FAB OVERRIDES --- */
body.light-mode #preloader {
    background-color: #f1f5f9 !important;
}

body.light-mode .form-select {
    background-color: #ffffff !important;
    color: var(--text-main) !important;
    border-color: var(--border) !important;
}

body.light-mode .fab-btn {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: var(--border) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    color: var(--text-main) !important;
}

body.light-mode .fab-btn:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

body.light-mode .fab-panel {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: var(--border) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .fab-panel-header {
    border-bottom: 1px solid var(--border) !important;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(255, 255, 255, 0) 100%) !important;
}

body.light-mode .status-text {
    color: var(--success-text) !important;
}

body.light-mode .shiny-text {
    background: linear-gradient(
        120deg, 
        rgba(37, 99, 235, 0.65) 0%, 
        rgba(37, 99, 235, 0.65) 35%, 
        rgba(37, 99, 235, 1) 50%, 
        rgba(37, 99, 235, 0.65) 65%, 
        rgba(37, 99, 235, 0.65) 100%
    ) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* ─────────────────────────────────────────────
   SUPPORT PAGE & CONTACT MODAL IMPROVEMENTS
   ───────────────────────────────────────────── */
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.support-item-card {
    text-align: left;
    overflow: hidden;
}

#support-wa-card {
    display: block !important;
}

.support-item-card .border-glow-inner {
    padding: 24px 20px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--card-bg);
    min-height: 175px;
    box-sizing: border-box;
}

.support-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid;
    transition: all 0.3s ease;
}

.support-icon-wrap.ws-glow {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.25);
    color: #22c55e;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.15);
}

.support-icon-wrap.mail-glow {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.25);
    color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

.support-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-grow: 1;
    width: 100%;
}

.support-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.3px;
}

.support-phone {
    margin: 2px 0 0 0;
    font-size: 1.22rem;
    font-weight: 800;
    color: #22c55e;
    letter-spacing: 0.5px;
}

.support-email {
    margin: 2px 0 0 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #3b82f6;
    letter-spacing: 0.3px;
}

.support-desc {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.support-btn {
    margin-top: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 9px 18px;
    border-radius: 10px;
    border: none;
    color: white !important;
    width: fit-content;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.support-btn.ws-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.support-btn.ws-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.4);
}

.support-btn.email-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.support-btn.email-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.4);
}

/* Light mode overrides for support elements */
body.light-mode .support-icon-wrap.ws-glow {
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.2);
    box-shadow: none;
}

body.light-mode .support-icon-wrap.mail-glow {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: none;
}

body.light-mode .support-phone {
    color: #16a34a;
}

body.light-mode .support-email {
    color: #2563eb;
}

/* Mobile responsive styling for support grid */
@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .support-grid .support-item-card {
        grid-column: auto !important;
    }
    
    .support-item-card .border-glow-inner {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 16px 14px;
        min-height: auto;
        gap: 14px;
    }
    
    .support-content {
        align-items: flex-start;
    }
    
    .support-phone, .support-email {
        font-size: 1.05rem;
    }
    
    .support-desc {
        font-size: 0.75rem;
    }
}

/* CSS custom crop and scale for B Station Logo to fit perfectly without mascot body */
img[src*="bstation.png"] {
    object-fit: cover !important;
    object-position: center 12% !important;
    transform: scale(1.35) !important;
    clip-path: inset(0 round 14px) !important;
}




