/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    overflow: hidden;
    user-select: none;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #17253d 0%, #0f172a 65%, #090d16 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    animation: splashAppear 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.splash-logo svg {
    width: 52px;
    height: 52px;
    filter: drop-shadow(0 0 16px rgba(59, 130, 246, 0.5));
    animation: splashPulse 2.5s ease-in-out infinite alternate;
}

.splash-title {
    font-size: 40px;
    font-weight: 700;
    color: #3b82f6;
    letter-spacing: -0.5px;
    text-shadow: 0 0 24px rgba(59, 130, 246, 0.4);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.splash-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 220px;
}

.splash-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.splash-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
    border-radius: 4px;
    transition: width 0.3s ease-out;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
}

.splash-loading-text {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@keyframes splashAppear {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes splashPulse {
    0% {
        filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.4));
    }
    100% {
        filter: drop-shadow(0 0 22px rgba(59, 130, 246, 0.7));
    }
}

/* Custom Title Bar */
.titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
    -webkit-app-region: drag;
    padding: 0 16px;
}

.titlebar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.titlebar-toggle-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #60a5fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-app-region: no-drag;
}

.titlebar-toggle-btn:hover {
    background: rgba(59, 130, 246, 0.22);
    border-color: rgba(59, 130, 246, 0.45);
    color: #93c5fd;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.35);
}

.titlebar-toggle-btn:active {
    transform: scale(0.95);
}

.titlebar-toggle-btn.active {
    background: rgba(59, 130, 246, 0.28);
    border-color: rgba(59, 130, 246, 0.6);
    color: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #60a5fa;
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: -0.2px;
    user-select: none;
}

.titlebar-logo-img {
    width: 22px;
    height: 22px;
    object-fit: cover;
    object-position: center 22%;
    border-radius: 6px;
    background: #000;
    flex-shrink: 0;
}

.titlebar-right {
    display: flex;
    align-items: center;
    gap: 6px;
    -webkit-app-region: no-drag;
}

.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 5px 10px;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-app-region: no-drag;
    font-family: inherit;
    height: 30px;
}

.theme-toggle-btn:hover {
    background: rgba(51, 65, 85, 0.9);
    border-color: rgba(99, 102, 241, 0.45);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

.theme-toggle-btn .theme-ico {
    display: none !important;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

/* Tampilkan 1 ikon saja: siang = matahari, malam = bulan */
html[data-theme="light"] .theme-toggle-btn .theme-ico-sun,
html:not([data-theme]) .theme-toggle-btn .theme-ico-sun,
.theme-toggle-btn:not(.is-dark) .theme-ico-sun {
    display: inline-flex !important;
    color: #fbbf24;
}

html[data-theme="dark"] .theme-toggle-btn .theme-ico-moon,
.theme-toggle-btn.is-dark .theme-ico-moon {
    display: inline-flex !important;
    color: #93c5fd;
}

html[data-theme="dark"] .theme-toggle-btn .theme-ico-sun,
.theme-toggle-btn.is-dark .theme-ico-sun {
    display: none !important;
}

html[data-theme="light"] .theme-toggle-btn .theme-ico-moon,
html:not([data-theme]) .theme-toggle-btn .theme-ico-moon,
.theme-toggle-btn:not(.is-dark) .theme-ico-moon {
    display: none !important;
}

.theme-toggle-label {
    font-size: 12px;
    letter-spacing: 0.2px;
}

.titlebar-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.titlebar-btn:hover {
    background: #334155;
    color: #e2e8f0;
}

.titlebar-btn.close-btn:hover {
    background: #ef4444;
    color: white;
}

/* Container */
.container {
    display: flex;
    height: calc(100vh - 40px);
    position: relative;
    overflow: hidden;
}

/* Floating Expand Sidebar Button (Appears when sidebar is hidden) */
.floating-sidebar-toggle {
    position: absolute;
    top: 18px;
    left: 14px;
    z-index: 999;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 12px rgba(59, 130, 246, 0.25);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-app-region: no-drag;
}

.floating-sidebar-toggle:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.08) translateX(2px);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.6);
}

.floating-sidebar-toggle:active {
    transform: scale(0.95);
}

/* Sidebar */
.sidebar {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 55%, #172554 100%);
    border-right: 1px solid rgba(51, 65, 85, 0.8);
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                min-width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    flex-shrink: 0;
    z-index: 10;
}

/* Hidden sidebar state */
.container.sidebar-hidden .sidebar {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    border-right: 1px solid transparent !important;
}

.container.sidebar-hidden .floating-sidebar-toggle {
    display: flex;
    animation: fadeInFloating 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInFloating {
    from {
        opacity: 0;
        transform: translateX(-12px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.sidebar-header {
    display: none;
}

.sidebar-header-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #64748b;
    text-transform: uppercase;
}

.sidebar-collapse-btn {
    position: absolute;
    left: auto;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1.5px solid rgba(148, 163, 184, 0.28);
    background: #ffffff;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18), 0 0 0 3px rgba(15, 23, 42, 0.04);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.sidebar-collapse-btn:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35), 0 0 0 4px rgba(37, 99, 235, 0.12);
    transform: translateY(-50%) scale(1.06);
}

.sidebar-collapse-btn:active {
    transform: translateY(-50%) scale(0.94);
}

html[data-theme="dark"] .sidebar-collapse-btn {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.28);
    color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(15, 23, 42, 0.35);
}

html[data-theme="dark"] .sidebar-collapse-btn:hover {
    background: #2563eb;
    border-color: #3b82f6;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 12px 0;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s;
    position: relative;
    font-size: 13.5px;
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}

.nav-item.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
    font-weight: 600;
}

.nav-item svg {
    flex-shrink: 0;
}

.badge {
    margin-left: auto;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding: 16px 12px 12px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.user-info:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
    transform: translateY(-1px);
}

.user-avatar-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    position: relative;
    transition: all 0.2s ease;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.avatar-edit-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(2px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    opacity: 0;
    transition: all 0.2s ease;
    pointer-events: none;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.user-avatar-wrapper:hover .avatar-edit-overlay {
    opacity: 1;
}

.user-avatar-wrapper:hover .user-avatar {
    transform: scale(1.03);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

.user-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: #f1f5f9;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-status-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #10b981;
    font-weight: 500;
}

.status-indicator {
    width: 7px;
    height: 7px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
    position: relative;
}

.status-indicator::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 1px solid #10b981;
    animation: statusPulse 2s infinite;
    opacity: 0.7;
}

@keyframes statusPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.sidebar-copyright {
    padding: 0 4px;
    text-align: left;
}

.sidebar-copyright p {
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
    font-weight: 500;
}

.sidebar-copyright .copyright-sub {
    font-size: 10px;
    color: #475569;
}

/* Main Content */
.main-content {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    padding: 32px;
    transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container.sidebar-hidden .main-content {
    padding-left: 56px;
}

.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

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

.page-header.marketplace-header {
    justify-content: flex-start;
    margin-bottom: 20px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 4px;
}

.page-subtitle {
    font-size: 14px;
    color: #94a3b8;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-export {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-export:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.btn-export:active {
    transform: scale(0.98);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 8px 12px;
}

.search-box svg {
    color: #64748b;
    flex-shrink: 0;
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: #e2e8f0;
    font-size: 14px;
    width: 200px;
}

.search-box input::placeholder {
    color: #64748b;
}

/* Stock Info Cards */
.stock-info {
    display: flex;
    gap: 14px;
    align-items: center;
}

.realtime-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.indicator-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.indicator-text {
    font-size: 12px;
    color: #10b981;
    font-weight: 600;
}

.stock-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 14px;
    padding: 12px 18px;
    min-width: 155px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.stock-card:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

.stock-card.sold-card {
    border-color: rgba(245, 158, 11, 0.28);
}

.stock-card.sold-card:hover {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.15);
}

.stock-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    flex-shrink: 0;
}

.stock-card.sold-card .stock-card-icon {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
}

.stock-card-content {
    display: flex;
    flex-direction: column;
}

.stock-label {
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
}

.stock-number {
    font-size: 24px;
    font-weight: 700;
    color: #10b981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
    line-height: 1.1;
}

.stock-card.sold-card .stock-number {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

/* Marketplace Clean Toolbar */
.marketplace-toolbar {
    margin: 10px 0 20px;
    max-width: 960px;
}

.search-box-premium {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.75);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

.search-box-premium:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25), 0 8px 24px rgba(0, 0, 0, 0.3);
    background: rgba(15, 23, 42, 0.95);
}

.search-box-premium svg {
    color: #818cf8;
    flex-shrink: 0;
}

.search-box-premium input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #f8fafc;
    font-size: 13.5px;
    font-family: inherit;
}

.search-box-premium input::placeholder {
    color: #64748b;
}

/* ============ SHOP HERO BANNER ============ */
.shop-hero-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 18px;
    backdrop-filter: blur(12px);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.shop-hero-banner::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.shop-hero-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #60a5fa;
    text-transform: uppercase;
}

.shop-hero-title {
    font-size: 16px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.2px;
}

.shop-hero-features {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.hero-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    padding: 3px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-weight: 500;
}

/* ============ MODERN SHOP PRODUCT CARD GRID ============ */
.notes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 100%;
    margin-top: 4px;
    align-items: stretch;
}

.note-item,
.note-card {
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    height: 100%;
}

.note-item:hover:not(.sold),
.note-card:hover:not(.sold) {
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.2);
}

.note-item.sold,
.note-card.sold {
    opacity: 0.6;
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
}

/* Card Banner / Thumbnail Header */
.note-card-banner {
    position: relative;
    height: 135px;
    width: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.note-card-banner.theme-account {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.22) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.note-card-banner.theme-app {
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.22) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.note-card-banner.theme-game {
    background: radial-gradient(circle at center, rgba(236, 72, 153, 0.22) 0%, rgba(15, 23, 42, 0.95) 100%);
}

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

.note-item:hover:not(.sold) .note-card-img,
.note-card:hover:not(.sold) .note-card-img {
    transform: scale(1.06);
}

.note-card-icon-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #38bdf8;
    transition: all 0.3s ease;
}

.note-item:hover:not(.sold) .note-card-icon-fallback,
.note-card:hover:not(.sold) .note-card-icon-fallback {
    transform: scale(1.08);
}

.note-card-badges-top {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    z-index: 2;
    pointer-events: none;
}

.badge-instant-delivery {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    font-size: 10.5px;
    font-weight: 700;
}

/* Card Body */
.note-card-body {
    padding: 16px 18px 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.note-card-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #f8fafc;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 36px;
    letter-spacing: -0.01em;
}

.note-desc-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 2px;
}

.note-card-desc {
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.5;
    word-break: break-word;
    white-space: pre-line;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.note-card-desc.is-clamped {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 36px;
    cursor: pointer;
}

.note-card-desc.is-clamped:hover {
    color: #cbd5e1;
}

.note-card-desc.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow-y: auto;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.65);
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 180px;
    font-size: 12.5px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
}

.note-card-desc.is-expanded::-webkit-scrollbar {
    width: 4px;
}

.note-card-desc.is-expanded::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.45);
    border-radius: 4px;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 4px;
    margin-top: 1px;
    width: fit-content;
    border-radius: 4px;
    transition: all 0.2s ease;
    user-select: none;
}

.btn-read-more:hover {
    filter: brightness(1.25);
    background: rgba(255, 255, 255, 0.04);
}

