/**
 * ==============================================================================
 * GIAHUY CHIT-STORE - COMPONENT DESIGN SYSTEM & STYLESHEET
 * Dark Cyber-Neon Gaming Aesthetic
 * ==============================================================================
 */

:root {
    /* Color Palette */
    --bg: #080817;
    --bg-darker: #050510;
    --panel: #101021;
    --panel-light: #15152a;
    --panel-card: rgba(16, 16, 33, 0.85);
    --panel-hover: rgba(25, 25, 48, 0.95);
    
    --cyan: #00eaff;
    --cyan-glow: rgba(0, 234, 255, 0.45);
    --cyan-subtle: rgba(0, 234, 255, 0.15);
    
    --pink: #ff00c8;
    --pink-glow: rgba(255, 0, 200, 0.45);
    --pink-subtle: rgba(255, 0, 200, 0.18);
    
    --white: #ffffff;
    --muted: #9a9ab0;
    --muted-dark: #62627a;
    
    --border-pink: rgba(255, 0, 200, 0.38);
    --border-pink-bright: #ff00c8;
    --border-cyan: rgba(0, 234, 255, 0.38);
    --border-cyan-bright: #00eaff;
    
    /* Dimensions & Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 22px;
    
    --shell-max-width: 500px;
    --nav-height: 68px;
    --header-height: 72px;
    
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    background-color: var(--bg) !important;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.4;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-thumb {
    background: var(--pink-glow);
    border-radius: 4px;
}
::-webkit-scrollbar-track {
    background: transparent;
}

/* ==============================================================================
   APP SHELL (Centered on Desktop, Fullwidth on Mobile)
   ============================================================================== */
.app-shell {
    width: 100%;
    max-width: var(--shell-max-width);
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.85);
    padding-bottom: calc(var(--nav-height) + 24px);
    overflow-x: hidden;
}

/* ==============================================================================
   1. HEADER COMPONENT
   ============================================================================== */
.app-header {
    height: var(--header-height);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(8, 8, 23, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.btn-hamburger {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 234, 255, 0.3);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.btn-hamburger:hover {
    background: rgba(0, 234, 255, 0.15);
    border-color: var(--cyan);
    box-shadow: 0 0 10px var(--cyan-glow);
}

/* User Avatar & Logo Box */
.avatar-box {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0, 234, 255, 0.2), rgba(255, 0, 200, 0.2));
    border: 1.5px solid var(--cyan);
    box-shadow: 0 0 12px var(--cyan-glow);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
}
.avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-placeholder {
    font-weight: 800;
    font-size: 14px;
    color: var(--cyan);
    letter-spacing: 0.5px;
}

/* User Info Details */
.user-info-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
}

.user-name-row {
    display: flex;
    align-items: center;
    gap: 5px;
}
.user-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.badge-lang {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 4px;
}
.btn-lang-toggle {
    background: rgba(0, 234, 255, 0.08);
    border: 1px solid rgba(0, 234, 255, 0.35);
    color: var(--cyan);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-lang-toggle:hover {
    background: var(--cyan-subtle);
    box-shadow: 0 0 8px var(--cyan-glow);
}

.user-id-row {
    font-size: 10.5px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s;
    text-shadow: 0 0 6px rgba(56, 189, 248, 0.5);
    margin-top: 3px;
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}
.user-id-row:hover, .user-id-row:active {
    background: rgba(56, 189, 248, 0.25);
    border-color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
    transform: scale(0.98);
}

/* Header Right: Balance & Role Badge */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    flex-shrink: 0;
}

.balance-vnd {
    font-size: 14px;
    font-weight: 800;
    color: var(--cyan);
    letter-spacing: -0.3px;
    text-shadow: 0 0 10px var(--cyan-glow);
}

.balance-usdt {
    font-size: 10px;
    font-weight: 700;
    color: var(--pink);
    letter-spacing: 0.2px;
}

.badge-role {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: var(--pink);
    background: rgba(255, 0, 200, 0.08);
    border: 1px solid var(--pink);
    border-radius: 20px;
    padding: 1px 7px;
    box-shadow: 0 0 6px var(--pink-glow);
    text-transform: uppercase;
}

/* ==============================================================================
   2. HERO / SHOP TITLE SECTION (MATCHING REFERENCE)
   ============================================================================== */
.hero-section {
    padding: 14px 14px 6px;
}

.hero-card {
    background: var(--panel);
    border: 1px solid var(--border-pink);
    border-radius: var(--radius-lg);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 0 20px rgba(255, 0, 200, 0.12);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 0, 200, 0.15), transparent);
    pointer-events: none;
}

.hero-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(255, 0, 200, 0.12);
    border: 1px solid var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink);
    font-size: 20px;
    box-shadow: 0 0 14px var(--pink-glow);
    flex-shrink: 0;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hero-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.hero-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: var(--pink);
    letter-spacing: 0.2px;
}

/* ==============================================================================
   3. CATEGORY / PRODUCT SECTION CONTAINER
   ============================================================================== */
.shop-container-section {
    padding: 8px 14px 14px;
}

.shop-panel-card {
    background: var(--panel);
    border: 1.5px solid var(--border-pink);
    border-radius: var(--radius-xl);
    padding: 14px;
    box-shadow: 0 0 24px rgba(255, 0, 200, 0.14);
}

/* Section Header Bar */
.section-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-icon-cyan {
    color: var(--cyan);
    font-size: 18px;
    filter: drop-shadow(0 0 6px var(--cyan-glow));
}

.section-title-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.2px;
}

.btn-filter-settings {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: rgba(0, 234, 255, 0.06);
    border: 1px solid rgba(0, 234, 255, 0.3);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-filter-settings:hover {
    background: rgba(0, 234, 255, 0.16);
    border-color: var(--cyan);
    box-shadow: 0 0 10px var(--cyan-glow);
}

/* Category Filter Tags */
.category-filter-list {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 8px;
}
.category-filter-list::-webkit-scrollbar {
    display: none;
}

.category-filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}
.category-filter-btn.active,
.category-filter-btn:hover {
    background: rgba(0, 234, 255, 0.12);
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 10px var(--cyan-glow);
}

/* ==============================================================================
   4. PRODUCT GRID & CARDS (MATCHING 4-COLUMN REFERENCE FORM)
   ============================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
}

.category-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
}

/* Product Card - Pill / Squircle Shape */
.product-card {
    background: var(--panel-card);
    border: 1.5px solid var(--border-pink);
    border-radius: var(--radius-lg);
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: var(--cyan);
    box-shadow: 0 0 16px var(--cyan-glow);
    background: var(--panel-hover);
}

.product-card:active {
    transform: scale(0.97);
}

/* Product Thumbnail Box (SVG Neon Placeholder) */
.product-thumb-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 0, 200, 0.15), rgba(0, 234, 255, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    overflow: hidden;
    position: relative;
}

.product-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder-icon {
    font-size: 22px;
    color: var(--cyan);
    filter: drop-shadow(0 0 6px var(--cyan-glow));
}

/* Product Titles & Info */
.product-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    max-width: 100%;
    padding: 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-sub-info {
    font-size: 9.5px;
    font-weight: 600;
    color: var(--pink);
    margin-top: 3px;
    letter-spacing: 0.1px;
    white-space: nowrap;
}

/* ==============================================================================
   5. FLOATING CHAT BUTTON (CYAN NEON GLOW)
   ============================================================================== */
.floating-chat-btn {
    position: fixed;
    right: max(16px, calc((100vw - var(--shell-max-width)) / 2 + 16px));
    bottom: calc(var(--nav-height) + 16px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cyan);
    color: #04040d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 0 22px var(--cyan-glow), 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 90;
    transition: all 0.25s ease;
    border: none;
    outline: none;
    animation: pulse-glow 2.5s infinite;
}

.floating-chat-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px var(--cyan), 0 6px 16px rgba(0, 0, 0, 0.6);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 16px var(--cyan-glow);
    }
    50% {
        box-shadow: 0 0 26px var(--cyan), 0 0 8px #fff;
    }
    100% {
        box-shadow: 0 0 16px var(--cyan-glow);
    }
}

/* ==============================================================================
   6. BOTTOM NAVIGATION (FIXED ON SCREEN)
   ============================================================================== */
.app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--shell-max-width);
    height: var(--nav-height);
    background: rgba(8, 8, 23, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 2px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    z-index: 100;
    box-sizing: border-box;
    overflow: hidden;
}

.nav-item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--pink);
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 4px 1px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.nav-icon {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.nav-label {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.1px;
    text-transform: uppercase;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
}

/* Active Nav State - Neon Cyan */
.nav-item.active {
    color: var(--cyan);
}
.nav-item.active .nav-icon {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 8px var(--cyan-glow));
}
.nav-item.active .nav-label {
    text-shadow: 0 0 8px var(--cyan-glow);
}

.nav-item:hover:not(.active) {
    color: var(--white);
}

/* ==============================================================================
   7. SIDEBAR / DRAWER COMPONENT
   ============================================================================== */
