/* =========================================================
   NGA SHEIN SHOP — BOLD VISUAL EDITION
   (All existing selectors preserved + major visual upgrades)
   ========================================================= */

:root {
    /* Base backgrounds */
    --bg-main: #eef2f8;
    --bg-grad-top: #f8fafc;
    --bg-grad-mid: #f1f5fb;
    --bg-grad-bottom: #dbe4f5;

    /* Cards */
    --card-bg: #ffffff;
    --card-bg-2: #fbfcfe;

    /* Text */
    --text-primary: #0b1220;
    --text-secondary: #5a6b85;

    /* Brand */
    --brand-blue: #2563eb;
    --brand-blue-dark: #1d4ed8;
    --brand-blue-light: #60a5fa;
    --brand-blue-soft: #eff6ff;
    --brand-gold: #f59e0b;
    --brand-gold-light: #fcd34d;
    --brand-violet: #7c3aed;
    --brand-pink: #ec4899;

    /* Lines */
    --border-light: #e5eaf3;
    --border-mid: #cbd5e1;

    /* Shadows */
    --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05), 0 4px 14px rgba(37, 99, 235, 0.06);
    --shadow-md: 0 10px 24px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(37, 99, 235, 0.06);
    --shadow-lg: 0 18px 44px rgba(15, 23, 42, 0.14), 0 6px 16px rgba(37, 99, 235, 0.08);
    --shadow-glow: 0 6px 22px rgba(37, 99, 235, 0.35);

    /* Default accent (fallback) */
    --accent: #2563eb;
    --accent-2: #60a5fa;
    --accent-dark: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.35);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', 'Padauk', 'Pyidaungsu', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

body {
    background: linear-gradient(180deg, var(--bg-grad-top) 0%, var(--bg-grad-mid) 45%, var(--bg-grad-bottom) 100%) !important;
    background-attachment: fixed !important;
    color: var(--text-primary) !important;
    line-height: 1.5;
    padding-bottom: 120px !important;
    transition: background 0.4s ease, color 0.3s ease !important;
    min-height: 100vh;
}

/* ==================== 1. HEADER & HERO ==================== */
.app-header-section {
    max-width: 680px;
    margin: 0 auto;
    padding: 14px 14px 6px 14px;
}

.hero-banner-card {
    width: 100%;
    height: 250px;
    background: url('/static/shop_bg1.jpg') center 48% / cover no-repeat !important;
    border-radius: 26px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.22), 0 6px 16px rgba(37, 99, 235, 0.15);
    display: flex;
    margin-bottom: 12px;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero-banner-overlay {
    width: 100%;
    height: 100%;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(
        180deg,
        rgba(9, 13, 26, 0.82) 0%,
        rgba(9, 13, 26, 0.15) 35%,
        rgba(9, 13, 26, 0.15) 60%,
        rgba(9, 13, 26, 0.95) 100%
    );
    color: #ffffff;
}

@keyframes goldShimmerRun {
    0%   { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

@keyframes colorFlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* PREMIUM GOLD TITLE — Bigger, brighter, more dramatic */
.shop-main-title {
    display: block !important;
    font-size: 33px !important;
    font-weight: 900 !important;
    letter-spacing: 1.8px !important;
    line-height: 1.1 !important;
    text-align: center !important;
    background-image: linear-gradient(
        90deg,
        #fff7d6 0%,
        #fde68a 15%,
        #fbbf24 30%,
        #f59e0b 45%,
        #fbbf24 60%,
        #fde68a 75%,
        #fff7d6 100%
    ) !important;
    background-size: 300% 100% !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    text-shadow: none !important;
    animation: goldShimmerRun 3s linear infinite !important;
    filter:
        drop-shadow(0 0 16px rgba(251, 191, 36, 0.7))
        drop-shadow(0 0 30px rgba(251, 191, 36, 0.35))
        drop-shadow(0 3px 8px rgba(0, 0, 0, 0.98)) !important;
}

.shop-main-title span {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    color: inherit !important;
    -webkit-text-fill-color: transparent !important;
    animation: none !important;
    filter: none !important;
}
.shop-sub-desc {
   
    text-align: center;
}
   
.shop-sub-desc b:nth-of-type(1) {
    color: #2196ff; /* Blue */
}

.shop-sub-desc b:nth-of-type(2) {
    color: #ff4f9a; /* Pink */
}

.shop-sub-desc b:nth-of-type(3) {
    color: #FF0000; /* red */
}

.highlight-text {
    display: block;
    text-align: center;
    margin-top: 5px;
    color: #FFFFFF;
    font-weight: 800;

    padding: 2px 6px;
    border-radius: 6px;
}
/* ==================== 2. BROADCAST ==================== */
.broadcast-container {
    background: linear-gradient(90deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 14px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.broadcast-icon-box {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #b45309;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
    box-shadow: 0 3px 8px rgba(245, 158, 11, 0.25);
}

.scrolling-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.scrolling-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 18s linear infinite;
    font-size: 13px;
    font-weight: 600;
    color: #334155 !important;
}

@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* ==================== 3. STICKY ZONE + WALLET + SEARCH ==================== */
.sticky-top-zone {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 800;
    background: rgba(248, 250, 252, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(229, 234, 243, 0.9);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.sticky-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 14px;
}

/* WALLET BAR — Gradient Glass Upgrade */
.wallet-bar-card {
    background: linear-gradient(135deg, #eff6ff 0%, #ede9fe 50%, #fce7f3 100%) !important;
    border: 1.5px solid rgba(99, 102, 241, 0.28) !important;
    border-radius: 18px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow:
        0 8px 22px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    cursor: pointer;
    margin-bottom: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wallet-bar-card:active {
    transform: scale(0.985);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.wallet-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wallet-badges {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.w-badge {
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.kpay-bg {
    background: linear-gradient(135deg, #0052cc, #3b82f6);
    box-shadow: 0 2px 6px rgba(0, 82, 204, 0.28);
}
.wave-bg {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.28);
}

.wallet-details {
    display: flex;
    flex-direction: column;
}

.wallet-hint {
    font-size: 11px;
    color: #6366f1;
    font-weight: 700;
}

.wave-phone {
    display: inline-flex;
    align-items: center;
    font-weight: 900;
    font-size: 18px;
    margin-top: 2px;
}

.wave-phone .w-gap { width: 6px; }

.wave-phone span:not(.w-gap) {
    display: inline-block;
    background: linear-gradient(90deg, #1e293b, #2563eb, #d97706, #7c3aed, #1e293b);
    background-size: 300% auto;
    color: transparent !important;
    -webkit-background-clip: text;
    background-clip: text;
    animation: wavePulse 1.8s ease-in-out infinite, colorFlow 3.5s linear infinite;
    transform-origin: center bottom;
}

@keyframes wavePulse {
    0%, 60%, 100% { transform: scale(1) translateY(0); }
    30%           { transform: scale(1.28) translateY(-2px); }
}

.wave-phone span:nth-child(1)  { animation-delay: 0.00s; }
.wave-phone span:nth-child(2)  { animation-delay: 0.10s; }
.wave-phone span:nth-child(4)  { animation-delay: 0.20s; }
.wave-phone span:nth-child(5)  { animation-delay: 0.30s; }
.wave-phone span:nth-child(6)  { animation-delay: 0.40s; }
.wave-phone span:nth-child(8)  { animation-delay: 0.50s; }
.wave-phone span:nth-child(9)  { animation-delay: 0.60s; }
.wave-phone span:nth-child(10) { animation-delay: 0.70s; }
.wave-phone span:nth-child(12) { animation-delay: 0.80s; }
.wave-phone span:nth-child(13) { animation-delay: 0.90s; }
.wave-phone span:nth-child(14) { animation-delay: 1.00s; }

.wallet-copy-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    border: none;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.35);
    transition: transform 0.15s ease;
}

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

/* SEARCH BAR — Enhanced with Glow Focus */
.search-bar-wrap {
    position: relative;
    margin-top: 4px;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 15px;
    color: #94a3b8;
    font-size: 14px;
    z-index: 1;
}

#pkgSearchInput {
    width: 100%;
    padding: 11px 40px;
    background: #ffffff !important;
    color: #0f172a !important;
    border: 2px solid var(--border-light);
    border-radius: 15px;
    font-size: 13.5px;
    font-weight: 600;
    outline: none;
    box-shadow:
        0 3px 10px rgba(15, 23, 42, 0.04),
        inset 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#pkgSearchInput:focus {
    border-color: var(--brand-blue);
    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.15),
        0 4px 14px rgba(37, 99, 235, 0.12);
}

.clear-search-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
}

/* ==================== 4. FILTERS ==================== */
.filters-wrapper {
    margin: 0 !important;
    width: 100% !important;
}

.filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 2px 8px 2px !important;
    scrollbar-width: none;
}

.filters::-webkit-scrollbar { display: none; }

.filter-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--card-bg) !important;
    color: #334155 !important;
    border: 1.5px solid var(--border-light) !important;
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.filter-btn.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-1px);
}

.operator-logo {
    width: 19px;
    height: 19px;
    object-fit: contain;
    border-radius: 4px;
}

/* =========================================================
   PART 2: PRODUCTS, LOADER, FABS
   ========================================================= */

.main-container {
    width: 100% !important;
    max-width: 680px !important;
    margin: 14px auto 0 auto !important;
    padding: 0 12px !important;
}

.grid-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
}