.btn-read-more svg {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-read-more.expanded svg {
    transform: rotate(180deg);
}

.note-card-seller-info {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
    font-size: 12px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.seller-avatar-mini {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
    overflow: hidden;
    flex-shrink: 0;
}

.seller-avatar-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.seller-name-label {
    font-weight: 600;
    color: #cbd5e1;
}

.note-card-date {
    font-size: 11px;
    color: #64748b;
}

/* Card Footer */
.note-card-footer {
    padding: 12px 18px 14px 18px;
    background: rgba(15, 23, 42, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.note-price-container {
    display: flex;
    flex-direction: column;
}

.price-prefix {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.note-price-amount {
    font-size: 17px;
    font-weight: 800;
    color: #38bdf8;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
    letter-spacing: -0.3px;
}

.note-item.sold .note-price-amount,
.note-card.sold .note-price-amount {
    color: #64748b;
    text-shadow: none;
}

.btn-buy-note {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    white-space: nowrap;
}

.btn-buy-note:hover:not([disabled]) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
}

.btn-buy-note:active:not([disabled]) {
    transform: scale(0.96);
}

.btn-buy-note:disabled {
    background: rgba(51, 65, 85, 0.5);
    border-color: rgba(255, 255, 255, 0.05);
    color: #64748b;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.btn-buy-note:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 12px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.status-badge.available {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.status-badge.sold-out {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.badge-dot.dot-available {
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}

.badge-dot.dot-sold {
    background: #ef4444;
}

/* Purchase Info in Modal */
.purchase-info {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.purchase-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.purchase-item .label {
    color: #94a3b8;
}

.purchase-item .value {
    color: #f1f5f9;
    font-weight: 600;
}

/* Packages Grid - Remove if not needed */
.packages-grid {
    display: none;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-state svg {
    color: #334155;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 20px;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.empty-state p {
    color: #64748b;
    font-size: 14px;
}

/* Settings */
.settings-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
}

.setting-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 24px;
}

.setting-card h3 {
    font-size: 18px;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.setting-item {
    margin-bottom: 16px;
}

.setting-item:last-child {
    margin-bottom: 0;
}

.setting-item label {
    display: block;
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.setting-item input {
    width: 100%;
    background: #334155;
    border: 1px solid #475569;
    border-radius: 8px;
    padding: 10px 12px;
    color: #e2e8f0;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.setting-item input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.setting-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.setting-toggle label {
    color: #e2e8f0;
    margin-bottom: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-in;
}

.modal-content {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    border-bottom: 1px solid #334155;
    flex-shrink: 0;
}

.modal-header h2 {
    font-size: 18px;
    color: #f1f5f9;
}

.modal-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #334155;
    color: #e2e8f0;
}

.modal-body {
    padding: 20px 22px;
    overflow-y: auto;
    flex: 1;
    max-height: calc(90vh - 65px);
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.3);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.4);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.7);
}

.qris-container {
    text-align: center;
}

.qris-code {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: inline-block;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #f0f0f0 25%, #e0e0e0 25%, #e0e0e0 50%, #f0f0f0 50%, #f0f0f0 75%, #e0e0e0 75%);
    background-size: 20px 20px;
    border-radius: 8px;
}

.qris-instruction {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 20px;
}

.payment-amount {
    background: #334155;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.payment-amount .label {
    color: #94a3b8;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.payment-amount .amount {
    color: #3b82f6;
    font-size: 28px;
    font-weight: 700;
}

.payment-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #94a3b8;
}

.payment-timer {
    background: #334155;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    margin-bottom: 10px;
}

.timer-icon {
    font-size: 20px;
}

.timer-value {
    color: #3b82f6;
    font-weight: 700;
    font-size: 18px;
}

.timer-value.warning {
    color: #f59e0b;
}

.timer-value.danger {
    color: #ef4444;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #334155;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Accounts List */
.accounts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.account-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s;
}

.account-card:hover {
    border-color: #3b82f6;
    transform: translateX(4px);
}

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

.account-type {
    font-size: 16px;
    font-weight: 600;
    color: #f1f5f9;
}

.account-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-copy {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-copy:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-copy:active {
    transform: scale(0.98);
}

.btn-download {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-download:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-download:active {
    transform: scale(0.98);
}

.btn-delete {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-delete:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-delete:active {
    transform: scale(0.98);
}

.account-date {
    font-size: 12px;
    color: #64748b;
}

.account-content {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 16px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #cbd5e1;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.6;
    max-height: 300px;
    overflow-y: auto;
    user-select: text;
    -webkit-user-select: text;
}

.account-content::-webkit-scrollbar {
    width: 6px;
}

.account-content::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 3px;
}


/* History List */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.history-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.history-card:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.history-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.history-info p {
    font-size: 14px;
    color: #94a3b8;
}

.history-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.history-status.success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.history-status.pending {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.history-status.failed {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.history-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(51, 65, 85, 0.5);
}

.history-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-detail-label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-detail-value {
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 500;
}

.history-amount {
    font-size: 20px;
    font-weight: 700;
    color: #3b82f6;
}

/* Account Card Item (My Sales & Accounts) */
.account-card-item {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 12px;
    transition: all 0.25s ease;
}

.account-card-item:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.account-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.account-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.account-title {
    font-size: 16px;
    font-weight: 700;
    color: #f1f5f9;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ================= NEW FEATURES STYLES ================= */

.btn-sidebar-seller-auth {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: 1px solid rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    transition: all 0.2s ease;
}

.btn-sidebar-seller-auth:hover {
    background: rgba(99, 102, 241, 0.3);
    color: white;
    transform: translateY(-1px);
}

.btn-sidebar-seller-auth.logged-in {
    border-color: rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
}

.btn-sidebar-seller-auth.logged-in:hover {
    background: rgba(239, 68, 68, 0.25);
    color: white;
}

/* Primary Action Button (Marketplace Header) */
.btn-primary-action {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
    transition: all 0.25s;
}

.btn-primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* Category Filter Tabs Bar */
.category-tabs-wrapper {
    display: flex;
    gap: 8px;
    margin: 16px 0 24px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.cat-tab-btn {
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cat-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}

.cat-tab-btn.active {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

/* Sell Modal & Forms */
.modal-content-large {
    max-width: 600px;
    width: 90%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.form-group-item {
    margin-bottom: 14px;
}

.form-col {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 12px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: white;
    font-size: 13px;
    outline: none;
    font-family: inherit;
    user-select: text;
}

select.form-input {
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: menulist;
    user-select: auto;
    color: #f8fafc;
    background-color: #0f172a;
}

select.form-input option {
    background-color: #0f172a;
    color: #f8fafc;
    padding: 10px;
    font-size: 13px;
}

.form-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.price-lock-tag {
    padding: 10px 14px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px dashed #6366f1;
    border-radius: 8px;
    color: #a5b4fc;
    font-weight: 700;
    font-size: 13px;
}

.btn-cancel-modal {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-cancel-modal:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-submit-modal {
    padding: 10px 20px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-submit-modal:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.45);
}

/* Star Seller Special Badges & Effects */
.badge-star-seller-gold {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #1e1b4b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.45);
    animation: starPulse 2.5s infinite alternate;
}

.star-icon-sparkle {
    display: inline-block;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
    animation: starTwinkle 1.8s infinite ease-in-out;
}

@keyframes starTwinkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.25) rotate(15deg); }
}

@keyframes starPulse {
    0% { box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35); }
    100% { box-shadow: 0 4px 16px rgba(245, 158, 11, 0.65); }
}

.note-item.star-seller-card {
    border-color: rgba(245, 158, 11, 0.45);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(40, 26, 12, 0.45));
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.12);
}

.note-item.star-seller-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 8px 26px rgba(245, 158, 11, 0.25);
}

.badge-blocked-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* Buyer Report Styles */
#report-photo-dropzone:hover,
#report-photo-dropzone.dragover {
    border-color: #3b82f6 !important;
    background: rgba(59, 130, 246, 0.15) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

#btn-remove-report-photo:hover {
    background: rgba(239, 68, 68, 0.3) !important;
    color: #ef4444 !important;
    transform: scale(1.04);
}

/* =========================================================
   LANGUAGE SELECTOR & DROPDOWN (i18n)
   ========================================================= */
.lang-switcher-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 6px;
    -webkit-app-region: no-drag;
}

.lang-selector-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 5px 10px;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-app-region: no-drag;
}

.lang-selector-btn:hover {
    background: rgba(51, 65, 85, 0.9);
    border-color: rgba(99, 102, 241, 0.45);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

.lang-flag-current {
    display: flex;
    align-items: center;
}

.flag-icon {
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    display: inline-block;
    vertical-align: middle;
}

.lang-name-current {
    font-size: 12px;
    letter-spacing: 0.2px;
}

.lang-chevron {
    opacity: 0.65;
    transition: transform 0.2s ease;
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #171b20;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.2);
    padding: 6px;
    min-width: 145px;
    z-index: 100000;
    display: none;
    flex-direction: column;
    gap: 3px;
    backdrop-filter: blur(16px);
    animation: langDropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-app-region: no-drag;
}

.lang-dropdown-menu.show {
    display: flex;
}

@keyframes langDropdownFade {
    0% {
        opacity: 0;
        transform: translateY(-6px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    user-select: none;
}

.lang-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
}

.lang-dropdown-item.active {
    background: #272a2e;
    color: #ffffff;
    font-weight: 700;
}

.lang-item-flag {
    display: flex;
    align-items: center;
}

.lang-item-name {
    flex: 1;
}

.lang-item-check {
    font-size: 11px;
    color: #38bdf8;
    font-weight: 800;
}

/* Settings Language Grid Selection */
.settings-lang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.settings-lang-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(15, 23, 42, 0.6);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.settings-lang-tile:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(30, 41, 59, 0.8);
    transform: translateY(-2px);
}

.settings-lang-tile.active {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.15);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
}

.settings-lang-tile .lang-tile-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #e2e8f0;
    flex: 1;
}

.settings-lang-tile.active .lang-tile-name {
    color: #a5b4fc;
    font-weight: 700;
}

.settings-lang-tile .lang-tile-radio {
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* Buyer Report Styles */
#report-photo-dropzone:hover,
#report-photo-dropzone.dragover {
    border-color: #3b82f6 !important;
    background: rgba(59, 130, 246, 0.15) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

#btn-remove-report-photo:hover {
    background: rgba(239, 68, 68, 0.3) !important;
    color: #ef4444 !important;
    transform: scale(1.04);
}

/* =========================================================
   LANGUAGE SELECTOR & DROPDOWN (i18n)
   ========================================================= */
.lang-switcher-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 6px;
    -webkit-app-region: no-drag;
}

.lang-selector-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 5px 10px;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-app-region: no-drag;
}

.lang-selector-btn:hover {
    background: rgba(51, 65, 85, 0.9);
    border-color: rgba(99, 102, 241, 0.45);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

.lang-flag-current {
    display: flex;
    align-items: center;
}

.flag-icon {
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    display: inline-block;
    vertical-align: middle;
}

.lang-name-current {
    font-size: 12px;
    letter-spacing: 0.2px;
}

.lang-chevron {
    opacity: 0.65;
    transition: transform 0.2s ease;
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #171b20;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.2);
    padding: 6px;
    min-width: 145px;
    z-index: 100000;
    display: none;
    flex-direction: column;
    gap: 3px;
    backdrop-filter: blur(16px);
    animation: langDropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-app-region: no-drag;
}

.lang-dropdown-menu.show {
    display: flex;
}

@keyframes langDropdownFade {
    0% {
        opacity: 0;
        transform: translateY(-6px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    user-select: none;
}

.lang-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
}

.lang-dropdown-item.active {
    background: #272a2e;
    color: #ffffff;
    font-weight: 700;
}

.lang-item-flag {
    display: flex;
    align-items: center;
}

.lang-item-name {
    flex: 1;
}

.lang-item-check {
    font-size: 11px;
    color: #38bdf8;
    font-weight: 800;
}

/* Settings Language Grid Selection */
.settings-lang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.settings-lang-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(15, 23, 42, 0.6);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.settings-lang-tile:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(30, 41, 59, 0.8);
    transform: translateY(-2px);
}

.settings-lang-tile.active {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.15);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
}

.settings-lang-tile .lang-tile-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #e2e8f0;
    flex: 1;
}

.settings-lang-tile.active .lang-tile-name {
    color: #a5b4fc;
    font-weight: 700;
}

.settings-lang-tile .lang-tile-radio {
    width: 16px;
    height: 16px;
    accent-color: #6366f1;
}

/* =========================================================
   PAYMENT METHOD SELECTION & DUAL GATEWAY MODAL
   ========================================================= */
.pay-product-summary-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 8px;
}

.pay-summary-label {
    font-size: 11px;
    font-weight: 700;
    color: #818cf8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
}

.pay-summary-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.4;
}

.pay-summary-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #94a3b8;
}

.pay-summary-price {
    font-size: 17px;
    font-weight: 800;
    color: #38bdf8;
}

/* Method Selection Cards */
.payment-selection-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pay-select-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(15, 23, 42, 0.75);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.pay-select-card:hover {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
}