.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.drawer-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 290px;
    max-width: 82vw;
    height: 100%;
    background: var(--panel);
    border-right: 1.5px solid var(--border-pink);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 0, 200, 0.15);
    z-index: 210;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.drawer-backdrop.active .drawer-sidebar {
    transform: translateX(0);
}

.drawer-header {
    padding: 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-brand-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.3px;
}

.btn-close-drawer {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-close-drawer:hover {
    color: var(--pink);
    border-color: var(--pink);
}

.drawer-user-card {
    margin: 14px 16px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 234, 255, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-menu-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 12px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    color: var(--white);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.drawer-menu-item:hover {
    background: rgba(255, 0, 200, 0.12);
    color: var(--pink);
    transform: translateX(4px);
}
.drawer-menu-icon {
    font-size: 18px;
    color: var(--cyan);
}

/* ==============================================================================
   8. PRODUCT DETAIL MODAL COMPONENT
   ============================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 300;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-sheet {
    width: 100%;
    max-width: var(--shell-max-width);
    background: var(--panel);
    border: 1.5px solid var(--border-pink);
    border-bottom: none;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(255, 0, 200, 0.2);
    padding: 18px;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-backdrop.active .modal-sheet {
    transform: translateY(0);
}

.modal-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.modal-product-hero {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-thumb-box {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    background: rgba(0, 234, 255, 0.15);
    border: 1px solid var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--cyan);
    box-shadow: 0 0 14px var(--cyan-glow);
}

.modal-title-text {
    font-size: 16px;
    font-weight: 800;
    color: var(--white);
}

.modal-category-text {
    font-size: 11px;
    color: var(--pink);
    font-weight: 600;
}

.modal-body-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 16px;
    padding: 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-packages-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.modal-pkg-choose-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    letter-spacing: 0.2px;
}
.modal-pkg-choose-title .choose-pkg-icon {
    color: #00f2ff;
    font-size: 17px;
}

.modal-package-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-radius: 18px;
    background: #0d0c18;
    border: 1.5px solid #ff2a85;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.modal-package-item.selected {
    background: rgba(255, 42, 133, 0.12);
    border-color: #ff2a85;
    box-shadow: 0 0 18px rgba(255, 42, 133, 0.35);
}
.modal-package-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 42, 133, 0.4);
}

.package-name {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.2px;
}
.package-note-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    transition: all 0.2s ease;
}
.package-note-badge.in-stock {
    color: #4ade80;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
}
.package-note-badge.out-stock {
    color: #f87171;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
}
.stock-dot {
    font-size: 9px;
    line-height: 1;
}
.stock-dot.green {
    color: #22c55e;
    text-shadow: 0 0 6px #22c55e;
}
.stock-dot.red {
    color: #ef4444;
    text-shadow: 0 0 6px #ef4444;
}
.package-price-box {
    background: #171626;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 8px 14px;
    text-align: right;
    min-width: 145px;
}
.pkg-old-price {
    font-size: 11.5px;
    font-weight: 700;
    color: #ff2a85;
    text-decoration: line-through;
    line-height: 1.25;
}
.pkg-sell-price {
    font-size: 16.5px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: 0.3px;
}
.package-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--white);
    text-align: right;
}

.btn-buy-action {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--pink), var(--cyan));
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px var(--pink-glow);
    transition: all 0.25s ease;
}
.btn-buy-action:hover {
    box-shadow: 0 0 30px var(--cyan);
    transform: translateY(-2px);
}

/* ==============================================================================
   9. SECONDARY TAB PANELS (VIEW SWITCHER)
   ============================================================================== */
.tab-content-panel {
    display: none;
    padding: 14px;
}
.tab-content-panel.active {
    display: block;
}

/* Empty state / placeholder cards inside secondary tabs */
.placeholder-view-card {
    background: var(--panel);
    border: 1px solid var(--border-pink);
    border-radius: var(--radius-xl);
    padding: 24px 18px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 0, 200, 0.12);
}
.placeholder-view-icon {
    font-size: 40px;
    color: var(--cyan);
    margin-bottom: 12px;
    filter: drop-shadow(0 0 10px var(--cyan-glow));
}
.placeholder-view-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
}
.placeholder-view-desc {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Bank Deposit Card Placeholder */
.deposit-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 234, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: left;
    margin-top: 14px;
}
.deposit-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.deposit-row:last-child {
    border-bottom: none;
}
.deposit-label {
    color: var(--muted);
}
.deposit-val {
    color: var(--cyan);
    font-weight: 700;
}

/* ==============================================================================
   9.1 NẠP THẺ CÀO TỰ ĐỘNG & NGÂN HÀNG (AUTOCARD365 COMPONENT - CYBER DESIGN)
   ============================================================================== */
.deposit-main-card {
    padding: 18px 16px;
    background: linear-gradient(180deg, rgba(17, 18, 36, 0.95) 0%, rgba(9, 10, 22, 0.98) 100%);
    border: 1px solid rgba(255, 0, 200, 0.28);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.65), 0 0 25px rgba(255, 0, 200, 0.12);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.deposit-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00eaff, #ff00c8, transparent);
    box-shadow: 0 0 12px #00eaff;
}

/* Sub-tabs: Segmented Cyber Switcher */
.deposit-sub-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    background: rgba(0, 0, 0, 0.55);
    padding: 5px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.deposit-sub-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 12px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
}

.deposit-sub-tab.active {
    background: linear-gradient(135deg, rgba(255, 0, 200, 0.25) 0%, rgba(0, 234, 255, 0.2) 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 0, 200, 0.55);
    box-shadow: 0 0 16px rgba(255, 0, 200, 0.35);
    transform: translateY(-1px);
}

.deposit-sub-tab:not(.active):hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

/* Status Header & Live Badge */
.deposit-badge-auto {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10.5px;
    font-weight: 800;
    color: #00eaff;
    background: rgba(0, 234, 255, 0.1);
    border: 1px solid rgba(0, 234, 255, 0.3);
    padding: 5px 12px;
    border-radius: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 0 14px rgba(0, 234, 255, 0.2);
}

.live-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #00eaff;
    box-shadow: 0 0 8px #00eaff;
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px #00eaff; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #00eaff; }
    100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px #00eaff; }
}

.deposit-title-cyber {
    font-size: 20px;
    font-weight: 900;
    margin-top: 10px;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ffffff 40%, #00eaff 80%, #ff00c8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 234, 255, 0.25);
}

.deposit-desc-cyber {
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 4px;
    line-height: 1.5;
}

.card-form-wrapper {
    margin-top: 16px;
    text-align: left;
}

/* Step Labels */
.step-label-cyber {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.step-badge-tag {
    font-size: 9.5px;
    font-weight: 700;
    color: var(--cyan);
    background: rgba(0, 234, 255, 0.12);
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid rgba(0, 234, 255, 0.25);
}

/* 1. Telco Grid - 4 Columns Bulletproof Responsive (Không bao giờ bị tràn/cắt lề) */
.telco-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding-top: 7px;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
}

