/* css/dashboard.css - Giao diện hiện đại cho website kinh doanh */

/* ========== VARIABLES & RESET ========== */
:root {
    /* Primary Colors - Professional Blue */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --primary-50: #eff6ff;
    
    /* Secondary Colors */
    --secondary: #64748b;
    --secondary-dark: #475569;
    --secondary-light: #94a3b8;
    
    /* Status Colors */
    --success: #10b981;
    --success-dark: #059669;
    --warning: #f59e0b;
    --warning-dark: #d97706;
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --info: #06b6d4;
    --info-dark: #0891b2;
    
    /* Background Colors */
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-sidebar: #1e293b;
    --bg-header: #ffffff;
    --bg-hover: #f1f5f9;
    --bg-input: #ffffff;
    
    /* Border & Shadow */
    --border-color: #e2e8f0;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    
    /* Shadow Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

/* ========== BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.5;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
video,
iframe,
canvas,
svg {
    max-width: 100%;
}

/* ========== LAYOUT CONTAINER ========== */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-body);
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
    position: relative;
    box-sizing: border-box;
}

/* ========== SIDEBAR MODERN ========== */
.sidebar {
    width: 260px;
    background-color: var(--bg-sidebar);
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

/* Logo Section */
.sidebar-header {
    padding: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-name {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-white);
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    opacity: 0.7;
}

/* Navigation Menu */
.sidebar-nav {
    flex: 1;
    padding: var(--space-md) 0;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: var(--space-lg);
}

.nav-title {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
    padding: 0 var(--space-lg) var(--space-xs);
    font-weight: var(--font-weight-medium);
}

.nav-menu {
    list-style: none;
}

.nav-item {
    margin-bottom: 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: var(--space-sm) var(--space-lg);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    font-weight: var(--font-weight-medium);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.nav-link.active {
    background-color: var(--primary);
    color: var(--text-white);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--primary-light);
}

.nav-icon {
    margin-right: var(--space-sm);
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.nav-badge {
    margin-left: auto;
    background-color: var(--danger);
    color: white;
    font-size: var(--font-size-xs);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: var(--font-weight-bold);
}

/* Sidebar Footer */
.sidebar-footer {
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--info));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    color: white;
    font-size: var(--font-size-lg);
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: var(--font-weight-semibold);
    color: var(--text-white);
    margin-bottom: 2px;
}

.user-role {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.7);
}

/* ========== MAIN CONTENT AREA ========== */
.main-content {
    flex: 1 1 auto;
    min-width: 0;
    width: calc(100% - 260px);
    max-width: calc(100% - 260px);
    margin-left: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    box-sizing: border-box;
}

/* ========== TOP NAVBAR ========== */
.top-navbar {
    background-color: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
    padding: 0 var(--space-lg);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: var(--shadow-sm);
}

/* Left Side: Search & Menu Toggle */
.nav-left {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius-sm);
    transition: all 0.2s ease;
}

.menu-toggle:hover {
    background-color: var(--bg-hover);
    color: var(--primary);
}

.search-container {
    position: relative;
    width: 300px;
}

.search-input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-input);
    font-size: var(--font-size-sm);
    transition: all 0.2s ease;
}

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

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

/* Right Side: Actions */
.nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Notification Bell */
.notification-bell {
    position: relative;
    cursor: pointer;
}

.bell-icon {
    font-size: 1.25rem;
    color: var(--text-secondary);
    padding: 8px;
    border-radius: var(--border-radius-sm);
    transition: all 0.2s ease;
}

.bell-icon:hover {
    background-color: var(--bg-hover);
    color: var(--primary);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--danger);
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    border: 2px solid var(--bg-header);
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: var(--space-sm);
}

.action-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background-color: var(--bg-hover);
    border-color: var(--primary-light);
    color: var(--primary);
}

.action-btn.primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

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

/* ========== CONTENT WRAPPER ========== */
.content-wrapper {
    flex: 1;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: var(--space-lg);
    overflow-x: hidden;
}

/* ========== WELCOME BANNER ========== */
.welcome-banner {
    background: linear-gradient(135deg, var(--primary), var(--info));
    color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.banner-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.banner-subtitle {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: var(--space-lg);
}

.banner-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: 4px;
}

.stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

/* ========== STATS CARDS ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.stat-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.stat-card.primary::before { background-color: var(--primary); }
.stat-card.success::before { background-color: var(--success); }
.stat-card.warning::before { background-color: var(--warning); }
.stat-card.info::before { background-color: var(--info); }

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.stat-title {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-card.primary .stat-icon { 
    background-color: rgba(37, 99, 235, 0.1); 
    color: var(--primary); 
}
.stat-card.success .stat-icon { 
    background-color: rgba(16, 185, 129, 0.1); 
    color: var(--success); 
}
.stat-card.warning .stat-icon { 
    background-color: rgba(245, 158, 11, 0.1); 
    color: var(--warning); 
}
.stat-card.info .stat-icon { 
    background-color: rgba(6, 182, 212, 0.1); 
    color: var(--info); 
}

.stat-content {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.stat-value {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.stat-change {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    padding: 2px 8px;
    border-radius: 20px;
}

.stat-change.positive {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.stat-change.negative {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.stat-trend {
    margin-top: var(--space-sm);
    font-size: var(--font-size-xs);
    color: var(--text-light);
}

/* ========== PRODUCTS SECTION ========== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.section-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.section-actions {
    display: flex;
    gap: var(--space-sm);
}

.products-container {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin-bottom: var(--space-lg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.product-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--danger);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 1;
}

.sale-countdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-top: 12px;
    padding: 9px 10px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.44);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    font-variant-numeric: tabular-nums;
}

.sale-countdown__label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
    white-space: nowrap;
}

.sale-countdown__label i {
    color: #f0a94a;
    font-size: 10px;
}

.sale-countdown__units {
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.sale-countdown__unit {
    display: grid;
    min-width: 26px;
    text-align: center;
}

.sale-countdown__unit + .sale-countdown__unit::before {
    content: ':';
    position: absolute;
    margin-left: -5px;
    color: rgba(148, 163, 184, .5);
    font-size: 12px;
    font-weight: 700;
}

.sale-countdown__unit strong {
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.02em;
}

.sale-countdown__unit small {
    margin-top: 3px;
    color: var(--text-light);
    font-size: 7px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sale-countdown.is-expired {
    justify-content: flex-start;
    color: var(--text-light);
    background: rgba(148, 163, 184, .06);
}

.product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-usd-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.94), rgba(37, 99, 235, 0.88));
    border: 1px solid rgba(147, 197, 253, 0.34);
    color: #eff6ff;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow:
        0 10px 24px rgba(29, 78, 216, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    overflow: hidden;
    isolation: isolate;
}

.product-usd-badge::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.10) 0%,
        rgba(191, 219, 254, 0.95) 18%,
        rgba(96, 165, 250, 1) 36%,
        rgba(239, 246, 255, 0.95) 52%,
        rgba(96, 165, 250, 1) 68%,
        rgba(191, 219, 254, 0.95) 84%,
        rgba(255, 255, 255, 0.10) 100%
    );
    background-size: 220% 100%;
    animation: usdBadgeLedRun 2.8s linear infinite;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
    transform: translateZ(0);
    will-change: background-position;
}

.product-usd-badge::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: inherit;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18), transparent 45%);
    opacity: 0.85;
    pointer-events: none;
}

@keyframes usdBadgeLedRun {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -20% 0;
    }
}

.product-content {
    padding: var(--space-md);
}

.product-header {
    margin-bottom: var(--space-sm);
}

.product-category {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.product-description {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.6;
}

.product-card .product-description {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-md);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em;
    word-break: break-word;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary);
}

.product-price-discount {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 4px;
}

.btn-view {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

/* ========== RECENT ORDERS TABLE ========== */
.table-container {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin-bottom: var(--space-lg);
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.table-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.table-actions {
    display: flex;
    gap: var(--space-sm);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background-color: var(--bg-hover);
}

.data-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: var(--font-weight-semibold);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
}