.pay-select-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qris-icon-box {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.crypto-icon-box {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.pay-select-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pay-select-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #f1f5f9;
}

.pay-badge-instant {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    border-radius: 20px;
}

.pay-badge-crypto {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
    border-radius: 20px;
}

.pay-select-sub {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.3;
}

.pay-select-arrow {
    font-size: 16px;
    color: #818cf8;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.pay-select-card:hover .pay-select-arrow {
    transform: translateX(4px);
    color: #a5b4fc;
}

/* Back navigation bar */
.pay-back-bar {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.btn-pay-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-pay-back:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    border-color: rgba(99, 102, 241, 0.4);
}

/* Crypto View Specifics */
.crypto-card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px;
}

.crypto-coins-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 12px;
}

.crypto-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 20px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    letter-spacing: 0.2px;
}

.crypto-amount-box {
    width: 100%;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 12px;
    text-align: center;
}

.crypto-amount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #cbd5e1;
}

.crypto-amount-val {
    font-size: 16px;
    font-weight: 800;
    color: #34d399;
}

.btn-plisio-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5) !important;
    filter: brightness(1.08);
}

/* ============ MARKETPLACE STATS GLASS DOCK ============ */
.marketplace-dock-wrapper {
    max-width: 960px;
    margin: 4px 0 16px;
}

.marketplace-stats-dock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(22, 31, 48, 0.75) 0%, rgba(15, 23, 42, 0.88) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px 24px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    gap: 16px;
    transition: all 0.3s ease;
}

.marketplace-stats-dock:hover {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dock-segment {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.dock-live-segment {
    flex: 0 0 auto;
}

.realtime-indicator-premium {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 15px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 20px;
}

.indicator-dot-glow {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.9);
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
    }
    50% {
        transform: scale(1.25);
        box-shadow: 0 0 16px rgba(16, 185, 129, 1);
    }
}

.live-meta {
    display: flex;
    flex-direction: column;
}

.live-status-title {
    font-size: 11.5px;
    font-weight: 700;
    color: #10b981;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

.live-status-sub {
    font-size: 9.5px;
    color: #6ee7b7;
    opacity: 0.8;
    line-height: 1.2;
}

.dock-divider {
    width: 1px;
    height: 38px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.02) 100%);
    flex-shrink: 0;
}

.dock-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.dock-segment:hover .dock-icon-box {
    transform: scale(1.05);
}

.dock-icon-box.available-box {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: #10b981;
}

.dock-icon-box.sold-box-amber {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.dock-segment-body {
    display: flex;
    flex-direction: column;
}

.dock-segment-label {
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-weight: 700;
    margin-bottom: 2px;
    white-space: nowrap;
}

.dock-value-group {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.dock-value {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.dock-value.available-val {
    color: #10b981;
    text-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.dock-value.sold-val-amber {
    color: #fbbf24;
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.dock-subtext {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .marketplace-stats-dock {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .dock-divider {
        display: none;
    }
}

/* =========================================================
   TAHAP 1 — Marketplace Light Theme (scoped, UI only)
   Mirip mockup: area konten terang, kartu putih.
   Sidebar / titlebar / logic tetap. Halaman lain belum disentuh.
   ========================================================= */

body {
    background: #e8eef6;
    color: #0f172a;
}

.main-content {
    background: #eef2f7;
    padding: 24px 28px 32px;
}

/* --- Marketplace page: light panel --- */
#marketplace-page .marketplace-dock-wrapper,
#marketplace-page .marketplace-toolbar {
    max-width: 100%;
}

#marketplace-page .marketplace-stats-dock {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

#marketplace-page .marketplace-stats-dock:hover {
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

#marketplace-page .dock-divider {
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.02) 0%,
        rgba(15, 23, 42, 0.12) 50%,
        rgba(15, 23, 42, 0.02) 100%
    );
}

#marketplace-page .dock-segment-label {
    color: #64748b;
}

#marketplace-page .dock-subtext {
    color: #94a3b8;
}

#marketplace-page .live-status-sub {
    color: #059669;
    opacity: 0.85;
}

#marketplace-page .dock-value.available-val,
#marketplace-page .dock-value.sold-val-amber {
    text-shadow: none;
}

#marketplace-page .marketplace-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 22px;
}

#marketplace-page .search-box-premium {
    flex: 1;
    background: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

#marketplace-page .search-box-premium:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15), 0 4px 14px rgba(15, 23, 42, 0.06);
    background: #ffffff;
}

#marketplace-page .search-box-premium svg {
    color: #3b82f6;
}

#marketplace-page .search-box-premium input {
    color: #0f172a;
}

#marketplace-page .search-box-premium input::placeholder {
    color: #94a3b8;
}

#marketplace-page #btn-sort-price {
    background: #ffffff !important;
    border: 1.5px solid rgba(59, 130, 246, 0.25) !important;
    color: #2563eb !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

#marketplace-page #btn-sort-price:hover {
    background: #eff6ff !important;
    border-color: rgba(59, 130, 246, 0.45) !important;
}

/* Product cards — white SaaS style (Marketplace only) */
#marketplace-page .note-item,
#marketplace-page .note-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    backdrop-filter: none;
}

#marketplace-page .note-item:hover:not(.sold),
#marketplace-page .note-card:hover:not(.sold) {
    border-color: rgba(59, 130, 246, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
}

#marketplace-page .note-item.sold,
#marketplace-page .note-card.sold {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.05);
    opacity: 0.72;
}

#marketplace-page .note-card-banner {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

#marketplace-page .note-card-title {
    color: #0f172a;
}

#marketplace-page .note-card-desc {
    color: #64748b;
}

#marketplace-page .note-card-desc.is-clamped:hover {
    color: #475569;
}

#marketplace-page .note-card-desc.is-expanded {
    color: #334155;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: none;
}

#marketplace-page .note-card-seller-info {
    color: #64748b;
}

#marketplace-page .seller-name-label {
    color: #334155;
}

#marketplace-page .note-card-date {
    color: #94a3b8;
}

#marketplace-page .note-card-footer {
    background: #f8fafc;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

#marketplace-page .price-prefix {
    color: #94a3b8;
}

#marketplace-page .note-price-amount {
    color: #2563eb;
    text-shadow: none;
}

#marketplace-page .btn-buy-note {
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

#marketplace-page .empty-state h3 {
    color: #0f172a;
}

#marketplace-page .empty-state p {
    color: #64748b;
}

/* =========================================================
   TAHAP 2 — Sidebar brand + Jadi Penjual + Marketplace topbar
   ========================================================= */

.sidebar-brand {
    display: none !important;
}

.sidebar-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    overflow: hidden;
    background: #000000;
    flex-shrink: 0;
    border: 1px solid rgba(59, 130, 246, 0.35);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.sidebar-brand-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transform: scale(1.15);
}

.sidebar-brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.45);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.sidebar-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

.sidebar-brand-name {
    font-size: 15px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.3px;
}

.sidebar-brand-tag {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.sidebar-jadi-penjual {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(59, 130, 246, 0.28);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.14) 0%, rgba(30, 41, 59, 0.65) 100%);
    color: #f8fafc;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    font-family: inherit;
}

.sidebar-jadi-penjual:hover {
    border-color: rgba(59, 130, 246, 0.55);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.24) 0%, rgba(30, 41, 59, 0.78) 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18);
}

.jadi-penjual-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.jadi-penjual-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.jadi-penjual-title {
    font-size: 13px;
    font-weight: 700;
    color: #f8fafc;
}

.jadi-penjual-sub {
    font-size: 10.5px;
    color: #94a3b8;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jadi-penjual-arrow {
    color: #93c5fd;
    flex-shrink: 0;
    opacity: 0.9;
}

.sidebar-jadi-penjual.is-logged-in {
    border-color: rgba(239, 68, 68, 0.35);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(30, 41, 59, 0.6) 100%);
}

.sidebar-jadi-penjual.is-logged-in .jadi-penjual-icon {
    background: linear-gradient(145deg, #f87171 0%, #ef4444 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.35);
}

.sidebar-jadi-penjual.is-logged-in .jadi-penjual-title {
    color: #fecaca;
}

.sidebar-jadi-penjual.is-logged-in .jadi-penjual-arrow {
    color: #fca5a5;
}

.sidebar-auth-wrap {
    display: none;
}

.sidebar-footer .sidebar-copyright {
    margin-top: 2px;
}

.sidebar-support {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 4px;
    white-space: normal;
}

.sidebar-support-contact,
.sidebar-support-links a {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 600;
}

.sidebar-support-contact {
    font-size: 12px;
}

.sidebar-support-links {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #64748b;
}

.sidebar-support a:hover {
    color: #ffffff;
}

.btn-sidebar-seller-auth {
    border-radius: 10px;
    font-size: 11.5px;
    padding: 9px 12px;
}

/* Marketplace content topbar */
#marketplace-page .marketplace-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
}

#marketplace-page .marketplace-topbar-search {
    flex: 1;
    background: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.07);
    border-radius: 999px;
    padding: 11px 18px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

#marketplace-page .marketplace-topbar-search:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14), 0 4px 14px rgba(15, 23, 42, 0.05);
}

#marketplace-page .marketplace-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

#marketplace-page .mp-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

#marketplace-page .mp-icon-btn:hover {
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.3);
    background: #eff6ff;
}

#marketplace-page .mp-notify-dot {
    position: absolute;
    top: 10px;
    right: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    border: 1.5px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.25);
}

#marketplace-page .marketplace-toolbar-sort {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 16px;
    max-width: 100%;
}

#marketplace-page .marketplace-toolbar-sort #btn-sort-price {
    background: #ffffff !important;
    border: 1.5px solid rgba(59, 130, 246, 0.22) !important;
    color: #2563eb !important;
    border-radius: 12px !important;
}

/* =========================================================
   TAHAP 3 — Hero banner (mirip mockup contoh)
   ========================================================= */

#marketplace-page .mp-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 220px;
    padding: 32px 36px 40px;
    margin: 0 0 18px;
    border-radius: 24px;
    background:
        radial-gradient(ellipse 55% 80% at 88% 45%, rgba(96, 165, 250, 0.35) 0%, transparent 55%),
        linear-gradient(110deg, #f0f7ff 0%, #e8f1ff 45%, #dbeafe 100%);
    border: 1px solid rgba(147, 197, 253, 0.45);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.07);
}

#marketplace-page .mp-hero-content {
    position: relative;
    z-index: 3;
    flex: 1 1 52%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#marketplace-page .mp-hero-chip-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#marketplace-page .mp-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: transparent;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: none;
}

#marketplace-page .mp-hero-live {
    padding: 5px 12px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 999px;
    gap: 7px;
}

#marketplace-page .mp-hero-live .live-status-title {
    font-size: 11.5px;
    color: #059669;
}

#marketplace-page .mp-hero-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.28;
    letter-spacing: -0.5px;
    margin: 0;
}

#marketplace-page .mp-hero-accent {
    color: #2563eb;
    display: inline;
}

#marketplace-page .mp-hero-sub {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
    max-width: 440px;
}

#marketplace-page .mp-hero-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

#marketplace-page .mp-trust-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}

#marketplace-page .mp-trust-stat strong {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

#marketplace-page .mp-trust-ico {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#marketplace-page .mp-trust-available {
    color: #047857;
}

#marketplace-page .mp-trust-available strong {
    color: #059669;
}

#marketplace-page .mp-trust-guest {
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 999px;
    padding: 5px 12px 5px 8px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    max-width: 100%;
}

html[data-theme="dark"] #marketplace-page .mp-trust-guest {
    background: rgba(59, 130, 246, 0.16);
    border-color: rgba(96, 165, 250, 0.28);
    color: #93c5fd;
}

#marketplace-page .mp-trust-sold {
    color: #1e3a8a;
}

#marketplace-page .mp-trust-sold strong {
    color: #2563eb;
}

#marketplace-page .mp-trust-sep {
    width: 1px;
    height: 18px;
    background: rgba(148, 163, 184, 0.55);
    flex-shrink: 0;
}

/* ——— Right: floating brand tiles (CSS 3D, no broken crop) ——— */
#marketplace-page .mp-hero-visual {
    position: relative;
    z-index: 2;
    flex: 0 0 280px;
    width: 280px;
    height: 200px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