.telco-item-btn {
    position: relative;
    background: rgba(18, 22, 44, 0.88);
    border: 1px solid rgba(0, 234, 255, 0.2);
    border-radius: 10px;
    padding: 10px 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    user-select: none;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.telco-item-btn:hover {
    border-color: rgba(0, 234, 255, 0.55);
    background: rgba(24, 30, 60, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 234, 255, 0.25);
}

.telco-item-btn.active {
    background: linear-gradient(145deg, rgba(255, 0, 200, 0.22) 0%, rgba(0, 234, 255, 0.25) 100%);
    border: 1.5px solid var(--cyan, #00eaff);
    box-shadow: 0 0 16px rgba(0, 234, 255, 0.45), inset 0 0 10px rgba(0, 234, 255, 0.18);
    transform: translateY(-2px);
}

.telco-item-btn .telco-name {
    font-size: clamp(8.5px, 2.4vw, 10.5px);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 0 2px;
    text-align: center;
    display: block;
}

.telco-item-btn.active .telco-name {
    color: #00eaff;
    text-shadow: 0 0 8px rgba(0, 234, 255, 0.6);
}

.telco-item-btn .telco-rate-badge {
    display: inline-block;
    font-size: 8.5px;
    font-weight: 800;
    color: #f472b6;
    background: rgba(244, 114, 182, 0.15);
    border: 1px solid rgba(244, 114, 182, 0.35);
    border-radius: 4px;
    padding: 1px 4px;
    margin-top: 2px;
    letter-spacing: -0.2px;
    line-height: 1.1;
    font-family: var(--font-mono, monospace);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.telco-item-btn.active .telco-rate-badge {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.35);
}

.telco-item-btn .telco-hot-tag {
    position: absolute;
    top: -7px;
    right: 2px;
    background: linear-gradient(135deg, #ff007f 0%, #ff416c 100%);
    color: #ffffff;
    font-size: 7.5px;
    font-weight: 900;
    padding: 1.5px 5px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(255, 0, 127, 0.65);
    text-transform: uppercase;
    line-height: 1.1;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    pointer-events: none;
}

.telco-item-btn .telco-check {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cyan, #00eaff);
    color: #000;
    font-size: 8px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.telco-item-btn.active .telco-check {
    opacity: 1;
    transform: scale(1);
}

/* 2. Amount Grid */
.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding-top: 7px;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
}

.amount-item-btn {
    position: relative;
    background: rgba(18, 22, 44, 0.88);
    border: 1px solid rgba(255, 0, 200, 0.2);
    border-radius: 10px;
    padding: 9px 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    user-select: none;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.amount-item-btn:hover {
    border-color: rgba(255, 0, 200, 0.5);
    background: rgba(26, 20, 48, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 0, 200, 0.25);
}

.amount-item-btn.active {
    background: linear-gradient(145deg, rgba(255, 0, 200, 0.28) 0%, rgba(121, 40, 202, 0.28) 100%);
    border: 1.5px solid var(--pink, #ff00c8);
    box-shadow: 0 0 16px rgba(255, 0, 200, 0.45), inset 0 0 10px rgba(255, 0, 200, 0.2);
    transform: translateY(-2px);
}

.amount-item-btn .amount-val {
    font-size: clamp(11px, 3.2vw, 13px);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.amount-item-btn.active .amount-val {
    color: #ff55dc;
    text-shadow: 0 0 8px rgba(255, 0, 200, 0.6);
}

.amount-item-btn .amount-sub {
    font-size: 9px;
    font-weight: 600;
    color: var(--muted, #94a3b8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.amount-item-btn.active .amount-sub {
    color: rgba(255, 255, 255, 0.95);
}

.amount-item-btn .amount-popular-tag {
    position: absolute;
    top: -7px;
    right: 3px;
    background: linear-gradient(135deg, #00eaff 0%, #0099ff 100%);
    color: #050b14;
    font-size: 7.5px;
    font-weight: 900;
    padding: 1.5px 5px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 234, 255, 0.6);
    text-transform: uppercase;
    line-height: 1.1;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    pointer-events: none;
}

@media (max-width: 480px) {
    .deposit-main-card {
        padding: 16px 10px !important;
    }
    .tab-content-panel {
        padding: 10px 8px !important;
    }
    .telco-grid {
        gap: 4px !important;
    }
    .amount-grid {
        gap: 4px !important;
    }
}

/* Warning Banner */
.cyber-warning-banner {
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.28);
    border-radius: 10px;
    padding: 9px 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
    line-height: 1.45;
    color: #fde047;
}

.cyber-warning-banner strong {
    color: #fff;
}

/* 3. Input Groups (PIN & Seri) */
.cyber-input-field-group {
    background: rgba(10, 12, 24, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 12px;
    transition: all 0.25s ease;
}

.cyber-input-field-group:focus-within {
    border-color: var(--cyan);
    box-shadow: 0 0 16px rgba(0, 234, 255, 0.3);
    background: rgba(14, 16, 32, 0.95);
}

.cyber-field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.cyber-field-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cyber-field-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

.cyber-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cyber-native-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.8px;
}

.cyber-native-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: normal;
}

.cyber-paste-btn {
    background: rgba(0, 234, 255, 0.12);
    border: 1px solid rgba(0, 234, 255, 0.35);
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cyber-paste-btn:hover {
    background: var(--cyan);
    color: #000;
    box-shadow: 0 0 10px var(--cyan-glow);
}

.cyber-paste-btn:active {
    transform: scale(0.95);
}

/* 4. Action Button */
.btn-cyber-primary {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ff00c8 0%, #8a2be2 50%, #00eaff 100%);
    background-size: 200% auto;
    border: none;
    border-radius: 14px;
    padding: 14px 18px;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 900;
    letter-spacing: 0.6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 25px rgba(255, 0, 200, 0.4), 0 0 15px rgba(0, 234, 255, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 16px;
}

.btn-cyber-primary:hover {
    background-position: right center;
    box-shadow: 0 6px 30px rgba(255, 0, 200, 0.55), 0 0 20px rgba(0, 234, 255, 0.4);
    transform: translateY(-2px);
}

.btn-cyber-primary:active {
    transform: translateY(1px) scale(0.98);
}

.btn-cyber-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    filter: grayscale(0.5);
    transform: none !important;
}

.btn-cyber-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-25deg);
    animation: shimmerSweep 3.5s infinite;
}

@keyframes shimmerSweep {
    0% { left: -100%; }
    35%, 100% { left: 150%; }
}

/* Alert Box */
.card-alert-box {
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 12px;
    margin-top: 14px;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
    font-weight: 600;
}

.card-alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

.card-alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

.card-alert-warning {
    background: rgba(234, 179, 8, 0.15);
    border: 1px solid rgba(234, 179, 8, 0.4);
    color: #facc15;
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.2);
}

/* History Section */
.card-history-section {
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
    text-align: left;
}

.card-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.3px;
    margin-bottom: 12px;
}

.btn-refresh-history {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--muted);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-refresh-history:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    background: rgba(0, 234, 255, 0.1);
}

.card-history-list {
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-history-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 11px 13px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: all 0.2s ease;
}

.card-history-item:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(14, 16, 32, 0.6);
}

.card-history-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-history-telco {
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.4px;
}

.card-history-amount {
    color: var(--cyan);
    font-weight: 800;
}

.card-history-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 11px;
}

.card-badge {
    padding: 3px 8px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.3px;
}

.card-badge.badge-success {
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.4);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
}

.card-badge.badge-danger {
    background: rgba(239, 68, 68, 0.18);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.card-badge.badge-pending {
    background: rgba(0, 234, 255, 0.18);
    color: var(--cyan);
    border: 1px solid rgba(0, 234, 255, 0.4);
    box-shadow: 0 0 10px rgba(0, 234, 255, 0.2);
}

.card-badge.badge-warning {
    background: rgba(234, 179, 8, 0.18);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.4);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.2);
}

/* ==============================================================================
   9.2 SECTION 2: CHUYỂN KHOẢN NGÂN HÀNG (BANK VISUAL CARD)
   ============================================================================== */
.bank-visual-card {
    background: linear-gradient(145deg, rgba(16, 20, 42, 0.95) 0%, rgba(9, 11, 25, 0.98) 100%);
    border: 1.5px solid rgba(0, 234, 255, 0.35);
    border-radius: 16px;
    padding: 16px;
    margin-top: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 234, 255, 0.15);
    text-align: left;
}

.bank-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.bank-badge-title {
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bank-tag-status {
    font-size: 10px;
    font-weight: 800;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.15);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.bank-card-field {
    margin-bottom: 11px;
}

.bank-field-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.bank-field-value-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 12px;
}

.bank-highlight-row {
    border-color: rgba(255, 0, 200, 0.4);
    background: rgba(255, 0, 200, 0.08);
}

.bank-number {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 900;
    color: var(--cyan);
    letter-spacing: 1px;
}

.bank-owner-name {
    font-size: 13.5px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.bank-content-code {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 900;
    color: #ff55dc;
    letter-spacing: 0.8px;
}

.bank-copy-action {
    background: rgba(0, 234, 255, 0.15);
    border: 1px solid rgba(0, 234, 255, 0.4);
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bank-copy-action:hover {
    background: var(--cyan);
    color: #000;
    box-shadow: 0 0 10px var(--cyan-glow);
}

.bank-copy-accent {
    background: rgba(255, 0, 200, 0.18);
    border-color: rgba(255, 0, 200, 0.45);
    color: #ff55dc;
}

.bank-copy-accent:hover {
    background: #ff00c8;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 0, 200, 0.6);
}

/* VietQR Section */
.qr-container-cyber {
    margin-top: 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-frame {
    position: relative;
    padding: 8px;
    background: rgba(14, 16, 32, 0.9);
    border-radius: 16px;
    border: 1.5px solid rgba(0, 234, 255, 0.4);
    box-shadow: 0 0 25px rgba(0, 234, 255, 0.25);
    display: inline-block;
    overflow: hidden;
}

.qr-image-cyber {
    max-width: 210px;
    border-radius: 10px;
    display: block;
}

.qr-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00eaff, transparent);
    box-shadow: 0 0 10px #00eaff;
    animation: qrScan 2.5s ease-in-out infinite;
}

@keyframes qrScan {
    0% { top: 5%; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: 95%; opacity: 0; }
}

.qr-caption {
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 8px;
    font-weight: 600;
}

.qr-amount-chips {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
    margin-bottom: 4px;
}

.qr-amount-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 6px 11px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qr-amount-chip:hover,
.qr-amount-chip.active {
    background: rgba(0, 234, 255, 0.2);
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 12px var(--cyan-glow);
    transform: translateY(-1px);
}

.btn-check-bank {
    width: 100%;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 234, 255, 0.18), rgba(99, 102, 241, 0.25));
    border: 1px solid rgba(0, 234, 255, 0.4);
    color: #00eaff;
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: 0.4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-check-bank:hover {
    background: rgba(0, 234, 255, 0.28);
    box-shadow: 0 0 18px rgba(0, 234, 255, 0.35);
    transform: translateY(-1px);
}

.btn-check-bank:active {
    transform: scale(0.98);
}

/* ==============================================================================
   10. RESPONSIVE DESIGN
   ============================================================================== */