.data-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.data-table tbody tr {
    transition: background-color 0.2s ease;
}

.data-table tbody tr:hover {
    background-color: var(--bg-hover);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-badge.pending {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.status-badge.expired {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.status-badge.completed {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

/* ========== DEPOSIT MODAL ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: var(--bg-hover);
    color: var(--danger);
}

.modal-body {
    padding: var(--space-lg);
}

/* ========== NOTIFICATION POPUP ========== */
.notification-popup {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 400px;
    max-width: 90%;
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.notification-popup.show {
    transform: translateX(0);
}

.notification-header {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-hover);
}

.notification-body {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.notification-item:hover {
    background-color: var(--bg-hover);
}

.notification-item.unread {
    background-color: rgba(37, 99, 235, 0.05);
}

/* ========== FOOTER ========== */
.dashboard-footer {
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-card);
    margin-left: 260px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .dashboard-footer {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        width: 200px;
    }
    
    .nav-right {
        gap: var(--space-sm);
    }
    
    .quick-actions {
        display: none;
    }
    
    .banner-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: var(--space-md);
    }
    
    .welcome-banner {
        padding: var(--space-lg);
    }
    
    .banner-title {
        font-size: var(--font-size-2xl);
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
    
    .section-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.mb-2 { margin-bottom: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.overflow-x-auto { 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
}

.notification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notification-modal.active {
    display: flex;
    opacity: 1;
}

.notification-popup {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.notification-modal.active .notification-popup {
    transform: translateY(0);
}

.notification-popup-header {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
}

.notification-title i {
    font-size: 20px;
}

.notification-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.notification-popup-body {
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

.notification-item:hover {
    background-color: #f8fafc;
}

.notification-item.unread {
    background-color: #eff6ff;
}

.notification-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.notification-item-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 15px;
}

.notification-time {
    font-size: 12px;
    color: #64748b;
}

.notification-item-message {
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.notification-image img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
    max-height: 150px;
    object-fit: cover;
}

.notification-actions {
    display: flex;
    gap: 8px;
}

.notification-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.notification-btn.mark-read {
    background-color: #10b981;
    color: white;
}

.notification-btn.mark-read:hover {
    background-color: #059669;
}

.notification-popup-footer {
    padding: 16px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.notification-btn.mark-all-read {
    background-color: #3b82f6;
    color: white;
    flex: 1;
    justify-content: center;
}

.notification-btn.mark-all-read:hover {
    background-color: #2563eb;
}

.notification-btn.close-btn {
    background-color: #64748b;
    color: white;
    flex: 1;
    justify-content: center;
}

.notification-btn.close-btn:hover {
    background-color: #475569;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    font-weight: 500;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-danger {
    background: #ef4444;
}

/* Custom footer styles */
.dashboard-footer {
    padding: 20px 0;
    text-align: center;
    background-color: transparent;
    border-top: none;
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 40px;
}

.dashboard-footer .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.footer-copyright {
    color: var(--text-secondary);
    opacity: 0.8;
}

/* No data styles */
.text-center.no-data {
    padding: 40px;
    text-align: center;
}

.text-center.no-data i {
    font-size: 48px;
    color: #94a3b8;
    margin-bottom: 16px;
}

.text-center.no-data h3 {
    color: #64748b;
    margin-bottom: 8px;
}

.text-center.no-data p {
    color: #94a3b8;
    margin-bottom: 20px;
}

/* Product cell styles */
.product-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-cell img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

/* Category card */
.stat-card.category-card {
    border-left-width: 4px;
}

/* Responsive adjustments for notification modal */
@media (max-width: 768px) {
    .notification-popup {
        width: 95%;
        margin: 10px;
    }
    
    .notification-popup-footer {
        flex-direction: column;
    }
    
    .notification-popup-body {
        max-height: 60vh;
    }
}

/* Dashboard refresh */
body {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(6, 182, 212, 0.08), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #f8fafc 100%);
}

.top-navbar {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
}

.content-wrapper {
    padding: 32px;
}

.ghost-light {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--text-white);
}

.ghost-light:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-white);
}

.welcome-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr);
    gap: 24px;
    background:
        linear-gradient(135deg, #0f172a 0%, #1d4ed8 52%, #06b6d4 100%);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.welcome-banner::after {
    content: '';
    position: absolute;
    inset: auto -10% -45% auto;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
    pointer-events: none;
}

.banner-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.banner-subtitle {
    max-width: 620px;
}

.banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.banner-stats {
    gap: 14px;
    flex-wrap: wrap;
}

.banner-stats .stat-item {
    min-width: 150px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.banner-stats .stat-value {
    font-size: clamp(1.25rem, 1.8vw, 2rem);
    color: var(--text-white);
}

.banner-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.banner-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.banner-panel-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.74);
}

.banner-panel-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 13px;
    font-weight: 600;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18);
}

.banner-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.banner-panel-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.banner-panel-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-white);
}

.banner-panel-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.76);
}

.banner-checklist {
    list-style: none;
    display: grid;
    gap: 12px;
}

.banner-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.banner-checklist i {
    color: #bfdbfe;
}

.stats-grid {
    gap: 18px;
}

.stat-card {
    border: 0;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 36%);
    pointer-events: none;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
    gap: 24px;
    align-items: start;
}

.dashboard-primary,
.dashboard-secondary {
    display: grid;
    gap: 24px;
}

.section-header {
    margin-bottom: 0;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.products-container,
.table-container,
.insight-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
}

.products-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.product-media {
    position: relative;
    overflow: hidden;
}

.product-media::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 70px;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.08));
}

.product-image {
    height: 210px;
}

.product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.product-header {
    flex: 1;
}

.product-category {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--primary-50);
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.product-title {
    font-size: 1.1rem;
}

.product-footer {
    gap: 14px;
    align-items: flex-end;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 1.1rem;
}

.product-price-discount {
    margin-right: 0;
}

.btn-view {
    min-width: 142px;
    justify-content: center;
}

.insight-card {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 20px;
    padding: 22px;
    backdrop-filter: blur(16px);
}

.insight-header {
    margin-bottom: 18px;
}

.insight-header h3 {
    font-size: 1.15rem;
    color: var(--text-primary);
}

.quick-link-list,
.notification-preview-list {
    display: grid;
    gap: 12px;
}

.quick-link-card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quick-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.12);
}

.quick-link-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 18px;
}

.quick-link-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quick-link-text strong {
    font-size: 15px;
    color: var(--text-primary);
}