#marketplace-page .mp-ribbon {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: conic-gradient(from 200deg, rgba(59, 130, 246, 0.0), rgba(59, 130, 246, 0.35), rgba(147, 197, 253, 0.15), transparent 70%);
    filter: blur(1px);
    opacity: 0.9;
    animation: mpOrbPulse 5s ease-in-out infinite;
}

#marketplace-page .mp-ribbon::before {
    content: '';
    position: absolute;
    inset: 28px;
    border-radius: 50%;
    border: 18px solid rgba(96, 165, 250, 0.28);
    border-left-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(-25deg);
}

#marketplace-page .mp-brand-cluster {
    position: relative;
    width: 250px;
    height: 190px;
    z-index: 2;
    perspective: 600px;
}

#marketplace-page .mp-brand-tile {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow:
        0 16px 32px rgba(37, 99, 235, 0.16),
        0 4px 12px rgba(15, 23, 42, 0.08);
}

#marketplace-page .mp-brand-ga {
    width: 100px;
    height: 100px;
    left: 18px;
    top: 42px;
    background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 26px;
    z-index: 3;
    transform: rotateY(-12deg) rotateZ(-6deg);
    animation: mpFloatGa 4s ease-in-out infinite;
}

#marketplace-page .mp-ga-svg {
    width: 58px;
    height: 58px;
}

#marketplace-page .mp-brand-ms {
    width: 58px;
    height: 58px;
    left: 118px;
    top: 12px;
    background: #ffffff;
    border-radius: 16px;
    z-index: 4;
    animation: mpFloatMs 3.4s ease-in-out infinite;
}

#marketplace-page .mp-brand-2c {
    width: 78px;
    height: 78px;
    right: 6px;
    top: 48px;
    background: #ffffff;
    border-radius: 18px;
    gap: 3px;
    z-index: 4;
    animation: mpFloat2c 3.8s ease-in-out infinite;
}

#marketplace-page .mp-2c-label {
    font-size: 9px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin-top: -2px;
}

#marketplace-page .mp-brand-game {
    width: 60px;
    height: 60px;
    left: 130px;
    bottom: 8px;
    background: #ffffff;
    border-radius: 16px;
    z-index: 4;
    animation: mpFloatGame 3.6s ease-in-out infinite;
}

#marketplace-page .mp-hero-brands-img,
#marketplace-page .mp-hero-orb,
#marketplace-page .mp-float-icon,
#marketplace-page .mp-ga-logo-img {
    display: none !important;
}

#marketplace-page .mp-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    right: auto;
    top: auto;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    z-index: 5;
}

#marketplace-page .mp-hero-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.55);
}

#marketplace-page .mp-hero-dots span.active {
    background: #2563eb;
    width: 22px;
    height: 7px;
    border-radius: 999px;
}

@keyframes mpFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes mpFloatGa {
    0%, 100% { transform: rotateY(-12deg) rotateZ(-6deg) translateY(0); }
    50% { transform: rotateY(-12deg) rotateZ(-6deg) translateY(-6px); }
}

@keyframes mpFloatMs {
    0%, 100% { transform: rotate(4deg) translateY(0); }
    50% { transform: rotate(4deg) translateY(-7px); }
}

@keyframes mpFloat2c {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50% { transform: rotate(-3deg) translateY(-8px); }
}

@keyframes mpFloatGame {
    0%, 100% { transform: rotate(6deg) translateY(0); }
    50% { transform: rotate(6deg) translateY(-6px); }
}

@keyframes mpOrbPulse {
    0%, 100% { opacity: 0.75; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

#marketplace-page .marketplace-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    max-width: 100%;
}

#marketplace-page .desktop-category-tabs,
#marketplace-page #desktop-category-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    overflow-x: auto;
    margin: 0;
    padding-bottom: 2px;
    scrollbar-width: thin;
}

#marketplace-page .cat-tab-btn {
    background: #eef2ff;
    border: 1.5px solid transparent;
    color: #334155;
    border-radius: 999px;
    padding: 8px 16px;
    box-shadow: none;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

#marketplace-page .cat-tab-btn .cat-tab-icon,
#marketplace-page .cat-tab-btn .cat-tab-emoji {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
}

#marketplace-page .cat-tab-btn .cat-logo-ms {
    border-radius: 2px;
}

#marketplace-page .cat-tab-btn:hover {
    background: #e0e7ff;
    color: #1d4ed8;
    border-color: transparent;
}

#marketplace-page .cat-tab-btn.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

/* Keep brand colors visible even on active blue pill */
#marketplace-page .cat-tab-btn.active .cat-logo-ms rect {
    /* microsoft colors stay */
}
#marketplace-page .cat-tab-btn:not(.active) .cat-tab-icon[stroke] {
    color: #475569;
}

#marketplace-page .btn-sort-price {
    background: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    color: #334155;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

#marketplace-page .btn-sort-price:hover {
    background: #f8fafc;
    border-color: rgba(59, 130, 246, 0.35);
    color: #2563eb;
}

#marketplace-page .btn-sort-price .sort-chevron {
    opacity: 0.55;
}

@media (max-width: 960px) {
    #marketplace-page .mp-hero {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
    }
    #marketplace-page .mp-hero-content {
        max-width: 100%;
    }
    #marketplace-page .mp-hero-title {
        font-size: 22px;
    }
    #marketplace-page .mp-hero-visual {
        align-self: center;
        margin: 8px 0 4px;
    }
}

/* =========================================================
   Shared Light Shop — Aplikasi + Game (samakan Marketplace)
   ========================================================= */

#aplikasi-page .marketplace-topbar,
#game-page .marketplace-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
}

#aplikasi-page .marketplace-topbar-search,
#game-page .marketplace-topbar-search {
    flex: 1;
    background: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.07);
    border-radius: 999px;
    padding: 11px 18px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

#aplikasi-page .marketplace-topbar-search:focus-within,
#game-page .marketplace-topbar-search:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

#aplikasi-page .search-box-premium svg,
#game-page .search-box-premium svg { color: #3b82f6; }

#aplikasi-page .search-box-premium input,
#game-page .search-box-premium input { color: #0f172a; }

#aplikasi-page .search-box-premium input::placeholder,
#game-page .search-box-premium input::placeholder { color: #94a3b8; }

#aplikasi-page .marketplace-topbar-actions,
#game-page .marketplace-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

#aplikasi-page .mp-icon-btn,
#game-page .mp-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

#aplikasi-page .mp-icon-btn:hover,
#game-page .mp-icon-btn:hover {
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.3);
    background: #eff6ff;
}

#aplikasi-page .mp-notify-dot,
#game-page .mp-notify-dot {
    position: absolute;
    top: 10px;
    right: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    border: 1.5px solid #ffffff;
}

#aplikasi-page .mp-hero,
#game-page .mp-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 200px;
    padding: 28px 32px 36px;
    margin: 0 0 18px;
    border-radius: 24px;
    background:
        radial-gradient(ellipse 55% 80% at 88% 45%, rgba(96, 165, 250, 0.35) 0%, transparent 55%),
        linear-gradient(110deg, #f0f7ff 0%, #e8f1ff 45%, #dbeafe 100%);
    border: 1px solid rgba(147, 197, 253, 0.45);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.07);
}

#aplikasi-page .mp-hero-app {
    background:
        radial-gradient(ellipse 55% 80% at 88% 45%, rgba(167, 139, 250, 0.35) 0%, transparent 55%),
        linear-gradient(110deg, #f5f3ff 0%, #ede9fe 45%, #e0e7ff 100%);
}

#game-page .mp-hero-game {
    background:
        radial-gradient(ellipse 55% 80% at 88% 45%, rgba(244, 114, 182, 0.28) 0%, transparent 55%),
        linear-gradient(110deg, #fdf2f8 0%, #fce7f3 40%, #e0e7ff 100%);
}

#aplikasi-page .mp-hero-content,
#game-page .mp-hero-content {
    position: relative;
    z-index: 3;
    flex: 1 1 52%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#aplikasi-page .mp-hero-chip-row,
#game-page .mp-hero-chip-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#aplikasi-page .mp-hero-chip,
#game-page .mp-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
}

#aplikasi-page .mp-hero-live,
#game-page .mp-hero-live {
    padding: 5px 12px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 999px;
    gap: 7px;
}

#aplikasi-page .mp-hero-live .live-status-title,
#game-page .mp-hero-live .live-status-title {
    font-size: 11.5px;
    color: #059669;
}

#aplikasi-page .mp-hero-title,
#game-page .mp-hero-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.28;
    letter-spacing: -0.5px;
    margin: 0;
}

#aplikasi-page .mp-hero-accent,
#game-page .mp-hero-accent { color: #2563eb; }

#aplikasi-page .mp-hero-sub,
#game-page .mp-hero-sub {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
    max-width: 440px;
}

#aplikasi-page .mp-hero-trust,
#game-page .mp-hero-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

#aplikasi-page .mp-trust-stat,
#game-page .mp-trust-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}

#aplikasi-page .mp-trust-stat strong,
#game-page .mp-trust-stat strong {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

#aplikasi-page .mp-trust-available,
#game-page .mp-trust-available { color: #047857; }
#aplikasi-page .mp-trust-available strong,
#game-page .mp-trust-available strong { color: #059669; }
#aplikasi-page .mp-trust-sold,
#game-page .mp-trust-sold { color: #1e3a8a; }
#aplikasi-page .mp-trust-sold strong,
#game-page .mp-trust-sold strong { color: #2563eb; }

#aplikasi-page .mp-trust-sep,
#game-page .mp-trust-sep {
    width: 1px;
    height: 18px;
    background: rgba(148, 163, 184, 0.55);
}

#aplikasi-page .mp-hero-visual,
#game-page .mp-hero-visual {
    position: relative;
    z-index: 2;
    flex: 0 0 260px;
    width: 260px;
    height: 190px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

#aplikasi-page .mp-ribbon,
#game-page .mp-ribbon {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(from 200deg, transparent, rgba(59, 130, 246, 0.3), rgba(147, 197, 253, 0.15), transparent 70%);
}

#aplikasi-page .mp-brand-cluster,
#game-page .mp-brand-cluster {
    position: relative;
    width: 230px;
    height: 180px;
    z-index: 2;
}

#aplikasi-page .mp-brand-tile,
#game-page .mp-brand-tile {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.14), 0 4px 10px rgba(15, 23, 42, 0.06);
}

#aplikasi-page .mp-brand-ga,
#game-page .mp-brand-ga {
    width: 88px;
    height: 88px;
    left: 16px;
    top: 40px;
    background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 22px;
    animation: mpFloatGa 4s ease-in-out infinite;
}

#aplikasi-page .mp-ga-svg,
#game-page .mp-ga-svg { width: 48px; height: 48px; }

#aplikasi-page .mp-brand-ms,
#game-page .mp-brand-ms {
    width: 52px;
    height: 52px;
    left: 112px;
    top: 14px;
    background: #fff;
    border-radius: 14px;
    animation: mpFloatMs 3.4s ease-in-out infinite;
}

#aplikasi-page .mp-brand-2c,
#game-page .mp-brand-2c {
    width: 58px;
    height: 58px;
    right: 10px;
    top: 52px;
    background: #fff;
    border-radius: 16px;
    animation: mpFloat2c 3.8s ease-in-out infinite;
}

#aplikasi-page .mp-brand-game,
#game-page .mp-brand-game {
    width: 52px;
    height: 52px;
    left: 120px;
    bottom: 10px;
    background: #fff;
    border-radius: 14px;
    animation: mpFloatGame 3.6s ease-in-out infinite;
}

#aplikasi-page .mp-hero-dots,
#game-page .mp-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    right: auto;
    top: auto;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    z-index: 5;
}

#aplikasi-page .mp-hero-dots span,
#game-page .mp-hero-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.55);
}

#aplikasi-page .mp-hero-dots span.active,
#game-page .mp-hero-dots span.active {
    background: #2563eb;
    width: 20px;
    height: 7px;
    border-radius: 999px;
}

#aplikasi-page .marketplace-filter-row,
#game-page .marketplace-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 18px;
}

#aplikasi-page .shop-page-label,
#game-page .shop-page-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

#aplikasi-page .btn-sort-price,
#game-page .btn-sort-price {
    background: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    color: #334155;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: inherit;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

