/* HxH Store (Haider X Hamza) — Pro Features, Themes & Enhancements (v2.4.0) */

/* =========================================================
   1. THREE DISTINCT LUXURY THEMES (VIOLET, OLED BLACK, LUXE WHITE)
   ========================================================= */

/* Default Theme: Cyber Violet Dark Mode */
:root, [data-theme="default"] {
  --bg: #0c0f19;
  --panel: #121622;
  --panel2: #181d2c;
  --line: #252a3b;
  --muted: #858b9f;
  --text: #eff0fa;
  --purple: #8b78ff;
  --green: #58d9ac;
  --accent: #a855f7;
  --card-bg: linear-gradient(135deg, rgba(29, 22, 58, 0.7), rgba(20, 15, 42, 0.85));
  --card-border: rgba(171, 155, 250, 0.2);
  --header-bg: #0e111b;
  --sidebar-bg: #10131f;
  --hover-bg: #1b2031;
}

/* Pure Black Theme: Midnight OLED Black */
[data-theme="black"] {
  --bg: #000000;
  --panel: #08080a;
  --panel2: #101014;
  --line: #1c1c22;
  --muted: #787884;
  --text: #ffffff;
  --purple: #38bdf8;
  --green: #34d399;
  --accent: #818cf8;
  --card-bg: linear-gradient(135deg, #09090c, #111116);
  --card-border: rgba(255, 255, 255, 0.12);
  --header-bg: #040406;
  --sidebar-bg: #020204;
  --hover-bg: #16161c;
}
[data-theme="black"] body {
  background: #000000 !important;
}
[data-theme="black"] .hero {
  background: radial-gradient(ellipse at 85% 20%, rgba(56, 189, 248, 0.15), transparent 55%), linear-gradient(110deg, #08080c, #0d0d12) !important;
  border-color: rgba(56, 189, 248, 0.25) !important;
}
[data-theme="black"] .stat,
[data-theme="black"] .product,
[data-theme="black"] .category-card,
[data-theme="black"] .panel,
[data-theme="black"] .modal {
  background: #08080b !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
[data-theme="black"] .sidebar {
  background: #030305 !important;
  border-right-color: #1a1a22 !important;
}
[data-theme="black"] .topbar {
  background: #040407 !important;
  border-bottom-color: #1a1a22 !important;
}
[data-theme="black"] .btn {
  background: linear-gradient(135deg, #0284c7, #0369a1) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3) !important;
}
[data-theme="black"] .btn.secondary {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #e2e8f0 !important;
}
[data-theme="black"] input, [data-theme="black"] select, [data-theme="black"] textarea {
  background: #040406 !important;
  border-color: #242430 !important;
}
[data-theme="black"] .captcha-panel {
  background: #0d0d12 !important;
  border: 1px solid #242430 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}
[data-theme="black"] .captcha-heading > span {
  color: #f1f5f9 !important;
}
[data-theme="black"] .captcha-heading .icon-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #f1f5f9 !important;
}
[data-theme="black"] .captcha-picture {
  background: #040406 !important;
  border: 1px solid #242430 !important;
}
[data-theme="black"] .captcha-answer-row input {
  background: #040406 !important;
  border: 1px solid #38bdf844 !important;
  color: #ffffff !important;
}
[data-theme="black"] .auth-panel {
  background: #08080c !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8) !important;
}
[data-theme="black"] .auth-trust-pill {
  background: #0d0d14 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
}
[data-theme="black"] .signup-perks-card {
  background: #0d0d14 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}
[data-theme="black"] .perk-badge-item {
  background: #14141e !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
[data-theme="black"] .auth-footer-card {
  background: #0d0d14 !important;
  border: 1px solid #1a1a24 !important;
  color: #94a3b8 !important;
}

/* White Theme: Luxe Clean Daylight */
[data-theme="white"] {
  --bg: #f8fafc;
  --panel: #ffffff;
  --panel2: #f1f5f9;
  --line: #e2e8f0;
  --muted: #64748b;
  --text: #0f172a;
  --purple: #6366f1;
  --green: #10b981;
  --accent: #7c3aed;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --header-bg: #ffffff;
  --sidebar-bg: #ffffff;
  --hover-bg: #f1f5f9;
}

[data-theme="white"] html,
[data-theme="white"] body {
  background: #f8fafc !important;
  color: #0f172a !important;
}

/* Sidebar & Brand */
[data-theme="white"] .sidebar {
  background: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.03) !important;
}
[data-theme="white"] .brand strong {
  color: #0f172a !important;
}
[data-theme="white"] .brand small {
  color: #64748b !important;
}
[data-theme="white"] .nav-label {
  color: #94a3b8 !important;
}
[data-theme="white"] .nav-item {
  color: #475569 !important;
}
[data-theme="white"] .nav-item:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}
[data-theme="white"] .nav-item.active {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important;
}
[data-theme="white"] .nav-item .badge {
  background: #ecfdf5 !important;
  color: #065f46 !important;
}
[data-theme="white"] .help-card {
  background: linear-gradient(135deg, #ffffff, #f5f3ff) !important;
  border: 1px solid #ddd6fe !important;
  color: #0f172a !important;
}
[data-theme="white"] .help-card svg {
  color: #6366f1 !important;
}
[data-theme="white"] .help-card p {
  color: #64748b !important;
}
[data-theme="white"] .help-card strong {
  color: #0f172a !important;
}

/* Topbar & Navigation */
[data-theme="white"] .topbar {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}
[data-theme="white"] .breadcrumb {
  color: #64748b !important;
}
[data-theme="white"] .breadcrumb span {
  color: #0f172a !important;
  font-weight: 600 !important;
}
[data-theme="white"] .header-search {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}
[data-theme="white"] .header-search input {
  color: #0f172a !important;
}
[data-theme="white"] .header-search input::placeholder {
  color: #94a3b8 !important;
}
[data-theme="white"] .header-search kbd {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #64748b !important;
}
[data-theme="white"] .divider {
  background: #e2e8f0 !important;
}
[data-theme="white"] .live-pill {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  font-weight: 500 !important;
}

/* Base Panels, Cards & Containers */
[data-theme="white"] .panel,
[data-theme="white"] .stat,
[data-theme="white"] .product,
[data-theme="white"] .category-card,
[data-theme="white"] .modal,
[data-theme="white"] .featured-showcase,
[data-theme="white"] .auth-panel,
[data-theme="white"] .profile-hero-card,
[data-theme="white"] .theme-option-card,
[data-theme="white"] .coupon-card,
[data-theme="white"] .reorder-product-card,
[data-theme="white"] .admin-ai-copilot-panel,
[data-theme="white"] .api-tester-card,
[data-theme="white"] .notif-drawer-content {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

/* Home Hero Section */
[data-theme="white"] .hero {
  background: linear-gradient(135deg, #ffffff, #f1f5f9) !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}
[data-theme="white"] .hero h2 {
  color: #0f172a !important;
}
[data-theme="white"] .hero h2 em {
  background: linear-gradient(90deg, #6366f1, #a855f7) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
[data-theme="white"] .hero p {
  color: #475569 !important;
}
[data-theme="white"] .hero .eyebrow {
  background: #ede9fe !important;
  border: 1px solid #ddd6fe !important;
  color: #6d28d9 !important;
}
[data-theme="white"] .hero-notes {
  color: #64748b !important;
}
[data-theme="white"] .hero-notes svg {
  color: #6366f1 !important;
}
[data-theme="white"] .float-tile {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}
[data-theme="white"] .float-tile svg {
  color: #6366f1 !important;
}
[data-theme="white"] .core-logo {
  box-shadow: 8px 10px 0 #c4b5fd, 0 20px 45px rgba(99, 102, 241, 0.25) !important;
}
[data-theme="white"] .orbit {
  border-color: rgba(99, 102, 241, 0.2) !important;
}
[data-theme="white"] .art-label {
  color: #6d28d9 !important;
}
[data-theme="white"] .spark {
  color: #8b5cf6 !important;
}

/* Features Grid */
[data-theme="white"] .features {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}
[data-theme="white"] .feature {
  background: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
[data-theme="white"] .feature:last-child {
  border-right: 0 !important;
}
[data-theme="white"] .feature strong {
  color: #0f172a !important;
  font-weight: 700 !important;
}
[data-theme="white"] .feature small {
  color: #64748b !important;
}
[data-theme="white"] .feature-icon {
  background: #ede9fe !important;
  border: 1px solid #ddd6fe !important;
  color: #6d28d9 !important;
}

/* Category Cards & Track */
[data-theme="white"] .category-heading h2,
[data-theme="white"] .category-heading p {
  color: #0f172a !important;
}
[data-theme="white"] .category-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
[data-theme="white"] .category-card:hover {
  background: #f8fafc !important;
  border-color: #a78bfa !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.1) !important;
}
[data-theme="white"] .category-card strong {
  color: #0f172a !important;
}
[data-theme="white"] .category-card small {
  color: #64748b !important;
}
[data-theme="white"] .category-icon {
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .category-progress {
  color: #64748b !important;
}
[data-theme="white"] .category-progress-track {
  background: #e2e8f0 !important;
}
[data-theme="white"] .category-progress-track i {
  background: #6366f1 !important;
}

/* =========================================================
   CATALOG, TOOLBAR, TABS, SORT SELECT & EMPTY STATE
   ========================================================= */
[data-theme="white"] .catalog-toolbar {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
  color: #0f172a !important;
}
[data-theme="white"] .tabs {
  gap: 7px !important;
}
[data-theme="white"] .tab {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
}
[data-theme="white"] .tab:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}
[data-theme="white"] .tab.active {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  border-color: #6366f1 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.28) !important;
}
[data-theme="white"] .sort-select {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
}
[data-theme="white"] .sort-select option {
  background: #ffffff !important;
  color: #0f172a !important;
}
[data-theme="white"] .empty-catalog {
  background: #ffffff !important;
  border: 1px dashed #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
  border-radius: 16px !important;
}
[data-theme="white"] .empty-icon {
  background: #ede9fe !important;
  border: 1px solid #ddd6fe !important;
  color: #6d28d9 !important;
  border-radius: 14px !important;
}
[data-theme="white"] .empty-catalog h3 {
  color: #0f172a !important;
  font-weight: 700 !important;
}
[data-theme="white"] .empty-catalog p {
  color: #64748b !important;
}
[data-theme="white"] .section-title h2 {
  color: #0f172a !important;
  font-weight: 700 !important;
}
[data-theme="white"] .section-title p,
[data-theme="white"] .section-title span {
  color: #64748b !important;
}
[data-theme="white"] .text-link {
  color: #6366f1 !important;
  font-weight: 600 !important;
}
[data-theme="white"] .text-link:hover {
  color: #4f46e5 !important;
}

/* Product Cards */
[data-theme="white"] .product {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
[data-theme="white"] .product:hover {
  border-color: #a78bfa !important;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12) !important;
}
[data-theme="white"] .product-art {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .product-card-top-actions .icon-btn {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}
[data-theme="white"] .product-card-top-actions .icon-btn:hover {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}
[data-theme="white"] .icon-btn.saved {
  color: #ef4444 !important;
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
}
[data-theme="white"] .product-body small {
  color: #64748b !important;
}
[data-theme="white"] .product-body h3 {
  color: #0f172a !important;
  font-weight: 700 !important;
}
[data-theme="white"] .product-bottom strong {
  color: #0f172a !important;
  font-weight: 800 !important;
}

/* Mini Banners */
[data-theme="white"] .banners .mini-banner {
  background: linear-gradient(135deg, #ffffff, #f5f3ff) !important;
  border: 1px solid #ddd6fe !important;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.06) !important;
}
[data-theme="white"] .mini-banner h3 {
  color: #1e1b4b !important;
}
[data-theme="white"] .mini-banner p {
  color: #475569 !important;
}
[data-theme="white"] .mini-banner .banner-icon {
  color: #8b5cf6 !important;
}
[data-theme="white"] .mini-banner.green {
  background: linear-gradient(135deg, #ffffff, #ecfdf5) !important;
  border: 1px solid #a7f3d0 !important;
}
[data-theme="white"] .mini-banner.green h3 {
  color: #064e3b !important;
}
[data-theme="white"] .mini-banner.green p {
  color: #475569 !important;
}
[data-theme="white"] .mini-banner.green .banner-icon {
  color: #10b981 !important;
}

/* =========================================================
   MODALS, POPUPS, SHEETS, DIALOGS, DRAWERS & TOASTS
   ========================================================= */
[data-theme="white"] .overlay {
  background: rgba(15, 23, 42, 0.48) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}
[data-theme="white"] .drawer-scrim {
  background: rgba(15, 23, 42, 0.48) !important;
  backdrop-filter: blur(6px) !important;
}
[data-theme="white"] .modal,
[data-theme="white"] .modal.large,
[data-theme="white"] .welcome-modal {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  border-radius: 24px !important;
}
[data-theme="white"] .modal-head {
  border-bottom: 1px solid #f1f5f9 !important;
  color: #0f172a !important;
}
[data-theme="white"] .modal-head h2 {
  color: #0f172a !important;
  font-weight: 700 !important;
}
[data-theme="white"] .modal-head .icon-btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  border-radius: 10px !important;
}
[data-theme="white"] .modal-head .icon-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}
[data-theme="white"] .modal-actions {
  border-top: 1px solid #f1f5f9 !important;
  background: #f8fafc !important;
}
[data-theme="white"] .modal input,
[data-theme="white"] .modal select,
[data-theme="white"] .modal textarea {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
[data-theme="white"] .form-note,
[data-theme="white"] .micro-note {
  color: #64748b !important;
}
[data-theme="white"] .notice {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  color: #92400e !important;
}

/* Modal Specific Inner Components */
[data-theme="white"] .result-hero {
  color: #0f172a !important;
}
[data-theme="white"] .result-hero h3 {
  color: #0f172a !important;
  font-weight: 700 !important;
}
[data-theme="white"] .result-hero p {
  color: #475569 !important;
}
[data-theme="white"] .result-icon {
  background: #ede9fe !important;
  border: 1px solid #ddd6fe !important;
  color: #6d28d9 !important;
}
[data-theme="white"] .result-icon.success {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #065f46 !important;
}
[data-theme="white"] .result-note {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}
[data-theme="white"] .test-checks {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .test-checks>div {
  border-bottom: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .test-checks span {
  color: #64748b !important;
}
[data-theme="white"] .test-checks strong {
  color: #0f172a !important;
}
[data-theme="white"] .sync-result-list {
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .sync-result {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .sync-result.has-error {
  background: #fef2f2 !important;
}
[data-theme="white"] .sync-counts span {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}
[data-theme="white"] .sync-counts b {
  color: #0f172a !important;
}
[data-theme="white"] .install-dialog {
  color: #0f172a !important;
}
[data-theme="white"] .install-dialog-mark {
  background: #ede9fe !important;
  border: 1px solid #ddd6fe !important;
}
[data-theme="white"] .install-manual {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}
[data-theme="white"] .install-manual strong {
  color: #0f172a !important;
}
[data-theme="white"] .welcome-celebration {
  color: #0f172a !important;
}
[data-theme="white"] .welcome-celebration h2 {
  color: #0f172a !important;
}
[data-theme="white"] .welcome-celebration h2 em {
  background: linear-gradient(90deg, #6366f1, #a855f7) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}
[data-theme="white"] .welcome-celebration p {
  color: #475569 !important;
}
[data-theme="white"] .welcome-medal {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3) !important;
}
[data-theme="white"] .welcome-success-line {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #065f46 !important;
}
[data-theme="white"] .notification-intro {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .notification-intro h3 {
  color: #0f172a !important;
}
[data-theme="white"] .notification-intro p {
  color: #64748b !important;
}
[data-theme="white"] .notification-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .notification-item.unread {
  background: #f5f3ff !important;
  border-color: #c4b5fd !important;
}
[data-theme="white"] .notification-item strong {
  color: #0f172a !important;
}
[data-theme="white"] .notification-item p {
  color: #475569 !important;
}
[data-theme="white"] .notification-item small {
  color: #64748b !important;
}
[data-theme="white"] .notification-symbol {
  background: #ede9fe !important;
  color: #6d28d9 !important;
}
[data-theme="white"] .operator-clear {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #065f46 !important;
}
[data-theme="white"] .operator-clear h3 {
  color: #065f46 !important;
}
[data-theme="white"] .product-share-dialog,
[data-theme="white"] .share-sheet-modal {
  background: #ffffff !important;
  color: #0f172a !important;
}
[data-theme="white"] .share-product-preview {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .share-preview-meta strong {
  color: #0f172a !important;
}
[data-theme="white"] .share-preview-meta small {
  color: #64748b !important;
}
[data-theme="white"] .share-preview-meta b {
  color: #6366f1 !important;
}
[data-theme="white"] .share-url-box {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
}
[data-theme="white"] .share-url-box input {
  background: transparent !important;
  color: #0f172a !important;
}
[data-theme="white"] .share-pill {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
[data-theme="white"] .share-pill:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
}
[data-theme="white"] .notif-drawer-content {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .notif-header {
  border-bottom: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .notif-header h2 {
  color: #0f172a !important;
}
[data-theme="white"] .notif-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .notif-card.unread {
  background: #f5f3ff !important;
  border-color: #c4b5fd !important;
}
[data-theme="white"] .notif-card strong {
  color: #0f172a !important;
}
[data-theme="white"] .notif-card p {
  color: #475569 !important;
}
[data-theme="white"] .notif-card-time {
  color: #94a3b8 !important;
}
[data-theme="white"] .notif-card-icon {
  background: #ede9fe !important;
  color: #6d28d9 !important;
}
[data-theme="white"] .notif-empty {
  color: #64748b !important;
}
[data-theme="white"] .reorder-modal-content {
  color: #0f172a !important;
}
[data-theme="white"] .reorder-product-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .reorder-info strong {
  color: #0f172a !important;
}
[data-theme="white"] .reorder-info small {
  color: #64748b !important;
}
[data-theme="white"] .reorder-info b {
  color: #6366f1 !important;
}
[data-theme="white"] .reorder-pricing-box,
[data-theme="white"] .reorder-summary-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .reorder-summary-row {
  color: #475569 !important;
}
[data-theme="white"] .reorder-summary-row.total strong {
  color: #0f172a !important;
}
[data-theme="white"] .coupon-modal,
[data-theme="white"] .coupon-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
[data-theme="white"] .coupon-card strong {
  color: #0f172a !important;
}
[data-theme="white"] .coupon-badge {
  background: #f5f3ff !important;
  border: 1px dashed #8b5cf6 !important;
  color: #6d28d9 !important;
}
[data-theme="white"] .coupon-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .applied-coupon-tag {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #065f46 !important;
}
[data-theme="white"] .cart-discount-row {
  color: #059669 !important;
}
[data-theme="white"] .artwork-editor {
  background: #ffffff !important;
  color: #0f172a !important;
}
[data-theme="white"] .artwork-preview-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .captcha-panel {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
  border-radius: 18px !important;
}
[data-theme="white"] .captcha-heading > span {
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 11px !important;
}
[data-theme="white"] .captcha-heading > span svg {
  color: #6366f1 !important;
}
[data-theme="white"] .captcha-heading .icon-btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  border-radius: 8px !important;
}
[data-theme="white"] .captcha-heading .icon-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}
[data-theme="white"] .captcha-picture {
  background: #0f0b1e !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 14px !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}
[data-theme="white"] .captcha-picture img {
  border-radius: 10px !important;
}
[data-theme="white"] .captcha-placeholder {
  color: #cbd5e1 !important;
}
[data-theme="white"] .captcha-panel > label {
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  margin-bottom: 8px !important;
  display: block !important;
}
[data-theme="white"] .captcha-answer-row input {
  background: #ffffff !important;
  border: 2px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 22px !important;
  letter-spacing: 6px !important;
  border-radius: 10px !important;
  text-align: center !important;
}
[data-theme="white"] .captcha-answer-row input:focus {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18) !important;
}
[data-theme="white"] .captcha-answer-row input::placeholder {
  color: #94a3b8 !important;
  letter-spacing: 3px !important;
  font-size: 18px !important;
}
[data-theme="white"] .captcha-answer-row .btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
}
[data-theme="white"] .captcha-answer-row .btn:hover {
  background: #e2e8f0 !important;
  color: #000000 !important;
}
[data-theme="white"] .captcha-status {
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}
[data-theme="white"] .auth-panel {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  color: #0f172a !important;
}
[data-theme="white"] .auth-brand-emblem {
  background: linear-gradient(135deg, #ede9fe, #f5f3ff) !important;
  border: 1px solid #ddd6fe !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.15) !important;
}
[data-theme="white"] .auth-pill-badge {
  background: #ede9fe !important;
  border: 1px solid #ddd6fe !important;
  color: #6d28d9 !important;
}
[data-theme="white"] .auth-header-block h2 {
  color: #0f172a !important;
}
[data-theme="white"] .auth-header-block p {
  color: #475569 !important;
}
[data-theme="white"] .auth-trust-pill {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}
[data-theme="white"] .auth-trust-pill.pill-secure {
  border-color: #7dd3fc !important;
  color: #0369a1 !important;
}
[data-theme="white"] .auth-trust-pill.pill-instant {
  border-color: #fde047 !important;
  color: #b45309 !important;
}
[data-theme="white"] .auth-trust-pill.pill-warranty {
  border-color: #ddd6fe !important;
  color: #6d28d9 !important;
}
[data-theme="white"] .signup-perks-card {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}
[data-theme="white"] .signup-perks-head {
  color: #0f172a !important;
  border-bottom-color: #e2e8f0 !important;
}
[data-theme="white"] .perk-badge-item {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}
[data-theme="white"] .perk-text strong {
  color: #0f172a !important;
}
[data-theme="white"] .perk-text small {
  color: #64748b !important;
}
[data-theme="white"] .auth-footer-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}
[data-theme="white"] .auth-footer-prompt {
  color: #0f172a !important;
}
[data-theme="white"] .auth-footer-sub {
  color: #64748b !important;
}
[data-theme="white"] .auth-footer-card p {
  color: #475569 !important;
}
[data-theme="white"] .registration-policy-note {
  color: #64748b !important;
}
[data-theme="white"] .registration-policy-note a {
  color: #6366f1 !important;
}
[data-theme="white"] .toast {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}
[data-theme="white"] .toast svg {
  color: #6366f1 !important;
}
[data-theme="white"] .toast.error {
  background: #fef2f2 !important;
  border-color: #fca5a5 !important;
  color: #991b1b !important;
}
[data-theme="white"] .toast.error svg {
  color: #dc2626 !important;
}
[data-theme="white"] .app-update-notice {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}
[data-theme="white"] .app-update-notice strong {
  color: #0f172a !important;
}
[data-theme="white"] .app-update-notice small {
  color: #64748b !important;
}

/* =========================================================
   BUTTONS, ICON BUTTONS & CONTROLS
   ========================================================= */
[data-theme="white"] .btn {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  border: 1px solid #6366f1 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3) !important;
}
[data-theme="white"] .btn:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
  color: #ffffff !important;
}
[data-theme="white"] .btn.secondary {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}
[data-theme="white"] .btn.secondary:hover {
  background: #e2e8f0 !important;
  color: #000000 !important;
  border-color: #94a3b8 !important;
}
[data-theme="white"] .btn.danger {
  background: #fef2f2 !important;
  border: 1px solid #fca5a5 !important;
  color: #b91c1c !important;
}
[data-theme="white"] .btn.danger:hover {
  background: #fee2e2 !important;
  color: #991b1b !important;
}
[data-theme="white"] .btn:disabled {
  opacity: 0.55 !important;
  background: #e2e8f0 !important;
  color: #94a3b8 !important;
  border-color: #cbd5e1 !important;
}
[data-theme="white"] .icon-btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  border-radius: 9px !important;
}
[data-theme="white"] .icon-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}
[data-theme="white"] .carousel-buttons .icon-btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
[data-theme="white"] .carousel-buttons .icon-btn:hover {
  background: #e2e8f0 !important;
  color: #000000 !important;
}
[data-theme="white"] .order-claim-btn {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #065f46 !important;
  font-weight: 600 !important;
}
[data-theme="white"] .order-claim-btn:hover {
  background: #d1fae5 !important;
  color: #047857 !important;
  border-color: #6ee7b7 !important;
}
[data-theme="white"] .order-reorder-btn {
  background: #f5f3ff !important;
  border: 1px solid #ddd6fe !important;
  color: #6d28d9 !important;
  font-weight: 600 !important;
}
[data-theme="white"] .order-reorder-btn:hover {
  background: #ede9fe !important;
  color: #5b21b6 !important;
  border-color: #c4b5fd !important;
}
[data-theme="white"] .ai-shortcut-btn {
  background: #f5f3ff !important;
  border: 1px solid #ddd6fe !important;
  color: #6d28d9 !important;
  font-weight: 600 !important;
}
[data-theme="white"] .ai-shortcut-btn:hover {
  background: #ede9fe !important;
  color: #5b21b6 !important;
  border-color: #c4b5fd !important;
  transform: translateY(-1px) !important;
}
[data-theme="white"] .btn-ai-suggest-reply {
  background: #f3e8ff !important;
  border: 1px solid #d8b4fe !important;
  color: #6b21a8 !important;
  font-weight: 600 !important;
}
[data-theme="white"] .btn-ai-suggest-reply:hover {
  background: #ede9fe !important;
  border-color: #c4b5fd !important;
  color: #581c87 !important;
}
[data-theme="white"] .password-toggle {
  color: #64748b !important;
}

/* =========================================================
   FORMS, INPUTS & TYPOGRAPHY
   ========================================================= */
[data-theme="white"] input,
[data-theme="white"] select,
[data-theme="white"] textarea {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}
[data-theme="white"] input:focus,
[data-theme="white"] select:focus,
[data-theme="white"] textarea:focus {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}
[data-theme="white"] input::placeholder,
[data-theme="white"] textarea::placeholder {
  color: #94a3b8 !important;
}
[data-theme="white"] label,
[data-theme="white"] .field label {
  color: #334155 !important;
  font-weight: 600 !important;
}
[data-theme="white"] h1,
[data-theme="white"] h2,
[data-theme="white"] h3,
[data-theme="white"] strong {
  color: #0f172a !important;
}
[data-theme="white"] p {
  color: #334155 !important;
}
[data-theme="white"] small {
  color: #64748b !important;
}
[data-theme="white"] th {
  background: #f8fafc !important;
  color: #334155 !important;
  border-bottom-color: #cbd5e1 !important;
  font-weight: 600 !important;
}
[data-theme="white"] td {
  border-bottom-color: #f1f5f9 !important;
  color: #1e293b !important;
  background: #ffffff !important;
}
[data-theme="white"] tr:hover td {
  background: #f8fafc !important;
}
[data-theme="white"] pre,
[data-theme="white"] code {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #4338ca !important;
}
[data-theme="white"] .footer {
  border-top-color: #e2e8f0 !important;
  color: #64748b !important;
  background: #ffffff !important;
}

/* Chat, Support & AI Threads */
[data-theme="white"] .line-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}
[data-theme="white"] .ticket-thread {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .ticket-reply-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .chat-bubble.user {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  color: #ffffff !important;
  border: 0 !important;
}
[data-theme="white"] .chat-bubble.admin {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}
[data-theme="white"] .chat-bubble.ai {
  background: #f5f3ff !important;
  border: 1px solid #c4b5fd !important;
  color: #1e1b4b !important;
}
[data-theme="white"] .chat-sender {
  color: #6d28d9 !important;
  font-weight: 600 !important;
}
[data-theme="white"] .chat-meta {
  color: #64748b !important;
}
[data-theme="white"] .ai-copilot-terminal {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
[data-theme="white"] .ai-terminal-output {
  color: #0f172a !important;
}
[data-theme="white"] .ai-input-box {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}
[data-theme="white"] .ai-input-box input {
  background: transparent !important;
  color: #0f172a !important;
}

/* Badges, Pills & Statuses */
[data-theme="white"] .ticket-warranty-tag.active {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #065f46 !important;
  font-weight: 600 !important;
}
[data-theme="white"] .ticket-warranty-tag.expired {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #991b1b !important;
  font-weight: 600 !important;
}
[data-theme="white"] .status.completed,
[data-theme="white"] .status.answered {
  background: #ecfdf5 !important;
  color: #065f46 !important;
  border: 1px solid #a7f3d0 !important;
}
[data-theme="white"] .status.pending,
[data-theme="white"] .status.in_progress,
[data-theme="white"] .status.open,
[data-theme="white"] .status.retry_wait {
  background: #fffbeb !important;
  color: #92400e !important;
  border: 1px solid #fde68a !important;
}
[data-theme="white"] .status.refunded,
[data-theme="white"] .status.failed,
[data-theme="white"] .status.closed {
  background: #fef2f2 !important;
  color: #991b1b !important;
  border: 1px solid #fecaca !important;
}
[data-theme="white"] .badge {
  background: #ede9fe !important;
  color: #6d28d9 !important;
}

/* History, Stats, Orders & Workload */
[data-theme="white"] .history-stat {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}
[data-theme="white"] .history-stat>span {
  background: #ede9fe !important;
  color: #6d28d9 !important;
}
[data-theme="white"] .history-stat strong {
  color: #0f172a !important;
}
[data-theme="white"] .history-stat small {
  color: #64748b !important;
}
[data-theme="white"] .history-order {
  border-top: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .history-order-art {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #6366f1 !important;
}
[data-theme="white"] .history-order-side>strong {
  color: #0f172a !important;
}
[data-theme="white"] .history-order-heading h3 {
  color: #0f172a !important;
}
[data-theme="white"] .history-order-meta {
  color: #64748b !important;
}
[data-theme="white"] .history-order-note {
  color: #475569 !important;
}
[data-theme="white"] .history-delivery,
[data-theme="white"] .history-target {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
[data-theme="white"] .history-delivery pre,
[data-theme="white"] .history-target pre {
  color: #0f172a !important;
}
[data-theme="white"] .history-filters input,
[data-theme="white"] .history-filters select {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
[data-theme="white"] .history-search input {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
[data-theme="white"] .margin-explainer {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
[data-theme="white"] .margin-explainer>strong {
  color: #0f172a !important;
}
[data-theme="white"] .margin-explainer p {
  color: #475569 !important;
}

/* App Install, Sourcing & Workflow Boxes */
[data-theme="white"] .app-install-banner {
  background: linear-gradient(135deg, #ffffff, #f5f3ff) !important;
  border: 1px solid #ddd6fe !important;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.06) !important;
  color: #0f172a !important;
}
[data-theme="white"] .install-banner-copy h2 {
  color: #1e1b4b !important;
}
[data-theme="white"] .install-banner-copy p {
  color: #475569 !important;
}
[data-theme="white"] .install-phone {
  background: #ffffff !important;
  border: 2px solid #cbd5e1 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}
[data-theme="white"] .install-phone img {
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2) !important;
}
[data-theme="white"] .install-phone>span {
  background: #e2e8f0 !important;
}
[data-theme="white"] .install-steps {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .install-steps>div {
  border-bottom: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .install-steps span {
  color: #0f172a !important;
}
[data-theme="white"] .install-steps small {
  color: #64748b !important;
}
[data-theme="white"] .install-steps i {
  background: #ede9fe !important;
  color: #6d28d9 !important;
}
[data-theme="white"] .sidebar-install {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
[data-theme="white"] .sidebar-install:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}
[data-theme="white"] .sidebar-install strong {
  color: #0f172a !important;
}
[data-theme="white"] .sidebar-install small {
  color: #64748b !important;
}
[data-theme="white"] .install-glyph {
  background: #ede9fe !important;
  color: #6d28d9 !important;
}
[data-theme="white"] .source-policy-strip {
  background: linear-gradient(135deg, #ffffff, #f8fafc) !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
[data-theme="white"] .source-policy-strip strong {
  color: #0f172a !important;
}
[data-theme="white"] .source-policy-strip p {
  color: #475569 !important;
}
[data-theme="white"] .policy-symbol {
  background: #ede9fe !important;
  color: #6d28d9 !important;
}
[data-theme="white"] .source-summary {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
[data-theme="white"] .source-summary strong {
  color: #0f172a !important;
}
[data-theme="white"] .source-summary p {
  color: #475569 !important;
}
[data-theme="white"] .source-option {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
[data-theme="white"] .source-option.selected {
  background: #f5f3ff !important;
  border-color: #a78bfa !important;
}
[data-theme="white"] .source-option strong {
  color: #0f172a !important;
}
[data-theme="white"] .source-option small {
  color: #64748b !important;
}
[data-theme="white"] .source-option b {
  color: #0f172a !important;
}
[data-theme="white"] .source-option-icon {
  background: #ede9fe !important;
  color: #6d28d9 !important;
}
[data-theme="white"] .merge-details {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

/* Admin Console & Operator Strip */
[data-theme="white"] .admin-welcome {
  background: linear-gradient(135deg, #ffffff, #f1f5f9) !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
[data-theme="white"] .admin-welcome h2 {
  color: #0f172a !important;
}
[data-theme="white"] .admin-welcome p {
  color: #475569 !important;
}
[data-theme="white"] .operator-strip {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .operator-strip>div {
  border-right: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .operator-strip strong {
  color: #0f172a !important;
}
[data-theme="white"] .operator-strip small {
  color: #64748b !important;
}
[data-theme="white"] .workload-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}
[data-theme="white"] .workload-card:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}
[data-theme="white"] .workload-card>strong {
  color: #0f172a !important;
}
[data-theme="white"] .workload-card>small {
  color: #64748b !important;
}
[data-theme="white"] .workload-top b {
  color: #0f172a !important;
}
[data-theme="white"] .operator-task {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
[data-theme="white"] .operator-task:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}
[data-theme="white"] .operator-task strong {
  color: #0f172a !important;
}
[data-theme="white"] .operator-task small {
  color: #64748b !important;
}
[data-theme="white"] .operator-task-icon {
  background: #ede9fe !important;
  color: #6d28d9 !important;
}
[data-theme="white"] .connection-row {
  border-bottom: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
[data-theme="white"] .connection-row strong {
  color: #0f172a !important;
}
[data-theme="white"] .connection-row small {
  color: #64748b !important;
}
[data-theme="white"] .connection-symbol {
  background: #ede9fe !important;
  border: 1px solid #ddd6fe !important;
  color: #6d28d9 !important;
}
[data-theme="white"] .activity-entry {
  border-bottom: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
[data-theme="white"] .activity-entry strong {
  color: #0f172a !important;
}
[data-theme="white"] .activity-entry small {
  color: #64748b !important;
}
[data-theme="white"] .admin-security-alert {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  color: #92400e !important;
}
[data-theme="white"] .health-idle {
  background: #f8fafc !important;
  border: 1px dashed #cbd5e1 !important;
  color: #475569 !important;
}

/* Rewards, Rules & Precision Callouts */
[data-theme="white"] .reward-rule {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
}
[data-theme="white"] .reward-rule strong {
  color: #0f172a !important;
}
[data-theme="white"] .reward-rule p {
  color: #475569 !important;
}
[data-theme="white"] .reward-rule-icon {
  background: #ede9fe !important;
  border: 1px solid #ddd6fe !important;
  color: #6d28d9 !important;
}
[data-theme="white"] .reward-rule-icon.green {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #065f46 !important;
}
[data-theme="white"] .referral-hero {
  background: linear-gradient(135deg, #ffffff, #f5f3ff) !important;
  border: 1px solid #ddd6fe !important;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.06) !important;
  color: #0f172a !important;
}
[data-theme="white"] .referral-hero h2 {
  color: #0f172a !important;
}
[data-theme="white"] .referral-hero p {
  color: #475569 !important;
}
[data-theme="white"] .invite-link-wrap {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
}
[data-theme="white"] .invite-link-wrap input {
  color: #0f172a !important;
}
[data-theme="white"] .precision-callout {
  background: #f5f3ff !important;
  border: 1px solid #ddd6fe !important;
  color: #1e1b4b !important;
}
[data-theme="white"] .precision-callout strong {
  color: #1e1b4b !important;
}
[data-theme="white"] .precision-callout p {
  color: #475569 !important;
}

/* Mobile Nav, Journey & FAQ */
[data-theme="white"] .mobile-nav {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05) !important;
}
[data-theme="white"] .mobile-nav a {
  color: #64748b !important;
}
[data-theme="white"] .mobile-nav a.active {
  color: #6366f1 !important;
}
[data-theme="white"] .journey-step {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .journey-step h3 {
  color: #0f172a !important;
}
[data-theme="white"] .journey-step p {
  color: #64748b !important;
}
[data-theme="white"] .step-number {
  color: #6366f1 !important;
}
[data-theme="white"] .faq-section {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .faq-intro h2 {
  color: #0f172a !important;
}
[data-theme="white"] .faq-intro p {
  color: #64748b !important;
}
[data-theme="white"] .faq-section summary {
  color: #0f172a !important;
}
[data-theme="white"] .faq-section details {
  border-bottom: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .faq-section details p {
  color: #475569 !important;
}

/* Command Palette (⌘ K) in White Theme */
[data-theme="white"] .palette-search {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
[data-theme="white"] .palette-list {
  background: #ffffff !important;
}
[data-theme="white"] .palette-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
[data-theme="white"] .palette-item:hover,
[data-theme="white"] .palette-item:focus {
  background: #f1f5f9 !important;
  border-color: #6366f1 !important;
  color: #0f172a !important;
}
[data-theme="white"] .palette-item>svg {
  color: #6366f1 !important;
}
[data-theme="white"] .palette-item small {
  color: #64748b !important;
}
[data-theme="white"] .palette-list p {
  color: #64748b !important;
}

/* Collection Controls & Search in White Theme */
[data-theme="white"] .collection-controls {
  color: #0f172a !important;
}
[data-theme="white"] .toggle-pill {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}
[data-theme="white"] .toggle-pill.on {
  background: #ede9fe !important;
  border-color: #c4b5fd !important;
  color: #6d28d9 !important;
}
[data-theme="white"] .search-field input {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}
[data-theme="white"] .search-field>svg {
  color: #6366f1 !important;
}
[data-theme="white"] .save-product {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}
[data-theme="white"] .save-product:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
}
[data-theme="white"] .save-product.saved {
  color: #e11d48 !important;
  border-color: #fecdd3 !important;
  background: #fff1f2 !important;
}
[data-theme="white"] .share-product-btn {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}
[data-theme="white"] .share-product-btn:hover {
  background: #f8fafc !important;
  color: #6366f1 !important;
}
[data-theme="white"] .table-wrap {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}
[data-theme="white"] .provider-wizard .wizard-steps {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .wizard-steps>button.active {
  background: #ede9fe !important;
  color: #6d28d9 !important;
}
[data-theme="white"] .payment-editor {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .payment-edit-row {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="white"] .payment-editor textarea {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}
[data-theme="white"] .mapping-guide {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}
[data-theme="white"] .curl-preview-box {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
[data-theme="white"] .curl-preview-box pre {
  background: transparent !important;
  color: #0f172a !important;
}
[data-theme="white"] .version-control {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}
[data-theme="white"] .version-control:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
}
[data-theme="white"] .category-range {
  color: #64748b !important;
}
[data-theme="white"] .offline-notice {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  color: #92400e !important;
}

/* =========================================================
   2. PROFILE & THEMES VIEW
   ========================================================= */
.profile-page-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.profile-hero-card {
  padding: 28px !important;
  border-radius: 24px !important;
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
}
.profile-hero-content {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.profile-avatar-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.profile-avatar-inner {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--purple, #8b78ff), #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.3);
}
.profile-role-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono, monospace);
  background: rgba(139, 92, 246, 0.2);
  color: var(--purple, #8b78ff);
  border: 1px solid rgba(139, 92, 246, 0.4);
}
.profile-role-badge.admin {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.5);
}
.profile-details {
  flex: 1;
  min-width: 250px;
}
.profile-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.profile-name-row h2 {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 26px;
  font-weight: 800;
  margin: 0;
}
.profile-username-tag {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  color: var(--purple, #8b78ff);
  background: rgba(139, 92, 246, 0.12);
  padding: 3px 8px;
  border-radius: 8px;
}
.profile-email-text {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0 16px;
}
.profile-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.profile-mini-stat small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.profile-mini-stat strong {
  font-size: 18px;
  font-weight: 700;
}
.guest-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 16px;
}
.guest-hero-actions .btn {
  min-height: 40px;
}

/* Theme Selector 3-Card Grid */
.theme-selector-panel {
  border-radius: 24px !important;
}
.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.theme-option-card {
  padding: 20px;
  border-radius: 18px;
  background: var(--panel2);
  border: 2px solid var(--line);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.theme-option-card:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.theme-option-card.active {
  border-color: var(--purple);
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--purple), 0 8px 25px rgba(99, 102, 241, 0.2);
}
.theme-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.theme-swatch-group {
  display: flex;
  gap: 6px;
}
.theme-color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid transparent;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.theme-active-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.theme-active-pill.active {
  color: var(--purple);
  border-color: var(--purple);
  background: rgba(99, 102, 241, 0.12);
}
.theme-card-body h3 {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.theme-card-body p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 16px;
}
.theme-card-footer {
  margin-top: auto;
}

/* =========================================================
   3. PRODUCT SHARING & DEEP-LINK HIGHLIGHT
   ========================================================= */
.product-card-top-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
}
.product-card-top-actions .icon-btn {
  position: static !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: rgba(18, 14, 30, 0.7) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #d1c4e9 !important;
  transition: all 0.2s ease !important;
}
.product-card-top-actions .icon-btn svg {
  width: 15px !important;
  height: 15px !important;
}
.product-card-top-actions .icon-btn:hover {
  background: var(--purple, #8b78ff) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  transform: scale(1.08) !important;
}
.product-card-top-actions .save-product.saved {
  color: #ff5e7e !important;
  border-color: rgba(255, 94, 126, 0.5) !important;
  background: rgba(255, 94, 126, 0.2) !important;
}
.product-card-highlighted {
  animation: productAuraPulse 3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  border-color: #a855f7 !important;
}
@keyframes productAuraPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.8), 0 0 35px rgba(168, 85, 247, 0.6);
    transform: scale(1.03);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(168, 85, 247, 0.2), 0 0 45px rgba(168, 85, 247, 0.7);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
    transform: scale(1);
  }
}

/* Product Share Dialog Modal */
.product-share-dialog {
  padding: 6px 0;
}
.share-product-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.social-share-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.social-share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  transition: all 0.2s;
}
.social-share-btn:hover {
  transform: translateY(-2px);
  border-color: var(--purple);
}
.social-share-btn.whatsapp:hover { background: rgba(37, 211, 102, 0.15); border-color: #25d366; color: #25d366; }
.social-share-btn.telegram:hover { background: rgba(42, 171, 238, 0.15); border-color: #2aabee; color: #2aabee; }
.social-share-btn.twitter:hover { background: rgba(56, 189, 248, 0.15); border-color: #38bdf8; color: #38bdf8; }

/* =========================================================
   4. ADMIN LIVE PURCHASE FEED (15s REAL-TIME TTL)
   ========================================================= */
.admin-live-ticker-mount {
  margin: 18px 0 24px;
}
.admin-live-monitor-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 78, 59, 0.2));
  border: 1px solid rgba(52, 211, 153, 0.35);
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.live-monitor-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 13px;
  font-weight: 700;
}
.live-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 12px #10b981;
  animation: livePulseAnim 1.5s infinite;
  display: inline-block;
}
@keyframes livePulseAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.live-monitor-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.live-events-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.live-event-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.15);
  animation: slideInDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  gap: 14px;
}
@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.live-evt-badge {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
  background: #10b981;
  color: #042f2e;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.live-evt-info {
  flex: 1;
  min-width: 0;
}
.live-evt-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.live-evt-meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  flex-wrap: wrap;
}
.live-evt-timer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.live-evt-timer span {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 700;
  color: #34d399;
}
.live-countdown-bar {
  width: 55px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.live-countdown-bar:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #10b981;
  animation: countdownShrink var(--duration, 15s) linear forwards;
}
@keyframes countdownShrink {
  from { width: 100%; }
  to { width: 0%; }
}
.live-empty-state {
  padding: 14px;
  border-radius: 14px;
  background: var(--panel2);
  border: 1px dashed var(--line);
  text-align: center;
  color: var(--muted);
}

/* =========================================================
   5. GLOWING PRODUCT BADGES & SHOWCASE
   ========================================================= */
.product-badge-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 3;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.product-badge-pill.hot {
  background: linear-gradient(135deg, rgba(255, 68, 88, 0.25), rgba(255, 120, 50, 0.35));
  color: #ff7686;
  border: 1px solid rgba(255, 90, 110, 0.5);
  box-shadow: 0 0 14px rgba(255, 75, 95, 0.35);
}
.product-badge-pill.bestseller {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(217, 70, 239, 0.35));
  color: #df9bff;
  border: 1px solid rgba(192, 132, 252, 0.5);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.35);
}
.product-badge-pill.sale {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(16, 185, 129, 0.35));
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.5);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.35);
}
.product-badge-pill.new {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(99, 102, 241, 0.35));
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.5);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
}

/* Featured Products Section */
.featured-showcase {
  margin: 32px 0 40px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(35, 25, 66, 0.55), rgba(20, 15, 42, 0.7));
  border: 1px solid rgba(171, 155, 250, 0.22);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.featured-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.featured-showcase-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* Coupon UI in Cart */
.coupon-box {
  margin: 16px 0;
  padding: 14px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.coupon-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.coupon-input-row input {
  flex: 1;
  text-transform: uppercase;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 9px 12px;
  font-size: 13px;
}
.applied-coupon-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 12px;
  color: #86efac;
  font-size: 13px;
  font-weight: 600;
}
.applied-coupon-tag strong {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  color: #bbf7d0;
}
.cart-discount-row {
  display: flex;
  justify-content: space-between;
  color: #86efac;
  font-weight: 600;
  margin: 6px 0;
}

/* Customer Notification Center */
.notif-bell {
  position: relative;
}
.notif-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #ff455f;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  line-height: 17px;
  border-radius: 999px;
  text-align: center;
  padding: 0 4px;
  box-shadow: 0 0 8px rgba(255, 69, 95, 0.6);
  pointer-events: none;
}
.notif-drawer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 62vh;
  overflow-y: auto;
  padding-right: 4px;
}
.notif-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: var(--panel2);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
  text-align: left;
  text-decoration: none;
  color: inherit;
}
.notif-card:hover {
  border-color: var(--purple);
  transform: translateY(-1px);
}
.notif-card.unread {
  border-left: 3px solid var(--purple);
}
.notif-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(171, 155, 250, 0.15);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.notif-card.order .notif-icon-wrap { background: rgba(168, 85, 247, 0.18); color: #c084fc; }
.notif-card.ticket .notif-icon-wrap { background: rgba(56, 189, 248, 0.18); color: #38bdf8; }
.notif-card.deposit .notif-icon-wrap { background: rgba(34, 197, 94, 0.18); color: #4ade80; }
.notif-card.broadcast .notif-icon-wrap { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }
.notif-body {
  flex: 1;
  min-width: 0;
}
.notif-body strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.notif-body p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 6px;
  line-height: 1.4;
  word-break: break-word;
}
.notif-time {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
}

/* Threaded Support Ticket UI */
.ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0;
  max-height: 55vh;
  overflow-y: auto;
  padding: 10px 4px;
}
.chat-bubble {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  word-break: break-word;
}
.chat-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #5b34be, #442296);
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(76, 37, 168, 0.35);
}
.chat-bubble.admin {
  align-self: flex-start;
  background: var(--panel2);
  color: var(--text);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.chat-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  margin-top: 6px;
  opacity: 0.8;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
}
.chat-bubble.user .chat-meta { color: #d6ccff; justify-content: flex-end; }
.chat-bubble.admin .chat-meta { color: var(--muted); }
.ticket-reply-box {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* Repeat Order Modal & Button */
.btn-reorder {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(171, 155, 250, 0.14);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-reorder:hover {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}
.reorder-summary-box {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin: 14px 0;
}
.reorder-price-comparison {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

/* Admin Business Analytics */
.analytics-header-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.analytics-range-selector {
  display: inline-flex;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 3px;
  gap: 2px;
}
.analytics-range-btn {
  background: none;
  border: none;
  color: var(--muted);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.15s;
}
.analytics-range-btn.active {
  background: var(--purple);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(91, 52, 190, 0.4);
}
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.analytics-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}
.analytics-card small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.analytics-card strong {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 4px;
}
.analytics-card .analytics-sub {
  font-size: 11px;
  color: var(--muted);
}
.analytics-card.highlight {
  border-color: var(--purple);
}

/* Export Buttons Row */
.export-buttons-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}

/* Reseller Developer Playground */
.api-tester-card {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}
.api-tester-response {
  margin-top: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 12px;
  color: #a5f3fc;
  max-height: 320px;
  overflow-y: auto;
}

/* Mobile responsive constraints */
@media (max-width: 760px) {
  .topbar {
    padding: 0 12px !important;
    gap: 8px !important;
    overflow: hidden;
  }
  .breadcrumb {
    font-size: 11px !important;
    gap: 6px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .top-actions {
    gap: 5px !important;
    flex-shrink: 0;
  }
  .top-actions .divider {
    display: none !important;
  }
  .top-actions .btn {
    padding: 5px 8px !important;
    font-size: 10px !important;
  }
  .history-order-side {
    width: 100% !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-left: 0 !important;
    gap: 8px !important;
  }
  .history-order-side > div {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    align-items: center !important;
  }
  .btn-reorder {
    padding: 5px 9px !important;
    font-size: 11px !important;
  }
  .admin-live-monitor-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .live-monitor-controls {
    width: 100%;
    justify-content: space-between;
  }
}

/* =========================================================
   11. TOP ANNOUNCEMENT BAR & REAL-TIME ACTIVITY STREAM
   ========================================================= */
.store-announcement-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 24px;
  background: linear-gradient(90deg, rgba(38, 18, 77, 0.95), rgba(20, 10, 48, 0.95));
  border-bottom: 1px solid rgba(168, 85, 247, 0.3);
  font-size: 12px;
  color: #eff0fa;
  position: relative;
  z-index: 25;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

[data-theme="black"] .store-announcement-bar {
  background: linear-gradient(90deg, #09090e, #030305);
  border-bottom: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

[data-theme="white"] .store-announcement-bar {
  background: linear-gradient(90deg, #f3f0ff, #ffffff);
  border-bottom: 1px solid rgba(99, 102, 241, 0.25);
  color: #1e1b4b;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.announcement-content-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.announcement-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #d8b4fe;
  flex-shrink: 0;
  text-transform: uppercase;
}

[data-theme="black"] .announcement-live-tag {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #7dd3fc;
}

[data-theme="white"] .announcement-live-tag {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.35);
  color: #4f46e5;
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: liveBeacon 1.4s ease-in-out infinite;
}

@keyframes liveBeacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

.announcement-stream-viewport {
  flex: 1;
  min-width: 0;
  height: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.announcement-item-slide {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  animation: announcementSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 12px;
  cursor: default;
}

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

.announcement-type-pill {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.announcement-type-pill.purchase-pill {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.announcement-type-pill.deposit-pill {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.announcement-user {
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  color: #c4b5fd;
}

[data-theme="black"] .announcement-user {
  color: #38bdf8;
}

[data-theme="white"] .announcement-user {
  color: #4338ca;
}

.announcement-action {
  color: var(--muted, #94a3b8);
  font-size: 11px;
}

.announcement-target {
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

[data-theme="white"] .announcement-target {
  color: #0f172a;
}

.announcement-target.clickable-target {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(168, 85, 247, 0.5);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.announcement-target.clickable-target:hover {
  color: #c084fc;
}

[data-theme="black"] .announcement-target.clickable-target:hover {
  color: #38bdf8;
}

.announcement-amount {
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
}

.announcement-time {
  color: var(--muted, #94a3b8);
  font-size: 10px;
}

.announcement-bar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.announcement-action-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  border-radius: 6px;
  padding: 4px 7px;
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.announcement-action-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: translateY(-1px);
}

[data-theme="white"] .announcement-action-btn {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
  color: #475569;
}

[data-theme="white"] .announcement-action-btn:hover {
  background: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

@media (max-width: 768px) {
  .store-announcement-bar {
    padding: 7px 12px;
    font-size: 11px;
  }
  .announcement-live-tag {
    font-size: 9px;
    padding: 2px 6px;
  }
  .announcement-action-btn:not(.close-btn) {
    display: none;
  }
}

/* =========================================================
   12. WARRANTY SYSTEM & AI AGENT COPILOT STYLES
   ========================================================= */
.btn-claim-warranty {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-claim-warranty:hover {
  background: rgba(168, 85, 247, 0.25);
  border-color: #c084fc;
  color: #ffffff;
  transform: translateY(-1px);
}

.chat-bubble.ai {
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.35), rgba(30, 27, 75, 0.45));
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #f1f5f9;
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 16px rgba(147, 51, 234, 0.15);
}

.chat-bubble.ai .chat-sender {
  color: #c084fc;
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.ticket-warranty-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
}

.ticket-warranty-tag.active {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
}

.ticket-warranty-tag.expired {
  background: rgba(100, 116, 139, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #94a3b8;
}

/* Admin AI Copilot Styling */
.admin-ai-copilot-panel {
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
}

.ai-copilot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.openrouter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #e9d5ff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

.ai-prompt-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ai-shortcut-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ai-shortcut-btn:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: #c084fc;
  color: #ffffff;
  transform: translateY(-1px);
}

.ai-terminal-output {
  min-height: 180px;
  max-height: 400px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  margin-bottom: 16px;
}

.ai-input-row {
  display: flex;
  gap: 10px;
}

.ai-input-row input {
  flex: 1;
}

/* =========================================================
   12. DESKTOP & PC VIEW LUXURY ELEVATION (1200px - 2560px+)
   ========================================================= */
@media (min-width: 1200px) {
  /* Workspace & Container */
  .workspace {
    margin-left: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .sidebar {
    width: 260px;
    padding: 32px 22px;
    background: #0f121d;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.25);
  }

  .content {
    max-width: 1680px;
    margin: 0 auto;
    width: 100%;
    padding: 36px 48px;
    flex: 1;
  }

  .topbar {
    height: 88px;
    padding: 0 48px;
    background: rgba(14, 17, 27, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-search {
    width: 340px;
    background: #141824;
    border-color: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
  }

  .header-search:focus-within {
    width: 380px;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
  }

  /* Hero Section on Desktop */
  .hero {
    min-height: 400px;
    padding: 48px 52px;
    border-radius: 24px;
    margin-bottom: 36px;
    background: radial-gradient(ellipse at 85% 20%, rgba(139, 92, 246, 0.35), transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(99, 102, 241, 0.2), transparent 50%),
                linear-gradient(115deg, #17152c 0%, #1c1836 55%, #131122 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .hero-copy {
    width: 60%;
  }

  .hero h2 {
    font-size: 46px;
    line-height: 1.15;
    letter-spacing: -1.8px;
    margin: 20px 0 16px;
  }

  .hero p {
    font-size: 13.5px;
    line-height: 1.8;
    max-width: 440px;
    color: #c4b5fd;
    margin-bottom: 28px;
  }

  .hero-actions .btn {
    padding: 13px 26px;
    font-size: 13px;
    border-radius: 12px;
  }

  .hero-art {
    width: 460px;
    height: 380px;
    right: 20px;
    top: 10px;
  }

  .hero-notes {
    font-size: 10px;
    gap: 24px;
    margin-top: 28px;
  }

  /* Features Grid on Desktop */
  .features {
    grid-template-columns: repeat(4, 1fr);
    padding: 24px 0;
    margin: 24px 0 36px;
    border-radius: 16px;
    background: #121622;
  }

  .feature {
    padding: 0 28px;
    gap: 14px;
  }

  .feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .feature strong {
    font-size: 12px;
  }

  .feature small {
    font-size: 10px;
  }

  /* Products Grid on Desktop */
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .product {
    border-radius: 16px;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  }

  .product:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.15);
  }

  .product-art {
    height: 135px;
  }

  .product-body {
    padding: 18px;
  }

  .product-body h3 {
    font-size: 14px;
    margin: 6px 0;
  }

  .product-bottom strong {
    font-size: 16px;
  }

  /* Stats Grid on Desktop */
  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .stat {
    padding: 26px 22px;
    border-radius: 16px;
  }

  .stat strong {
    font-size: 30px;
  }

  /* Modals on Desktop */
  .modal {
    width: 620px;
    border-radius: 22px;
    padding: 32px;
  }

  .modal.large {
    width: 900px;
  }
}

/* Ultrawide Displays (1600px - 2560px+) */
@media (min-width: 1600px) {
  .hero {
    min-height: 440px;
    padding: 56px 64px;
  }

  .hero h2 {
    font-size: 52px;
  }

  .hero-copy {
    width: 62%;
  }

  .hero-art {
    right: 40px;
    top: 20px;
    transform: scale(1.08);
  }

  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

/* Widescreen 4K (1920px+) */
@media (min-width: 1920px) {
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
  }

  .content {
    max-width: 1780px;
  }
}

/* White Theme Desktop Overrides */
[data-theme="white"] .workspace {
  background: #f8fafc !important;
}

[data-theme="white"] .sidebar {
  background: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="white"] .topbar {
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="white"] .header-search {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="white"] .header-search:focus-within {
  background: #ffffff !important;
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

[data-theme="white"] .hero {
  background: radial-gradient(ellipse at 85% 20%, rgba(99, 102, 241, 0.15), transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(168, 85, 247, 0.1), transparent 50%),
              linear-gradient(115deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%) !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), inset 0 1px 0 #ffffff !important;
}

[data-theme="white"] .hero h2 {
  color: #0f172a !important;
}

[data-theme="white"] .hero p {
  color: #475569 !important;
}

[data-theme="white"] .hero-notes {
  color: #64748b !important;
}

[data-theme="white"] .features {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

[data-theme="white"] .product {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

[data-theme="white"] .product:hover {
  border-color: #6366f1 !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08), 0 0 20px rgba(99, 102, 241, 0.1) !important;
}

[data-theme="white"] .stat {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

[data-theme="white"] .modal {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15) !important;
}

/* Captcha & Auth Theme Overrides */
[data-theme="white"] .bot-trap {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

[data-theme="white"] .captcha-panel {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="white"] .captcha-heading > span {
  color: #0f172a !important;
}

[data-theme="white"] .captcha-heading > span svg {
  color: #6366f1 !important;
}

[data-theme="white"] .captcha-badge-tag {
  background: #eef2ff !important;
  border: 1px solid #c7d2fe !important;
  color: #4f46e5 !important;
}

[data-theme="white"] .captcha-picture {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="white"] .captcha-placeholder {
  color: #475569 !important;
}

[data-theme="white"] .captcha-action-btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="white"] .captcha-action-btn:hover {
  background: #e2e8f0 !important;
  border-color: #6366f1 !important;
  color: #0f172a !important;
}

[data-theme="white"] .captcha-action-btn svg {
  color: #6366f1 !important;
}

[data-theme="white"] .captcha-input-group label {
  color: #0f172a !important;
}

[data-theme="white"] .captcha-answer-row input {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="white"] .captcha-answer-row input:focus {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

[data-theme="white"] .captcha-answer-row input::placeholder {
  color: #94a3b8 !important;
}

[data-theme="white"] .captcha-panel .captcha-status {
  color: #4f46e5 !important;
}

[data-theme="black"] .bot-trap {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

[data-theme="black"] .captcha-panel {
  background: #0a0a0d !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="black"] .captcha-heading > span {
  color: #f8fafc !important;
}

[data-theme="black"] .captcha-heading > span svg {
  color: #38bdf8 !important;
}

[data-theme="black"] .captcha-badge-tag {
  background: rgba(56, 189, 248, 0.12) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
}

[data-theme="black"] .captcha-picture {
  background: #050508 !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
}

[data-theme="black"] .captcha-placeholder {
  color: #94a3b8 !important;
}

[data-theme="black"] .captcha-action-btn {
  background: #111116 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f8fafc !important;
}

[data-theme="black"] .captcha-action-btn:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
}

[data-theme="black"] .captcha-action-btn svg {
  color: #38bdf8 !important;
}

[data-theme="black"] .captcha-input-group label {
  color: #f8fafc !important;
}

[data-theme="black"] .captcha-answer-row input {
  background: #000000 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
  color: #ffffff !important;
}

[data-theme="black"] .captcha-answer-row input:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
}

[data-theme="black"] .captcha-answer-row input::placeholder {
  color: #64748b !important;
}

[data-theme="black"] .captcha-panel .captcha-status {
  color: #38bdf8 !important;
}





/* ========================================================
   ⚡ BUY NOW & CARD ACTIONS
   ======================================================== */
.product-actions-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.product-actions-wrap .btn {
  padding: 8px 12px;
  font-size: 11px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.buy-now-btn {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%) !important;
  border: 1px solid rgba(236, 72, 153, 0.4) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.buy-now-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.15);
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.buy-now-btn:active:not(:disabled) {
  transform: translateY(0);
}

.buy-now-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.5);
  box-shadow: none;
}

/* White Theme */
[data-theme="white"] .buy-now-btn {
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%) !important;
  border: 1px solid #db2777 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25) !important;
}

[data-theme="white"] .buy-now-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #6d28d9 0%, #be185d 100%) !important;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35) !important;
}

/* OLED Black Theme */
[data-theme="black"] .buy-now-btn {
  background: linear-gradient(135deg, #9333ea 0%, #e11d48 100%) !important;
  border: 1px solid rgba(225, 29, 72, 0.5) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 12px rgba(147, 51, 234, 0.3) !important;
}

/* ========================================================
   ⚡ COMMAND PALETTE & GLOBAL SEARCH (Cmd+K / Ctrl+K)
   ======================================================== */
.command-palette-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 12, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.command-palette-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.command-palette-box {
  width: 100%;
  max-width: 640px;
  background: #121526;
  border: 1px solid rgba(139, 120, 255, 0.35);
  border-radius: 18px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 35px rgba(139, 120, 255, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(-15px) scale(0.98);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.command-palette-overlay.open .command-palette-box {
  transform: translateY(0) scale(1);
}

.command-palette-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.command-palette-search-bar .command-icon svg {
  width: 22px;
  height: 22px;
  color: #a78bfa;
}

.command-palette-search-bar input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  outline: none;
}

.command-esc-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
}

.command-palette-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.command-group-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #71717a;
  font-weight: 700;
  padding: 8px 12px 4px;
}

.command-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.command-item:hover {
  background: rgba(139, 120, 255, 0.12);
  border-color: rgba(139, 120, 255, 0.25);
  transform: translateX(3px);
}

.command-item-art {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.command-item-art svg {
  width: 20px;
  height: 20px;
  color: #c4b5fd;
}

.command-item-info {
  flex: 1;
  min-width: 0;
}

.command-item-info strong {
  display: block;
  font-size: 13px;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.command-item-info small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 1px;
}

.command-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.command-price {
  font-weight: 700;
  font-size: 13px;
  color: #38bdf8;
}

.command-nav-badge {
  font-size: 11px;
  font-weight: 600;
  color: #a78bfa;
}

.command-empty {
  padding: 35px 20px;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
}

.command-palette-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: #64748b;
}

.command-palette-footer kbd {
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-right: 3px;
  color: #cbd5e1;
}

/* ========================================================
   💱 PREFERENCES & MULTI-CURRENCY
   ======================================================== */
.preferences-panel {
  margin-top: 24px;
}

.preferences-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.preference-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preference-block label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  margin: 0;
}

.currency-chips-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.currency-chip-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 12px;
  color: #cbd5e1;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.currency-chip-btn:hover {
  background: rgba(139, 120, 255, 0.12);
  border-color: #8b78ff;
  color: #ffffff;
  transform: translateY(-1px);
}

.currency-chip-btn.active {
  background: linear-gradient(135deg, rgba(139, 120, 255, 0.3), rgba(99, 102, 241, 0.3));
  border-color: #8b78ff;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(139, 120, 255, 0.25);
}

.audio-toggle-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ========================================================
   🚀 SCROLL TO TOP ROCKET
   ======================================================== */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #151828;
  border: 1px solid rgba(139, 120, 255, 0.4);
  color: #a78bfa;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px) scale(0.85);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-to-top-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-to-top-btn:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: #a78bfa;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(139, 120, 255, 0.35);
}

.scroll-progress-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.scroll-progress-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 2.5;
}

.scroll-progress-bar {
  fill: none;
  stroke: #8b78ff;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dasharray 0.1s ease;
}

.rocket-icon {
  font-size: 14px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

/* ========================================================
   🎨 DAYLIGHT WHITE THEME OVERRIDES FOR NEW PRO FEATURES
   ======================================================== */
[data-theme="white"] .command-palette-overlay {
  background: rgba(15, 23, 42, 0.45);
}

[data-theme="white"] .command-palette-box {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2), 0 0 25px rgba(124, 58, 237, 0.1) !important;
}

[data-theme="white"] .command-palette-search-bar {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="white"] .command-palette-search-bar input {
  color: #0f172a !important;
}

[data-theme="white"] .command-palette-search-bar input::placeholder {
  color: #94a3b8 !important;
}

[data-theme="white"] .command-item:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

[data-theme="white"] .command-item-info strong {
  color: #0f172a !important;
}

[data-theme="white"] .command-item-info small {
  color: #64748b !important;
}

[data-theme="white"] .command-palette-footer {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  color: #64748b !important;
}

[data-theme="white"] .currency-chip-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
}

[data-theme="white"] .currency-chip-btn:hover {
  background: #f8fafc !important;
  border-color: #7c3aed !important;
  color: #7c3aed !important;
}

[data-theme="white"] .currency-chip-btn.active {
  background: #ede9fe !important;
  border-color: #7c3aed !important;
  color: #6d28d9 !important;
  font-weight: 700;
}

[data-theme="white"] .scroll-to-top-btn {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #7c3aed !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

/* ========================================================
   🎨 OLED BLACK THEME OVERRIDES FOR NEW PRO FEATURES
   ======================================================== */
[data-theme="black"] .command-palette-box {
  background: #000000 !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 35px rgba(56, 189, 248, 0.2) !important;
}

[data-theme="black"] .currency-chip-btn {
  background: #050508 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #f8fafc !important;
}

[data-theme="black"] .currency-chip-btn.active {
  background: rgba(56, 189, 248, 0.2) !important;
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
}

[data-theme="black"] .scroll-to-top-btn {
  background: #000000 !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  color: #38bdf8 !important;
}


@media (max-width: 768px) {
  .scroll-to-top-btn {
    bottom: 96px !important;
    right: 18px !important;
    width: 44px !important;
    height: 44px !important;
  }
}

/* ========================================================
   ⚡ FLASH SALE & DEAL ALERTS STYLING
   ======================================================== */
.deal-alerts-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 400px;
  background: rgba(18, 22, 38, 0.95);
  border: 1px solid rgba(139, 120, 255, 0.4);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 120, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  animation: slideInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.deal-alerts-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.deal-alerts-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.deal-alerts-text strong {
  display: block;
  font-size: 12px;
  color: #ffffff;
}

.deal-alerts-text p {
  margin: 2px 0 0;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.4;
}

.deal-alerts-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.flash-sale-creator-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(139, 120, 255, 0.25);
  border-radius: 16px;
  padding: 20px;
  margin-top: 16px;
}

.fs-calculated-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 13px;
  color: #cbd5e1;
}

.flash-sale-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%) !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
  animation: pulse-glow 2s infinite ease-in-out;
}

.flash-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.flash-price-wrap del {
  font-size: 13px;
  color: #64748b;
}

.flash-price-wrap strong {
  font-size: 18px;
  color: #38bdf8;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.03); filter: brightness(1.2); }
}

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

/* Daylight White */
[data-theme="white"] .deal-alerts-banner {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="white"] .deal-alerts-text strong {
  color: #0f172a !important;
}

[data-theme="white"] .deal-alerts-text p {
  color: #64748b !important;
}

[data-theme="white"] .flash-sale-creator-card {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}

/* OLED Black */
[data-theme="black"] .deal-alerts-banner {
  background: #000000 !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
}

/* =========================================================
   AI ASSISTANT FORMATTED MESSAGES, SVG THINKING & TYPING,
   AND MULTI-KEY AUTO-FAILOVER STYLES
   ========================================================= */
.ai-formatted-msg {
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.ai-msg-heading {
  font-weight: 700;
  color: #e9d5ff;
  margin-top: 6px;
  font-size: 13.5px;
}

.ai-msg-line {
  line-height: 1.55;
}

.ai-msg-bullet {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-left: 2px;
  line-height: 1.5;
}

.ai-msg-bullet-dot {
  color: #c084fc;
  font-weight: 700;
  flex-shrink: 0;
  min-width: 14px;
}

.ai-msg-spacer {
  height: 4px;
}

[data-theme="white"] .ai-msg-heading {
  color: #5b21b6 !important;
}

[data-theme="white"] .ai-msg-bullet-dot {
  color: #7c3aed !important;
}

/* Animated SVG Thinking & Typing Card */
.ai-thinking-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139, 120, 255, 0.14), rgba(99, 228, 207, 0.08));
  border: 1px solid rgba(168, 139, 255, 0.32);
}

.ai-thinking-orb-wrap {
  flex: 0 0 46px;
  height: 46px;
  display: grid;
  place-items: center;
}

.ai-thinking-svg {
  width: 46px;
  height: 46px;
  overflow: visible;
}

.ai-thinking-svg .ai-ring-outer {
  transform-origin: 28px 28px;
  animation: aiRingSpin 4.5s linear infinite;
}

.ai-thinking-svg .ai-ring-inner {
  transform-origin: 28px 28px;
  animation: aiRingSpinReverse 3s linear infinite;
}

.ai-thinking-svg .ai-core-spark {
  transform-origin: 28px 26.5px;
  animation: aiCorePulse 1.8s ease-in-out infinite;
}

.ai-thinking-body {
  flex: 1;
  min-width: 0;
}

.ai-thinking-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-thinking-title {
  font-size: 13.5px;
  color: #f3e8ff;
}

.ai-thinking-subtitle {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #b8c2e0;
}

[data-theme="white"] .ai-thinking-title {
  color: #3b0764 !important;
}

[data-theme="white"] .ai-thinking-subtitle {
  color: #475569 !important;
}

.ai-typing-wave-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.ai-typing-wave-svg .ai-wave-dot {
  animation: aiWaveBounce 1.2s ease-in-out infinite;
}

.ai-typing-wave-svg .ai-wave-dot.d2 {
  animation-delay: 0.18s;
}

.ai-typing-wave-svg .ai-wave-dot.d3 {
  animation-delay: 0.36s;
}

.ai-btn-thinking-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticket-ai-status-box {
  margin: 12px 0;
}

.ai-fresh-reveal {
  animation: aiMessageReveal 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes aiRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes aiRingSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes aiCorePulse {
  0%, 100% { transform: scale(0.86); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes aiWaveBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.55; }
  30% { transform: translateY(-3.5px); opacity: 1; }
}

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

/* Multi-Key OpenRouter Configuration Bar & Inputs */
.ai-configured-keys-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(99, 228, 207, 0.08);
  border: 1px solid rgba(99, 228, 207, 0.25);
}

.ai-configured-keys-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #63e4cf;
}

.ai-key-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(171, 155, 250, 0.24);
  color: #e2e8f0;
}

[data-theme="white"] .ai-key-pill {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

.ai-backup-keys-container {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.ai-backup-key-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-backup-key-row input {
  flex: 1;
}

.ai-clear-key-label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-top: 12px !important;
  cursor: pointer;
}