.quick-link-text small {
    color: var(--text-secondary);
}

.insight-list {
    display: grid;
    gap: 10px;
}

.insight-list-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
}

.insight-list-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.insight-list-item span {
    color: var(--text-secondary);
}

.insight-list-item strong {
    color: var(--text-primary);
}

.category-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-pill {
    min-width: 140px;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}

.notification-preview-item {
    padding: 14px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.notification-preview-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.notification-preview-item p {
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.notification-preview-item span {
    font-size: 12px;
    color: var(--text-light);
}

.table-container {
    padding: 24px;
}

.data-table th,
.data-table td {
    white-space: nowrap;
}

.data-table td:first-child {
    white-space: normal;
}

.dashboard-footer {
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

@media (max-width: 1200px) {
    .welcome-banner,
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .dashboard-container,
    .main-content,
    .content-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .content-wrapper {
        padding: 16px;
    }

    .banner-actions,
    .banner-panel-grid,
    .dashboard-secondary,
    .product-footer {
        grid-template-columns: 1fr;
    }

    .banner-actions,
    .product-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .banner-stats .stat-item,
    .quick-link-card,
    .btn-view {
        width: 100%;
    }

    .banner-panel {
        padding: 20px;
    }

    .insight-card,
    .products-container,
    .table-container {
        padding: 16px;
    }

    .search-input {
        min-width: 0;
        font-size: 16px;
    }

    .language-switcher {
        max-width: 100%;
    }

    .language-switcher-select {
        min-width: 110px;
        max-width: 100%;
    }

    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .section-actions {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
    }

    .section-actions .action-btn,
    .section-actions .btn-view,
    .quick-actions .action-btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid,
    .products-grid,
    .dashboard-secondary {
        grid-template-columns: 1fr;
    }

    .stat-card,
    .products-container,
    .table-container,
    .insight-card,
    .welcome-banner,
    .banner-panel {
        border-radius: 18px;
    }

    .stat-value {
        font-size: clamp(1.6rem, 6vw, 2.1rem);
    }

    .product-card,
    .quick-link-card,
    .notification-preview-item {
        width: 100%;
    }

    .overflow-x-auto,
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table {
        min-width: 680px;
    }

    .page-shell-footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 560px) {
    .content-wrapper {
        padding: 12px;
    }

    .banner-title {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.05rem;
    }

    .product-image {
        height: 180px;
    }

    .welcome-banner,
    .products-container,
    .table-container,
    .insight-card,
    .stat-card {
        padding: 14px;
    }

    .banner-subtitle,
    .product-description,
    .notification-preview-item p,
    .quick-link-text small {
        font-size: 13px;
    }

    .product-title {
        font-size: 1rem;
    }

    .product-footer {
        gap: 10px;
    }

    .product-usd-badge {
        top: 10px;
        right: 10px;
        min-width: 78px;
        min-height: 30px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .page-shell-footer-link {
        width: 100%;
        justify-content: center;
    }
}

/* Futuristic AI theme overridden to Modern Boutique */
body.ai-future-theme {
    --primary: #7047eb;
    --primary-dark: #5d35d9;
    --primary-light: #9d80f5;
    --primary-50: #f5f2fe;
    --info: #6366f1;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #f43f5e;
    --bg-body: #fbfbfa;
    --bg-card: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.9);
    --bg-hover: #f4f3ef;
    --bg-input: #ffffff;
    --border-color: rgba(24, 24, 27, 0.08);
    --text-primary: #18181b;
    --text-secondary: #4b5563;
    --text-light: #6b7280;
    background: #fbfbfa;
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body.ai-future-theme::before {
    display: none !important;
}

body.ai-future-theme .dashboard-container,
body.ai-future-theme .main-content,
body.ai-future-theme .content-wrapper {
    position: relative;
    z-index: 1;
}

body.ai-future-theme .sidebar {
    background: #ffffff !important;
    border-right: 1px solid rgba(24, 24, 27, 0.08) !important;
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.03) !important;
}

body.ai-future-theme .sidebar::before {
    display: none !important;
}

body.ai-future-theme .sidebar-logo,
.sidebar-logo {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(24, 24, 27, 0.06) !important;
}

body.ai-future-theme .sidebar-logo h2,
.sidebar-logo h2,
body.ai-future-theme .brand-name,
body.ai-future-theme .banner-title,
body.ai-future-theme .section-title,
body.ai-future-theme .system-chip,
body.ai-future-theme .stat-value,
body.ai-future-theme .banner-panel-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.01em;
}

body.ai-future-theme .sidebar-logo h2,
.sidebar-logo h2 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    color: #18181b !important;
    -webkit-text-fill-color: #18181b !important;
    background: none !important;
    text-shadow: none !important;
}

body.ai-future-theme .logo-subtitle,
body.ai-future-theme .user-role,
body.ai-future-theme .nav-title {
    color: #71717a !important;
}

body.ai-future-theme .sidebar-menu a {
    color: #52525b !important;
    border: 1px solid transparent;
    background: transparent;
}

body.ai-future-theme .sidebar-menu a:hover,
body.ai-future-theme .sidebar-menu a.active {
    color: #7047eb !important;
    background: #f3effe !important;
    border-color: rgba(112, 71, 235, 0.22) !important;
    box-shadow: 0 2px 8px rgba(112, 71, 235, 0.08) !important;
}

body.ai-future-theme .sidebar-menu a::before {
    display: none !important;
}

body.ai-future-theme .menu-badge,
body.ai-future-theme .nav-badge {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
}

body.ai-future-theme .user-avatar,
body.ai-future-theme .quick-link-icon,
body.ai-future-theme .stat-icon {
    background: #f3effe !important;
    color: #7047eb !important;
    box-shadow: none;
}

body.ai-future-theme .logout-btn {
    background: #ffffff !important;
    border: 1px solid rgba(24, 24, 27, 0.08) !important;
    color: #71717a !important;
}

body.ai-future-theme .logout-btn:hover {
    color: #ef4444 !important;
    background: #fef2f2 !important;
}

body.ai-future-theme .top-navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(24, 24, 27, 0.08) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

body.ai-future-theme .menu-toggle,
body.ai-future-theme .search-icon,
body.ai-future-theme .bell-icon {
    color: #71717a !important;
}

body.ai-future-theme .search-input {
    background: #faf9f6 !important;
    border: 1px solid rgba(24, 24, 27, 0.08) !important;
    color: #18181b !important;
    border-radius: 9999px !important;
}

body.ai-future-theme .search-input::placeholder {
    color: #a1a1aa !important;
}

body.ai-future-theme .search-input:focus {
    background: #ffffff !important;
    border-color: #7047eb !important;
    box-shadow: 0 0 0 3px rgba(112, 71, 235, 0.15) !important;
}

body.ai-future-theme .system-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(9, 19, 43, 0.85);
    border: 1px solid rgba(88, 243, 255, 0.16);
    color: #b9feff;
    font-size: 12px;
    box-shadow: 0 0 18px rgba(88, 243, 255, 0.12);
}

body.ai-future-theme .system-chip-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #58f3ff;
    box-shadow: 0 0 14px #58f3ff;
}