@media (max-width: 380px) {
    .product-grid,
    .category-grid-4col {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
    }
    .product-thumb-box {
        width: 38px;
        height: 38px;
    }
    .product-name {
        font-size: 9.5px;
    }
    .hero-title {
        font-size: 15px;
    }
    .app-bottom-nav {
        height: 58px;
        padding: 0 1px;
    }
    .nav-icon {
        font-size: 15px;
    }
    .nav-label {
        font-size: 7.5px;
        letter-spacing: 0;
    }
    #admin-category-rows-visual-board {
        padding: 8px 6px !important;
    }
    .admin-row-box {
        padding: 6px 4px !important;
    }
    .admin-row-slot {
        padding: 4px 1px !important;
    }
}

@media (min-width: 501px) {
    body {
        background: radial-gradient(circle at 50% 20%, #15102a 0%, #080817 70%);
    }
    .modal-sheet {
        border-radius: var(--radius-xl);
        margin-bottom: 20px;
        border-bottom: 1.5px solid var(--border-pink);
    }
}

/* ==============================================================================
   11. CYBERPUNK PRELOADER / LOADING SYSTEM (SHOP GIAHUY)
   ============================================================================== */
.app-preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #070712;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 380px;
    padding: 24px;
}

/* Dual Neon Rotating Spinner */
.loader-spinner-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-spinner-svg {
    width: 100%;
    height: 100%;
    animation: loaderSpinnerRotate 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    filter: drop-shadow(0 0 12px rgba(0, 234, 255, 0.45)) drop-shadow(0 0 12px rgba(255, 0, 200, 0.45));
}

.spinner-track {
    stroke: rgba(255, 255, 255, 0.12);
}

.spinner-arc-cyan {
    stroke: #00eaff;
    filter: drop-shadow(0 0 8px #00eaff);
}

.spinner-arc-pink {
    stroke: #ff007f;
    filter: drop-shadow(0 0 8px #ff007f);
}

.spinner-center-glow {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 234, 255, 0.2) 0%, rgba(255, 0, 127, 0.12) 50%, transparent 80%);
    pointer-events: none;
}

@keyframes loaderSpinnerRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Titles */
.loader-title {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.8px;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(255, 255, 255, 0.25);
    font-family: var(--font-sans);
}

.loader-subtitle {
    font-size: 13.5px;
    font-weight: 800;
    color: #ff007f;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 38px;
    text-shadow: 0 0 12px rgba(255, 0, 127, 0.65);
    font-family: var(--font-sans);
}

/* Progress bar container */
.loader-progress-wrap {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.loader-progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
}

.loader-progress-bar {
    height: 100%;
    width: 15%;
    background: linear-gradient(90deg, #00eaff 0%, #ff007f 100%);
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(0, 234, 255, 0.8), 0 0 10px rgba(255, 0, 127, 0.7);
    transition: width 0.25s ease-out;
}

.loader-progress-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 800;
}

.loader-status-text {
    color: #ff007f;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
    font-family: var(--font-sans);
}

.loader-percent-text {
    color: #00eaff;
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 13.5px;
    text-shadow: 0 0 10px rgba(0, 234, 255, 0.6);
}

/* ==============================================================================
   12. SUCCESS PURCHASE MODAL (CHUẨN FORM NHƯ ẢNH)
   ============================================================================== */
.order-success-modal {
    position: relative;
    padding: 6px 2px 2px;
    text-align: center;
}

.success-top-close-btn {
    position: absolute;
    top: -2px;
    right: 2px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.success-top-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.success-glow-circle-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 4px auto 14px;
}

.success-glow-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #00d26a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(0, 210, 106, 0.6), 0 0 45px rgba(0, 210, 106, 0.25);
    animation: successPulse 2s infinite ease-in-out;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 210, 106, 0.55);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 35px rgba(0, 210, 106, 0.85);
    }
}

.success-title-main {
    font-size: 21px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.success-subtitle-desc {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Order Summary Box */
.success-order-box {
    background: #141a24;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
    text-align: left;
}

.success-order-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.success-product-name {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.success-pkg-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
}

.success-order-values-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
}

.success-paid-label {
    color: #94a3b8;
}

.success-paid-val {
    color: #10b981;
    font-weight: 800;
}

.success-bal-label {
    color: #94a3b8;
}

.success-bal-val {
    color: #ffffff;
    font-weight: 800;
}

/* Key Section */
.success-key-section {
    text-align: left;
    margin-bottom: 14px;
}

.success-key-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.success-key-label {
    font-size: 12px;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: 0.4px;
}

.success-key-count {
    font-size: 11px;
    color: #64748b;
}

.success-key-box {
    background: rgba(16, 185, 129, 0.05);
    border: 1.5px dashed rgba(16, 185, 129, 0.6);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.success-key-code {
    font-family: var(--font-mono, monospace);
    font-size: 14.5px;
    font-weight: 700;
    color: #10b981;
    letter-spacing: 0.6px;
    user-select: all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-copy-key-action {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid #10b981;
    color: #10b981;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.btn-copy-key-action:hover, .btn-copy-key-action:active {
    background: #10b981;
    color: #000;
}

.success-bot-notice {
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 8px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: #7dd3fc;
    line-height: 1.45;
}

/* Action Buttons */
.btn-download-tool-cta {
    width: 100%;
    background: linear-gradient(135deg, #00d26a 0%, #00f2fe 100%);
    border: none;
    border-radius: 12px;
    padding: 14px;
    color: #080817;
    font-size: 13.5px;
    font-weight: 900;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 210, 106, 0.35);
    margin-top: 14px;
    margin-bottom: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download-tool-cta:active {
    transform: scale(0.98);
}

.success-bottom-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-view-order-action, .btn-close-success-action {
    background: #151b26;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    font-size: 12.5px;
    font-weight: 700;
    padding: 11px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
}

.btn-view-order-action:hover, .btn-close-success-action:hover {
    background: #1e2638;
}

/* ==============================================================================
   ADMIN PORTAL & BOTTOM NAV STYLES (@giahuyyy22 & @PhuciosVNstore)
   ============================================================================== */
.nav-item.admin-nav-item {
    color: #f59e0b;
}

.nav-item.admin-nav-item .nav-icon {
    filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.4));
}

.nav-item.admin-nav-item.active {
    color: #fbbf24;
}

.nav-item.admin-nav-item.active .nav-icon {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 10px #fbbf24);
}

.nav-item.admin-nav-item.active .nav-label {
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.8);
}

.admin-header-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(13, 14, 34, 0.95) 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.admin-header-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.admin-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.5);
    margin-bottom: 8px;
}

.admin-portal-title {
    font-size: 17px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.5px;
    margin: 4px 0;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.admin-portal-sub {
    font-size: 12px;
    color: #cbd5e1;
    margin: 0;
}

.admin-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    margin-top: 10px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulse 1.8s infinite;
}

.btn-admin-portal-primary {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #06b6d4 100%);
    color: #fff;
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-admin-portal-primary:hover, .btn-admin-portal-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(79, 70, 229, 0.6);
}

.admin-credentials-hint {
    background: rgba(15, 23, 42, 0.75);
    border: 1px dashed rgba(245, 158, 11, 0.4);
    border-radius: 10px;
    padding: 8px 12px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #94a3b8;
}