#aplikasi-page .btn-sort-price:hover,
#game-page .btn-sort-price:hover {
    background: #f8fafc;
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.35);
}

/* Light product cards */
#aplikasi-page .note-item,
#aplikasi-page .note-card,
#game-page .note-item,
#game-page .note-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    backdrop-filter: none;
}

#aplikasi-page .note-item:hover:not(.sold),
#aplikasi-page .note-card:hover:not(.sold),
#game-page .note-item:hover:not(.sold),
#game-page .note-card:hover:not(.sold) {
    border-color: rgba(59, 130, 246, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

#aplikasi-page .note-card-title,
#game-page .note-card-title { color: #0f172a; }

#aplikasi-page .note-card-desc,
#game-page .note-card-desc { color: #64748b; }

#aplikasi-page .note-card-desc.is-clamped:hover,
#game-page .note-card-desc.is-clamped:hover {
    color: #475569;
}

#aplikasi-page .note-card-desc.is-expanded,
#game-page .note-card-desc.is-expanded {
    color: #334155;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: none;
}

#aplikasi-page .note-card-desc.is-expanded::-webkit-scrollbar-thumb,
#game-page .note-card-desc.is-expanded::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.35);
}

#aplikasi-page .note-card-seller-info,
#game-page .note-card-seller-info { color: #64748b; }

#aplikasi-page .seller-name-label,
#game-page .seller-name-label { color: #334155; }

#aplikasi-page .note-card-footer,
#game-page .note-card-footer {
    background: #f8fafc;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

#aplikasi-page .note-price-amount,
#game-page .note-price-amount {
    color: #2563eb;
    text-shadow: none;
}

#aplikasi-page .price-prefix,
#game-page .price-prefix { color: #94a3b8; }

#aplikasi-page .btn-buy-note,
#game-page .btn-buy-note {
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

#aplikasi-page .empty-state h3,
#game-page .empty-state h3 { color: #0f172a; }

#aplikasi-page .empty-state p,
#game-page .empty-state p { color: #64748b; }

#aplikasi-page .note-card.sold,
#game-page .note-card.sold {
    background: #f8fafc;
    opacity: 0.72;
}

/* =========================================================
   Report page — light professional theme
   ========================================================= */

#report-page .report-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 18px;
    padding: 20px 22px;
    border-radius: 20px;
    background: linear-gradient(110deg, #eff6ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.06);
}

#report-page .report-hero-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18);
    flex-shrink: 0;
}

#report-page .report-hero-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}

#report-page .report-hero-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

#report-page .report-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding-bottom: 10px;
}

#report-page .report-tab-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: #eef2ff;
    border: 1.5px solid transparent;
    color: #475569;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

#report-page .report-tab-btn:hover {
    background: #e0e7ff;
    color: #1d4ed8;
}

#report-page .report-tab-btn.active {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

#report-page .report-badge-count {
    display: none;
    padding: 2px 7px;
    border-radius: 10px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    margin-left: 2px;
}

#report-page .report-success-banner {
    display: none;
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

#report-page .report-success-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

#report-page .report-success-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

#report-page .report-success-title {
    font-weight: 700;
    color: #047857;
    font-size: 13.5px;
}

#report-page .report-success-desc {
    font-size: 12px;
    color: #475569;
    margin-top: 2px;
}

#report-page .report-success-desc strong {
    color: #2563eb;
}

#report-page .report-status-pending {
    color: #b45309;
    font-weight: 700;
}

#report-page .report-banner-btn {
    background: #eff6ff;
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #2563eb;
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

#report-page .report-settings {
    max-width: 860px;
    padding: 0;
}

#report-page .report-policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

#report-page .report-policy-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

#report-page .report-policy-green { border-top: 3px solid #10b981; }
#report-page .report-policy-red { border-top: 3px solid #ef4444; }
#report-page .report-policy-blue { border-top: 3px solid #2563eb; }

#report-page .report-policy-head {
    font-weight: 700;
    font-size: 13px;
    color: #0f172a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#report-page .report-policy-ico {
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f8fafc;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#report-page .report-policy-card p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

#report-page .report-cooldown-box {
    display: none;
    background: #fffbeb;
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

#report-page .report-cooldown-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

#report-page .report-cooldown-title {
    font-weight: 700;
    color: #b45309;
    font-size: 13px;
}

#report-page .report-cooldown-msg {
    font-size: 12px;
    color: #92400e;
    margin-top: 2px;
}

#report-page .report-form-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

#report-page .report-form-card .form-label {
    color: #334155;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

#report-page .report-form-card .req { color: #ef4444; }

#report-page .report-form-card .form-input {
    background: #f8fafc;
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    color: #0f172a;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
}

#report-page .report-form-card .form-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    outline: none;
    background: #fff;
}

#report-page .report-form-card textarea.form-input {
    resize: vertical;
    font-family: inherit;
    min-height: 88px;
}

#report-page .report-form-row { margin-top: 12px; }

#report-page .report-upload-label {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

#report-page .report-upload-hint {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

#report-page .report-dropzone {
    border: 2px dashed rgba(59, 130, 246, 0.35);
    border-radius: 14px;
    padding: 18px 16px;
    text-align: center;
    background: #f8fbff;
    cursor: pointer;
    transition: all 0.2s ease;
}

#report-page .report-dropzone:hover,
#report-page .report-dropzone.dragover {
    background: #eff6ff;
    border-color: #3b82f6;
}

#report-page .report-dropzone-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

#report-page .report-dropzone-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

#report-page .report-dropzone-title {
    font-weight: 600;
    color: #0f172a;
    font-size: 13px;
}

#report-page .report-dropzone-fmt {
    font-size: 12px;
    color: #94a3b8;
}

#report-page .report-photo-preview {
    display: none;
    margin-top: 10px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

#report-page .report-photo-preview-left {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

#report-page #report-photo-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    flex-shrink: 0;
}

#report-page #report-photo-filename {
    font-weight: 700;
    color: #0f172a;
    font-size: 12.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#report-page #report-photo-filesize {
    font-size: 11.5px;
    color: #059669;
}

#report-page .report-remove-photo {
    background: #fef2f2;
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #dc2626;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

#report-page .report-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

#report-page .report-submit-btn {
    width: auto !important;
    padding: 11px 22px !important;
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3) !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

#report-page .report-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#report-page .report-empty-state {
    padding: 36px 24px;
    text-align: center;
    background: #ffffff;
    border-radius: 16px;
    border: 1px dashed rgba(15, 23, 42, 0.12);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

#report-page .report-empty-ico {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 16px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

#report-page .report-empty-state h3 {
    font-size: 15px;
    color: #0f172a;
    margin: 0 0 6px;
}

#report-page .report-empty-state p {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.45;
}

#report-page .report-hist-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

#report-page .report-hist-card.is-pending {
    border-color: rgba(245, 158, 11, 0.35);
}

#report-page .report-hist-main {
    flex: 1;
    min-width: 220px;
}

#report-page .report-hist-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #64748b;
}

#report-page .report-hist-meta code {
    color: #2563eb;
    font-weight: 700;
    font-size: 12px;
}

#report-page .report-hist-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

#report-page .report-hist-pending {
    background: #fffbeb;
    color: #b45309;
}

#report-page .report-hist-done {
    background: #ecfdf5;
    color: #047857;
}

#report-page .report-hist-rejected {
    background: #fef2f2;
    color: #dc2626;
}

#report-page .report-hist-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 13.5px;
    margin-top: 8px;
}

#report-page .report-hist-title strong {
    color: #dc2626;
}

#report-page .report-hist-cat {
    color: #64748b;
    font-weight: 500;
    font-size: 12px;
    margin-left: 6px;
}

#report-page .report-hist-desc {
    font-size: 12.5px;
    color: #475569;
    margin-top: 8px;
    line-height: 1.45;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

#report-page .report-hist-msg {
    font-size: 12px;
    margin-top: 8px;
}

#report-page .report-hist-msg-pending { color: #b45309; }
#report-page .report-hist-msg-done { color: #047857; }
#report-page .report-hist-msg-rejected { color: #dc2626; }

#report-page .report-hist-admin {
    font-size: 12px;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 10px;
    padding: 8px 10px;
    margin-top: 8px;
}

#report-page .report-hist-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

#report-page .report-hist-photo {
    cursor: pointer;
}

#report-page .report-hist-photo img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

#report-page .report-hist-delete {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 11.5px;
    cursor: pointer;
    padding: 2px;
    font-family: inherit;
}

#report-page .report-hist-delete:hover {
    color: #dc2626;
}

/* Category pills on Aplikasi + Game (sama seperti Marketplace) */
#aplikasi-page .desktop-category-tabs,
#aplikasi-page #aplikasi-category-tabs,
#game-page .desktop-category-tabs,
#game-page #game-category-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    overflow-x: auto;
    margin: 0;
    padding-bottom: 2px;
    scrollbar-width: thin;
}

#aplikasi-page .cat-tab-btn,
#game-page .cat-tab-btn {
    background: #eef2ff;
    border: 1.5px solid transparent;
    color: #334155;
    border-radius: 999px;
    padding: 8px 16px;
    box-shadow: none;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-family: inherit;
}

#aplikasi-page .cat-tab-btn:hover,
#game-page .cat-tab-btn:hover {
    background: #e0e7ff;
    color: #1d4ed8;
}

#aplikasi-page .cat-tab-btn.active,
#game-page .cat-tab-btn.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

#aplikasi-page .marketplace-filter-row,
#game-page .marketplace-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
}

/* ===== Seller pages: Jual Akun + Penjualan Saya (tema terang) ===== */
#sell-account-page .seller-page-hero,
#my-sales-page .seller-page-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 18px;
    padding: 20px 22px;
    border-radius: 20px;
    background: linear-gradient(110deg, #eff6ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.06);
}

#sell-account-page .seller-page-hero-icon,
#my-sales-page .seller-page-hero-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18);
    flex-shrink: 0;
}

#sell-account-page .seller-page-title,
#my-sales-page .seller-page-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}

#sell-account-page .seller-page-sub,
#my-sales-page .seller-page-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

#sell-account-page .seller-sell-wrap {
    max-width: 820px;
    gap: 16px;
}

#sell-account-page .seller-auth-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fffbeb;
    border: 1px solid rgba(245, 158, 11, 0.35);
    margin-bottom: 4px;
}

#sell-account-page .seller-auth-banner.is-verified {
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, 0.35);
}

#sell-account-page .seller-auth-banner.is-star {
    background: #fffbeb;
    border-color: rgba(245, 158, 11, 0.4);
}

#sell-account-page .seller-auth-banner-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

#sell-account-page .seller-auth-banner-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
}

#sell-account-page .seller-auth-banner-sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

#sell-account-page .seller-form-card,
#sell-account-page .seller-tutorial-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 22px 22px 18px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

#sell-account-page .form-label,
#sell-account-page .sell-section-label {
    color: #334155;
    font-size: 12.5px;
    font-weight: 700;
}

#sell-account-page .req { color: #ef4444; }

#sell-account-page .form-input,
#sell-account-page select.form-input {
    background: #f8fafc;
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    color: #0f172a;
    border-radius: 10px;
}

#sell-account-page select.form-input option {
    background: #ffffff;
    color: #0f172a;
}

#sell-account-page .form-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

#sell-account-page .form-input::placeholder {
    color: #94a3b8;
}

#sell-account-page .sell-readonly {
    background: #f1f5f9 !important;
    color: #475569 !important;
    opacity: 1;
}

#sell-account-page .sell-path-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

#sell-account-page .sell-path-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 12px;
    border-radius: 12px;
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

#sell-account-page .sell-path-card input { display: none; }

#sell-account-page .sell-path-card:hover {
    border-color: rgba(37, 99, 235, 0.35);
    background: #eff6ff;
}

#sell-account-page .sell-path-card.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

#sell-account-page .sell-path-ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #e0e7ff;
    color: #2563eb;
}

#sell-account-page .sell-path-ico-app { background: #f3e8ff; color: #7c3aed; }
#sell-account-page .sell-path-ico-game { background: #fce7f3; color: #db2777; }

#sell-account-page .sell-path-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

#sell-account-page .sell-path-desc {
    font-size: 11px;
    color: #64748b;
    line-height: 1.35;
}