body.ai-future-theme .action-btn,
body.ai-future-theme .btn-view,
body.ai-future-theme .notification-btn {
    background: rgba(10, 19, 42, 0.9);
    color: #dffcff;
    border: 1px solid rgba(88, 243, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(88, 243, 255, 0.04);
}

body.ai-future-theme .action-btn:hover,
body.ai-future-theme .btn-view:hover,
body.ai-future-theme .notification-btn:hover {
    background: rgba(17, 31, 65, 0.96);
    color: #fff;
    border-color: rgba(88, 243, 255, 0.3);
    box-shadow: 0 0 26px rgba(88, 243, 255, 0.18);
}

body.ai-future-theme .action-btn.primary,
body.ai-future-theme .btn-view,
body.ai-future-theme .notification-btn.mark-all-read,
body.ai-future-theme .notification-btn.mark-read {
    background: linear-gradient(135deg, rgba(88, 243, 255, 0.2), rgba(139, 92, 246, 0.22));
}

body.ai-future-theme .ghost-light {
    background: rgba(255, 255, 255, 0.04);
    color: #ecf7ff;
}

body.ai-future-theme .welcome-banner,
body.ai-future-theme .products-container,
body.ai-future-theme .table-container,
body.ai-future-theme .insight-card,
body.ai-future-theme .notification-popup,
body.ai-future-theme .rental-popup,
body.ai-future-theme .stat-card,
body.ai-future-theme .order-card {
    background: linear-gradient(135deg, rgba(3, 10, 24, 0.96), rgba(7, 18, 40, 0.94) 55%, rgba(10, 33, 58, 0.94));
    border: 1px solid rgba(88, 243, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 18px 45px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(10px);
}

body.ai-future-theme .welcome-banner {
    overflow: hidden;
    background:
        radial-gradient(circle at 0% 0%, rgba(88, 243, 255, 0.22), transparent 28%),
        radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.2), transparent 30%),
        linear-gradient(135deg, rgba(3, 10, 24, 0.96), rgba(7, 18, 40, 0.94) 55%, rgba(10, 33, 58, 0.94));
}

body.ai-future-theme .welcome-banner::before {
    background:
        linear-gradient(90deg, rgba(88, 243, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(88, 243, 255, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.22;
}

body.ai-future-theme .banner-kicker,
body.ai-future-theme .banner-panel-status,
body.ai-future-theme .product-category,
body.ai-future-theme .category-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

body.ai-future-theme .banner-subtitle,
body.ai-future-theme .stat-label,
body.ai-future-theme .stat-trend,
body.ai-future-theme .product-description,
body.ai-future-theme .insight-list-item span,
body.ai-future-theme .notification-preview-item p,
body.ai-future-theme .notification-preview-item span,
body.ai-future-theme .text-center.no-data p,
body.ai-future-theme .order-row .label,
body.ai-future-theme .notification-item-message {
    color: #64748b;
}

body.ai-future-theme .banner-stats .stat-item,
body.ai-future-theme .banner-panel-card,
body.ai-future-theme .quick-link-card,
body.ai-future-theme .notification-preview-item,
body.ai-future-theme .category-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(88, 243, 255, 0.12);
}

body.ai-future-theme .pulse-dot {
    background: #58f3ff;
    box-shadow: 0 0 0 6px rgba(88, 243, 255, 0.16), 0 0 16px rgba(88, 243, 255, 0.5);
}

body.ai-future-theme .stat-card::after,
body.ai-future-theme .product-media::after {
    opacity: 0.2;
}

body.ai-future-theme .section-eyebrow,
body.ai-future-theme .product-price,
body.ai-future-theme .notification-item-title {
    color: #7047eb;
}

body.ai-future-theme .products-grid {
    gap: 20px;
}

body.ai-future-theme .product-card {
    background:
        linear-gradient(180deg, rgba(9, 17, 37, 0.96) 0%, rgba(5, 11, 27, 0.94) 100%);
}

body.ai-future-theme .product-card:hover,
body.ai-future-theme .stat-card:hover,
body.ai-future-theme .quick-link-card:hover,
body.ai-future-theme .insight-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 0 1px rgba(88, 243, 255, 0.16),
        0 28px 50px rgba(0, 0, 0, 0.34),
        0 0 32px rgba(88, 243, 255, 0.14);
}

body.ai-future-theme .product-badge {
    background: linear-gradient(135deg, #ff4d8d, #8b5cf6);
    box-shadow: 0 0 20px rgba(255, 77, 141, 0.3);
}

body.ai-future-theme .product-usd-badge {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(29, 78, 216, 0.94));
    border-color: rgba(147, 197, 253, 0.32);
    box-shadow:
        0 0 0 1px rgba(96, 165, 250, 0.14),
        0 18px 36px rgba(15, 23, 42, 0.42),
        0 0 26px rgba(96, 165, 250, 0.20);
}

body.ai-future-theme .data-table thead {
    background: rgba(88, 243, 255, 0.06);
}

body.ai-future-theme .data-table th {
    color: #475569;
    border-bottom-color: rgba(24, 24, 27, 0.08);
}

body.ai-future-theme .data-table td,
body.ai-future-theme .product-cell span,
body.ai-future-theme .order-row span,
body.ai-future-theme .insight-list-item strong,
body.ai-future-theme .quick-link-text strong,
body.ai-future-theme .notification-preview-item strong,
body.ai-future-theme .text-center.no-data h3 {
    color: #18181b;
}

body.ai-future-theme .data-table tbody tr:hover,
body.ai-future-theme .notification-item:hover {
    background: #f4f3ef;
}

body.ai-future-theme .status-badge.active {
    background: rgba(34, 197, 94, 0.14);
    color: #7bf3a4;
}

body.ai-future-theme .status-badge.expired {
    background: rgba(255, 77, 141, 0.16);
    color: #ff91ba;
}

body.ai-future-theme .notification-item.unread {
    background: rgba(88, 243, 255, 0.06);
}

body.ai-future-theme .notification-popup-header,
body.ai-future-theme .rental-popup-header {
    background: linear-gradient(135deg, rgba(7, 17, 40, 0.98), rgba(18, 28, 62, 0.94));
    border-bottom: 1px solid rgba(88, 243, 255, 0.14);
}

body.ai-future-theme .contact-info,
body.ai-future-theme .rental-note {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(88, 243, 255, 0.1);
    color: #8ca7c6 !important;
}

body.ai-future-theme .contact-method {
    background: rgba(255, 255, 255, 0.04);
    color: #ecf7ff;
}

body.ai-future-theme .dashboard-footer,
body.ai-future-theme .footer-copyright {
    color: #6f88a7;
    border-top-color: rgba(88, 243, 255, 0.12);
}

body.ai-future-theme .toast {
    background: linear-gradient(135deg, #08192e, #133b64);
    border: 1px solid rgba(88, 243, 255, 0.18);
    box-shadow: 0 0 24px rgba(88, 243, 255, 0.16);
}

body.ai-future-theme .toast-danger {
    background: linear-gradient(135deg, #3b1020, #6d1738);
}

@media (max-width: 900px) {
    body.ai-future-theme .system-chip {
        display: none;
    }
}

/* Shared header/footer blocks */
.page-shell-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding: 24px 26px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(8, 18, 40, 0.9), rgba(11, 30, 54, 0.82));
    border: 1px solid rgba(88, 243, 255, 0.16);
    box-shadow: 0 24px 48px rgba(2, 8, 18, 0.32);
}

.page-shell-copy {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.page-shell-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(88, 243, 255, 0.16), rgba(139, 92, 246, 0.18));
    color: #9ffcff;
    font-size: 24px;
    box-shadow: inset 0 0 0 1px rgba(88, 243, 255, 0.12);
}