.admin-credentials-hint code {
    background: rgba(0, 0, 0, 0.5);
    color: #fbbf24;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.btn-copy-pass {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.admin-stat-card {
    background: rgba(13, 17, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    position: relative;
}

.stat-icon-wrapper {
    font-size: 20px;
    margin-bottom: 4px;
}

.admin-stat-card .stat-value {
    font-size: 18px;
    font-weight: 900;
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.admin-stat-card .stat-label {
    font-size: 10.5px;
    color: #94a3b8;
    margin-top: 2px;
}

.admin-section-card {
    background: rgba(13, 17, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px;
}

.admin-section-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}

.admin-textarea {
    width: 100%;
    background: rgba(8, 10, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 10px;
    color: #fff;
    font-size: 12.5px;
    font-family: inherit;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.admin-textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

.btn-mini-refresh {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
}

.admin-recent-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-tx-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(19, 25, 41, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 11.5px;
}

.admin-tx-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-tx-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9.5px;
    font-weight: 800;
}

.admin-tx-badge.badge-card {
    background: rgba(236, 72, 153, 0.2);
    color: #f472b6;
    border: 1px solid rgba(236, 72, 153, 0.4);
}

.admin-tx-badge.badge-bank {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.admin-tx-status {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.admin-tx-status.success {
    color: #34d399;
}

.admin-tx-status.pending {
    color: #fbbf24;
}

.admin-tx-status.failed {
    color: #f87171;
}

.admin-account-banner {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(13, 14, 34, 0.9) 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
}

/* ==============================================================================
   CUSTOM IN-APP DEPOSIT & ALERT MODAL (ZERO DOMAIN BRANDING)
   ============================================================================== */
.deposit-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 5, 15, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 16px;
    box-sizing: border-box;
}

.deposit-modal-sheet {
    background: #0d1222;
    border: 1px solid rgba(0, 242, 254, 0.45);
    border-radius: 20px;
    padding: 24px 20px;
    width: 100%;
    max-width: 330px;
    text-align: center;
    position: relative;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 242, 254, 0.25);
    animation: depositModalPop 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-sizing: border-box;
}

@keyframes depositModalPop {
    0% {
        transform: scale(0.85);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.deposit-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94a3b8;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.deposit-modal-close:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.deposit-modal-icon-circle {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.1);
    border: 2px solid #00f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.deposit-modal-title {
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.deposit-modal-amount {
    font-size: 26px;
    font-weight: 900;
    color: #00f2fe;
    text-shadow: 0 0 16px rgba(0, 242, 254, 0.6);
    margin: 8px 0;
    letter-spacing: 0.5px;
}

.deposit-modal-desc {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.45;
    margin-bottom: 12px;
}

.deposit-modal-balance-row {
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(0, 242, 254, 0.3);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
    color: #cbd5e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.btn-deposit-modal-ok {
    width: 100%;
    background: linear-gradient(135deg, #00f2fe 0%, #00c6ff 100%);
    border: none;
    border-radius: 12px;
    padding: 12px;
    color: #080817;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.8px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 242, 254, 0.4);
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-deposit-modal-ok:active {
    transform: scale(0.97);
}

.btn-deposit-modal-cancel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #94a3b8;
    border-radius: 12px;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-deposit-modal-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.btn-deposit-modal-cancel:active {
    transform: scale(0.97);
}

/* ==========================================================================
   LIVE CARD RECEIVE SUMMARY BOX (TAB NẠP TIỀN SHOP)
   ========================================================================== */
.card-receive-summary-box {
    margin-top: 14px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 15px rgba(56, 189, 248, 0.1);
    position: relative;
    overflow: hidden;
}

.card-receive-summary-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #38bdf8, #ec4899, #10b981);
}

.card-receive-summary-box .summary-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-receive-summary-box .summary-box-icon {
    font-size: 16px;
}

.card-receive-summary-box .summary-box-title {
    font-size: 11.5px;
    font-weight: 800;
    color: #e2e8f0;
    letter-spacing: 0.5px;
}

.card-receive-summary-box .summary-discount-badge {
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(236, 72, 153, 0.4);
    color: #f472b6;
    letter-spacing: 0.3px;
}

.card-receive-summary-box .summary-box-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card-receive-summary-box .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.card-receive-summary-box .summary-lbl {
    color: #94a3b8;
}

.card-receive-summary-box .summary-val {
    font-weight: 700;
    color: #f1f5f9;
    font-family: var(--font-mono, monospace);
}

.card-receive-summary-box .discount-val {
    color: #f87171;
}

.card-receive-summary-box .summary-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px 0;
}

.card-receive-summary-box .summary-row.highlight {
    margin-top: 2px;
}

.card-receive-summary-box .summary-lbl.highlight {
    color: #38bdf8;
    font-weight: 800;
    font-size: 12px;
}

.card-receive-summary-box .final-val {
    font-size: 17px;
    font-weight: 900;
    color: #34d399;
    text-shadow: 0 0 10px rgba(52, 211, 153, 0.35);
}

.card-receive-summary-box .summary-box-footer {
    margin-top: 8px;
    padding-top: 6px;
    font-size: 10.5px;
    color: #94a3b8;
    line-height: 1.4;
    text-align: center;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   ADMIN DISCOUNT CONTROLLER COMPONENT (TAB ADMIN)
   ========================================================================== */
.admin-discount-card-highlight {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9)) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.12) !important;
}

.admin-badge-live {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    letter-spacing: 0.3px;
}

.admin-disc-formula-banner {
    background: rgba(56, 189, 248, 0.08);
    border: 1px dashed rgba(56, 189, 248, 0.35);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.admin-disc-formula-banner .formula-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.admin-disc-formula-banner .formula-content {
    font-size: 11.5px;
    line-height: 1.5;
    color: #cbd5e1;
}

.admin-disc-formula-banner .formula-title {
    font-weight: 800;
    color: #38bdf8;
    font-size: 11px;
    margin-bottom: 2px;
    letter-spacing: 0.4px;
}

.admin-disc-formula-banner .formula-example {
    margin-top: 4px;
    color: #f1f5f9;
}

.admin-disc-preset-section {
    margin-bottom: 12px;
}

.admin-disc-preset-section .preset-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 6px;
}

.admin-disc-preset-section .preset-btn-group {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.btn-disc-preset {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 7px 4px;
    font-size: 11.5px;
    font-weight: 800;
    color: #e2e8f0;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.btn-disc-preset small {
    font-size: 9px;
    font-weight: 600;
    color: #94a3b8;
}

.btn-disc-preset:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.4);
    color: #38bdf8;
}

.btn-disc-preset.active-preset {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(14, 165, 233, 0.4));
    border-color: #38bdf8;
    color: #fff;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.btn-disc-preset.active-preset small {
    color: #e0f2fe;
}

.admin-disc-master-row {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-disc-master-row .master-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-disc-master-row .master-left label {
    font-size: 12px;
    font-weight: 700;
    color: #38bdf8;
}

.admin-disc-master-row .master-input-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.admin-disc-master-row input[type="number"] {
    width: 65px;
    text-align: center;
    font-weight: 900;
    font-family: var(--font-mono, monospace);
    padding: 5px 6px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    font-size: 14px;
    outline: none;
}

.admin-disc-master-row .unit-pct {
    font-weight: 800;
    color: #38bdf8;
    font-size: 13px;
}

.admin-disc-master-row .btn-apply-all {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(219, 39, 119, 0.35));
    border: 1px solid rgba(236, 72, 153, 0.45);
    color: #f472b6;
    font-weight: 800;
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.admin-disc-master-row .btn-apply-all:hover {
    background: rgba(236, 72, 153, 0.4);
    box-shadow: 0 0 8px rgba(236, 72, 153, 0.35);
}

.admin-disc-simulator {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.admin-disc-simulator .sim-header {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.admin-disc-simulator .sim-pills {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.sim-pill-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
}

.sim-pill-btn:hover {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

.sim-pill-btn.active {
    background: #38bdf8;
    color: #041226;
    border-color: #38bdf8;
    font-weight: 800;
}

.sim-result-card {
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 11.5px;
    color: #cbd5e1;
    line-height: 1.5;
}

.sim-result-card .sim-highlight {
    color: #34d399;
    font-size: 13.5px;
    font-weight: 900;
}

.telco-disc-list-heading {
    font-size: 11.5px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 8px;
}

/* Quick Card Discount Editor in Admin Panel */
.admin-telco-disc-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color 0.15s;
}

.admin-telco-disc-box:hover {
    border-color: rgba(56, 189, 248, 0.3);
}

.admin-telco-disc-box .telco-lbl {
    font-size: 11.5px;
    font-weight: 700;
    color: #e2e8f0;
}

.admin-telco-disc-box .disc-input-wrap {
    position: relative;
    width: 100%;
}

.admin-telco-disc-box .admin-telco-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #38bdf8;
    font-family: var(--font-mono, monospace);
    font-weight: 800;
    font-size: 13px;
    text-align: center;
    padding: 5px 18px 5px 6px;
    box-sizing: border-box;
    outline: none;
}

.admin-telco-disc-box .admin-telco-input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.4);
}

.admin-telco-disc-box .disc-input-wrap span {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 700;
    color: #f472b6;
    pointer-events: none;
}

.admin-telco-disc-box .telco-hint-calc {
    font-size: 10px;
    font-weight: 700;
    color: #10b981;
    text-align: right;
}

.btn-save-disc-glow {
    background: linear-gradient(135deg, #0284c7, #0369a1) !important;
    border: 1px solid #38bdf8 !important;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3) !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    padding: 10px !important;
    border-radius: 8px !important;
    transition: transform 0.15s, box-shadow 0.15s !important;
}

.btn-save-disc-glow:active {
    transform: scale(0.98);
}

/* ==============================================================================
   ADMIN CATALOG MANAGER (PRODUCTS & CATEGORIES MANAGEMENT)
   ============================================================================== */
.admin-catalog-card {
    background: linear-gradient(145deg, rgba(22, 16, 38, 0.95) 0%, rgba(12, 10, 24, 0.98) 100%);
    border: 1.5px solid rgba(236, 72, 153, 0.35);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(236, 72, 153, 0.12);
}

.admin-subtabs-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    background: rgba(0, 0, 0, 0.35);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-subtab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--muted, #94a3b8);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-subtab-btn.active {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(244, 63, 94, 0.3));
    color: #fff;
    border: 1px solid rgba(236, 72, 153, 0.5);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.25);
}

.catalog-subpanel {
    display: block;
}

.admin-add-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(236, 72, 153, 0.4);
    border-radius: 12px;
    padding: 14px;
    animation: fadeIn 0.2s ease-in-out;
}

.admin-add-box-title {
    font-size: 12px;
    font-weight: 800;
    color: #f472b6;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.admin-form-group label {
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
}

.admin-form-row {
    display: flex;
    gap: 8px;
}