#sell-account-page .sell-path-desc strong { color: #2563eb; }

#sell-account-page .sell-price-wrap { position: relative; }

#sell-account-page .sell-price-input {
    padding-left: 38px;
    font-weight: 700;
    color: #1d4ed8;
    font-size: 15px;
}

#sell-account-page .sell-price-prefix {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-weight: 700;
    font-size: 13px;
}

#sell-account-page .sell-field-hint {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

/* Web Jual Akun: deskripsi lebih tinggi, zona TXT lebih ringkas */
#sell-account-page textarea#inapp-sell-desc.sell-desc-input,
#sell-account-page .sell-desc-input {
    min-height: 180px !important;
    height: auto !important;
    resize: vertical;
    line-height: 1.45;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

#sell-account-page .sell-sublabel {
    font-weight: 500;
    color: #94a3b8;
    margin-left: 4px;
}

#sell-account-page .sell-dropzone {
    border: 2px dashed rgba(37, 99, 235, 0.35);
    border-radius: 12px;
    padding: 12px 14px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

#sell-account-page #txt-dropzone.sell-dropzone,
#sell-account-page div#txt-dropzone {
    padding: 6px 10px !important;
    min-height: unset !important;
    max-height: none;
}

#sell-account-page #txt-dropzone .sell-dropzone-ico {
    margin-bottom: 0 !important;
}

#sell-account-page #txt-dropzone .sell-dropzone-ico svg {
    width: 18px !important;
    height: 18px !important;
}

#sell-account-page #txt-dropzone .sell-dropzone-title {
    font-size: 12px !important;
    margin-bottom: 1px !important;
}

#sell-account-page #txt-dropzone .sell-dropzone-sub {
    font-size: 10.5px !important;
    line-height: 1.25 !important;
}

#sell-account-page #txt-dropzone .sell-file-badge {
    margin-top: 4px !important;
    padding: 4px 8px !important;
}

#sell-account-page .sell-dropzone:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

#sell-account-page .sell-dropzone.path-app {
    border-color: rgba(124, 58, 237, 0.35);
}

#sell-account-page .sell-dropzone.path-game {
    border-color: rgba(219, 39, 119, 0.35);
}

#sell-account-page .sell-dropzone-ico { margin-bottom: 8px; }

#sell-account-page .sell-dropzone-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 13.5px;
    margin-bottom: 4px;
}

#sell-account-page .sell-dropzone-sub,
#sell-account-page .sell-thumb-dropzone #thumbnail-status {
    font-size: 12px;
    color: #64748b;
}

#sell-account-page .sell-file-badge {
    display: none;
    margin-top: 12px;
    padding: 6px 14px;
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    color: #059669;
    font-weight: 600;
    font-size: 12px;
}

#sell-account-page .sell-thumb-preview {
    max-width: 120px;
    max-height: 120px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    object-fit: cover;
}

#sell-account-page .seller-post-note {
    margin-top: 14px;
    font-size: 12px;
    color: #475569;
    background: #f1f5f9;
    padding: 10px 14px;
    border-radius: 10px;
    border-left: 3px solid #2563eb;
}

#sell-account-page .sell-form-actions {
    margin-top: 22px;
    display: flex;
    justify-content: flex-end;
}

#sell-account-page .sell-submit-btn,
#my-sales-page .sell-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: 13.5px;
}

#sell-account-page .seller-tutorial-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

#sell-account-page .seller-tutorial-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

#sell-account-page .seller-tutorial-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sell-account-page .seller-tutorial-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 14px;
}

#sell-account-page .seller-tutorial-sub {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 1px;
}

#sell-account-page .seller-ghost-btn {
    background: #eff6ff;
    border: 1px solid rgba(37, 99, 235, 0.25);
    color: #1d4ed8;
    padding: 7px 14px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

#sell-account-page .seller-ghost-btn:hover {
    background: #dbeafe;
}

#sell-account-page .seller-ghost-btn-green {
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, 0.3);
    color: #059669;
}

#sell-account-page .seller-tutorial-preview { margin-top: 14px; }

#sell-account-page .seller-tutorial-code {
    background: #0f172a;
    border-radius: 10px;
    padding: 14px 16px;
    max-height: 280px;
    overflow-y: auto;
}

#sell-account-page .seller-tutorial-code pre {
    font-family: Consolas, Monaco, monospace;
    font-size: 11.5px;
    color: #cbd5e1;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
}

#sell-account-page .seller-tutorial-dl {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

#sell-account-page .seller-tips-box {
    margin-top: 14px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
}

#sell-account-page .seller-tips-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

#sell-account-page .seller-tips-label input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
    flex-shrink: 0;
    cursor: pointer;
}

#sell-account-page .seller-tips-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 13px;
}

#sell-account-page .seller-tips-desc {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 3px;
    line-height: 1.45;
}

#sell-account-page .seller-tips-desc strong { color: #1d4ed8; }

#sell-account-page .seller-tips-note {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
    font-style: italic;
}

@media (max-width: 900px) {
    #sell-account-page .sell-path-grid {
        grid-template-columns: 1fr;
    }
}

/* Penjualan Saya */
#my-sales-page .seller-finance-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

#my-sales-page .finance-stat-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

#my-sales-page .finance-card-net {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-color: rgba(16, 185, 129, 0.35);
}

#my-sales-page .finance-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

#my-sales-page .finance-card-net .finance-stat-label {
    color: #047857;
    font-weight: 700;
}

#my-sales-page .finance-stat-value {
    font-size: 22px;
    font-weight: 800;
    margin: 4px 0 2px;
}

#my-sales-page .finance-card-net .finance-stat-value { font-size: 24px; }

#my-sales-page .finance-val-blue { color: #2563eb; }
#my-sales-page .finance-val-red { color: #dc2626; }
#my-sales-page .finance-val-green { color: #059669; }
#my-sales-page .finance-val-purple { color: #7c3aed; }

#my-sales-page .finance-stat-sub {
    font-size: 11.5px;
    color: #94a3b8;
}

#my-sales-page .finance-card-net .finance-stat-sub { color: #047857; }

#my-sales-page .withdrawal-action-banner {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

#my-sales-page .wd-banner-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

#my-sales-page .wd-banner-meta {
    font-size: 12.5px;
    color: #64748b;
    margin-top: 4px;
}

#my-sales-page .wd-meta-gold { color: #d97706; }
#my-sales-page .wd-meta-blue { color: #2563eb; }
#my-sales-page .wd-meta-sep { margin: 0 8px; opacity: 0.35; }

#my-sales-page .sales-tabs-header {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding-bottom: 10px;
}

#my-sales-page .sales-tabs-header .cat-tab-btn {
    background: #eef2ff;
    border: 1.5px solid transparent;
    color: #475569;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#my-sales-page .sales-tabs-header .cat-tab-btn:hover {
    background: #e0e7ff;
    color: #1d4ed8;
}

#my-sales-page .sales-tabs-header .cat-tab-btn.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

#my-sales-page .sales-wd-badge {
    display: none;
    padding: 2px 7px;
    border-radius: 10px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
}

#my-sales-page .sales-sold-badge {
    display: none;
    padding: 2px 7px;
    border-radius: 10px;
    background: #059669;
    color: white;
    font-size: 10px;
    font-weight: 700;
}

#my-sales-page .sales-sold-history-list {
    flex-direction: column;
    gap: 12px;
}

#my-sales-page .sales-sold-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

#my-sales-page .sales-sold-card:hover {
    border-color: rgba(5, 150, 105, 0.25);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.08);
}

#my-sales-page .sales-sold-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

#my-sales-page .sales-sold-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

#my-sales-page .sales-sold-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#my-sales-page .sales-sold-info h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

#my-sales-page .sales-sold-info p {
    margin: 0;
    font-size: 12px;
    color: #64748b;
}

#my-sales-page .sales-sold-status {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #059669;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

#my-sales-page .sales-sold-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

#my-sales-page .sales-sold-detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#my-sales-page .sales-sold-detail-label {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

#my-sales-page .sales-sold-detail-value {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

#my-sales-page .sales-sold-detail-value code {
    font-size: 12px;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 6px;
}

#my-sales-page .account-card-item {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

#my-sales-page .account-card-item:hover {
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.28);
}

#my-sales-page .account-title { color: #0f172a; }

#my-sales-page .account-date {
    font-size: 12px;
    color: #64748b;
}

#my-sales-page .account-date code {
    background: #f1f5f9;
    color: #475569;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11px;
}

#my-sales-page .account-icon.sales-brand-ico {
    background: #eff6ff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

#my-sales-page .sales-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#my-sales-page .sales-brand-chip {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1d4ed8;
}

#my-sales-page .sales-star-chip {
    font-size: 11px;
    padding: 2px 8px;
    background: #fffbeb;
    border: 1px solid #f59e0b;
    color: #b45309;
    border-radius: 999px;
    font-weight: 600;
}

#my-sales-page .sales-card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

#my-sales-page .sales-btn-edit,
#my-sales-page .sales-btn-delete {
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

#my-sales-page .sales-btn-edit {
    background: #eff6ff;
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #1d4ed8;
}

#my-sales-page .sales-btn-delete {
    background: #fef2f2;
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

#my-sales-page .sales-card-details {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

#my-sales-page .detail-label { color: #94a3b8; }
#my-sales-page .detail-value { color: #334155; font-weight: 600; }
#my-sales-page .sales-val-blue { color: #2563eb !important; font-weight: 700; }
#my-sales-page .sales-val-red { color: #dc2626 !important; font-weight: 600; }
#my-sales-page .sales-val-green { color: #059669 !important; font-weight: 800; }
#my-sales-page .sales-val-wa { color: #16a34a !important; }

#my-sales-page .empty-state h3 { color: #0f172a; }
#my-sales-page .empty-state p { color: #64748b; }

#my-sales-page .status-badge {
    font-size: 11px;
}

#my-sales-page .account-details.sales-card-details {
    display: grid;
    gap: 12px;
    margin-top: 4px;
}

#my-sales-page .detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#my-sales-page .detail-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

#my-sales-page .detail-value {
    font-size: 13.5px;
}

/* Filter jalur di Penjualan Saya */
#my-sales-page .sales-path-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 16px;
    padding: 4px 0 2px;
}

#my-sales-page .sales-path-filter .cat-tab-btn {
    background: #eef2ff;
    border: 1.5px solid transparent;
    color: #334155;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-family: inherit;
}

#my-sales-page .sales-path-filter .cat-tab-btn:hover {
    background: #e0e7ff;
    color: #1d4ed8;
}

#my-sales-page .sales-path-filter .cat-tab-btn.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

#my-sales-page .sales-path-filter .cat-tab-btn.active .cat-logo-ms rect {
    /* keep microsoft brand colors on active */
}

#my-sales-page .sales-path-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.08);
    color: inherit;
}

#my-sales-page .sales-path-filter .cat-tab-btn.active .sales-path-count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* ===== Pengaturan: tema terang profesional ===== */
#settings-page .settings-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 18px;
    padding: 20px 22px;
    border-radius: 20px;
    background: linear-gradient(110deg, #eff6ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.06);
}

#settings-page .settings-hero-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18);
    flex-shrink: 0;
}

#settings-page .settings-hero-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}

#settings-page .settings-hero-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

#settings-page .settings-wrap {
    max-width: 760px;
    gap: 14px;
}

#settings-page .settings-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

#settings-page .settings-card h3,
#settings-page .settings-card-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

#settings-page .settings-card-desc {
    font-size: 12.5px;
    color: #64748b;
    margin: 4px 0 0;
    line-height: 1.4;
}

#settings-page .settings-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

#settings-page .settings-card-head-left,
#settings-page .settings-section-intro {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

#settings-page .settings-section-intro {
    margin-bottom: 14px;
}

#settings-page .settings-card-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#settings-page .settings-card-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#settings-page .settings-version-badge {
    font-size: 11px;
    padding: 3px 9px;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 999px;
    font-weight: 700;
}

#settings-page .settings-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

#settings-page .settings-download-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#settings-page .settings-download-btn:hover {
    filter: brightness(1.05);
}

#settings-page .settings-check-btn {
    background: #eef2ff;
    color: #1d4ed8;
    border: 1px solid rgba(37, 99, 235, 0.25);
    box-shadow: none;
}