.page-shell-text {
    display: grid;
    gap: 8px;
}

.page-shell-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(88, 243, 255, 0.08);
    border: 1px solid rgba(88, 243, 255, 0.12);
    color: #9ffcff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-shell-title {
    margin: 0;
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.35rem, 2vw, 2rem);
    letter-spacing: 0.03em;
}

.page-shell-subtitle {
    margin: 0;
    max-width: 720px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.page-shell-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(88, 243, 255, 0.14), rgba(139, 92, 246, 0.16));
    border: 1px solid rgba(88, 243, 255, 0.16);
    color: #dffcff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.page-shell-footer {
    margin-top: 28px;
    padding: 18px 24px 22px;
    border-top: 1px solid rgba(88, 243, 255, 0.12);
}

.page-shell-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(7, 15, 33, 0.8), rgba(8, 21, 44, 0.74));
    border: 1px solid rgba(88, 243, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.page-shell-footer-copy {
    display: grid;
    gap: 5px;
}

.page-shell-footer-title {
    color: var(--text-white, #f8fafc);
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.page-shell-footer-text,
.page-shell-footer-meta {
    color: var(--text-light, #cbd5e1);
    font-size: 13px;
}

.page-shell-footer-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.page-shell-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(88, 243, 255, 0.14);
    color: #dffcff;
    text-decoration: none;
    font-size: 13px;
    background: rgba(88, 243, 255, 0.06);
    transition: all 0.2s ease;
}

.page-shell-footer-link:hover {
    transform: translateY(-1px);
    background: rgba(88, 243, 255, 0.12);
    box-shadow: 0 0 18px rgba(88, 243, 255, 0.12);
}

/* Banking channel pages */
.ai-future-theme .bank-channel-page .step {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(88, 243, 255, 0.12);
    color: var(--text-secondary);
}

.ai-future-theme .bank-channel-page .step.active,
.ai-future-theme .bank-channel-page .step.completed {
    color: #07101f;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(88, 243, 255, 0.18);
}

.ai-future-theme .bank-channel-page .step.active {
    background: linear-gradient(135deg, #58f3ff, #8b5cf6);
}

.ai-future-theme .bank-channel-page .step.completed {
    background: linear-gradient(135deg, #22c55e, #58f3ff);
}

.ai-future-theme .bank-channel-page .step-number {
    color: inherit;
}

.ai-future-theme .bank-panel,
.ai-future-theme .qr-container,
.ai-future-theme .terms-modal-content,
.ai-future-theme .instruction-content {
    background: linear-gradient(180deg, rgba(10, 19, 41, 0.95), rgba(6, 12, 28, 0.93)) !important;
    border: 1px solid rgba(88, 243, 255, 0.14) !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28), 0 0 24px rgba(88, 243, 255, 0.08) !important;
}

.ai-future-theme .qr-container,
.ai-future-theme .bank-panel {
    color: var(--text-primary);
}

.ai-future-theme .bank-panel-muted {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(88, 243, 255, 0.12) !important;
    color: var(--text-secondary) !important;
}

.ai-future-theme .bank-channel-page .info-label,
.ai-future-theme .bank-channel-page .table-title,
.ai-future-theme .bank-channel-page h3,
.ai-future-theme .bank-channel-page h4 {
    color: var(--text-primary);
}

.ai-future-theme .bank-channel-page .info-value,
.ai-future-theme .bank-channel-page li,
.ai-future-theme .bank-channel-page p,
.ai-future-theme .terms-modal-body {
    color: var(--text-secondary);
}

.ai-future-theme .bank-channel-page input[type="text"],
.ai-future-theme .bank-channel-page input[type="number"],
.ai-future-theme .bank-channel-page textarea {
    background: rgba(255, 255, 255, 0.04) !important;
    color: var(--text-primary) !important;
    border: 1px solid rgba(88, 243, 255, 0.14) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.ai-future-theme .bank-channel-page input::placeholder,
.ai-future-theme .bank-channel-page textarea::placeholder {
    color: #6f88a7;
}

.ai-future-theme .bank-channel-page .copy-btn,
.ai-future-theme .bank-channel-page .copy-btn-small {
    background: rgba(88, 243, 255, 0.14) !important;
    color: #dffcff !important;
    border: 1px solid rgba(88, 243, 255, 0.16) !important;
}

.ai-future-theme .bank-channel-page .auto-check-badge,
.ai-future-theme .bank-channel-page .channel-badge {
    background: linear-gradient(135deg, rgba(88, 243, 255, 0.2), rgba(139, 92, 246, 0.22)) !important;
    color: #dffcff !important;
    border: 1px solid rgba(88, 243, 255, 0.16);
}

.ai-future-theme .bank-channel-page .warning-box {
    background: rgba(255, 184, 0, 0.08) !important;
    border-color: rgba(255, 184, 0, 0.2) !important;
}

.ai-future-theme .bank-channel-page .warning-box p {
    color: #fcd66d !important;
}

@media (max-width: 768px) {
    .page-shell-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-shell-copy {
        width: 100%;
    }

    .page-shell-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-shell-footer-links {
        width: 100%;
    }
}

/* ===================================================
   SECTION 1: TẤT CẢ DỊCH VỤ CỦA WEBSITE
   =================================================== */
.platform-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 32px;
}

@media (max-width: 1100px) {
    .platform-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .platform-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 20px;
    }
}

.platform-service-card {
    position: relative;
    padding: 22px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.platform-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--card-accent, #3b82f6);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.platform-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.1);
    border-color: var(--card-accent, #3b82f6);
}

.platform-service-card:hover::before {
    opacity: 1;
}

body.ai-future-theme .platform-service-card {
    background: #ffffff !important;
    border: 1px solid rgba(24, 24, 27, 0.08) !important;
    border-radius: 20px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 20px rgba(0, 0, 0, 0.03) !important;
}

body.ai-future-theme .platform-service-card:hover {
    border-color: rgba(112, 71, 235, 0.35) !important;
    box-shadow: 0 14px 32px rgba(112, 71, 235, 0.12) !important;
    transform: translateY(-3px) !important;
}

/* Card Specific Themes */
.platform-service-card.card-hosting  { --card-accent: #0284c7; --card-glow: rgba(2, 132, 199, 0.25); }
.platform-service-card.card-bank     { --card-accent: #10b981; --card-glow: rgba(16, 185, 129, 0.25); }
.platform-service-card.card-captcha  { --card-accent: #f59e0b; --card-glow: rgba(245, 158, 11, 0.25); }
.platform-service-card.card-webhooks { --card-accent: #8b5cf6; --card-glow: rgba(139, 92, 246, 0.25); }
.platform-service-card.card-source   { --card-accent: #06b6d4; --card-glow: rgba(6, 182, 212, 0.25); }
.platform-service-card.card-tools    { --card-accent: #ec4899; --card-glow: rgba(236, 72, 153, 0.25); }

.platform-service-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.platform-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    color: var(--card-accent, #3b82f6);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.18);
    transition: transform 0.28s ease;
}

.platform-service-card:hover .platform-service-icon {
    transform: scale(1.08);
}

body.ai-future-theme .platform-service-icon {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.platform-service-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);
    color: var(--card-accent, #3b82f6);
    border: 1px solid rgba(0, 0, 0, 0.08);
    letter-spacing: 0.2px;
}

body.ai-future-theme .platform-service-badge {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.platform-service-body h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

body.ai-future-theme .platform-service-body h3 {
    color: #ffffff;
}

.platform-service-body p {
    margin: 0;
    font-size: 0.83rem;
    color: #64748b;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.ai-future-theme .platform-service-body p {
    color: #94a3b8;
}

.platform-service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.ps-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

body.ai-future-theme .ps-feature-tag {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.08);
}

.platform-service-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    color: var(--card-accent, #3b82f6);
    font-size: 0.82rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

body.ai-future-theme .platform-service-foot {
    border-top-color: rgba(255, 255, 255, 0.07);
}

.platform-service-foot i {
    transition: transform 0.2s ease;
}

.platform-service-card:hover .platform-service-foot i {
    transform: translateX(4px);
}

/* ========== COMPREHENSIVE MOBILE OPTIMIZATIONS ========== */
@media (max-width: 768px) {
    /* Touch friendly form inputs: prevent iOS zoom & easy typing */
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="number"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
        min-height: 44px;
        border-radius: 10px;
    }

    /* Touch targets */
    .action-btn,
    .btn-view,
    .btn-submit,
    .btn-primary,
    .btn-secondary,
    .filter-btn,
    .tab-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }


    /* Spacing fixes */
    .welcome-banner {
        padding: 18px 16px;
    }

    .banner-title {
        font-size: 1.45rem;
        line-height: 1.3;
    }

    .banner-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .banner-stats .stat-item:last-child {
        grid-column: 1 / -1;
    }

    /* Smooth responsive card lists */
    .table-container {
        border-radius: 14px;
        -webkit-overflow-scrolling: touch;
    }

    /* Lightbox and modals on mobile */
    .rental-popup,
    .nationality-popup,
    .modal-content,
    .popup-card {
        width: 94% !important;
        max-width: 480px !important;
        margin: 12px auto !important;
    }
}

@media (max-width: 480px) {
    .banner-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 16px 14px;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}

/* ===================================================
   MÃ NGUỒN & SẢN PHẨM SLIDER (THEO MẪU SIEUTHICODE/HUYMMO)
   =================================================== */

.mn-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 36px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.mn-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mn-accent-bar {
    display: inline-block;
    width: 5px;
    height: 22px;
    background: #16a34a;
    border-radius: 4px;
    flex-shrink: 0;
}

.mn-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #15803d;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

body.ai-future-theme .mn-section-title {
    color: #34d399;
}

body.ai-future-theme .mn-accent-bar {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.mn-section-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mn-slider-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mn-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
}

.mn-nav-btn:hover {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
    transform: scale(1.05);
}

body.ai-future-theme .mn-nav-btn {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
    color: #94a3b8;
}

body.ai-future-theme .mn-nav-btn:hover {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.mn-view-all-btn {
    padding: 6px 14px;
    font-size: 13px;
}

/* Container & Track */
.mn-products-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    margin-bottom: 32px;
}

.mn-products-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 6px 4px 16px 4px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    user-select: none;
}

/* Custom Scrollbar matching reference */
.mn-products-track::-webkit-scrollbar {
    height: 8px;
}

.mn-products-track::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 999px;
}

.mn-products-track::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 999px;
    border: 1px solid transparent;
}

.mn-products-track::-webkit-scrollbar-thumb:hover {
    background: #059669;
}

body.ai-future-theme .mn-products-track::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
}

body.ai-future-theme .mn-products-track::-webkit-scrollbar-thumb {
    background: #10b981;
}

/* Product Card */
.mn-product-card {
    flex: 0 0 230px;
    min-width: 230px;
    max-width: 240px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mn-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.12);
    border-color: #10b981;
}

body.ai-future-theme .mn-product-card {
    background: linear-gradient(180deg, rgba(13, 23, 45, 0.95) 0%, rgba(9, 16, 33, 0.92) 100%);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

body.ai-future-theme .mn-product-card:hover {
    border-color: #10b981;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35), 0 0 16px rgba(16, 185, 129, 0.15);
}

/* Card Media & Badges */
.mn-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 9px;
    overflow: hidden;
    background: #f1f5f9;
}

body.ai-future-theme .mn-card-media {
    background: #0b1120;
}

.mn-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.mn-product-card:hover .mn-card-img {
    transform: scale(1.05);
}

/* Badges */
.mn-badge-id {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 2;
    background: rgba(30, 41, 59, 0.88);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 2.5px 8px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    line-height: 1.2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mn-badge-pin {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.96);
    color: #16a34a;
    font-size: 11px;
    font-weight: 600;
    padding: 2.5px 8px;
    border-radius: 999px;
    border: 1px solid rgba(22, 163, 74, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

body.ai-future-theme .mn-badge-pin {
    background: rgba(15, 23, 42, 0.92);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.3);
}

.mn-badge-discount {
    position: absolute;
    bottom: 7px;
    right: 7px;
    z-index: 2;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2.5px 8px;
    border-radius: 999px;
    line-height: 1.2;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* Card Body */
.mn-card-body {
    padding: 10px 4px 4px 4px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mn-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
    word-break: break-word;
    transition: color 0.2s ease;
}

.mn-product-card:hover .mn-card-title {
    color: #10b981;
}

body.ai-future-theme .mn-card-title {
    color: #e2e8f0;
}

body.ai-future-theme .mn-product-card:hover .mn-card-title {
    color: #34d399;
}

/* Meta Rows */
.mn-card-meta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.mn-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 12.5px;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
}

body.ai-future-theme .mn-meta-row {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mn-meta-label {
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

body.ai-future-theme .mn-meta-label {
    color: #94a3b8;
}

.mn-icon-green {
    color: #10b981;
    font-size: 12px;
}

.mn-text-green {
    color: #10b981;
}

.mn-price-value {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.mn-price-old {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 11.5px;
    font-weight: 500;
}

.mn-price-current {
    color: #1e293b;
    font-weight: 800;
    font-size: 13.5px;
}

body.ai-future-theme .mn-price-current {
    color: #f8fafc;
}

.mn-price-current.mn-price-sale {
    color: #ef4444;
}

body.ai-future-theme .mn-price-current.mn-price-sale {
    color: #ff5c77;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .mn-product-card {
        flex: 0 0 190px;
        min-width: 190px;
        max-width: 200px;
        padding: 8px;
    }

    .mn-card-title {
        font-size: 12.5px;
        height: 35px;
    }

    .mn-meta-row {
        font-size: 11.5px;
        padding: 5px 0;
    }
}

/* ===================================================
   SECTION 2: LƯỚI DỊCH VỤ MMO (THEO MẪU SIEUTHICODE/HUYMMO)
   =================================================== */

.mmo-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 36px;
}

.mmo-service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mmo-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.12);
    border-color: #10b981;
}

body.ai-future-theme .mmo-service-card {
    background: linear-gradient(180deg, rgba(13, 23, 45, 0.95) 0%, rgba(9, 16, 33, 0.92) 100%);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

body.ai-future-theme .mmo-service-card:hover {
    border-color: #10b981;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.2);
}

/* Banner container matching reference image */
.mmo-banner-wrap {
    position: relative;
    width: 100%;
    height: 155px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px 10px 10px;
    text-align: center;
    user-select: none;
    box-sizing: border-box;
    border-bottom: 1px solid #f1f5f9;
}

body.ai-future-theme .mmo-banner-wrap {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Light Theme Banners: Soft glowing mint/tinted background matching media_1788686634543.png */
.mmo-banner-wrap.banner-source  { background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%); }
.mmo-banner-wrap.banner-hosting { background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%); }
.mmo-banner-wrap.banner-captcha { background: linear-gradient(180deg, #fefce8 0%, #fef3c7 100%); }
.mmo-banner-wrap.banner-cron    { background: linear-gradient(180deg, #faf5ff 0%, #f3e8ff 100%); }
.mmo-banner-wrap.banner-proxy   { background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%); }
.mmo-banner-wrap.banner-website { background: linear-gradient(180deg, #fff1f2 0%, #ffe4e6 100%); }
.mmo-banner-wrap.banner-news    { background: linear-gradient(180deg, #fdf2f8 0%, #fce7f3 100%); }
.mmo-banner-wrap.banner-deposit { background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%); }

/* Dark Theme Banners: High contrast cyber backgrounds */
body.ai-future-theme .mmo-banner-wrap.banner-source  { background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #0f766e 100%); }
body.ai-future-theme .mmo-banner-wrap.banner-hosting { background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0284c7 100%); }
body.ai-future-theme .mmo-banner-wrap.banner-captcha { background: linear-gradient(135deg, #78350f 0%, #92400e 50%, #047857 100%); }
body.ai-future-theme .mmo-banner-wrap.banner-cron    { background: linear-gradient(135deg, #4c1d95 0%, #5b21b6 50%, #7c3aed 100%); }
body.ai-future-theme .mmo-banner-wrap.banner-proxy   { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #0891b2 100%); }
body.ai-future-theme .mmo-banner-wrap.banner-website { background: linear-gradient(135deg, #831843 0%, #9f1239 50%, #ea580c 100%); }
body.ai-future-theme .mmo-banner-wrap.banner-news    { background: linear-gradient(135deg, #4a044e 0%, #701a75 50%, #be185d 100%); }
body.ai-future-theme .mmo-banner-wrap.banner-deposit { background: linear-gradient(135deg, #14532d 0%, #15803d 50%, #16a34a 100%); }

/* Top Header Tag inside Banner (SOURCE CODE WEB, CPANEL HOSTING...) */
.mmo-banner-tag {
    position: relative;
    z-index: 1;
    font-size: 13.5px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #065f46;
    line-height: 1.2;
    margin: 0;
}

.mmo-banner-wrap.banner-hosting .mmo-banner-tag { color: #0369a1; }
.mmo-banner-wrap.banner-captcha .mmo-banner-tag { color: #92400e; }
.mmo-banner-wrap.banner-cron    .mmo-banner-tag { color: #6b21a8; }
.mmo-banner-wrap.banner-proxy   .mmo-banner-tag { color: #3730a3; }
.mmo-banner-wrap.banner-website .mmo-banner-tag { color: #9f1239; }
.mmo-banner-wrap.banner-news    .mmo-banner-tag { color: #86198f; }
.mmo-banner-wrap.banner-deposit .mmo-banner-tag { color: #166534; }

body.ai-future-theme .mmo-banner-tag {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Banner Center Composition */
.mmo-banner-center {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 4px 0;
}

.mmo-banner-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #10b981;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mmo-banner-wrap.banner-hosting .mmo-banner-icon { color: #0284c7; }
.mmo-banner-wrap.banner-captcha .mmo-banner-icon { color: #d97706; }
.mmo-banner-wrap.banner-cron    .mmo-banner-icon { color: #7c3aed; }
.mmo-banner-wrap.banner-proxy   .mmo-banner-icon { color: #2563eb; }
.mmo-banner-wrap.banner-website .mmo-banner-icon { color: #e11d48; }
.mmo-banner-wrap.banner-news    .mmo-banner-icon { color: #c026d3; }
.mmo-banner-wrap.banner-deposit .mmo-banner-icon { color: #16a34a; }

.mmo-service-card:hover .mmo-banner-icon {
    transform: scale(1.12);
}

body.ai-future-theme .mmo-banner-icon {
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* Floating pill badges around center icon */
.mmo-pill-tags {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mmo-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

body.ai-future-theme .mmo-pill {
    background: rgba(0, 0, 0, 0.4);
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.18);
}

/* Banner Bottom Chips */
.mmo-banner-chips {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.mmo-banner-chip {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

body.ai-future-theme .mmo-banner-chip {
    background: rgba(0, 0, 0, 0.32);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Generated service artwork; labels and live counts remain selectable HTML. */
.mmo-banner-wrap.mmo-banner-art,
body.ai-future-theme .mmo-banner-wrap.mmo-banner-art {
    height: auto;
    min-height: 180px;
    aspect-ratio: 2 / 1;
    isolation: isolate;
    background: #091222;
}

.mmo-banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    transition: transform 0.35s ease;
}

.mmo-banner-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 8, 20, 0.35), transparent 28%, transparent 68%, rgba(3, 8, 20, 0.7));
    pointer-events: none;
}

.mmo-banner-wrap.mmo-banner-art .mmo-banner-tag {
    align-self: flex-start;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: rgba(6, 13, 27, 0.78);
    color: #f8fafc;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.mmo-banner-art .mmo-banner-chips {
    margin-top: auto;
}

.mmo-banner-art .mmo-banner-chip,
body.ai-future-theme .mmo-banner-art .mmo-banner-chip {
    background: rgba(6, 13, 27, 0.88);
    border-color: rgba(255, 255, 255, 0.16);
    color: #f1f5f9;
}

.mmo-service-card:focus-visible {
    outline: 2px solid #5eead4;
    outline-offset: 4px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .mmo-service-card:hover .mmo-banner-image {
        transform: scale(1.04);
    }
}

@media (max-width: 1250px) {
    .mmo-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .mmo-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mmo-service-card,
    .mmo-banner-image {
        transition: none;
    }

    .mmo-service-card:hover {
        transform: none;
    }
}

/* Card Body matching media_1788686634543.png */
.mmo-card-body {
    padding: 16px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex-grow: 1;
}

.mmo-service-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
    transition: color 0.2s;
}

body.ai-future-theme .mmo-service-title {
    color: #f8fafc;
}

.mmo-service-card:hover .mmo-service-title {
    color: #10b981;
}

/* Green pill button matching reference */
.mmo-btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #16a34a;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
    transition: all 0.22s ease;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.35);
}

.mmo-service-card:hover .mmo-btn-detail {
    background: #15803d;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.5);
    transform: translateX(3px);
}

/* =========================================================
   NEURAL COMMERCE DECK (Command Hero Center - Boutique Edition)
   ========================================================= */
.neural-hero-deck {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(112, 71, 235, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 90% 15%, rgba(244, 63, 94, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #ffffff 0%, #faf8f5 60%, #f4f0ec 100%);
    border: 1px solid rgba(24, 24, 27, 0.08);
    border-radius: 22px;
    padding: 34px 38px;
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 36px;
    align-items: stretch;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

/* Left Section */
.neural-deck-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.neural-deck-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 15px;
    border-radius: 9999px;
    background: #f3effe;
    border: 1px solid rgba(112, 71, 235, 0.22);
    color: #7047eb;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.neural-deck-title {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #18181b;
    letter-spacing: -0.02em;
    margin: 0 0 8px 0;
    line-height: 1.25;
}

.neural-deck-subtitle {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 24px 0;
}

.neural-deck-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.neural-deck-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 22px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.neural-btn--primary {
    background: #7047eb;
    border: 1px solid #7047eb;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(112, 71, 235, 0.25);
}

.neural-btn--primary:hover {
    background: #5d35d9;
    border-color: #5d35d9;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(112, 71, 235, 0.35);
    transform: translateY(-1px);
}

.neural-btn--secondary {
    background: #ffffff;
    border: 1px solid rgba(24, 24, 27, 0.12);
    color: #18181b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.neural-btn--secondary:hover {
    background: #faf8f5;
    border-color: rgba(24, 24, 27, 0.2);
    color: #18181b;
    transform: translateY(-1px);
}

/* Stats Layout on Left */
.neural-stats-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 14px;
    justify-content: start;
}

.neural-stat-box {
    background: #faf9f6;
    border: 1px solid rgba(24, 24, 27, 0.06);
    border-radius: 14px;
    padding: 16px 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.neural-stat-box:hover {
    border-color: rgba(112, 71, 235, 0.25);
}

.neural-stat-balance {
    grid-column: 1 / 2;
    min-width: 190px;
}

.neural-stat-orders {
    grid-column: 2 / 3;
    min-width: 120px;
}

.neural-stat-notif {
    grid-column: 1 / 2;
    width: fit-content;
    min-width: 130px;
}

.neural-stat-val {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #18181b;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.neural-stat-lbl {
    font-size: 12.5px;
    color: #71717a;
    font-weight: 500;
}

/* Right Section: Trạng Thái Hạt Nhân Panel */
.neural-deck-right {
    min-width: 0;
}

.neural-status-panel {
    background: #faf9f6;
    border: 1px solid rgba(24, 24, 27, 0.08);
    border-radius: 18px;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
    box-sizing: border-box;
    justify-content: space-between;
}

.neural-status-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.neural-status-title {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #18181b;
}

.neural-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border-radius: 9999px;
    background: #f3effe;
    border: 1px solid rgba(112, 71, 235, 0.25);
    color: #7047eb;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.neural-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7047eb;
    box-shadow: 0 0 6px #7047eb;
    display: inline-block;
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

.neural-metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.neural-metric-tile {
    background: #ffffff;
    border: 1px solid rgba(24, 24, 27, 0.06);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-sizing: border-box;
}

.neural-metric-val {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #18181b;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.neural-metric-lbl {
    font-size: 11.5px;
    color: #71717a;
    line-height: 1.3;
}

.neural-checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.neural-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #52525b;
}

.neural-check-item i {
    color: #10b981;
    font-size: 13.5px;
    width: 16px;
    text-align: center;
}

.neural-check-item strong {
    color: #18181b;
    font-weight: 700;
    margin-left: 3px;
}

/* Responsive */
@media (max-width: 1100px) {
    .neural-hero-deck {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 26px 28px;
    }
}

@media (max-width: 640px) {
    .neural-hero-deck {
        padding: 16px 14px;
        border-radius: 18px;
        gap: 14px;
        margin-bottom: 18px;
    }

    .neural-deck-badge {
        font-size: 10px;
        padding: 3px 10px;
        margin-bottom: 6px;
    }

    .neural-deck-title {
        font-size: 18px;
        line-height: 1.25;
        margin-bottom: 4px;
    }

    .neural-deck-subtitle {
        font-size: 12.5px;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .neural-deck-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 14px;
    }

    .neural-deck-btn {
        width: 100%;
        min-height: 38px;
        padding: 8px 10px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 10px;
        justify-content: center;
        box-sizing: border-box;
        white-space: nowrap;
    }

    .neural-stats-grid {
        display: grid;
        grid-template-columns: 1.25fr 1fr 1fr;
        gap: 6px;
        width: 100%;
    }

    .neural-stat-box {
        padding: 8px 6px;
        border-radius: 10px;
        text-align: center;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .neural-stat-balance,
    .neural-stat-orders,
    .neural-stat-notif {
        grid-column: auto;
        min-width: 0;
        width: 100%;
    }

    .neural-stat-val {
        font-size: 15px;
        font-weight: 800;
        line-height: 1.15;
    }

    .neural-stat-val small {
        font-size: 10.5px !important;
    }

    .neural-stat-lbl {
        font-size: 10.5px;
        margin-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .neural-status-panel {
        padding: 12px 12px;
        border-radius: 14px;
        gap: 10px;
    }

    .neural-status-head {
        margin-bottom: 2px;
    }

    .neural-status-title {
        font-size: 10.5px;
    }

    .neural-role-badge {
        font-size: 10px;
        padding: 2px 8px;
    }

    .neural-metrics-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .neural-metric-tile {
        padding: 8px 10px;
        border-radius: 10px;
        gap: 2px;
    }

    .neural-metric-val {
        font-size: 14px;
        line-height: 1.15;
    }

    .neural-metric-lbl {
        font-size: 10px;
        line-height: 1.2;
    }

    .neural-checklist {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .neural-check-item {
        font-size: 11px;
        gap: 5px;
        background: #ffffff;
        border: 1px solid rgba(24, 24, 27, 0.06);
        padding: 4px 8px;
        border-radius: 8px;
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
    }

    .neural-check-item strong {
        margin-left: 2px;
    }
}

/* =========================================================
   BANK API CARDS - OFFICIAL LOGO INTEGRATION
   ========================================================= */
.mn-bank-card-media {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(145deg, #091322 0%, #0e1e36 100%) !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.12);
    min-height: 135px;
    padding: 18px 12px 12px !important;
    position: relative;
    box-sizing: border-box;
}

.mn-bank-logo-stage {
    width: 66px;
    height: 66px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin-bottom: 8px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.mn-bank-card:hover .mn-bank-logo-stage {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.35), 0 0 0 2px rgba(56, 189, 248, 0.45);
}

.mn-bank-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.mn-bank-brand-badge {
    font-size: 11px;
    font-weight: 700;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 2.5px 10px;
    border-radius: 9999px;
    letter-spacing: 0.03em;
    line-height: 1.2;
    backdrop-filter: blur(4px);
}

/* Hosting NVMe Card Specific Highlights */
.mn-host-card-media {
    background: linear-gradient(145deg, #071927 0%, #0c2d44 100%) !important;
}

.mn-host-card:hover .mn-host-logo-stage {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.4), 0 0 0 2px rgba(56, 189, 248, 0.5);
}

/* VIP Avatar Frame Utility */
.avatar-vip-frame {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(1.52) !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    pointer-events: none !important;
    user-select: none !important;
    z-index: 10 !important;
}