.admin-input-cyber, select.admin-input-cyber {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    padding: 8px 10px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-input-cyber:focus, select.admin-input-cyber:focus {
    border-color: #ec4899;
    box-shadow: 0 0 8px rgba(236, 72, 153, 0.35);
}

.admin-catalog-list-heading {
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin-top: 14px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Product list items */
.admin-item-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 2px;
}

.admin-prod-card-row {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 12px;
    gap: 8px;
    transition: all 0.15s ease;
}

.admin-prod-card-row:hover {
    border-color: rgba(236, 72, 153, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.admin-prod-meta-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.admin-prod-thumb-mini {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 242, 254, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan, #00f2fe);
    flex-shrink: 0;
    overflow: hidden;
}

.admin-prod-thumb-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-prod-details {
    min-width: 0;
    flex: 1;
}

.admin-prod-name-txt {
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-prod-sub-txt {
    font-size: 10.5px;
    color: var(--muted, #94a3b8);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.admin-prod-sub-txt .badge-cat {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 600;
}

.admin-prod-price-txt {
    color: #4ade80;
    font-weight: 700;
}

.btn-admin-del-prod, .btn-admin-del-cat {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-admin-del-prod:hover, .btn-admin-del-cat:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
    color: #fff;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.btn-admin-del-prod:disabled, .btn-admin-del-cat:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Category list items */
.admin-cat-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
}

.admin-cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    transition: all 0.15s ease;
}

.admin-cat-row:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.admin-cat-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-cat-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 15px;
}

.admin-cat-name-txt {
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
}

.admin-cat-count-txt {
    font-size: 10.5px;
    color: var(--muted, #94a3b8);
    margin-top: 1px;
}

/* Modal direct delete button */
.btn-admin-modal-delete-prod {
    width: 100%;
    margin-top: 10px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
    border-radius: 10px;
    padding: 11px 14px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-admin-modal-delete-prod:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    color: #fff;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
}

/* ==============================================================================
   ADMIN STOCK MANAGEMENT & GLOWING BUTTONS (KHO SẢN PHẨM & KEY)
   ============================================================================== */
.admin-stock-management-card {
    background: linear-gradient(145deg, rgba(26, 16, 44, 0.95) 0%, rgba(13, 10, 26, 0.98) 100%) !important;
    border: 1.5px solid rgba(168, 85, 247, 0.4) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.15) !important;
}

.btn-save-stock-glow {
    background: linear-gradient(135deg, #9333ea 0%, #6366f1 50%, #06b6d4 100%) !important;
    border: 1px solid #c084fc !important;
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.4), 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    letter-spacing: 0.4px !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.btn-save-stock-glow:hover {
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.6), 0 6px 16px rgba(0, 0, 0, 0.5) !important;
    transform: translateY(-1px);
}

.btn-save-stock-glow:active {
    transform: scale(0.98) translateY(0);
}

.btn-broadcast-glow {
    background: linear-gradient(135deg, #e11d48 0%, #ec4899 50%, #f43f5e 100%) !important;
    border: 1px solid #fb7185 !important;
    box-shadow: 0 0 18px rgba(244, 63, 94, 0.35) !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    letter-spacing: 0.4px !important;
    padding: 12px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.btn-broadcast-glow:hover {
    box-shadow: 0 0 25px rgba(244, 63, 94, 0.55) !important;
    transform: translateY(-1px);
}

.btn-broadcast-glow:active {
    transform: scale(0.98);
}

.admin-duration-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.stock-dur-pill {
    background: #182234;
    border: 1.5px solid rgba(148, 163, 184, 0.45);
    border-radius: 10px;
    padding: 9px 15px;
    font-size: 12.5px;
    font-weight: 800;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.stock-dur-pill:hover {
    background: #1e293b;
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(56, 189, 248, 0.35);
}

.stock-dur-pill.active {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    border-color: #d8b4fe;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(168, 85, 247, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-1.5px);
}

.admin-stock-target-badge {
    background: rgba(0, 0, 0, 0.45);
    border: 1px dashed rgba(168, 85, 247, 0.4);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 11.5px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.admin-stock-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 2px;
}

.stock-breakdown-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stock-breakdown-card:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.35);
    transform: translateY(-1px);
}

.stock-breakdown-card .card-prod-title {
    font-size: 11.5px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stock-breakdown-card .card-dur-tag {
    font-size: 10px;
    color: #a855f7;
    font-weight: 700;
}

.stock-breakdown-card .card-count-badge {
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stock-breakdown-card .card-count-badge.in-stock {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.stock-breakdown-card .card-count-badge.out-of-stock {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
}

/* ==============================================================================
 * BỘ NÚT BẤM CYBERPUNK NỔI BẬT & CAO CẤP (ADMIN & SHOP BUTTON SYSTEM)
 * ============================================================================== */
.btn-action-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: 1.5px solid #34d399 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    padding: 12px 18px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
    outline: none !important;
}

.btn-action-primary:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%) !important;
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    transform: translateY(-2px) !important;
}

.btn-action-primary:active {
    transform: translateY(1px) !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

.btn-secondary,
.btn-mini.btn-secondary {
    background: #1e293b !important;
    border: 1.5px solid rgba(148, 163, 184, 0.35) !important;
    color: #f1f5f9 !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    padding: 10px 18px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.2s ease !important;
}

.btn-secondary:hover,
.btn-mini.btn-secondary:hover {
    background: #334155 !important;
    border-color: #94a3b8 !important;
    color: #ffffff !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.45) !important;
}

.btn-danger-cyber {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
    border: 1.5px solid #f87171 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 10px 16px !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.3px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

.btn-danger-cyber:hover {
    background: linear-gradient(135deg, #f87171 0%, #dc2626 100%) !important;
    box-shadow: 0 6px 22px rgba(239, 68, 68, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    transform: translateY(-2px) !important;
}

.btn-save-stock-glow {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%) !important;
    border: 1.5px solid #c084fc !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    padding: 13px 18px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 18px rgba(168, 85, 247, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

.btn-save-stock-glow:hover {
    background: linear-gradient(135deg, #c084fc 0%, #9333ea 100%) !important;
    box-shadow: 0 6px 24px rgba(168, 85, 247, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    transform: translateY(-2px) !important;
}

.btn-save-disc-glow {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border: 1.5px solid #fbbf24 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    padding: 13px 18px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

.btn-save-disc-glow:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%) !important;
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    transform: translateY(-2px) !important;
}

#btn-admin-broadcast-send {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%) !important;
    border: 1.5px solid #f472b6 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    padding: 12px 18px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

#btn-admin-broadcast-send:hover {
    background: linear-gradient(135deg, #f472b6 0%, #db2777 100%) !important;
    box-shadow: 0 6px 22px rgba(236, 72, 153, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    transform: translateY(-2px) !important;
}

.btn-sample-img-pick {
    background: #1e293b;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 10.5px;
    font-weight: 700;
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-sample-img-pick:hover {
    background: #334155;
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-1px);
}

.btn-cyan-cyber {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border: 1.5px solid #38bdf8 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
    outline: none !important;
}

.btn-cyan-cyber:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%) !important;
    box-shadow: 0 6px 22px rgba(2, 132, 199, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    transform: translateY(-2px) !important;
}

.admin-quick-jump-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 10px 2px;
    margin-top: 14px;
    margin-bottom: 4px;
    scrollbar-width: none;
}
.admin-quick-jump-bar::-webkit-scrollbar {
    display: none;
}

.admin-jump-chip {
    background: #182234;
    border: 1.5px solid rgba(148, 163, 184, 0.35);
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 800;
    color: #e2e8f0;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.admin-jump-chip:hover {
    background: #1e293b;
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-1px);
}
.admin-jump-chip.active {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    border-color: #fb7185;
    color: #fff;
    box-shadow: 0 3px 12px rgba(236, 72, 153, 0.45);
}

/* Subtabs Quản lý Shop & Danh mục to rõ */
.admin-subtabs-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}
.admin-subtab-btn {
    flex: 1;
    background: #182234;
    border: 1.5px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12.5px;
    font-weight: 800;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.admin-subtab-btn:hover {
    border-color: #c084fc;
    color: #f1f5f9;
}
.admin-subtab-btn.active {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(99, 102, 241, 0.35));
    border-color: #c084fc;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4);
}

/* Ảnh sản phẩm mượt mà & không bao giờ bị lỗi icon gãy */
.product-card img,
.modal-product-hero img,
.admin-prod-thumb-mini img {
    image-rendering: -webkit-optimize-contrast;
    transition: transform 0.25s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   BỘ NÚT BẤM NỔI BẬT & RÕ RÀNG CHO ADMIN (FIX KHÓ NHÌN & LỖI HÌNH ẢNH)
   ========================================================================== */

/* Thanh hành động nhanh Quản lý Danh mục & Sản phẩm */
.admin-catalog-action-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

/* Nút Tạo Danh Mục Mới (Glow Xanh Lam Cyber) */
.btn-action-cat-glow {
    flex: 1;
    min-width: 140px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border: 1.5px solid #38bdf8 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 12.5px !important;
    padding: 11px 14px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}
.btn-action-cat-glow:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    border-color: #7dd3fc !important;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-1px) !important;
}

/* Nút Thêm Sản Phẩm Mới (Glow Xanh Lục Emerald) */
.btn-action-prod-glow {
    flex: 1;
    min-width: 140px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    border: 1.5px solid #34d399 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 12.5px !important;
    padding: 11px 14px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}
.btn-action-prod-glow:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border-color: #6ee7b7 !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-1px) !important;
}

/* Nút Xóa Hết Cyber */
.btn-danger-cyber {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%) !important;
    border: 1.5px solid #f87171 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    padding: 11px 14px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4) !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}
.btn-danger-cyber:hover {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.55) !important;
    transform: translateY(-1px) !important;
}

/* Banner nhắc nhở tạo danh mục đầu tiên */
.empty-cat-alert-box {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(99, 102, 241, 0.2) 100%);
    border: 1.5px solid #38bdf8;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Nhóm chip gợi ý danh mục mẫu 1 chạm */
.cat-suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    margin-bottom: 12px;
}
.cat-chip {
    background: #1e293b;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #38bdf8;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.cat-chip:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3);
}

/* ==========================================================================
   STYLE CHO NÚT CHỌN NHANH CHIẾT KHẤU THẺ CÀO (CỰC KỲ NỔI BẬT & DỄ NHÌN)
   ========================================================================== */
.preset-btn-group {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-top: 6px;
}

.btn-disc-preset {
    background: #1e293b !important;
    border: 1.5px solid rgba(148, 163, 184, 0.4) !important;
    border-radius: 10px !important;
    padding: 8px 4px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #f1f5f9 !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    line-height: 1.2 !important;
}

.btn-disc-preset small {
    display: block !important;
    font-size: 9px !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
    margin-top: 2px !important;
}

.btn-disc-preset:hover {
    background: #334155 !important;
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
    transform: translateY(-1px) !important;
}

.btn-disc-preset.active-preset {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border-color: #38bdf8 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}
.btn-disc-preset.active-preset small {
    color: #e0f2fe !important;
}

/* Bộ mô phỏng tính tiền (Simulator Pills) sáng rõ */
.sim-pills {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: none;
}
.sim-pills::-webkit-scrollbar {
    display: none;
}

.sim-pill-btn {
    background: #1e293b;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 11.5px;
    font-weight: 700;
    color: #cbd5e1;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}
.sim-pill-btn:hover {
    border-color: #38bdf8;
    color: #38bdf8;
}
.sim-pill-btn.active {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(14, 165, 233, 0.2));
    border-color: #38bdf8;
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(56, 189, 248, 0.35);
}

.sim-result-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12px;
    color: #e2e8f0;
    margin-top: 8px;
    line-height: 1.5;
}
.sim-highlight {
    color: #4ade80;
    font-weight: 800;
    font-size: 13px;
    text-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

/* ==============================================================================
   CHOOSE CATEGORY MODAL (MATCHING AUTHENTIC REFERENCE PHOTO)
   ============================================================================== */
.choose-cat-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10005;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: chooseCatFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.choose-cat-overlay.active {
    display: flex;
}

@keyframes chooseCatFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.choose-cat-card {
    background: #0d0e17;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 2.5px solid #ff2a85; /* Authentic top magenta bevel line from photo */
    border-radius: 24px;
    width: 100%;
    max-width: 460px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 42, 133, 0.25);
}

.choose-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px 14px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.choose-cat-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.choose-cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f2ff;
}

.choose-cat-title {
    font-size: 16.5px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: inherit;
}

.choose-cat-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.choose-cat-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: scale(1.08);
}

.choose-cat-list {
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
}

.choose-cat-item {
    background: #141523;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    user-select: none;
}

.choose-cat-item:hover,
.choose-cat-item:active {
    background: #1a1c2e;
    border-color: #00f2ff;
    box-shadow: 0 4px 20px rgba(0, 242, 255, 0.2);
    transform: translateY(-1.5px);
}

.choose-cat-thumb {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: #080811;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.choose-cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.choose-cat-info {
    flex: 1;
    min-width: 0;
}

.choose-cat-item-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.choose-cat-item-sub {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.choose-cat-chevron {
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, color 0.15s ease;
}

.choose-cat-item:hover .choose-cat-chevron {
    color: #00f2ff;
    transform: translateX(3px);
}








/* ==============================================================================
   MAINTENANCE MODE OVERLAY & ADMIN CONTROLS
   ============================================================================== */
.maintenance-screen-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 25%, #180d19 0%, #080911 80%, #030407 100%);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: maintFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.maintenance-screen-overlay.active {
    display: flex;
}

@keyframes maintFadeIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

.maintenance-card {
    background: rgba(15, 17, 27, 0.95);
    border: 1.5px solid rgba(239, 68, 68, 0.45);
    border-top: 3.5px solid #ff2a5f;
    border-radius: 28px;
    max-width: 480px;
    width: 100%;
    padding: 36px 26px 28px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 42, 95, 0.25);
    position: relative;
    overflow: hidden;
}