@media (max-width: 340px) {
    .grid-container { grid-template-columns: 1fr !important; }
}

/* PRODUCT CARD — ACCENT STRIPE + DEEPER DEPTH */
.product-card {
    --accent: #2563eb;
    --accent-2: #60a5fa;
    --accent-dark: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.15);

    width: 100% !important;
    min-width: 0 !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    color: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 20px !important;
    padding: 14px 12px 12px !important;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

/* Item တွေပေါ်က အပြာရောင်ဘားလေးကို ဖျောက်ထားသည် */
.product-card::before {
    display: none !important;
   }

.product-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08), 0 4px 10px var(--accent-glow) !important;
                                }
.product-card:active {
    transform: scale(0.98) !important;
}

/* Tags */
@keyframes tagShimmer {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.tag {
    position: absolute;
    top: 12px;
    right: 10px;
    font-size: 9.5px !important;
    font-weight: 800;
    padding: 3px 10px !important;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #ffffff !important;
    background: linear-gradient(90deg, #ef4444, #f97316, #ef4444);
    background-size: 200% auto !important;
    animation: tagShimmer 3s linear infinite;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.tag-hot {
    background: linear-gradient(90deg, #ef4444, #f97316, #ef4444) !important;
    background-size: 200% auto !important;
}
.tag-best {
    background: linear-gradient(90deg, #f59e0b, #eab308, #d97706) !important;
    background-size: 200% auto !important;
}
.tag-value {
    background: linear-gradient(90deg, #8b5cf6, #ec4899, #8b5cf6) !important;
    background-size: 200% auto !important;
}

.op-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    margin-top: 2px;
}

.op-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 5px;
}

.op-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 8px; /* ပိုပြီး ထောင့်ဖြတ်ဖြစ်စေရန် */
    border: none;
    background: var(--accent-glow) !important; /* Operator အရောင်ကို အခြေခံမယ် */
    color: var(--accent-dark) !important;
    letter-spacing: 0.5px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

.package-name {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.35;
    margin-bottom: 4px;
}

.package-note {
    font-size: 11px !important;
    color: #475569 !important;
    margin-bottom: 8px;
}

.card-bottom {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.price {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: var(--accent-dark) !important;
    letter-spacing: -0.2px;
}

/* BUY BUTTON — LARGER + GLOWING + 3D */
.buy-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 11px 10px !important;
    border-radius: 13px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow:
        0 4px 0 rgba(15, 23, 42, 0.22),
        0 8px 20px var(--accent-glow),
        inset 0 2px 3px rgba(255, 255, 255, 0.35) !important;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.buy-btn:hover {
    box-shadow:
        0 5px 0 rgba(15, 23, 42, 0.22),
        0 10px 26px var(--accent-glow),
        inset 0 2px 3px rgba(255, 255, 255, 0.4) !important;
}

.buy-btn:active {
    transform: translateY(3px);
    box-shadow:
        0 1px 0 rgba(15, 23, 42, 0.2),
        0 2px 8px var(--accent-glow),
        inset 0 2px 3px rgba(255, 255, 255, 0.25) !important;
}

/* Loader */
.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 45px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-loader-wrapper {
    position: relative;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.loader-glow-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 4px;
    background: conic-gradient(from 0deg, #3b82f6, #8b5cf6, #ec4899, #fbbf24, #3b82f6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spinLoaderRing 1.4s linear infinite;
    box-shadow: 0 0 22px rgba(139, 92, 246, 0.3);
}

.loader-circle-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 35%;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.18);
    animation: pulseLogoImg 1.8s ease-in-out infinite;
}

@keyframes spinLoaderRing {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes pulseLogoImg {
    0%, 100% { transform: scale(0.95); }
    50%      { transform: scale(1.04); }
}

.loading-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--brand-blue);
    letter-spacing: 1px;
}

.loading-sub {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* ==================== FABS ==================== */
.fab-group {
    position: fixed !important;
    bottom: 20px !important;
    right: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 10px !important;
    z-index: 1200 !important;
}

.fab-btn {
    border: none !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important; /* အဝိုင်းပုံစံပြောင်းမယ် */
    font-size: 20px !important;
    color: #ffffff !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* စာသားတွေကို ဖျောက်ထားမယ် (HTML ကို မထိခိုက်စေရအောင်) */
.fab-btn span {
    display: none !important; 
}

.track-fab {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4) !important;
}

.chat-fab {
    background: linear-gradient(135deg, #3b82f6 0%, #4f46e5 100%) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4) !important;
   }
/* ==================== MODALS ==================== */
@keyframes modalSpringPop {
    0%   { opacity: 0; transform: scale(0.82) translateY(25px); }
    70%  { opacity: 1; transform: scale(1.02) translateY(-3px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-overlay,
.custom-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.62) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2500 !important;
    padding: 16px;
}

.modal-overlay.active,
.modal-overlay.show,
.custom-modal-overlay.active {
    display: flex !important;
}

.modal-box,
.custom-modal-box {
    background: #ffffff !important;
    color: #0f172a !important;
    border-radius: 24px !important;
    width: 100%;
    max-width: 380px;
    padding: 26px 20px 22px 20px !important;
    position: relative;
    text-align: center;
    border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.38) !important;
    animation: modalSpringPop 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    overflow: hidden;
}

.modal-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
}

.close-modal-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9 !important;
    color: #475569 !important;
    cursor: pointer;
    transition: background 0.2s;
}

.close-modal-btn:hover { background: #e2e8f0 !important; }

.modal-icon-header,
.modal-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 12px auto;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
}

.modal-icon-wrap {
    background: linear-gradient(135deg, #fef2f2, #fee2e2) !important;
    color: #ef4444 !important;
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.18);
}

.selected-pkg-Summary {
    background: linear-gradient(135deg, #f8fafc, #eff6ff) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 16px;
    padding: 12px;
    margin: 12px 0;
}

.summary-op    { font-size: 12px; font-weight: 800; }
.summary-name  { font-size: 16px; font-weight: 800; color: #0f172a !important; }
.summary-price { font-size: 18px; font-weight: 900; color: var(--brand-blue) !important; margin-top: 2px; }

.phone-input-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0 6px 2px;
}

.input-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #334155 !important;
    margin: 0;
}

.detected-op-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--brand-blue);
}

.detected-op-badge img {
    width: 15px;
    height: 15px;
    object-fit: contain;
    border-radius: 3px;
}
.op-mismatch-warning {
    display: block !important;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 12px;
    margin-bottom: 12px;
    line-height: 1.5 !important;
    text-align: left !important;
}

.modal-box input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    border-radius: 14px;
    font-size: 14.5px;
    font-weight: 600;
    outline: none;
    margin-bottom: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-box input:focus {
    border-color: var(--brand-blue) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.modal-box input::placeholder { color: #94a3b8 !important; }

.primary-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #2563eb 55%, #1d4ed8) !important;
    color: #ffffff !important;
    border: none;
    padding: 13px;
    border-radius: 14px;
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow:
        0 4px 0 rgba(15, 23, 42, 0.22),
        0 8px 20px rgba(37, 99, 235, 0.35),
        inset 0 2px 3px rgba(255, 255, 255, 0.35);
    transition: transform 0.12s ease;
}

.primary-submit-btn:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.2), 0 2px 8px rgba(37, 99, 235, 0.3);
}

