/* =====================================================================
   SHOPREG61 TOOL - MODERN DARK-TECH STYLESHEET
   Clean, Professional, Non-flashy, Optimized for Game/Tool Automation
   ===================================================================== */

:root {
    --bg-main: #0a0e17;
    --bg-card: #111827;
    --bg-card-hover: #162032;
    --bg-topbar: #070a10;
    --bg-header: #0e1422;
    --border-color: #1f293d;
    --border-light: #28354d;
    
    --primary: #0284c7;
    --primary-hover: #0369a1;
    --primary-light: #38bdf8;
    --primary-glow: rgba(2, 132, 199, 0.25);
    
    --success: #10b981;
    --success-hover: #059669;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: all 0.22s ease-in-out;
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Topbar */
.topbar {
    background-color: var(--bg-topbar);
    border-bottom: 1px solid var(--border-color);
    font-size: 12.5px;
    color: var(--text-muted);
    padding: 7px 0;
}

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

.topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-fire {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-right a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.topbar-right a:hover {
    color: var(--primary-light);
}

.hotline-pill {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* Main Header */
.main-header {
    background-color: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), #024e82);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    line-height: 1.2;
}

.brand-title span {
    color: var(--primary-light);
}

.brand-subtitle {
    font-size: 10.5px;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Search Box */
.search-box {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-box input {
    width: 100%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 9px 18px 9px 40px;
    font-size: 13.5px;
    color: #fff;
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dark);
}

/* User Panel */
.user-panel {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wallet-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.3);
    padding: 5px 12px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.wallet-chip:hover {
    background: rgba(2, 132, 199, 0.16);
    border-color: var(--primary);
}

.wallet-icon {
    color: var(--primary-light);
    font-size: 16px;
}

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

.wallet-lbl {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.wallet-val {
    font-size: 13px;
    font-weight: 700;
    color: #38bdf8;
    font-family: 'JetBrains Mono', monospace;
}

.btn-quick-deposit {
    background: var(--primary);
    border: none;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-quick-deposit:hover {
    background: var(--primary-hover);
    transform: scale(1.1);
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 5px 12px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.user-profile-btn:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.avatar {
    width: 28px;
    height: 28px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 14px;
}

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

.username-txt {
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.role-badge {
    font-size: 9.5px;
    color: #fbbf24;
    font-weight: 600;
}

/* Navbar */
.main-nav {
    background-color: #0d1320;
    border-bottom: 1px solid var(--border-color);
}

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

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links li a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 14px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.nav-links li:hover a,
.nav-links li.active a {
    color: #fff;
    border-bottom-color: var(--primary);
    background: rgba(2, 132, 199, 0.05);
}

.dd-arrow {
    font-size: 10px;
    margin-left: 2px;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-width: 240px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: none;
    list-style: none;
    z-index: 100;
    padding: 6px 0;
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: 10px 16px;
    font-size: 13px;
    border-bottom: none !important;
}

.dropdown-menu li a:hover {
    background: rgba(2, 132, 199, 0.12);
    color: var(--primary-light);
}

.nav-right-tag {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
}

/* Hero Section */
.hero-section {
    padding: 24px 16px;
}

.hero-banner {
    background: radial-gradient(circle at top left, #172554, #0f172a 70%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.hero-desc {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #93c5fd;
    background: rgba(30, 58, 138, 0.3);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(147, 197, 253, 0.2);
}

.hero-contact-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}

.contact-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.contact-card-body p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.highlight-phone {
    color: #34d399;
    font-weight: 700;
    font-size: 15px;
    font-family: 'JetBrains Mono', monospace;
}

.contact-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.btn-zalo {
    flex: 1;
    background: #0284c7;
    color: #fff;
    text-align: center;
    padding: 8px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-zalo:hover {
    background: #0369a1;
}

.btn-deposit-hero {
    flex: 1;
    background: var(--success);
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-deposit-hero:hover {
    background: var(--success-hover);
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 16px;
}

.sec-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sec-title i {
    color: var(--primary-light);
}

.sec-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Filter Pills */
.filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.pill:hover,
.pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 40px;
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.pc-badge-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    z-index: 2;
    text-transform: uppercase;
}

.pc-header {
    padding: 22px 22px 14px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pc-icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    flex-shrink: 0;
}

.icon-changepass {
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

.icon-checkban {
    background: linear-gradient(135deg, #10b981, #047857);
}

.icon-autoreg {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.pc-title-box h3 {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}

.pc-version {
    font-size: 11.5px;
    color: var(--primary-light);
    font-weight: 700;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pc-body {
    padding: 18px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pc-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
}

.pc-features-list {
    list-style: none;
    margin-bottom: 18px;
}

.pc-features-list li {
    font-size: 12.5px;
    color: #cbd5e1;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-features-list li i {
    color: var(--success);
    font-size: 13px;
}

/* Pricing selector inside card */
.pricing-tabs-label {
    font-size: 11.5px;
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.pricing-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 18px;
}

.p-tab {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 6px 2px;
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.p-tab.active {
    background: rgba(2, 132, 199, 0.15);
    border-color: var(--primary);
}

.p-tab-duration {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.p-tab-price {
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
}

.p-tab.active .p-tab-duration {
    color: var(--primary-light);
}

.p-tab.active .p-tab-price {
    color: #38bdf8;
}

.pc-footer {
    padding: 16px 22px;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pc-price-tag {
    display: flex;
    flex-direction: column;
}

.price-sub {
    font-size: 11px;
    color: var(--text-dark);
}

.price-main {
    font-size: 19px;
    font-weight: 800;
    color: #38bdf8;
    font-family: 'JetBrains Mono', monospace;
}

.btn-buy-tool {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-buy-tool:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}

/* Live Activity Section */
.live-activity-section {
    margin-bottom: 50px;
}

.live-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.live-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.live-card-header {
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.header-orders {
    background: linear-gradient(90deg, #1e3a8a, #172554);
    border-bottom: 1px solid #1e40af;
}

.header-deposits {
    background: linear-gradient(90deg, #065f46, #064e3b);
    border-bottom: 1px solid #047857;
}

.live-pulse {
    font-size: 11px;
    color: #86efac;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.live-pulse i {
    font-size: 8px;
    animation: pulse 1.5s infinite;
}

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

.live-card-body {
    padding: 8px 12px;
    max-height: 280px;
    overflow-y: auto;
}

.live-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 13px;
    transition: var(--transition);
}

.live-row:hover {
    background: rgba(255,255,255,0.02);
}

.live-row-text {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-blur {
    color: var(--primary-light);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.live-row-amt {
    color: #38bdf8;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.live-row-amt.dep {
    color: #34d399;
}

.live-row-time {
    font-size: 11px;
    color: var(--text-dark);
    background: rgba(255,255,255,0.05);
    padding: 2px 7px;
    border-radius: 4px;
}

/* Steps / Guide Section */
.guide-section {
    margin-bottom: 60px;
}

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

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 26px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--border-light);
    transform: translateY(-3px);
}

.step-num {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 42px;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    font-family: 'JetBrains Mono', monospace;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: rgba(2, 132, 199, 0.12);
    border-radius: var(--radius-md);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.main-footer {
    background: #070b12;
    border-top: 1px solid var(--border-color);
    padding-top: 48px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
    gap: 36px;
    padding-bottom: 40px;
}

.footer-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 14px 0 16px 0;
    line-height: 1.6;
}

.admin-sign {
    font-size: 13px;
    color: #38bdf8;
    background: rgba(2, 132, 199, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(2, 132, 199, 0.2);
}

.footer-col-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--primary);
}

.links-col ul {
    list-style: none;
}

.links-col ul li {
    margin-bottom: 10px;
}

.links-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.links-col ul li a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.contact-icon {
    font-size: 18px;
    color: var(--primary-light);
    margin-top: 2px;
}

.c-lbl {
    display: block;
    font-size: 11.5px;
    color: var(--text-dark);
}

.c-val {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
}

.footer-bottom {
    background: #04070c;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 16px 0;
    font-size: 12.5px;
    color: var(--text-dark);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tech-tag {
    color: #34d399;
}

/* Modals */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2147483647 !important;
    padding: 16px;
}

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

.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    overflow: hidden;
    animation: modalIn 0.2s ease-out;
}

.modal-lg {
    max-width: 800px;
}

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

.modal-header {
    background: #0d1424;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    background: rgba(0,0,0,0.15);
    padding: 14px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Tool preview in modal */
.tool-preview-info {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
}

.tp-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.tp-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.tp-version {
    font-size: 12px;
    color: var(--primary-light);
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.plan-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.plan-opt {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.plan-opt:hover {
    border-color: var(--border-light);
}

.plan-opt.selected {
    background: rgba(2, 132, 199, 0.12);
    border-color: var(--primary);
}

.po-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
}

.po-price {
    font-size: 15px;
    font-weight: 800;
    color: #38bdf8;
    font-family: 'JetBrains Mono', monospace;
    margin-top: 4px;
}

.price-summary-box {
    background: #090e17;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    margin-bottom: 6px;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.sum-price {
    color: #38bdf8;
    font-size: 17px;
    font-family: 'JetBrains Mono', monospace;
}

.sum-balance {
    color: #34d399;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.alert-box {
    font-size: 12.5px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.5;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fcd34d;
}

.alert-info {
    background: rgba(2, 132, 199, 0.1);
    border: 1px solid rgba(2, 132, 199, 0.3);
    color: #7dd3fc;
    margin-top: 14px;
}

/* Buttons */
.btn {
    border: none;
    padding: 9px 18px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: #374151;
    color: #cbd5e1;
}

.btn-secondary:hover {
    background: #4b5563;
    color: #fff;
}

/* Success Modal */
.success-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid var(--success);
    color: var(--success);
    font-size: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.success-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 6px;
}

.success-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.key-box {
    background: #090e17;
    border: 1px dashed var(--primary);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.key-lbl {
    font-size: 11px;
    color: var(--primary-light);
    font-weight: 700;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.key-val-row {
    display: flex;
    gap: 8px;
}

.key-val-row input {
    flex: 1;
    background: #111827;
    border: 1px solid var(--border-color);
    color: #38bdf8;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 14px;
}

.btn-copy-key {
    background: #0284c7;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 700;
}

.btn-copy-key:hover {
    background: #0369a1;
}

.btn-download-tool {
    background: linear-gradient(135deg, var(--success), #047857);
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    margin-bottom: 14px;
}

.btn-download-tool:hover {
    transform: scale(1.03);
}

.guide-mini {
    font-size: 12px;
    color: var(--text-dark);
}

/* Deposit VietQR Area */
.quick-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.btn-amt {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: #cbd5e1;
    padding: 8px 4px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: var(--transition);
}

.btn-amt.active {
    background: rgba(2, 132, 199, 0.15);
    border-color: var(--primary);
    color: #38bdf8;
}

.form-control {
    width: 100%;
    background: #090e17;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    outline: none;
}

.qr-preview-area {
    background: #090e17;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 18px;
    align-items: center;
}

.qr-frame {
    background: #fff;
    padding: 6px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.qr-row {
    font-size: 13px;
    margin-bottom: 8px;
}

.qr-lbl {
    color: var(--text-dark);
    display: block;
    font-size: 11px;
}

.qr-val {
    color: #fff;
    font-size: 13.5px;
}

.qr-val.copyable {
    cursor: pointer;
    color: #38bdf8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.qr-val.copyable:hover {
    text-decoration: underline;
}

.text-warning {
    color: #fbbf24 !important;
}

/* Keys History Table */
.keys-table-wrap {
    max-height: 400px;
    overflow-y: auto;
}

.keys-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.keys-table th {
    background: #090e17;
    padding: 10px 12px;
    text-align: left;
    color: var(--text-muted);
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
}

.keys-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.key-code-pill {
    background: #090e17;
    border: 1px solid var(--border-color);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #38bdf8;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #1e293b;
    border-left: 4px solid var(--success);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-size: 13.5px;
    display: none;
    z-index: 9999;
    animation: toastSlide 0.3s ease-out;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-banner {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .live-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .header-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .topbar-right a {
        display: none;
    }
    .nav-inner {
        overflow-x: auto;
    }
    .qr-preview-area {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

/* =====================================================================
   ADMIN CONTROL PANEL STYLES
   ===================================================================== */
.btn-admin-nav {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border: none;
    padding: 7px 15px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
}

.btn-admin-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.modal-admin-box {
    max-width: 980px !important;
    width: 95% !important;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.admin-dashboard {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: calc(85vh - 120px);
    overflow-y: auto;
    padding-right: 6px;
}

.admin-nav-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    overflow-x: auto;
}

.admin-tab-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.admin-tab-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.admin-tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.admin-tab-pane {
    display: none;
    animation: fadeIn 0.2s ease-out;
}

.admin-tab-pane.active {
    display: block;
}

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

.admin-card {
    background: #0d1424;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 18px;
}

.admin-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 8px;
}

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

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

.admin-form-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.admin-input, .admin-select, .admin-textarea {
    width: 100%;
    background: #080d16;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-family: inherit;
    transition: var(--transition);
}

.admin-input:focus, .admin-select:focus, .admin-textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.admin-textarea {
    resize: vertical;
    min-height: 80px;
}

.tool-selector-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.tool-sel-btn {
    background: #0a0f1d;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.tool-sel-btn:hover {
    color: #fff;
    border-color: #38bdf8;
}

.tool-sel-btn.active {
    background: rgba(2, 132, 199, 0.2);
    border-color: var(--primary);
    color: #38bdf8;
}

/* Plan Price Editor Row */
.plan-edit-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 13px;
}

.plan-edit-table th {
    background: #080d16;
    padding: 8px 12px;
    text-align: left;
    color: var(--text-dark);
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
}

.plan-edit-table td {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.btn-admin-save {
    background: linear-gradient(135deg, var(--success), var(--success-hover));
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-admin-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-admin-del {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-admin-del:hover {
    background: #ef4444;
    color: #fff;
}

.btn-admin-secondary {
    background: rgba(255,255,255,0.08);
    color: #cbd5e1;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-admin-secondary:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* =====================================================================
   LOGO & AUTH BUTTONS
   ===================================================================== */
.brand-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.auth-btns-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-auth-nav {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border: 1px solid var(--border-color);
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-auth-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-auth-nav.primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-auth-nav.primary:hover {
    background: var(--primary-hover);
}

.btn-logout-nav {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-logout-nav:hover {
    background: #ef4444;
    color: #fff;
}

/* =====================================================================
   WEB TOOL WORKSPACE (CHẠY TOOL TRỰC TIẾP TRÊN WEB)
   ===================================================================== */
.modal-tool-workspace {
    max-width: 1350px !important;
    width: 98% !important;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
}

.tool-runner-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 2px solid var(--border-color);
    padding: 10px 16px 0 16px;
    background: #080d16;
}

.tr-tab {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-bottom: none;
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.tr-tab:hover {
    color: #fff;
    background: rgba(255,255,255,0.07);
}

.tr-tab.active {
    background: var(--bg-card);
    border-color: var(--primary);
    color: #38bdf8;
    border-top: 3px solid var(--primary);
}

.tool-pane {
    display: none;
    padding: 18px;
    overflow-y: auto;
    max-height: calc(88vh - 120px);
}

.tool-pane.active {
    display: block;
}

.runner-grid {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 20px;
}

.runner-panel-card {
    background: #0d1424;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
}

.runner-card-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 8px;
}

.acc-counter-pill {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.runner-textarea {
    width: 100%;
    height: 180px;
    background: #080d16;
    border: 1px solid var(--border-color);
    color: #38bdf8;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    padding: 10px;
    border-radius: var(--radius-sm);
    resize: vertical;
}

.runner-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.pass-config-group {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-top: 12px;
}

.pass-radio-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    cursor: pointer;
}

.pass-input-custom {
    width: 100%;
    background: #080d16;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 4px;
    font-family: 'JetBrains Mono', monospace;
}

.runner-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.runner-stat-item {
    background: #080d16;
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.runner-stat-num {
    font-size: 20px;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    color: #fff;
    margin-top: 2px;
}

.stat-success { color: #10b981 !important; }
.stat-wrong { color: #ef4444 !important; }
.stat-proxy { color: #f59e0b !important; }
.stat-total { color: #38bdf8 !important; }

.console-live-box {
    background: #040810;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    height: 380px;
    overflow-y: auto;
    padding: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.console-msg {
    line-height: 1.4;
    word-break: break-all;
}

.console-msg.success { color: #10b981; }
.console-msg.error { color: #ef4444; }
.console-msg.warning { color: #f59e0b; }
.console-msg.info { color: #38bdf8; }
.console-msg.muted { color: #64748b; }

.runner-btn-group {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.btn-runner-start {
    flex: 1;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-runner-start:hover {
    background: #059669;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-runner-stop {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 11px 18px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-runner-stop:hover {
    background: #ef4444;
    color: #fff;
}

/* =====================================================================
   CMSNT FULL-SCREEN ADMIN DASHBOARD (Images 4 & 5 Clone)
   ===================================================================== */
.cmsnt-admin-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0b111e;
    z-index: 99999;
    display: none;
    grid-template-columns: 260px 1fr;
    overflow: hidden;
}

.cmsnt-admin-overlay.show {
    display: grid;
}

.cmsnt-sidebar {
    background: #0f172a;
    border-right: 1px solid #1e293b;
    display: flex;
    flex-direction: column;
}

.cmsnt-sidebar-brand {
    padding: 18px 20px;
    border-bottom: 1px solid #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cmsnt-logo-badge {
    background: #0284c7;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.cmsnt-sidebar-menu {
    flex: 1;
    overflow-y: auto;
    padding: 16px 10px;
}

.cmsnt-nav-group-title {
    font-size: 10.5px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 12px 14px 4px 14px;
}

.cmsnt-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: 3px;
}

.cmsnt-nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.cmsnt-nav-link.active {
    background: #0284c7;
    color: #fff;
    font-weight: 700;
}

.cmsnt-main {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: #090e17;
}

.cmsnt-header {
    background: #0f172a;
    border-bottom: 1px solid #1e293b;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cmsnt-header-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.btn-cmsnt-close {
    background: #1e293b;
    color: #fff;
    border: none;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-cmsnt-close:hover {
    background: #ef4444;
}

.cmsnt-body {
    padding: 24px;
    flex: 1;
}

.cmsnt-page {
    display: none;
}

.cmsnt-page.active {
    display: block;
}

/* CMSNT Stats Grid (Image 4) */
.cmsnt-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.cmsnt-stat-card {
    background: #111827;
    border: 1px solid #1f293d;
    border-radius: 10px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.icon-purple { background: #6366f1; }
.icon-blue { background: #0284c7; }
.icon-orange { background: #f59e0b; }
.icon-red { background: #ef4444; }

.stat-num-val {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
}

.stat-lbl-txt {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 4px;
}

/* CMSNT Bank Recharge Table (Image 5) */
.cmsnt-bank-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.bank-stat-box {
    background: #111827;
    border: 1px solid #1f293d;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =====================================================================
   REG ACC GARENA LAYOUT (Image 4 Clone) & CHECK BAN EXTENSIONS
   ===================================================================== */
.reg-metric-bar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background: #080d16;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 12px;
    text-align: center;
    gap: 8px;
}

.reg-metric-item {
    display: flex;
    flex-direction: column;
}

.reg-metric-lbl {
    font-size: 11px;
    color: var(--text-dark);
}

.reg-metric-val {
    font-size: 18px;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
}

.reg-two-tables-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.reg-sub-table-card {
    background: #080d16;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px;
}

.reg-sub-title {
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.reg-table-scroll {
    max-height: 140px;
    overflow-y: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
}

.checkban-stats-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.checkban-table-box {
    max-height: 240px;
    overflow-y: auto;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.checkban-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.checkban-table th {
    background: #080d16;
    padding: 8px 10px;
    text-align: left;
    position: sticky;
    top: 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.checkban-table td {
    padding: 6px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* =====================================================================
   TOOL CARD ICON & CMSNT USER ACTION BUTTONS
   ===================================================================== */
.tool-card-icon-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-cmsnt-edit {
    background: #6366f1;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.btn-cmsnt-edit:hover { background: #4f46e5; }

.btn-cmsnt-del {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.btn-cmsnt-del:hover { background: #dc2626; }

.btn-cmsnt-money {
    background: #10b981;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.btn-cmsnt-money:hover { background: #059669; }

.btn-cmsnt-add-member {
    background: #6366f1;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.btn-cmsnt-add-member:hover { background: #4f46e5; }

/* Large Tool Tables & Single Result Boxes */
.checkban-table-box {
    height: 480px;
    max-height: 520px;
    overflow-y: auto;
    background: #080d16;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.checkban-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.checkban-table th {
    background: #0f172a;
    position: sticky;
    top: 0;
    padding: 12px 14px;
    text-align: left;
    color: #94a3b8;
    font-size: 12px;
    z-index: 2;
    border-bottom: 1px solid #1e293b;
}

.checkban-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cp-success-table-box {
    height: 460px;
    max-height: 500px;
    overflow-y: auto;
    background: #080d16;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
}

.reg-single-table-box {
    height: 460px;
    max-height: 500px;
    overflow-y: auto;
    background: #080d16;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
}

/* Image 5 Clone: Edit User Modal */
.modal-edit-user-lg {
    max-width: 960px !important;
    width: 95% !important;
    background: #0f172a !important;
    border: 1px solid #1e293b !important;
    border-radius: 12px !important;
}

.edit-user-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #1e293b;
    background: #0b111e;
}

.edit-user-quick-btns {
    display: flex;
    gap: 8px;
}

.btn-quick-plus {
    background: #10b981;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}
.btn-quick-plus:hover { background: #059669; }

.btn-quick-minus {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}
.btn-quick-minus:hover { background: #dc2626; }

.edit-user-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 18px 24px 10px 24px;
}

.edit-metric-card {
    background: #111827;
    border: 1px solid #1f293d;
    border-radius: 8px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.edit-metric-card .val {
    font-size: 17px;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
}
.edit-metric-card .lbl {
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 2px;
}

.edit-user-tabs {
    display: flex;
    gap: 6px;
    padding: 10px 24px 0 24px;
    border-bottom: 1px solid #1e293b;
}

.edit-u-tab {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}
.edit-u-tab.active {
    color: #38bdf8;
    border-bottom-color: #38bdf8;
    font-weight: 700;
}

.edit-user-form-content {
    padding: 20px 24px;
}





/* =====================================================================
   HOMEPAGE ANNOUNCEMENT BOX (FROM CMSNT ADMIN)
   ===================================================================== */
.home-announcement-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 12px;
    padding: 18px 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(245, 158, 11, 0.05);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.home-announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #f59e0b, #eab308, #ef4444);
}

.announcement-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: 14px;
}

.announcement-tag {
    font-size: 13px;
    font-weight: 800;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-time {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.notice-title-highlight {
    background: #eab308;
    color: #000;
    font-weight: 800;
    font-size: 15px;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.notice-line {
    font-size: 13.5px;
    color: #e2e8f0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-line-contact {
    color: #38bdf8;
    font-size: 14px;
}

/* =====================================================================
   CMSNT THEME SETTINGS (IMAGE 3 CLONE)
   ===================================================================== */
.theme-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.theme-preview-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 16px;
}

.theme-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.theme-preview-box {
    background: #080d16;
    border: 1px dashed #334155;
    border-radius: 6px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    overflow: hidden;
    position: relative;
}

.theme-preview-box img {
    max-height: 100px;
    max-width: 90%;
    object-fit: contain;
}

.theme-file-input-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* =====================================================================
   CMSNT GENERAL SETTINGS TABS (IMAGES 4 & 5 CLONE)
   ===================================================================== */
.settings-tab-bar {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.settings-tab-btn {
    background: #1e293b;
    color: #94a3b8;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.settings-tab-btn.active {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}

.toggle-switch-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 12px;
}

.toggle-switch-lbl {
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
}

.toggle-switch-desc {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.wysiwyg-mock-toolbar {
    background: #1e293b;
    border: 1px solid #334155;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    padding: 6px 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mock-tool-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 4px;
}

.mock-tool-btn:hover {
    background: #334155;
    color: #fff;
}

.wysiwyg-textarea {
    width: 100%;
    min-height: 150px;
    background: #0b111e;
    border: 1px solid #334155;
    border-radius: 0 0 6px 6px;
    padding: 12px;
    color: #f8fafc;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.6;
    resize: vertical;
}

.edit-user-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0f172a;
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid #1e293b;
    margin-bottom: 16px;
}

/* =====================================================================
   GOOGLE LOGIN & 2FA AUTHENTICATOR STYLES
   ===================================================================== */
.btn-google-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
}

.btn-google-login:hover {
    background: #f3f4f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 16px 0 6px 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #334155;
}

.auth-separator span {
    padding: 0 10px;
    text-transform: uppercase;
}

.two-fa-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.two-fa-instructions {
    background: rgba(30, 41, 59, 0.6);
    border-left: 3px solid #38bdf8;
    padding: 12px 14px;
    border-radius: 0 6px 6px 0;
    font-size: 12.5px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 12px 0;
}

.two-fa-instructions ul {
    margin: 6px 0 0 18px;
    padding: 0;
}

.two-fa-instructions li {
    margin-bottom: 4px;
}

.two-fa-qr-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #080d16;
    border: 1px dashed #38bdf8;
    border-radius: 8px;
    padding: 16px;
    margin-top: 14px;
}

.two-fa-qr-wrap img {
    width: 160px;
    height: 160px;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
}

.two-fa-secret-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #f59e0b;
    background: #1e293b;
    padding: 4px 10px;
    border-radius: 4px;
    margin-top: 10px;
    word-break: break-all;
    user-select: all;
}

/* Breadcrumb and back buttons in CMSNT */
.cmsnt-top-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 16px;
}

.btn-cmsnt-back-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1e293b;
    color: #38bdf8;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cmsnt-back-nav:hover {
    background: #38bdf8;
    color: #000;
}

.cmsnt-nav-path {
    font-size: 13px;
    color: #94a3b8;
}

.cmsnt-nav-path b {
    color: #fff;
}

/* =====================================================================
   HOẠT ĐỘNG GẦN ĐÂY: ĐƠN HÀNG & NẠP TIỀN (CHUẨN ẢNH 3)
   ===================================================================== */
.activity-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

@media (max-width: 900px) {
    .activity-grid-two {
        grid-template-columns: 1fr;
    }
}

.activity-panel-card {
    background: #090e17;
    border: 1px solid #1e293b;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.activity-panel-header {
    background: #0e7490;
    color: #fff;
    padding: 12px 18px;
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-panel-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 380px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.empty-activity-box {
    text-align: center;
    padding: 40px 16px;
    color: #64748b;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1.5;
}

.empty-activity-box i {
    font-size: 28px;
    color: #334155;
}

.activity-row-item {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #cbd5e1;
    transition: all 0.2s ease;
}

.activity-row-item:hover {
    border-color: #38bdf8;
    background: #131f37;
}

.activity-row-text {
    flex: 1;
    margin-right: 12px;
    word-break: break-word;
    line-height: 1.4;
}

.activity-badge-time {
    background: #0284c7;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