.maintenance-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 110px;
    background: radial-gradient(ellipse, rgba(255, 42, 95, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.maintenance-icon-glow {
    width: 82px;
    height: 82px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(255, 42, 95, 0.15));
    border: 2px solid rgba(255, 42, 95, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 42, 95, 0.4);
    animation: maintPulse 2s infinite ease-in-out;
}

@keyframes maintPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(255, 42, 95, 0.35); }
    50% { transform: scale(1.06); box-shadow: 0 0 45px rgba(255, 42, 95, 0.6); }
}

.maintenance-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.maintenance-badge-pill::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    animation: blinkDot 1s infinite alternate;
}

@keyframes blinkDot {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

.maintenance-title {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.maintenance-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 20px;
    padding: 0 8px;
}

.maintenance-time-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 11px 16px;
    font-size: 12.5px;
    color: #f1f5f9;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.maintenance-actions-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.maintenance-btn-telegram {
    background: linear-gradient(135deg, #0284c7, #2563eb);
    border: 1px solid #38bdf8;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 800;
    padding: 13px 22px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
    transition: all 0.2s ease;
}

.maintenance-btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.5);
    color: #fff;
}

.maintenance-btn-admin-login {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: color 0.15s ease;
    margin-top: 4px;
}

.maintenance-btn-admin-login:hover {
    color: #38bdf8;
    text-decoration: underline;
}

/* Floating Admin Warning Bar when Maintenance is Active */
.admin-maintenance-floating-banner {
    background: linear-gradient(90deg, #991b1b, #dc2626);
    color: #ffffff;
    padding: 10px 16px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    position: sticky;
    top: 0;
    z-index: 10001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-maintenance-floating-banner.active {
    display: flex;
}

.admin-maintenance-floating-banner .banner-text {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.admin-maintenance-floating-banner .banner-btn-off {
    background: #ffffff;
    color: #dc2626;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease;
}

.admin-maintenance-floating-banner .banner-btn-off:hover {
    transform: scale(1.05);
}

/* Admin Tab Maintenance Card */
.admin-maint-control-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(239, 68, 68, 0.4);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.admin-maint-control-card.is-off {
    border-color: rgba(34, 197, 94, 0.4);
}

.admin-maint-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.admin-maint-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-maint-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.admin-maint-status-pill {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.admin-maint-status-pill.on {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

.admin-maint-status-pill.off {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid #22c55e;
    color: #86efac;
}

.admin-maint-toggle-btn {
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: none;
}

.admin-maint-toggle-btn.btn-turn-on {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(220, 38, 38, 0.35);
}

.admin-maint-toggle-btn.btn-turn-off {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(22, 163, 74, 0.35);
}

.admin-maint-toggle-btn:hover {
    transform: translateY(-1.5px);
    filter: brightness(1.1);
}

/* Modal Admin Login from Maintenance Screen */
.maint-login-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(8px);
}

.maint-login-modal.active {
    display: flex;
}

.maint-login-box {
    background: #0f172a;
    border: 1.5px solid rgba(56, 189, 248, 0.4);
    border-radius: 20px;
    max-width: 380px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   RECENT TRANSACTIONS FEED (GIAO DỊCH GẦN ĐÂY - LIVE FEED CYBERPUNK)
   ========================================================================== */
.recent-transactions-card {
    background: linear-gradient(180deg, #110d24 0%, #0a0718 100%);
    border: 1.5px solid #ec4899;
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.25), inset 0 0 15px rgba(236, 72, 153, 0.06);
    border-radius: 20px;
    padding: 16px 14px;
    margin: 18px 0 28px 0;
    position: relative;
    overflow: hidden;
}

.recent-trans-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 4px;
}

.recent-trans-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 900;
    letter-spacing: 0.6px;
    color: #ffffff;
    text-transform: uppercase;
}

.recent-trans-clock-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.12);
    border: 1.5px solid rgba(0, 240, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.35);
}

.recent-trans-live-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.4);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
    color: #4ade80;
    letter-spacing: 0.5px;
}

.live-dot-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: livePulseAnim 1.6s infinite ease-in-out;
}

@keyframes livePulseAnim {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.recent-trans-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: thin;
    scrollbar-color: rgba(236, 72, 153, 0.3) transparent;
}
.recent-trans-list::-webkit-scrollbar {
    width: 4px;
}
.recent-trans-list::-webkit-scrollbar-thumb {
    background: rgba(236, 72, 153, 0.3);
    border-radius: 4px;
}