.track-result-box { margin-top: 14px; text-align: left; font-size: 13px; color: #0f172a !important; }
.track-row        { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border-light); color: #0f172a !important; }
.track-status     { margin-top: 8px; text-align: center; padding: 6px; border-radius: 10px; font-weight: 800; border: 1px solid currentColor; }

.modal-title  { font-size: 18px; font-weight: 800; color: #0f172a !important; margin-bottom: 6px; }
.modal-desc,
.modal-subtext { font-size: 13px; color: #64748b !important; margin-bottom: 16px; }
.modal-actions { display: flex; gap: 10px; }
.btn-modal-cancel  { flex: 1; padding: 11px; border-radius: 12px; border: 1px solid var(--border-light); background: #f1f5f9 !important; color: #334155 !important; font-weight: 700; cursor: pointer; }
.btn-modal-confirm { flex: 1; padding: 11px; border-radius: 12px; border: none; background: linear-gradient(135deg, #ef4444, #dc2626) !important; color: #fff !important; font-weight: 700; cursor: pointer; box-shadow: 0 4px 12px rgba(239, 68, 68, 0.28); }

/* Quick chips & receipt */
.quick-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: -4px 0 12px 0;
    justify-content: flex-start;
}

.quick-chip {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.quick-chip:hover,
.quick-chip:active {
    background: #eff6ff;
    color: #2563eb;
    border-color: #93c5fd;
    transform: translateY(-1px);
}

.receipt-card-box {
    background: #f8fafc;
    border: 1.5px dashed #93c5fd;
    border-radius: 16px;
    padding: 14px;
    margin: 12px 0;
    text-align: left;
}

.receipt-pay-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-radius: 14px;
    padding: 10px 12px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

/* =========================================================
   PART 3: CHAT, TOAST, EFFECTS
   ========================================================= */

.chat-box {
    position: fixed !important;
    bottom: 16px !important;
    right: 14px !important;
    width: calc(100vw - 28px) !important;
    max-width: 375px !important;
    height: 490px !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28) !important;
    border: 1px solid #cbd5e1 !important;
    display: none;
    flex-direction: column !important;
    overflow: hidden !important;
    z-index: 2000 !important;
    animation: chatPopUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.chat-box.open,
.chat-box.active { display: flex !important; }
.chat-box.minimized { height: 58px !important; }
.chat-box.minimized .chat-body,
.chat-box.minimized .chat-input-area { display: none !important; }

.chat-header {
    background: linear-gradient(135deg, #3b82f6 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 14.5px;
    color: #ffffff !important;
}

.online-dot {
    width: 9px;
    height: 9px;
    background: #34d399 !important;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.28);
}

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

.chat-header-actions button {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.18) !important;
    border: none !important;
    color: #ffffff !important;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.chat-header-actions button:hover {
    background: rgba(255, 255, 255, 0.28) !important;
}

.chat-body {
    flex: 1 !important;
    padding: 14px !important;
    overflow-y: auto !important;
    background: #f1f5f9 !important;
}

.chat-messages {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msg-customer {
    align-self: flex-end !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
    border-radius: 18px 18px 4px 18px !important;
    max-width: 82%;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.22);
    word-wrap: break-word;
}

.msg-admin {
    align-self: flex-start !important;
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
    padding: 10px 14px !important;
    border-radius: 18px 18px 18px 4px !important;
    max-width: 82%;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    word-wrap: break-word;
}

.msg-system,
.msg-system * {
    align-self: center !important;
    background: #eff6ff !important;
    color: #1e3a8a !important;
    -webkit-text-fill-color: #1e3a8a !important;
    border: 1px solid #93c5fd !important;
    padding: 9px 13px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: center;
    width: 96%;
    opacity: 1 !important;
}
.chat-img {
    max-width: 100%;
    border-radius: 10px;
    margin-top: 4px;
    cursor: pointer;
}

.img-caption {
    margin-top: 6px;
    font-size: 12.5px;
}

.chat-input-area {
    padding: 10px 12px !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.img-upload-label,
.voice-record-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #dbeafe !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 15px !important;
    transition: all 0.2s ease;
}

.voice-record-btn.recording {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    animation: recPulse 1s infinite !important;
    width: auto !important;
    padding: 0 12px !important;
    gap: 6px;
    font-size: 12.5px !important;
    font-weight: 800 !important;
}

@keyframes recPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    50%      { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.chat-audio-player {
    width: 210px;
    max-width: 100%;
    height: 38px;
    margin-top: 2px;
    border-radius: 20px;
    outline: none;
}

#myMessage,
.chat-input-area input[type="text"] {
    flex: 1 !important;
    background-color: #f8fafc !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    caret-color: #2563eb !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 10px 14px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    outline: none !important;
    transition: border-color 0.2s, background 0.2s;
}

#myMessage::placeholder {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    opacity: 1 !important;
}

#myMessage:focus {
    background-color: #ffffff !important;
    border-color: #2563eb !important;
}

.chat-send-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: none !important;
    background: linear-gradient(135deg, #3b82f6 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    cursor: pointer;
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* Toast & Lightbox */
#toast-container {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 90%;
    max-width: 360px;
}

.toast {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

#img-lightbox { z-index: 3000 !important; }
#lightbox-img { max-width: 92%; max-height: 85vh; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8); }
.close-lightbox { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 32px; cursor: pointer; }

/* Effects */
#ngashein-effect-layer {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none !important;
    user-select: none !important;
    overflow: hidden !important;
    z-index: 1100 !important;
}



.ns-snow {
    background: radial-gradient(circle at 35% 35%, #ffffff 30%, #dbeafe 75%, rgba(147, 197, 253, 0.2) 100%);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.28), 0 0 4px rgba(255, 255, 255, 0.9);
    animation: nsSnowFall linear forwards;
}

.ns-rain {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0) 0%, rgba(37, 99, 235, 0.55) 65%, rgba(29, 78, 216, 0.85) 100%);
    border-radius: 999px;
    animation: nsRainFall linear forwards;
}

.ns-particle {
    position: absolute;
    top: -40px;
    pointer-events: none !important;
    will-change: transform;
    opacity: 0.4 !important; /* ပိုပြီး ဖျော့ဖျော့ဖြစ်စေရန် */
}

.ns-flower {
    background: linear-gradient(135deg, #ffdde1 0%, #ff758c 65%, #ff7eb3 100%);
    border-radius: 150% 0 150% 0;
    box-shadow: 0 2px 5px rgba(244, 63, 94, 0.1);
    animation: nsPetalFall ease-in-out forwards;
}
@keyframes nsSnowFall {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(var(--sway, 25px), 52vh, 0) scale(0.95); }
    100% { transform: translate3d(calc(var(--sway, 25px) * -0.8), 108vh, 0) scale(1); }
}

@keyframes nsRainFall {
    0%   { transform: translate3d(0, 0, 0) rotate(12deg); }
    100% { transform: translate3d(-12vh, 110vh, 0) rotate(12deg); }
}

@keyframes nsPetalFall {
    0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
    33%  { transform: translate3d(var(--sway, 35px), 35vh, 0) rotate(120deg) rotateX(45deg); }
    66%  { transform: translate3d(calc(var(--sway, 35px) * -0.6), 70vh, 0) rotate(240deg) rotateY(45deg); }
    100% { transform: translate3d(var(--sway, 35px), 108vh, 0) rotate(360deg) rotateX(20deg); }
}

/* =========================================================
/* =========================================================
   PART 4: THEMES (AURORA & CRYSTAL = MULTI-COLOR / OTHERS = THEME COLOR)
   ========================================================= */

/* Theme 2 (Aurora) နှင့် Theme 3 (Crystal) နှစ်ခုတည်းတွင်သာ ဝယ်ယူမည်ခလုတ်များကို တစ်ရောင်စီ ပြသမည် */
body[data-theme="aurora"] .product-card[data-op="ATOM" i] .buy-btn,
body[data-theme="crystal"] .product-card[data-op="ATOM" i] .buy-btn {
    background: linear-gradient(135deg, #0284c7, #0ea5e9) !important;
    box-shadow: 0 4px 0 rgba(15, 23, 42, 0.22), 0 8px 18px rgba(14, 165, 233, 0.28) !important;
}

body[data-theme="aurora"] .product-card[data-op="Mytel" i] .buy-btn,
body[data-theme="crystal"] .product-card[data-op="Mytel" i] .buy-btn {
    background: linear-gradient(135deg, #ea580c, #f97316) !important;
    box-shadow: 0 4px 0 rgba(15, 23, 42, 0.22), 0 8px 18px rgba(249, 115, 22, 0.28) !important;
}

body[data-theme="aurora"] .product-card[data-op="MPT" i] .buy-btn,
body[data-theme="crystal"] .product-card[data-op="MPT" i] .buy-btn {
    background: linear-gradient(135deg, #ca8a04, #eab308) !important;
    box-shadow: 0 4px 0 rgba(15, 23, 42, 0.22), 0 8px 18px rgba(234, 179, 8, 0.28) !important;
}

body[data-theme="aurora"] .product-card[data-op="U9" i] .buy-btn,
body[data-theme="crystal"] .product-card[data-op="U9" i] .buy-btn {
    background: linear-gradient(135deg, #7e22ce, #a855f7) !important;
    box-shadow: 0 4px 0 rgba(15, 23, 42, 0.22), 0 8px 18px rgba(168, 85, 247, 0.28) !important;
}

/* --------------------------------------------------------------------------
   THEME 2: AURORA (5-COLOR RAINBOW GLASS VIBE)
   -------------------------------------------------------------------------- */
body[data-theme="aurora"] {
    background: linear-gradient(135deg, #bae6fd 0%, #fbcfe8 25%, #fef08a 50%, #bbf7d0 75%, #e9d5ff 100%) !important;
    background-attachment: fixed !important;
}
body[data-theme="aurora"] .sticky-top-zone {
    background: rgba(255, 255, 255, 0.72) !important;
    border-bottom: 1.5px solid rgba(236, 72, 153, 0.28) !important;
}
body[data-theme="aurora"] .broadcast-container {
    background: linear-gradient(90deg, #fffbeb, #fdf2f8, #f0f9ff) !important;
    border: 1.5px solid #f472b6 !important;
}
body[data-theme="aurora"] .wallet-bar-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(224,242,254,0.9), rgba(252,231,243,0.9)) !important;
    border: 1.5px solid #38bdf8 !important;
    box-shadow: 0 8px 22px rgba(14, 165, 233, 0.18) !important;
}
body[data-theme="aurora"] .filter-btn.active {
    background: linear-gradient(135deg, #0ea5e9 0%, #ec4899 55%, #8b5cf6 100%) !important;
    border-color: transparent !important;
}
body[data-theme="aurora"] .product-card {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px) !important;
}
body[data-theme="aurora"] .product-card:nth-child(5n+1) { border: 2px solid #38bdf8 !important; box-shadow: 0 8px 18px rgba(14, 165, 233, 0.15) !important; }
body[data-theme="aurora"] .product-card:nth-child(5n+1) .price { color: #0284c7 !important; }

body[data-theme="aurora"] .product-card:nth-child(5n+2) { border: 2px solid #f472b6 !important; box-shadow: 0 8px 18px rgba(236, 72, 153, 0.15) !important; }
body[data-theme="aurora"] .product-card:nth-child(5n+2) .price { color: #db2777 !important; }

body[data-theme="aurora"] .product-card:nth-child(5n+3) { border: 2px solid #facc15 !important; box-shadow: 0 8px 18px rgba(234, 179, 8, 0.18) !important; }
body[data-theme="aurora"] .product-card:nth-child(5n+3) .price { color: #b45309 !important; }

body[data-theme="aurora"] .product-card:nth-child(5n+4) { border: 2px solid #34d399 !important; box-shadow: 0 8px 18px rgba(16, 185, 129, 0.15) !important; }
body[data-theme="aurora"] .product-card:nth-child(5n+4) .price { color: #047857 !important; }

body[data-theme="aurora"] .product-card:nth-child(5n+5) { border: 2px solid #c084fc !important; box-shadow: 0 8px 18px rgba(168, 85, 247, 0.15) !important; }
body[data-theme="aurora"] .product-card:nth-child(5n+5) .price { color: #6d28d9 !important; }

body[data-theme="aurora"] .chat-header,
body[data-theme="aurora"] .chat-fab {
    background: linear-gradient(135deg, #0ea5e9 0%, #ec4899 55%, #8b5cf6 100%) !important;
}

/* --------------------------------------------------------------------------
   THEME 3: CRYSTAL (5-COLOR CANDY PASTEL CARDS VIBE)
   -------------------------------------------------------------------------- */
body[data-theme="crystal"] {
    background: linear-gradient(160deg, #e0f2fe 0%, #fce7f3 35%, #fef9c3 70%, #f3e8ff 100%) !important;
    background-attachment: fixed !important;
}
body[data-theme="crystal"] .sticky-top-zone {
    background: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 2px dashed #c084fc !important;
}
body[data-theme="crystal"] .broadcast-container {
    background: linear-gradient(90deg, #fdf2f8, #f5f3ff) !important;
    border: 1.5px solid #e879f9 !important;
}
body[data-theme="crystal"] .wallet-bar-card {
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 50%, #fce7f3 100%) !important;
    border: 2px solid #c084fc !important;
}
body[data-theme="crystal"] .filter-btn.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%) !important;
    border-color: transparent !important;
}
body[data-theme="crystal"] .product-card:nth-child(5n+1) { background: linear-gradient(180deg, #ffffff 15%, #bae6fd 100%) !important; border: 2px solid #38bdf8 !important; }
body[data-theme="crystal"] .product-card:nth-child(5n+1) .price { color: #0284c7 !important; }

body[data-theme="crystal"] .product-card:nth-child(5n+2) { background: linear-gradient(180deg, #ffffff 15%, #fbcfe8 100%) !important; border: 2px solid #f472b6 !important; }
body[data-theme="crystal"] .product-card:nth-child(5n+2) .price { color: #db2777 !important; }

body[data-theme="crystal"] .product-card:nth-child(5n+3) { background: linear-gradient(180deg, #ffffff 15%, #fef08a 100%) !important; border: 2px solid #facc15 !important; }
body[data-theme="crystal"] .product-card:nth-child(5n+3) .price { color: #b45309 !important; }

body[data-theme="crystal"] .product-card:nth-child(5n+4) { background: linear-gradient(180deg, #ffffff 15%, #bbf7d0 100%) !important; border: 2px solid #34d399 !important; }
body[data-theme="crystal"] .product-card:nth-child(5n+4) .price { color: #047857 !important; }

body[data-theme="crystal"] .product-card:nth-child(5n+5) { background: linear-gradient(180deg, #ffffff 15%, #e9d5ff 100%) !important; border: 2px solid #c084fc !important; }
body[data-theme="crystal"] .product-card:nth-child(5n+5) .price { color: #6d28d9 !important; }

body[data-theme="crystal"] .track-fab { background: linear-gradient(135deg, #10b981, #059669) !important; }
body[data-theme="crystal"] .chat-fab,
body[data-theme="crystal"] .chat-header { background: linear-gradient(135deg, #8b5cf6, #ec4899) !important; }
/* --------------------------------------------------------------------------
   SINGLE-COLOR FULL VIBE THEMES (ခလုတ်၊ ဈေးနှုန်း၊ ကတ်အားလုံး Theme အရောင်အတိုင်း ပြောင်းမည်)
   -------------------------------------------------------------------------- */

/* 🩵 SKY BLUE VIBE */
body[data-theme="sky"] {
    background: linear-gradient(180deg, #bae6fd 0%, #e0f2fe 50%, #7dd3fc 100%) !important;
    background-attachment: fixed !important;
}
body[data-theme="sky"] .sticky-top-zone { background: rgba(186, 230, 253, 0.88) !important; border-bottom: 1.5px solid #38bdf8 !important; }
body[data-theme="sky"] .broadcast-container,
body[data-theme="sky"] .wallet-bar-card { background: linear-gradient(135deg, #ffffff, #e0f2fe) !important; border: 1.5px solid #38bdf8 !important; }
body[data-theme="sky"] .product-card {
    --accent: #0ea5e9; --accent-dark: #0284c7; --accent-glow: rgba(14, 165, 233, 0.2);
    background: linear-gradient(180deg, #ffffff 25%, #e0f2fe 100%) !important;
    border: 2px solid #38bdf8 !important;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.14) !important;
}
body[data-theme="sky"] .product-card .price { color: #0284c7 !important; }
body[data-theme="sky"] .product-card .buy-btn,
body[data-theme="sky"] .filter-btn.active,
body[data-theme="sky"] .chat-fab,
body[data-theme="sky"] .chat-header,
body[data-theme="sky"] .primary-submit-btn {
    background: linear-gradient(135deg, #0284c7, #0ea5e9) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 0 rgba(15, 23, 42, 0.22), 0 8px 18px rgba(14, 165, 233, 0.28) !important;
}

/* 💛 GOLDEN YELLOW VIBE */
body[data-theme="yellow"] {
    background: linear-gradient(180deg, #fde047 0%, #fef9c3 50%, #fcd34d 100%) !important;
    background-attachment: fixed !important;
}
body[data-theme="yellow"] .sticky-top-zone { background: rgba(254, 240, 138, 0.88) !important; border-bottom: 1.5px solid #f59e0b !important; }
body[data-theme="yellow"] .broadcast-container,
body[data-theme="yellow"] .wallet-bar-card { background: linear-gradient(135deg, #ffffff, #fef3c7) !important; border: 1.5px solid #f59e0b !important; }
body[data-theme="yellow"] .product-card {
    --accent: #eab308; --accent-dark: #b45309; --accent-glow: rgba(234, 179, 8, 0.22);
    background: linear-gradient(180deg, #ffffff 25%, #fef3c7 100%) !important;
    border: 2px solid #f59e0b !important;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.15) !important;
}
body[data-theme="yellow"] .product-card .price { color: #b45309 !important; }
body[data-theme="yellow"] .product-card .buy-btn,
body[data-theme="yellow"] .filter-btn.active,
body[data-theme="yellow"] .chat-fab,
body[data-theme="yellow"] .chat-header,
body[data-theme="yellow"] .primary-submit-btn {
    background: linear-gradient(135deg, #d97706, #eab308) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 0 rgba(15, 23, 42, 0.22), 0 8px 18px rgba(234, 179, 8, 0.3) !important;
}

/* 🌸 SAKURA PINK VIBE */
body[data-theme="pink"] {
    background: linear-gradient(180deg, #fbcfe8 0%, #fce7f3 50%, #f9a8d4 100%) !important;
    background-attachment: fixed !important;
}
body[data-theme="pink"] .sticky-top-zone { background: rgba(251, 207, 232, 0.88) !important; border-bottom: 1.5px solid #f472b6 !important; }
body[data-theme="pink"] .broadcast-container,
body[data-theme="pink"] .wallet-bar-card { background: linear-gradient(135deg, #ffffff, #fce7f3) !important; border: 1.5px solid #f472b6 !important; }
body[data-theme="pink"] .product-card {
    --accent: #ec4899; --accent-dark: #be185d; --accent-glow: rgba(236, 72, 153, 0.2);
    background: linear-gradient(180deg, #ffffff 25%, #fce7f3 100%) !important;
    border: 2px solid #f472b6 !important;
    box-shadow: 0 8px 20px rgba(219, 39, 119, 0.15) !important;
}
body[data-theme="pink"] .product-card .price { color: #db2777 !important; }
body[data-theme="pink"] .product-card .buy-btn,
body[data-theme="pink"] .filter-btn.active,
body[data-theme="pink"] .chat-fab,
body[data-theme="pink"] .chat-header,
body[data-theme="pink"] .primary-submit-btn {
    background: linear-gradient(135deg, #db2777, #ec4899) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 0 rgba(15, 23, 42, 0.22), 0 8px 18px rgba(236, 72, 153, 0.28) !important;
}

/* 💚 EMERALD GREEN VIBE */
body[data-theme="green"] {
    background: linear-gradient(180deg, #a7f3d0 0%, #d1fae5 50%, #6ee7b7 100%) !important;
    background-attachment: fixed !important;
}
body[data-theme="green"] .sticky-top-zone { background: rgba(167, 243, 208, 0.88) !important; border-bottom: 1.5px solid #10b981 !important; }
body[data-theme="green"] .broadcast-container,
body[data-theme="green"] .wallet-bar-card { background: linear-gradient(135deg, #ffffff, #d1fae5) !important; border: 1.5px solid #10b981 !important; }
body[data-theme="green"] .product-card {
    --accent: #10b981; --accent-dark: #047857; --accent-glow: rgba(16, 185, 129, 0.2);
    background: linear-gradient(180deg, #ffffff 25%, #d1fae5 100%) !important;
    border: 2px solid #34d399 !important;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.14) !important;
}
body[data-theme="green"] .product-card .price { color: #059669 !important; }
body[data-theme="green"] .product-card .buy-btn,
body[data-theme="green"] .filter-btn.active,
body[data-theme="green"] .chat-fab,
body[data-theme="green"] .chat-header,
body[data-theme="green"] .primary-submit-btn {
    background: linear-gradient(135deg, #059669, #10b981) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 0 rgba(15, 23, 42, 0.22), 0 8px 18px rgba(16, 185, 129, 0.28) !important;
}

/* 💜 ROYAL PURPLE VIBE */
body[data-theme="purple"] {
    background: linear-gradient(180deg, #ddd6fe 0%, #ede9fe 50%, #c4b5fd 100%) !important;
    background-attachment: fixed !important;
}
body[data-theme="purple"] .sticky-top-zone { background: rgba(221, 214, 254, 0.88) !important; border-bottom: 1.5px solid #a855f7 !important; }
body[data-theme="purple"] .broadcast-container,
body[data-theme="purple"] .wallet-bar-card { background: linear-gradient(135deg, #ffffff, #ede9fe) !important; border: 1.5px solid #a855f7 !important; }
body[data-theme="purple"] .product-card {
    --accent: #9333ea; --accent-dark: #6d28d9; --accent-glow: rgba(147, 51, 234, 0.2);
    background: linear-gradient(180deg, #ffffff 25%, #ede9fe 100%) !important;
    border: 2px solid #c084fc !important;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15) !important;
}
body[data-theme="purple"] .product-card .price { color: #6d28d9 !important; }
body[data-theme="purple"] .product-card .buy-btn,
body[data-theme="purple"] .filter-btn.active,
body[data-theme="purple"] .chat-fab,
body[data-theme="purple"] .chat-header,
body[data-theme="purple"] .primary-submit-btn {
    background: linear-gradient(135deg, #7c3aed, #9333ea) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 0 rgba(15, 23, 42, 0.22), 0 8px 18px rgba(147, 51, 234, 0.28) !important;
}

/* ==================== CUTE 3D CLAYMORPHISM & SUB-PILLS ==================== */
.product-card {
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.product-card:hover {
    transform: translateY(-5px) scale(1.01) !important;
}

.sub-type-bar {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 4px 2px 2px 2px;
    scrollbar-width: none;
}
.sub-type-bar::-webkit-scrollbar { display: none; }

.sub-pill {
    flex: 0 0 auto;
    background: #ffffff;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sub-pill.active {
    background: linear-gradient(135deg, #f43f5e, #fb7185);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.05);
}

@keyframes cuteFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}
.chat-fab {
    animation: cuteFloat 3s ease-in-out infinite;
}

.confetti-piece {
    position: fixed;
    width: 9px;
    height: 14px;
    z-index: 99999;
    pointer-events: none;
    border-radius: 3px;
    animation: confettiDrop 2.4s ease-out forwards;
}
@keyframes confettiDrop {
    0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); opacity: 1; }
    100% { transform: translate3d(var(--dx), var(--dy), 0) rotate(720deg) scale(0.4); opacity: 0; }
   }
       
                                                                                                                                                                                      
/* =========================================================
   PART 5: THEME-AWARE DARK MODE & CUSTOM FIXES
   ========================================================= */
body.dark-mode {
    background: linear-gradient(180deg, #0b1220 0%, #0f172a 45%, #1e1b4b 100%) !important;
    background-attachment: fixed !important;
    color: #f1f5f9 !important;
}

/* Dark Mode ဖွင့်ထားချိန်တွင်လည်း Theme အလိုက် နောက်ခံနှင့် ကတ် Vibe လိုက်ပြောင်းစေရန် */
body.dark-mode[data-theme="aurora"] {
    background: linear-gradient(135deg, #061826 0%, #240b21 30%, #1f1a08 58%, #062419 80%, #1c0c36 100%) !important;
}
body.dark-mode[data-theme="crystal"] {
    background: linear-gradient(160deg, #0f172a 0%, #2e1065 50%, #3b0764 100%) !important;
}
body.dark-mode[data-theme="sky"] {
    background: linear-gradient(180deg, #041628 0%, #082f49 55%, #0c4a6e 100%) !important;
}
body.dark-mode[data-theme="yellow"] {
    background: linear-gradient(180deg, #1c1305 0%, #3b2306 55%, #451a03 100%) !important;
}
body.dark-mode[data-theme="pink"] {
    background: linear-gradient(180deg, #240617 0%, #4a042e 55%, #500724 100%) !important;
}
body.dark-mode[data-theme="green"] {
    background: linear-gradient(180deg, #031c14 0%, #064e3b 55%, #022c22 100%) !important;
}
body.dark-mode[data-theme="purple"] {
    background: linear-gradient(180deg, #13072e 0%, #2e1065 55%, #3b0764 100%) !important;
}

body.dark-mode .sticky-top-zone {
    background: rgba(11, 18, 32, 0.85) !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .broadcast-container {
    background: rgba(21, 31, 50, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}
body.dark-mode .scrolling-text { color: #cbd5e1 !important; }

body.dark-mode .wallet-bar-card {
    background: linear-gradient(135deg, #1e293b 0%, #1e1b4b 50%, #2e1065 100%) !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
    box-shadow: 0 8px 22px rgba(139, 92, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}
body.dark-mode .wallet-hint { color: #a5b4fc !important; }

body.dark-mode .filter-btn,
body.dark-mode .sub-pill {
    background: rgba(26, 37, 64, 0.9) !important;
    color: #cbd5e1 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

body.dark-mode #pkgSearchInput {
    background: rgba(11, 18, 32, 0.9) !important;
    color: #f1f5f9 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}
body.dark-mode #pkgSearchInput::placeholder { color: #64748b !important; }
body.dark-mode .search-icon { color: #64748b; }

/* Dark Mode ကတ်များကို Theme အလိုက် အရောင်ကွဲပြားစေခြင်း */
body.dark-mode .product-card {
    background: linear-gradient(180deg, rgba(26, 37, 64, 0.92) 0%, rgba(21, 31, 50, 0.96) 100%) !important;
    border-color: #263450 !important;
    color: #f1f5f9 !important;
}
body.dark-mode[data-theme="crystal"] .product-card:nth-child(5n+1) { background: linear-gradient(180deg, #0c2d48 0%, #0f172a 100%) !important; border-color: #38bdf8 !important; }
body.dark-mode[data-theme="crystal"] .product-card:nth-child(5n+2) { background: linear-gradient(180deg, #3b0d2c 0%, #0f172a 100%) !important; border-color: #f472b6 !important; }
body.dark-mode[data-theme="crystal"] .product-card:nth-child(5n+3) { background: linear-gradient(180deg, #362407 0%, #0f172a 100%) !important; border-color: #facc15 !important; }
body.dark-mode[data-theme="crystal"] .product-card:nth-child(5n+4) { background: linear-gradient(180deg, #063324 0%, #0f172a 100%) !important; border-color: #34d399 !important; }
body.dark-mode[data-theme="crystal"] .product-card:nth-child(5n+5) { background: linear-gradient(180deg, #27104e 0%, #0f172a 100%) !important; border-color: #c084fc !important; }

body.dark-mode[data-theme="sky"] .product-card    { background: linear-gradient(180deg, #0c2d48 0%, #07192b 100%) !important; border-color: #0284c7 !important; }
body.dark-mode[data-theme="yellow"] .product-card { background: linear-gradient(180deg, #332006 0%, #1c1103 100%) !important; border-color: #d97706 !important; }
body.dark-mode[data-theme="pink"] .product-card   { background: linear-gradient(180deg, #3d0a27 0%, #210415 100%) !important; border-color: #db2777 !important; }
body.dark-mode[data-theme="green"] .product-card  { background: linear-gradient(180deg, #063829 0%, #031f17 100%) !important; border-color: #059669 !important; }
body.dark-mode[data-theme="purple"] .product-card { background: linear-gradient(180deg, #2b1254 0%, #16072e 100%) !important; border-color: #7c3aed !important; }

body.dark-mode .package-name { color: #f8fafc !important; }
body.dark-mode .package-note { color: #94a3b8 !important; }
body.dark-mode .op-badge { background: rgba(11, 18, 32, 0.85) !important; color: #e2e8f0 !important; }
body.dark-mode .card-bottom { border-top-color: rgba(255, 255, 255, 0.1) !important; }

/* Dark Mode Modals & Inputs */
body.dark-mode .modal-overlay { background: rgba(0, 0, 0, 0.8) !important; }
body.dark-mode .modal-box,
body.dark-mode .custom-modal-box {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border: 1.5px solid #334155 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.15) !important;
}
body.dark-mode .modal-title { color: #f1f5f9 !important; }
body.dark-mode .modal-desc,
body.dark-mode .modal-subtext { color: #94a3b8 !important; }
body.dark-mode .selected-pkg-Summary {
    background: #0f172a !important;
    border-color: #334155 !important;
}
body.dark-mode .summary-name { color: #f1f5f9 !important; }
body.dark-mode .modal-box input {
    background: #0f172a !important;
    border: 1.5px solid #334155 !important;
    color: #ffffff !important;
}
body.dark-mode .modal-box input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3) !important;
}
body.dark-mode .track-result-box,
body.dark-mode .track-row { color: #f1f5f9 !important; border-bottom-color: #334155; }
body.dark-mode .close-modal-btn { background: #334155 !important; color: #cbd5e1 !important; }
body.dark-mode .btn-modal-cancel { background: #1a2540 !important; color: #cbd5e1 !important; border-color: #334155; }
body.dark-mode .input-label { color: #cbd5e1 !important; }

body.dark-mode .quick-chips-wrap { background: transparent !important; }
body.dark-mode .quick-chip,
body.dark-mode .recent-phone-chip {
    background: #263450 !important;
    color: #cbd5e1 !important;
    border: 1px solid #334155 !important;
}
body.dark-mode .quick-chip:hover,
body.dark-mode .quick-chip:active {
    background: #3b82f6 !important;
    color: #ffffff !important;
    border-color: #3b82f6 !important;
}

/* Dark Mode Chat */
body.dark-mode .chat-box { background: #151f32 !important; border-color: #263450 !important; }
body.dark-mode .chat-body { background: #0b1220 !important; }
body.dark-mode .msg-admin { background: #1a2540 !important; color: #f1f5f9 !important; border-color: #263450 !important; }
body.dark-mode .msg-system,
body.dark-mode .msg-system * { background: #1e3a8a !important; color: #dbeafe !important; -webkit-text-fill-color: #dbeafe !important; border-color: #3b82f6 !important; }
body.dark-mode .chat-input-area { background: #151f32 !important; border-top-color: #263450 !important; }
body.dark-mode #myMessage { background: #0b1220 !important; color: #f1f5f9 !important; border-color: #263450 !important; }
body.dark-mode #myMessage::placeholder { color: #64748b !important; -webkit-text-fill-color: #64748b !important; }

/* Dark Mode Toggle Button & Broadcast Icon */
#darkModeToggle {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 9999;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    background: rgba(30, 41, 59, 0.6) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fbbf24 !important;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
#darkModeToggle:active { transform: scale(0.92); }
body.dark-mode #darkModeToggle {
    background: rgba(15, 23, 42, 0.8) !important;
    color: #f1f5f9 !important;
}

.broadcast-icon-box::before {
    content: "📢";
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scaleX(-1);
}

.filter-btn.active,
body[data-theme="aurora"] .filter-btn.active,
body[data-theme="crystal"] .filter-btn.active,
.sub-pill.active {
    box-shadow: none !important;
              }

/* =========================================================
   FIX: DARK MODE ORDER RECEIPT & SUB-CATEGORY ACTIVE PILLS
   ========================================================= */

/* ၁။ အင်တာနက် Data / ဖုန်းပြော Mins ခလုတ်များ ရွေးချယ်ချိန်တွင် အရောင်ထင်းခနဲ ပြောင်းစေရန် */
.sub-pill.active,
body.dark-mode .sub-pill.active {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: scale(1.04) !important;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.35) !important;
}

/* ၂။ Dark Mode တွင် Order Success Receipt Pop-up စာသားများ ကြည်လင်ပြတ်သားစေရန် */
body.dark-mode #receipt-success-modal h3 {
    color: #ffffff !important;
}

body.dark-mode #receipt-success-modal p {
    color: #cbd5e1 !important;
}

body.dark-mode .receipt-card-box {
    background: #0f172a !important;
    border: 1.5px dashed #3b82f6 !important;
}

body.dark-mode .receipt-card-box .track-row {
    color: #f8fafc !important;
    border-bottom-color: #1e293b !important;
}

body.dark-mode .receipt-card-box .track-row span {
    color: #94a3b8 !important;
}

body.dark-mode .receipt-card-box .track-row b {
    color: #ffffff !important;
}

body.dark-mode .receipt-pay-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important;
    border: 1px solid #3b82f6 !important;
}

body.dark-mode .receipt-pay-box div div:first-child {
    color: #60a5fa !important;
}

body.dark-mode .receipt-pay-box div div:last-child {
    color: #ffffff !important;
}


/* ==================== NEW LIVE CHAT & SLIP BUTTONS ==================== */
.wallet-slip-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
    transition: transform 0.15s ease;
}
.wallet-slip-btn:active {
    transform: scale(0.95);
}
.buy-chat-fab {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.42) !important;
}
.chat-mode-switcher {
    display: flex;
    background: #e2e8f0;
    padding: 4px;
    gap: 4px;
    border-bottom: 1px solid #cbd5e1;
}
.chat-mode-tab {
    flex: 1;
    border: none;
    background: transparent;
    color: #475569;
    padding: 7px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
}
.chat-mode-tab.active {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}
.chat-box.minimized .chat-mode-switcher {
    display: none !important;
}
body.dark-mode .chat-mode-switcher {
    background: #0f172a;
    border-bottom-color: #263450;
}
body.dark-mode .chat-mode-tab {
    color: #94a3b8;
}
body.dark-mode .chat-mode-tab.active {
    background: #1e293b;
    color: #60a5fa;
}


/* ==================== WALLET VERTICAL STACK & CENTER TOAST UPGRADE ==================== */
.wallet-bar-card {
    padding: 10px 12px !important;
    gap: 8px !important;
}

.wallet-bar-left {
    min-width: 0;
    flex: 1;
}

.wallet-action-stack {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    min-width: 78px;
}

.wallet-action-stack .wallet-copy-btn,
.wallet-action-stack .wallet-slip-btn {
    width: 100% !important;
    padding: 5px 10px !important;
    border-radius: 10px !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    justify-content: center !important;
    line-height: 1.2 !important;
}

/* Center Screen Beautiful Toast Notification */
#toast-container {
    position: fixed !important;
    top: 46% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 320px !important;
    max-width: 95vw !important;
    pointer-events: none !important;
}

@keyframes centerToastPop {
    0%   { opacity: 0; transform: scale(0.75) translateY(15px); }
    65%  { opacity: 1; transform: scale(1.04) translateY(-2px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.toast {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.96)) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    color: #ffffff !important;
    padding: 14px 22px !important;
    border-radius: 20px !important;
    border: 1.5px solid rgba(96, 165, 250, 0.45) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.45), 0 0 25px rgba(59, 130, 246, 0.25) !important;
    animation: centerToastPop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
    transition: opacity 0.28s ease, transform 0.28s ease !important;
}

.toast i {
    font-size: 18px !important;
    color: #34d399 !important;
    filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.5));
}

.toast.toast-error {
    border-color: rgba(248, 113, 113, 0.55) !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.45), 0 0 25px rgba(239, 68, 68, 0.3) !important;
}

.toast.toast-error i {
    color: #f87171 !important;
    filter: drop-shadow(0 0 8px rgba(248, 113, 113, 0.5));
}

.toast.fade-out {
    opacity: 0 !important;
    transform: scale(0.85) translateY(-8px) !important;
}


/* ==================== FIX TOAST WIDTH (WIDE & CLEAN) ==================== */
#toast-container {
    width: 92vw !important;
    max-width: 430px !important;
}
.toast {
    width: 100% !important;
    min-width: 300px !important;
    max-width: 430px !important;
    padding: 14px 18px !important;
    border-radius: 16px !important;
    text-align: left !important;
    justify-content: flex-start !important;
    line-height: 1.5 !important;
}

/* ==================== PWA INSTALL BANNER POPUP ==================== */
.pwa-install-banner {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 92vw;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid #93c5fd;
    border-radius: 22px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.28), 0 0 20px rgba(37, 99, 235, 0.18);
    z-index: 99990;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pwa-install-banner.show {
    transform: translateX(-50%) translateY(0);
}
.pwa-banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}
.pwa-banner-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid #3b82f6;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}
.pwa-banner-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.pwa-banner-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}
.pwa-banner-sub {
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    margin-top: 2px;
    line-height: 1.35;
}
.pwa-banner-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.pwa-btn-install {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    border: none;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    white-space: nowrap;
}
.pwa-btn-install:active {
    transform: scale(0.95);
}
.pwa-btn-close {
    background: #f1f5f9;
    color: #64748b;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
body.dark-mode .pwa-install-banner {
    background: rgba(30, 41, 59, 0.96);
    border-color: #3b82f6;
}
body.dark-mode .pwa-banner-title {
    color: #f8fafc;
}
body.dark-mode .pwa-banner-sub {
    color: #94a3b8;
}
body.dark-mode .pwa-btn-close {
    background: #334155;
    color: #cbd5e1;
}