#settings-page .settings-check-btn:hover {
    background: #e0e7ff;
    color: #1e40af;
}

#settings-page .settings-action-btn {
    width: auto;
    padding: 9px 16px;
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

#settings-page .settings-admin-panel {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

#settings-page .settings-admin-title {
    font-weight: 700;
    font-size: 13px;
    color: #1d4ed8;
    margin-bottom: 12px;
}

#settings-page .form-label {
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

#settings-page .req { color: #ef4444; }

#settings-page .form-input,
#settings-page .setting-item input,
#settings-page #device-id-display {
    background: #f8fafc !important;
    border: 1.5px solid rgba(15, 23, 42, 0.1) !important;
    color: #0f172a !important;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
}

#settings-page .form-input:focus,
#settings-page .setting-item input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

#settings-page .settings-admin-notes { margin-top: 10px; }

#settings-page .settings-admin-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

#settings-page .settings-check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 12.5px;
    color: #475569;
    font-weight: 600;
}

#settings-page .settings-check-label input {
    width: 16px;
    height: 16px;
    accent-color: #ef4444;
}

#settings-page .settings-release-btn {
    width: auto;
    padding: 9px 18px;
    font-size: 12.5px;
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

#settings-page .settings-lang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
    margin-top: 4px;
}

#settings-page .settings-lang-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1.5px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    user-select: none;
}

#settings-page .settings-lang-tile:hover {
    border-color: rgba(37, 99, 235, 0.35);
    background: #eff6ff;
    transform: none;
}

#settings-page .settings-lang-tile.active {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

#settings-page .settings-lang-tile .lang-tile-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    flex: 1;
}

#settings-page .settings-lang-tile.active .lang-tile-name {
    color: #1d4ed8;
    font-weight: 700;
}

#settings-page .settings-lang-tile .lang-tile-radio {
    accent-color: #2563eb;
    width: 16px;
    height: 16px;
}

#settings-page .setting-item label {
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

#settings-page .settings-toggle-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#settings-page .setting-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    margin-bottom: 8px;
}

#settings-page .setting-toggle:last-child { margin-bottom: 0; }

#settings-page .setting-toggle label {
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 0;
}

#settings-page .setting-toggle .toggle {
    accent-color: #2563eb;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Panel notifikasi lonceng */
.mp-notify-panel {
    position: fixed;
    z-index: 5000;
    width: 320px;
    max-height: 420px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.16);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mp-notify-panel[hidden] { display: none !important; }

.mp-notify-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    color: #0f172a;
    font-size: 13.5px;
}

.mp-notify-clear {
    background: transparent;
    border: none;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.mp-notify-list {
    overflow-y: auto;
    max-height: 360px;
    padding: 6px;
}

.mp-notify-empty {
    padding: 28px 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}

.mp-notify-item {
    width: 100%;
    text-align: left;
    background: #f8fafc;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 6px;
    cursor: pointer;
    font-family: inherit;
}

.mp-notify-item:hover {
    background: #eff6ff;
    border-color: rgba(37, 99, 235, 0.2);
}

.mp-notify-item.is-read { opacity: 0.72; }

.mp-notify-item-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.mp-notify-item-desc {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.35;
}

/* ===== Riwayat Transaksi: tema terang ===== */
#history-page .history-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 18px;
    padding: 20px 22px;
    border-radius: 20px;
    background: linear-gradient(110deg, #eff6ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.06);
    flex-wrap: wrap;
}

#history-page .history-hero-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18);
    flex-shrink: 0;
}

#history-page .history-hero-text { flex: 1; min-width: 180px; }

#history-page .history-hero-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}

#history-page .history-hero-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

#history-page .history-clear-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fef2f2;
    border: 1px solid rgba(239, 68, 68, 0.28);
    color: #dc2626;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    margin-left: auto;
}

#history-page .history-clear-all-btn:hover {
    background: #fee2e2;
}

#history-page .history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#history-page .history-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}

#history-page .history-card:hover {
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.28);
    transform: none;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
}

#history-page .history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

#history-page .history-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

#history-page .history-card-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#history-page .history-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.35;
    word-break: break-word;
}

#history-page .history-info p {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
    word-break: break-all;
}

#history-page .history-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

#history-page .history-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

#history-page .history-status.success {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

#history-page .history-status.pending {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

#history-page .history-status.failed {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

#history-page .history-delete-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fef2f2;
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #dc2626;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

#history-page .history-delete-btn:hover {
    background: #fee2e2;
}

#history-page .history-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
}

#history-page .history-detail-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

#history-page .history-detail-value {
    font-size: 13.5px;
    color: #334155;
    font-weight: 600;
}

#history-page .history-amount {
    font-size: 18px;
    font-weight: 800;
    color: #2563eb;
}

#history-page .empty-state {
    background: #ffffff;
    border: 1px dashed rgba(15, 23, 42, 0.12);
    border-radius: 16px;
    padding: 48px 24px;
}

#history-page .empty-state h3 {
    color: #0f172a;
}

#history-page .empty-state p {
    color: #64748b;
}

#history-page .empty-state svg {
    color: #2563eb;
    margin-bottom: 8px;
}

/* Hero carousel slides + clickable dots */
.mp-hero-slides {
    position: relative;
    min-height: 92px;
    margin-bottom: 4px;
}

.mp-hero-slide {
    display: none;
    animation: mpHeroFade 0.35s ease;
}

.mp-hero-slide.is-active {
    display: block;
}

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

#marketplace-page .mp-hero-dots,
#aplikasi-page .mp-hero-dots,
#game-page .mp-hero-dots {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: absolute;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: auto;
}

#marketplace-page .mp-hero-dots button,
#aplikasi-page .mp-hero-dots button,
#game-page .mp-hero-dots button {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(148, 163, 184, 0.55);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

#marketplace-page .mp-hero-dots button:hover,
#aplikasi-page .mp-hero-dots button:hover,
#game-page .mp-hero-dots button:hover {
    background: rgba(37, 99, 235, 0.55);
}

#marketplace-page .mp-hero-dots button.active,
#aplikasi-page .mp-hero-dots button.active,
#game-page .mp-hero-dots button.active {
    width: 22px;
    height: 8px;
    background: #2563eb;
}

/* ===== Akun Saya: tema terang profesional ===== */
#my-accounts-page .accounts-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 18px;
    padding: 20px 22px;
    border-radius: 20px;
    background: linear-gradient(110deg, #eff6ff 0%, #e0e7ff 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.06);
}

#my-accounts-page .accounts-hero-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18);
    flex-shrink: 0;
}

#my-accounts-page .accounts-hero-text { flex: 1; min-width: 180px; }

#my-accounts-page .accounts-hero-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}

#my-accounts-page .accounts-hero-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

#my-accounts-page .accounts-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#my-accounts-page .account-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#my-accounts-page .account-card:hover {
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

#my-accounts-page .account-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

#my-accounts-page .account-type {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    max-width: min(520px, 100%);
}

#my-accounts-page .account-type-ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

#my-accounts-page .account-type-name {
    padding-top: 6px;
}

#my-accounts-page .account-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#my-accounts-page .btn-copy,
#my-accounts-page .btn-download,
#my-accounts-page .btn-delete {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

#my-accounts-page .btn-copy {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

#my-accounts-page .btn-copy:hover {
    background: #dbeafe;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.16);
    transform: none;
}

#my-accounts-page .btn-download {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.22);
}

#my-accounts-page .btn-download:hover {
    background: #d1fae5;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.16);
    transform: none;
}

#my-accounts-page .btn-delete {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.22);
}

#my-accounts-page .btn-delete:hover {
    background: #fee2e2;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.14);
    transform: none;
}

#my-accounts-page .btn-copy:active,
#my-accounts-page .btn-download:active,
#my-accounts-page .btn-delete:active {
    transform: scale(0.98);
}

#my-accounts-page .account-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 7px 10px;
    border-radius: 10px;
    white-space: nowrap;
}

#my-accounts-page .account-content {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
    font-size: 12.5px;
    color: #334155;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.65;
    max-height: 320px;
    overflow-y: auto;
    user-select: text;
    -webkit-user-select: text;
}

#my-accounts-page .account-content::-webkit-scrollbar {
    width: 6px;
}

#my-accounts-page .account-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

#my-accounts-page .empty-state {
    text-align: center;
    padding: 48px 20px;
    background: #ffffff;
    border: 1px dashed rgba(37, 99, 235, 0.25);
    border-radius: 16px;
    color: #64748b;
}

#my-accounts-page .empty-state h3 {
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
    margin: 12px 0 6px;
}

#my-accounts-page .empty-state p {
    color: #64748b;
    font-size: 13px;
    margin: 0;
}

#my-accounts-page .empty-state svg {
    color: #2563eb;
    opacity: 0.85;
}

/* ===== Modal Login / Daftar Penjual: tema terang modern ===== */
#seller-auth-modal {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
}

#seller-auth-modal .auth-modal-card {
    max-width: 440px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

#seller-auth-modal .auth-modal-header {
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: linear-gradient(110deg, #eff6ff 0%, #f8fafc 100%);
    align-items: flex-start;
}

#seller-auth-modal .auth-modal-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

#seller-auth-modal .auth-modal-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.16);
    flex-shrink: 0;
}

#seller-auth-modal .auth-modal-header h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.2px;
}

#seller-auth-modal .auth-modal-sub {
    margin: 3px 0 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

#seller-auth-modal .modal-close {
    color: #64748b;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

#seller-auth-modal .modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

#seller-auth-modal .auth-modal-body {
    padding: 18px 20px 22px;
    background: #ffffff;
}

#seller-auth-modal .auth-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    margin-bottom: 18px;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
}

#seller-auth-modal .auth-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    color: #64748b;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

#seller-auth-modal .auth-tab-btn:hover {
    color: #2563eb;
}

#seller-auth-modal .auth-tab-btn.active {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

#seller-auth-modal .form-group-item {
    margin-bottom: 14px;
}

#seller-auth-modal .form-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

#seller-auth-modal .form-label .req {
    color: #ef4444;
}

#seller-auth-modal .form-input {
    background: #f8fafc;
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    color: #0f172a;
    border-radius: 11px;
    padding: 11px 14px;
    font-size: 13.5px;
}

#seller-auth-modal .form-input::placeholder {
    color: #94a3b8;
}

#seller-auth-modal .form-input:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

#seller-auth-modal .auth-remember {
    margin: 4px 0 2px;
}

#seller-auth-modal .auth-remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    font-size: 12.5px;
    color: #64748b;
}

#seller-auth-modal .auth-remember-label input {
    width: 15px;
    height: 15px;
    accent-color: #2563eb;
    cursor: pointer;
}

#seller-auth-modal .auth-submit-wrap {
    margin-top: 16px;
}

#seller-auth-modal .auth-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

#seller-auth-modal .auth-submit-btn:hover {
    filter: brightness(1.04);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.34);
}

#seller-auth-modal .auth-switch-line {
    margin: 14px 0 0;
    text-align: center;
    font-size: 12.5px;
    color: #64748b;
}

#seller-auth-modal .auth-switch-line a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

#seller-auth-modal .auth-switch-line a:hover {
    text-decoration: underline;
}

#seller-auth-modal .auth-captcha-group {
    margin-top: 4px;
}

#seller-auth-modal .auth-captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

#seller-auth-modal .auth-captcha-q {
    background: #eff6ff;
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 800;
    color: #1d4ed8;
    font-size: 15px;
    letter-spacing: 1px;
    white-space: nowrap;
    user-select: none;
}

#seller-auth-modal .auth-captcha-input {
    max-width: 110px;
    text-align: center;
    font-weight: 700;
}

#seller-auth-modal .auth-captcha-refresh {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    background: #eff6ff;
    color: #2563eb;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#seller-auth-modal .auth-captcha-refresh:hover {
    background: #dbeafe;
}

#seller-auth-modal .modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
}

#seller-auth-modal .modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

/* =========================================================
   MODE MALAM — area konten gelap (sidebar/titlebar tetap)
   ========================================================= */
html[data-theme="dark"] body {
    background: #0b1220;
    color: #e2e8f0;
}

html[data-theme="dark"] .main-content {
    background: #0f172a;
    color: #e2e8f0;
}