.trans-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(18, 15, 33, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 9px 12px;
    transition: all 0.25s ease;
    gap: 10px;
}

.trans-item:hover {
    background: rgba(26, 22, 48, 0.95);
    transform: translateX(2px);
}

/* NẠP TIỀN (CYAN THEME) */
.trans-item.trans-type-deposit {
    border-left: 3.5px solid #00f0ff;
    box-shadow: -2px 0 10px rgba(0, 240, 255, 0.25);
}

/* MUA HÀNG (MAGENTA THEME) */
.trans-item.trans-type-purchase {
    border-left: 3.5px solid #ec4899;
    box-shadow: -2px 0 10px rgba(236, 72, 153, 0.25);
}

.trans-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.trans-icon-badge {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
}

.deposit-badge {
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: #00f0ff;
}

.purchase-badge {
    background: rgba(236, 72, 153, 0.12);
    border: 1px solid rgba(236, 72, 153, 0.35);
    color: #ec4899;
}

.trans-content-text {
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trans-user-name {
    font-weight: 800;
    color: #ffffff;
}

.trans-action-word {
    color: #94a3b8;
    margin: 0 4px;
    font-weight: 500;
}

.trans-amount-val {
    color: #00f0ff;
    font-weight: 800;
    letter-spacing: 0.2px;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.trans-product-val {
    color: #ffffff;
    font-weight: 800;
}

.trans-time {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    flex-shrink: 0;
    margin-left: 6px;
}

.recent-trans-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    font-size: 11px;
    color: #94a3b8;
    letter-spacing: 0.3px;
}

.recent-trans-footer-icon {
    color: #fbbf24;
}

@keyframes highlightNewTrans {
    0% { background: rgba(0, 240, 255, 0.25); transform: scale(1.02); }
    100% { background: rgba(18, 15, 33, 0.85); transform: scale(1); }
}

.trans-item-new {
    animation: highlightNewTrans 1.2s ease-out;
}

/* ==============================================================================
   LEADERBOARD / TOP NẠP STYLES
   ============================================================================== */
.leaderboard-header-card {
    background: linear-gradient(135deg, rgba(255, 0, 200, 0.16) 0%, rgba(13, 14, 34, 0.95) 50%, rgba(0, 234, 255, 0.16) 100%);
    border: 1.5px solid rgba(255, 0, 200, 0.35);
    box-shadow: 0 0 25px rgba(255, 0, 200, 0.15);
    border-radius: 16px;
    padding: 18px 14px;
    text-align: center;
    margin-bottom: 14px;
}

.leaderboard-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

.leaderboard-title {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: 0.6px;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 0, 200, 0.5);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.leaderboard-subtitle {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
    max-width: 380px;
    margin: 0 auto;
}

/* Prizes Card */
.leaderboard-prizes-card {
    background: rgba(16, 16, 33, 0.85);
    border: 1.5px solid rgba(0, 234, 255, 0.25);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 16px;
}

.prizes-card-title {
    font-size: 12.5px;
    font-weight: 800;
    color: #00f0ff;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.prize-item {
    border-radius: 12px;
    padding: 10px 6px;
    text-align: center;
    transition: transform 0.2s ease;
}

.prize-item:hover {
    transform: translateY(-2px);
}

.prize-item.prize-top1 {
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.2) 0%, rgba(16, 16, 33, 0.8) 100%);
    border: 1.5px solid #fbbf24;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.25);
}

.prize-item.prize-top2 {
    background: linear-gradient(180deg, rgba(203, 213, 225, 0.16) 0%, rgba(16, 16, 33, 0.8) 100%);
    border: 1.5px solid rgba(203, 213, 225, 0.45);
}

.prize-item.prize-top3 {
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.16) 0%, rgba(16, 16, 33, 0.8) 100%);
    border: 1.5px solid rgba(249, 115, 22, 0.45);
}

.prize-badge {
    font-size: 10.5px;
    font-weight: 800;
    margin-bottom: 4px;
}

.prize-top1 .prize-badge { color: #fbbf24; }
.prize-top2 .prize-badge { color: #e2e8f0; }
.prize-top3 .prize-badge { color: #fb923c; }

.prize-amount {
    font-size: 13.5px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.2px;
    margin-bottom: 3px;
}

.prize-top1 .prize-amount { color: #fde047; text-shadow: 0 0 8px rgba(253, 224, 71, 0.5); }

.prize-desc {
    font-size: 9.5px;
    color: #94a3b8;
    line-height: 1.3;
}

/* Podium Top 3 */
.leaderboard-podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 16px;
    padding: 0 4px;
}

.podium-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.podium-avatar-wrap {
    position: relative;
    margin-bottom: 6px;
}

.podium-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    background: #14152e;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    position: relative;
}

.podium-col.rank-1 .podium-avatar {
    width: 60px;
    height: 60px;
    font-size: 20px;
    border: 2.5px solid #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.45);
}

.podium-col.rank-2 .podium-avatar {
    border: 2px solid #cbd5e1;
    box-shadow: 0 0 12px rgba(203, 213, 225, 0.35);
}

.podium-col.rank-3 .podium-avatar {
    border: 2px solid #f97316;
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.35);
}

.podium-crown {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.8));
    animation: crownFloat 2s ease-in-out infinite;
}

@keyframes crownFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-3px); }
}

.podium-medal {
    position: absolute;
    bottom: -6px;
    right: -4px;
    font-size: 16px;
}

.podium-name {
    font-size: 11.5px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 105px;
    padding: 0 2px;
}

.podium-col.rank-1 .podium-name {
    font-size: 12.5px;
    color: #fde047;
    text-shadow: 0 0 8px rgba(253, 224, 71, 0.4);
    max-width: 120px;
}

.podium-amount {
    font-size: 11px;
    font-weight: 800;
    color: #00f0ff;
    margin-bottom: 6px;
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.4);
}

.podium-step {
    width: 100%;
    border-radius: 12px 12px 4px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    position: relative;
    overflow: hidden;
}

.podium-col.rank-1 .podium-step {
    height: 105px;
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.35) 0%, rgba(20, 21, 45, 0.95) 100%);
    border: 1.5px solid rgba(251, 191, 36, 0.6);
    border-bottom: none;
    box-shadow: inset 0 0 15px rgba(251, 191, 36, 0.2);
}

.podium-col.rank-2 .podium-step {
    height: 82px;
    background: linear-gradient(180deg, rgba(203, 213, 225, 0.25) 0%, rgba(20, 21, 45, 0.95) 100%);
    border: 1.5px solid rgba(203, 213, 225, 0.4);
    border-bottom: none;
}

.podium-col.rank-3 .podium-step {
    height: 68px;
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.25) 0%, rgba(20, 21, 45, 0.95) 100%);
    border: 1.5px solid rgba(249, 115, 22, 0.4);
    border-bottom: none;
}

.podium-step-rank {
    font-size: 26px;
    font-weight: 900;
    opacity: 0.9;
}

.podium-col.rank-1 .podium-step-rank { color: #fbbf24; text-shadow: 0 0 10px rgba(251, 191, 36, 0.6); }
.podium-col.rank-2 .podium-step-rank { color: #e2e8f0; }
.podium-col.rank-3 .podium-step-rank { color: #fb923c; }

/* Leaderboard List (Rank 4 - 10) */
.leaderboard-list-card {
    background: rgba(16, 16, 33, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 16px;
}

.leaderboard-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.auto-update-tag {
    font-size: 10px;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
}

.leaderboard-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 8px;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.leaderboard-item-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.leaderboard-item-row + .leaderboard-item-row {
    margin-top: 4px;
}

.lb-row-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lb-rank-num {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 11.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 234, 255, 0.2) 0%, rgba(255, 0, 200, 0.2) 100%);
    border: 1.5px solid rgba(0, 234, 255, 0.35);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-meta {
    text-align: left;
}

.lb-name {
    font-size: 12.5px;
    font-weight: 800;
    color: #ffffff;
}

.lb-sub {
    font-size: 10px;
    color: #64748b;
}

.lb-row-right {
    text-align: right;
}

.lb-amount-badge {
    font-size: 12.5px;
    font-weight: 900;
    color: #00f0ff;
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.35);
}

/* My Rank Card */
.leaderboard-my-card {
    background: linear-gradient(135deg, rgba(16, 17, 40, 0.95) 0%, rgba(24, 25, 55, 0.95) 100%);
    border: 1.5px solid rgba(0, 234, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 234, 255, 0.15);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    margin-bottom: 80px;
}

.my-card-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.my-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 234, 255, 0.15);
    border: 1.5px solid #00eaff;
    color: #00eaff;
    font-weight: 900;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-meta {
    text-align: left;
}

.my-name {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

.my-stats-row {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-deposit-fast {
    background: linear-gradient(135deg, #00f0ff 0%, #00a8ff 100%);
    color: #080817;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.4px;
    border: none;
    border-radius: 10px;
    padding: 9px 14px;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
    transition: transform 0.15s ease, filter 0.15s ease;
    white-space: nowrap;
}

.btn-deposit-fast:active {
    transform: scale(0.96);
}