html[data-theme="dark"] #marketplace-page .marketplace-topbar-search,
html[data-theme="dark"] #aplikasi-page .marketplace-topbar-search,
html[data-theme="dark"] #game-page .marketplace-topbar-search,
html[data-theme="dark"] #marketplace-page .search-box-premium,
html[data-theme="dark"] #aplikasi-page .search-box-premium,
html[data-theme="dark"] #game-page .search-box-premium {
    background: #1e293b !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
    box-shadow: none !important;
}

html[data-theme="dark"] #marketplace-page .search-box-premium input,
html[data-theme="dark"] #aplikasi-page .search-box-premium input,
html[data-theme="dark"] #game-page .search-box-premium input {
    color: #e2e8f0 !important;
}

html[data-theme="dark"] #marketplace-page .search-box-premium input::placeholder,
html[data-theme="dark"] #aplikasi-page .search-box-premium input::placeholder,
html[data-theme="dark"] #game-page .search-box-premium input::placeholder {
    color: #64748b !important;
}

html[data-theme="dark"] #marketplace-page .search-box-premium svg,
html[data-theme="dark"] #aplikasi-page .search-box-premium svg,
html[data-theme="dark"] #game-page .search-box-premium svg {
    color: #94a3b8 !important;
}

html[data-theme="dark"] #marketplace-page .mp-icon-btn,
html[data-theme="dark"] #aplikasi-page .mp-icon-btn,
html[data-theme="dark"] #game-page .mp-icon-btn {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
}

html[data-theme="dark"] #marketplace-page .mp-hero,
html[data-theme="dark"] #aplikasi-page .mp-hero,
html[data-theme="dark"] #game-page .mp-hero {
    background: linear-gradient(120deg, #1e293b 0%, #172554 55%, #1e3a5f 100%) !important;
    border-color: rgba(59, 130, 246, 0.22) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="dark"] #marketplace-page .mp-hero-title,
html[data-theme="dark"] #aplikasi-page .mp-hero-title,
html[data-theme="dark"] #game-page .mp-hero-title {
    color: #f1f5f9 !important;
}

html[data-theme="dark"] #marketplace-page .mp-hero-sub,
html[data-theme="dark"] #aplikasi-page .mp-hero-sub,
html[data-theme="dark"] #game-page .mp-hero-sub {
    color: #94a3b8 !important;
}

html[data-theme="dark"] #marketplace-page .mp-hero-chip,
html[data-theme="dark"] #aplikasi-page .mp-hero-chip,
html[data-theme="dark"] #game-page .mp-hero-chip {
    background: rgba(37, 99, 235, 0.2);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.3);
}

html[data-theme="dark"] #marketplace-page .mp-trust-stat,
html[data-theme="dark"] #aplikasi-page .mp-trust-stat,
html[data-theme="dark"] #game-page .mp-trust-stat {
    color: #cbd5e1;
}

html[data-theme="dark"] #marketplace-page .mp-trust-stat strong,
html[data-theme="dark"] #aplikasi-page .mp-trust-stat strong,
html[data-theme="dark"] #game-page .mp-trust-stat strong {
    color: #f8fafc;
}

html[data-theme="dark"] #marketplace-page .cat-tab-btn,
html[data-theme="dark"] #aplikasi-page .cat-tab-btn,
html[data-theme="dark"] #game-page .cat-tab-btn,
html[data-theme="dark"] #my-sales-page .sales-path-filter .cat-tab-btn {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
}

html[data-theme="dark"] #marketplace-page .cat-tab-btn:hover,
html[data-theme="dark"] #aplikasi-page .cat-tab-btn:hover,
html[data-theme="dark"] #game-page .cat-tab-btn:hover,
html[data-theme="dark"] #my-sales-page .sales-path-filter .cat-tab-btn:hover {
    background: #243447;
    color: #93c5fd;
}

html[data-theme="dark"] #marketplace-page .cat-tab-btn.active,
html[data-theme="dark"] #aplikasi-page .cat-tab-btn.active,
html[data-theme="dark"] #game-page .cat-tab-btn.active,
html[data-theme="dark"] #my-sales-page .sales-path-filter .cat-tab-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

html[data-theme="dark"] #marketplace-page .btn-sort-price,
html[data-theme="dark"] #aplikasi-page .btn-sort-price,
html[data-theme="dark"] #game-page .btn-sort-price {
    background: #1e293b !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] #marketplace-page .note-item,
html[data-theme="dark"] #marketplace-page .note-card,
html[data-theme="dark"] #aplikasi-page .note-item,
html[data-theme="dark"] #aplikasi-page .note-card,
html[data-theme="dark"] #game-page .note-item,
html[data-theme="dark"] #game-page .note-card {
    background: #1e293b !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] #marketplace-page .note-card-title,
html[data-theme="dark"] #aplikasi-page .note-card-title,
html[data-theme="dark"] #game-page .note-card-title {
    color: #f1f5f9 !important;
}

html[data-theme="dark"] #marketplace-page .note-card-desc,
html[data-theme="dark"] #aplikasi-page .note-card-desc,
html[data-theme="dark"] #game-page .note-card-desc {
    color: #94a3b8 !important;
}

html[data-theme="dark"] #marketplace-page .note-card-desc.is-clamped:hover,
html[data-theme="dark"] #aplikasi-page .note-card-desc.is-clamped:hover,
html[data-theme="dark"] #game-page .note-card-desc.is-clamped:hover {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] #marketplace-page .note-card-desc.is-expanded,
html[data-theme="dark"] #aplikasi-page .note-card-desc.is-expanded,
html[data-theme="dark"] #game-page .note-card-desc.is-expanded {
    color: #e2e8f0 !important;
    background: #0f172a !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
}

html[data-theme="dark"] #marketplace-page .note-card-seller-info,
html[data-theme="dark"] #aplikasi-page .note-card-seller-info,
html[data-theme="dark"] #game-page .note-card-seller-info,
html[data-theme="dark"] #marketplace-page .note-card-date,
html[data-theme="dark"] #aplikasi-page .note-card-date,
html[data-theme="dark"] #game-page .note-card-date {
    color: #94a3b8 !important;
}

html[data-theme="dark"] #marketplace-page .seller-name-label,
html[data-theme="dark"] #aplikasi-page .seller-name-label,
html[data-theme="dark"] #game-page .seller-name-label {
    color: #e2e8f0 !important;
}

html[data-theme="dark"] #marketplace-page .note-card-footer,
html[data-theme="dark"] #aplikasi-page .note-card-footer,
html[data-theme="dark"] #game-page .note-card-footer {
    background: #172033 !important;
    border-top-color: rgba(148, 163, 184, 0.12) !important;
}

html[data-theme="dark"] #marketplace-page .price-prefix,
html[data-theme="dark"] #aplikasi-page .price-prefix,
html[data-theme="dark"] #game-page .price-prefix {
    color: #94a3b8 !important;
}

html[data-theme="dark"] #marketplace-page .note-price-amount,
html[data-theme="dark"] #aplikasi-page .note-price-amount,
html[data-theme="dark"] #game-page .note-price-amount {
    color: #60a5fa !important;
}

html[data-theme="dark"] #history-page .history-hero,
html[data-theme="dark"] #settings-page .settings-hero,
html[data-theme="dark"] #my-accounts-page .accounts-hero,
html[data-theme="dark"] #sell-account-page .seller-page-hero,
html[data-theme="dark"] #my-sales-page .seller-page-hero {
    background: linear-gradient(110deg, #1e293b 0%, #172554 100%) !important;
    border-color: rgba(59, 130, 246, 0.22) !important;
}

html[data-theme="dark"] #history-page .history-hero-title,
html[data-theme="dark"] #settings-page .settings-hero-title,
html[data-theme="dark"] #my-accounts-page .accounts-hero-title,
html[data-theme="dark"] #sell-account-page .seller-page-title,
html[data-theme="dark"] #my-sales-page .seller-page-title {
    color: #f1f5f9 !important;
}

html[data-theme="dark"] #history-page .history-hero-sub,
html[data-theme="dark"] #settings-page .settings-hero-sub,
html[data-theme="dark"] #my-accounts-page .accounts-hero-sub,
html[data-theme="dark"] #sell-account-page .seller-page-sub,
html[data-theme="dark"] #my-sales-page .seller-page-sub {
    color: #94a3b8 !important;
}

html[data-theme="dark"] #history-page .history-hero-icon,
html[data-theme="dark"] #settings-page .settings-hero-icon,
html[data-theme="dark"] #my-accounts-page .accounts-hero-icon,
html[data-theme="dark"] #sell-account-page .seller-page-hero-icon,
html[data-theme="dark"] #my-sales-page .seller-page-hero-icon {
    background: #0f172a !important;
}

html[data-theme="dark"] #history-page .history-card,
html[data-theme="dark"] #my-accounts-page .account-card,
html[data-theme="dark"] #my-sales-page .account-card-item,
html[data-theme="dark"] #settings-page .settings-card,
html[data-theme="dark"] #settings-page .setting-card,
html[data-theme="dark"] #sell-account-page .seller-form-card,
html[data-theme="dark"] #sell-account-page .seller-tutorial-card {
    background: #1e293b !important;
    border-color: rgba(148, 163, 184, 0.14) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}

html[data-theme="dark"] #my-accounts-page .account-type,
html[data-theme="dark"] #my-accounts-page .account-type-name,
html[data-theme="dark"] #history-page .history-info h3,
html[data-theme="dark"] #settings-page .settings-card-title {
    color: #f1f5f9 !important;
}

html[data-theme="dark"] #my-accounts-page .account-content {
    background: #0f172a !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] #my-accounts-page .account-date,
html[data-theme="dark"] #settings-page .settings-card-desc,
html[data-theme="dark"] #history-page .history-info p {
    color: #94a3b8 !important;
}

html[data-theme="dark"] #my-accounts-page .empty-state,
html[data-theme="dark"] #history-page .empty-state {
    background: #1e293b !important;
    border-color: rgba(59, 130, 246, 0.28) !important;
    color: #94a3b8 !important;
}

html[data-theme="dark"] #my-accounts-page .empty-state h3,
html[data-theme="dark"] #history-page .empty-state h3 {
    color: #f1f5f9 !important;
}

html[data-theme="dark"] #seller-auth-modal .auth-modal-card {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.16);
}

html[data-theme="dark"] #seller-auth-modal .auth-modal-header {
    background: linear-gradient(110deg, #172554 0%, #1e293b 100%);
    border-bottom-color: rgba(148, 163, 184, 0.12);
}

html[data-theme="dark"] #seller-auth-modal .auth-modal-header h2 {
    color: #f1f5f9;
}

html[data-theme="dark"] #seller-auth-modal .auth-modal-sub,
html[data-theme="dark"] #seller-auth-modal .auth-remember-label,
html[data-theme="dark"] #seller-auth-modal .auth-switch-line {
    color: #94a3b8;
}

html[data-theme="dark"] #seller-auth-modal .auth-modal-body {
    background: #1e293b;
}

html[data-theme="dark"] #seller-auth-modal .auth-tabs {
    background: #0f172a;
    border-color: rgba(148, 163, 184, 0.14);
}

html[data-theme="dark"] #seller-auth-modal .auth-tab-btn {
    color: #94a3b8;
}

html[data-theme="dark"] #seller-auth-modal .auth-tab-btn.active {
    background: #334155;
    color: #93c5fd;
}

html[data-theme="dark"] #seller-auth-modal .form-label {
    color: #cbd5e1;
}

html[data-theme="dark"] #seller-auth-modal .form-input {
    background: #0f172a;
    border-color: rgba(148, 163, 184, 0.2);
    color: #f1f5f9;
}

html[data-theme="dark"] #seller-auth-modal .form-input:focus {
    background: #111827;
    border-color: #3b82f6;
}

html[data-theme="dark"] #seller-auth-modal .auth-captcha-q,
html[data-theme="dark"] #seller-auth-modal .auth-captcha-refresh {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(59, 130, 246, 0.35);
    color: #93c5fd;
}

html[data-theme="dark"] #seller-auth-modal .auth-modal-ico {
    background: #0f172a;
}

html[data-theme="dark"] .page-title,
html[data-theme="dark"] .page-subtitle {
    color: #f1f5f9;
}

html[data-theme="dark"] .page-subtitle {
    color: #94a3b8;
}

