@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Colors */
  --primary: #0a1f33;
  --primary-light: #163654;
  --primary-dark: #05111c;
  --accent: #d80011;
  --accent-light: #f51e30;
  --accent-muted: #ffebee;
  --success: #10b981;
  --warning: #f59e0b;
  --info: #3b82f6;
  
  --bg-main: #f5f7fb;
  --bg-sidebar: #081629;
  --bg-card: #ffffff;
  --bg-panel: #ffffff;
  
  --border-color: #e2e8f0;
  --border-focus: #163654;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  
  /* Fonts */
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 20px 25px -5px rgba(15, 37, 55, 0.08), 0 10px 10px -5px rgba(15, 37, 55, 0.04);
  
  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  
  /* Layout sizes */
  --sidebar-width: 280px;
  --header-height: 70px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, input, select, textarea {
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* App Shell Layout */
#app {
  display: flex;
  min-height: 100vh;
  width: 100vw;
}

/* Sidebar Styling */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  transition: transform var(--transition-normal);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.exedy-logo {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: inline-block;
}

.brand-subtitle {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 600;
}

.sidebar-menu {
  flex: 1;
  overflow-y: auto;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-title {
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 1.5px;
  font-weight: 700;
  margin: 15px 0 5px 12px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
}

.menu-item.active {
  background: var(--accent);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(216, 0, 17, 0.3);
}

.menu-item i {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Main Area Container */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left var(--transition-normal);
}

/* Topbar Header */
.topbar {
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  position: sticky;
  top: 0;
  z-index: 90;
}

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

.menu-toggle {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-main);
  cursor: pointer;
  display: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

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

.page-title-area {
  display: flex;
  flex-direction: column;
}

.page-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

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

/* Global Instant Search Bar */
.search-wrapper {
  position: relative;
  width: 320px;
}

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

.search-input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 14px;
  background: #f8fafc;
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-light);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(22, 58, 84, 0.1);
}

/* User Badge */
.user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid white;
  box-shadow: var(--shadow-sm);
}

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

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

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

/* Page Frame/Body Container */
.page-container {
  padding: 30px;
  flex: 1;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
}

/* Rounded Dashboard Panels */
.panel {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 24px;
  margin-bottom: 24px;
  overflow: hidden;
}

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

.panel-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-title i {
  color: var(--accent);
}

/* Grid helper */
.grid-cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-cols-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }

/* Dashboard Cards */
.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transition: background var(--transition-fast);
}

.stat-card.accent::before {
  background: var(--accent);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(22, 58, 84, 0.2);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-light);
  transition: all var(--transition-fast);
}

.stat-card:hover .stat-icon {
  background: var(--primary-light);
  color: #ffffff;
}

.stat-card.accent:hover .stat-icon {
  background: var(--accent);
  color: #ffffff;
}

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

.stat-value {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* Primary buttons and actions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 4px 12px rgba(22, 58, 84, 0.25);
}

.btn-accent {
  background: var(--accent);
  color: var(--text-light);
}

.btn-accent:hover {
  background: var(--accent-light);
  box-shadow: 0 4px 12px rgba(216, 0, 17, 0.25);
}

.btn-secondary {
  background: #f1f5f9;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: #e2e8f0;
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1px solid var(--primary-light);
}

.btn-outline:hover {
  background: var(--primary-light);
  color: #ffffff;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* Beautiful Forms */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.form-control, .form-select {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  background: #ffffff;
  transition: all var(--transition-fast);
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(22, 58, 84, 0.1);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Premium Table View */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.table-premium {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  background: #ffffff;
}

.table-premium th {
  background: #f8fafc;
  color: var(--text-main);
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 2px solid var(--border-color);
  font-family: var(--font-title);
  white-space: nowrap;
}

.table-premium td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
}

.table-premium tbody tr {
  transition: background var(--transition-fast);
}

.table-premium tbody tr:hover {
  background: #f1f5f9;
}

.table-premium tbody tr.sub-row {
  background: #fafbfc;
}

.table-premium tbody tr.section-header {
  background: #e2e8f0;
}

.table-premium tbody tr.section-header td {
  font-weight: 800;
  font-family: var(--font-title);
  color: var(--primary);
  padding: 10px 18px;
  border-bottom: 2px solid #cbd5e1;
}

/* Product Reference Layout */
.ref-layout {
  display: flex;
  gap: 24px;
}

.ref-filters {
  width: 300px;
  flex-shrink: 0;
}

.ref-results {
  flex: 1;
}

/* Product Card Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(22, 58, 84, 0.15);
}

.product-card-img-wrapper {
  position: relative;
  padding-bottom: 100%;
  background: #f8fafc;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.product-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-card-badge.kit {
  background: var(--accent);
}

.product-card-badge.high-perf {
  background: #ea580c;
}

.product-card-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-part-no {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}

.product-card-brand {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 2px;
}

.product-card-model {
  font-size: 13px;
  color: var(--text-main);
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px;
}

.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
}

.spec-badge {
  background: #f1f5f9;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.product-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

.product-card-actions .btn {
  flex: 1;
}

/* Product Detail Page styling */
.detail-grid {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 30px;
}

.detail-img-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.detail-img-box {
  background: #f8fafc;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  aspect-ratio: 1;
}

.detail-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

.detail-img-box img:hover {
  transform: scale(1.05);
}

.detail-img-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px;
}

.gallery-thumb {
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumb.active {
  border-color: var(--accent);
}

.gallery-thumb img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.detail-brand-badge {
  display: inline-block;
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.detail-part-no {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}

.detail-desc {
  font-size: 16px;
  color: var(--text-main);
  font-weight: 500;
  margin-top: 4px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.spec-table-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.spec-label {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-value {
  color: var(--text-main);
  font-weight: 700;
}

.sales-talking-points {
  background: #f8fafc;
  border-left: 4px solid var(--accent);
  padding: 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.sales-talking-points h4 {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sales-talking-points ul {
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-main);
}

.sales-talking-points li {
  margin-bottom: 6px;
}

/* Category card layout */
.category-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(22, 58, 84, 0.2);
}

.category-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 16px;
  transition: all var(--transition-fast);
}

.category-card:hover .category-icon {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(216, 0, 17, 0.3);
}

.category-name {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.category-count {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Smart Product Finder wizard styles */
.finder-wizard {
  max-width: 800px;
  margin: 0 auto;
}

.wizard-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.wizard-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  transition: all var(--transition-fast);
}

.wizard-step.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(216, 0, 17, 0.15);
}

.wizard-step.completed {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.wizard-step-label {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-muted);
}

.wizard-step.active .wizard-step-label {
  color: var(--text-main);
  font-weight: 700;
}

.finder-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.finder-option {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
}

.finder-option:hover {
  border-color: var(--accent);
  background: rgba(216, 0, 17, 0.02);
}

.finder-option.selected {
  border-color: var(--accent);
  background: var(--accent-muted);
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(216, 0, 17, 0.1);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

/* Sales Script Generator Styles */
.script-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 24px;
}

.script-editor {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.script-preview-panel {
  background: #1e293b;
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.script-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.script-preview-title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.script-content-box {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-body);
  font-size: 15px;
  white-space: pre-wrap;
  flex: 1;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.6;
}

/* Product Card Generator Canvas Styles */
.card-gen-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 24px;
}

.card-gen-settings {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-gen-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 30px;
  min-height: 500px;
  position: relative;
}

.card-gen-canvas-wrapper {
  background: white;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 100%;
}

.card-gen-canvas-wrapper canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

.aspect-ratio-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ratio-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ratio-btn:hover {
  border-color: var(--primary-light);
}

.ratio-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.ratio-icon {
  width: 28px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.ratio-1-1 .ratio-icon { width: 20px; height: 20px; }
.ratio-4-5 .ratio-icon { width: 18px; height: 22px; }
.ratio-16-9 .ratio-icon { width: 28px; height: 16px; }

.ratio-label {
  font-size: 11px;
  font-weight: 700;
}

/* Download Center Document Grid */
.document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.document-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.document-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 58, 84, 0.15);
}

.doc-icon-wrapper {
  height: 100px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: var(--primary-light);
  margin-bottom: 12px;
  position: relative;
}

.document-card:hover .doc-icon-wrapper {
  background: var(--primary-light);
  color: #ffffff;
}

.doc-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.doc-badge.pdf { background: #ef4444; }
.doc-badge.xls { background: #10b981; }
.doc-badge.zip { background: #8b5cf6; }
.doc-badge.jpg { background: #3b82f6; }

.doc-name {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
}

.doc-meta {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 12px;
}

.doc-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.doc-actions .btn {
  flex: 1;
}

/* Campaign Toolkit Accordion & Styles */
.campaign-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: #ffffff;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal);
}

.campaign-card:hover {
  box-shadow: var(--shadow-md);
}

.campaign-header {
  padding: 20px 24px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
}

.campaign-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.campaign-badge {
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.campaign-badge.completed {
  background: var(--text-muted);
}

.campaign-title-text {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

.campaign-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}

.campaign-artwork-box {
  background: #f1f5f9;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.campaign-artwork-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  background: var(--bg-sidebar);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
}

.campaign-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Toast feedback messages */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--primary);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

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

.toast.success {
  border-left: 4px solid var(--success);
}

.toast.info {
  border-left: 4px solid var(--info);
}

.toast.warning {
  border-left: 4px solid var(--warning);
}

/* Quick Action Center */
.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quick-action-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-action-btn:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.quick-action-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-muted);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.quick-action-title {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

/* Mobile responsive bottom navigation */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--bg-sidebar);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  grid-template-columns: repeat(5, 1fr);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.mobile-nav-item i {
  font-size: 20px;
  margin-bottom: 2px;
}

.mobile-nav-item.active {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.04);
  border-top: 3px solid var(--accent);
}

/* Focus product card basic styling */
.focus-product-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
}
.focus-product-item img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}
.focus-product-info {
  flex: 1;
}

/* Sidebar backdrop overlay for mobile */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 37, 55, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.sidebar-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
    z-index: 1000;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
  .menu-toggle {
    display: block;
  }
  .topbar {
    padding: 0 20px;
  }
  .page-container {
    padding: 20px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .ref-layout {
    flex-direction: column;
  }
  .ref-filters {
    width: 100%;
  }
  
  /* Collapsible filters block */
  #btn-toggle-filters {
    display: inline-flex !important;
  }
  .ref-filters-body {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
  }
  .ref-filters-body.show {
    display: block;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 60px; /* Space for mobile nav */
  }
  .topbar {
    padding: 0 15px;
  }
  .topbar-right .search-wrapper {
    display: none; /* Hide top search on mobile */
  }
  .mobile-nav {
    display: grid;
  }
  
  /* Topbar user details hidden */
  .user-badge {
    padding: 4px !important;
    background: transparent !important;
    border: none !important;
  }
  .user-badge .user-info,
  .user-badge i.fa-chevron-down {
    display: none !important;
  }
  
  /* 2x2 grid stats on mobile */
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .stat-card {
    padding: 12px !important;
    gap: 10px !important;
  }
  .stat-icon {
    width: 42px !important;
    height: 42px !important;
    font-size: 18px !important;
  }
  .stat-value {
    font-size: 20px !important;
  }
  .stat-label {
    font-size: 11px !important;
  }
  
  /* Stack column layouts on mobile */
  .grid-cols-2, .grid-cols-3, .quick-action-grid {
    grid-template-columns: 1fr;
  }
  .grid-cols-12 {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .campaign-body {
    grid-template-columns: 1fr;
  }
  .script-layout, .card-gen-layout {
    grid-template-columns: 1fr;
  }
  .spec-table-list {
    grid-template-columns: 1fr;
  }
  
  /* Show space-efficient double column grid layouts */
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .product-card {
    border-radius: var(--radius-md) !important;
  }
  .product-card-img-wrapper {
    padding-bottom: 90% !important;
  }
  .product-card-info {
    padding: 10px !important;
  }
  .product-part-no {
    font-size: 13px !important;
  }
  .product-card-brand {
    font-size: 10px !important;
  }
  .product-card-model {
    font-size: 11px !important;
    height: 32px !important;
    margin-top: 4px !important;
  }
  .product-card-specs {
    display: none !important;
  }
  
  /* Double column documents */
  .document-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .document-card {
    padding: 10px !important;
  }
  .doc-icon-wrapper {
    height: 60px !important;
    font-size: 24px !important;
  }
  .doc-name {
    font-size: 11px !important;
    margin-top: 6px !important;
    height: 32px !important;
    overflow: hidden;
  }
  .doc-meta {
    font-size: 9px !important;
  }
  .doc-actions {
    margin-top: 8px !important;
    gap: 4px !important;
  }
  .doc-actions .btn {
    padding: 6px 2px !important;
    font-size: 10px !important;
  }
  
  /* Double column finder options */
  .finder-options {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .finder-option {
    padding: 14px 10px !important;
    font-size: 13px !important;
  }
  
  /* Hide overlapping wizard text labels */
  .wizard-step-label {
    display: none !important;
  }
  .wizard-steps {
    margin-bottom: 24px !important;
  }
  
  /* Detail Page actions 2x2 button grid */
  .detail-actions {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .detail-actions .btn, .detail-actions a.btn {
    width: 100% !important;
    padding: 10px 4px !important;
    font-size: 12px !important;
    margin: 0 !important;
  }
  
  /* Script generator preview layout header */
  .script-preview-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .script-preview-header .btn {
    width: 100%;
  }
  
  /* Campaign details copy button column */
  .campaign-details div:last-child {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  /* Focus monthly recommendation cards */
  .focus-product-item {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 10px;
  }
  .focus-product-item img {
    margin: 0 auto;
  }
  .focus-product-item .btn {
    width: 100%;
  }
  
  /* Card generator preview box responsive padding */
  .card-gen-preview {
    padding: 12px !important;
    min-height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-container {
    padding: 12px;
  }
}

/* ----------------------------------------------------
   DARK THEME STYLES (Implemented Enhancement)
   ---------------------------------------------------- */
body.dark-theme {
  --bg-main: #090e17;
  --bg-sidebar: #05080e;
  --bg-card: #121824;
  --bg-panel: #121824;
  
  --border-color: #1e293b;
  --border-focus: #3b82f6;
  
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-light: #f8fafc;
}

body.dark-theme .toast.info {
  background-color: #1e293b;
  color: #3b82f6;
}

body.dark-theme .btn-secondary {
  background-color: #1e293b;
  color: #f1f5f9;
  border-color: #334155;
}

body.dark-theme .btn-secondary:hover {
  background-color: #334155;
}

body.dark-theme .form-control,
body.dark-theme .form-select {
  background-color: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}

body.dark-theme .form-control:focus,
body.dark-theme .form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

body.dark-theme .table-premium th {
  background-color: #0f172a;
  color: #cbd5e1;
}

body.dark-theme .table-premium td {
  border-bottom-color: #1e293b;
}

body.dark-theme .table-premium tr:hover td {
  background-color: #1e293b;
}

body.dark-theme .spec-badge {
  background-color: #1e293b;
  color: #38bdf8;
}

body.dark-theme .category-card {
  background: #121824;
}

body.dark-theme .category-card:hover {
  border-color: var(--primary-light);
  background-color: #1e293b;
}

body.dark-theme .sidebar-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.theme-toggle:hover {
  background-color: var(--border-color);
  color: var(--primary-light);
}

body.dark-theme .theme-toggle:hover {
  background-color: #1e293b;
  color: #fbbf24 !important;
}

body.dark-theme .product-card-img-wrapper {
  background: #0f172a !important;
}

body.dark-theme .product-card-img-wrapper img {
  mix-blend-mode: normal !important;
}

/* ----------------------------------------------------
   MODAL DIALOG DIALOGS
   ---------------------------------------------------- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--bg-panel);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 600px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transform: translateY(-20px);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.modal.show .modal-content {
  transform: translateY(0);
}

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

.modal-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

body.dark-theme .modal-title {
  color: var(--text-light);
}

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

.close-btn:hover {
  color: var(--accent);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
}

/* ----------------------------------------------------
   CHATBOT & VOICE ASSISTANT STYLES
   ---------------------------------------------------- */
.chat-layout {
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-height) - 60px);
  background-color: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: var(--bg-main);
}

body.dark-theme .chat-messages {
  background-color: #0b0f19;
}

.chat-bubble {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
}

.chat-bubble.bot {
  align-self: flex-start;
  background-color: var(--bg-card);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.chat-bubble.user {
  align-self: flex-end;
  background-color: var(--primary);
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: var(--shadow-sm);
}

body.dark-theme .chat-bubble.user {
  background-color: var(--primary-light);
}

.chat-bubble .time {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
  text-align: right;
  display: block;
}

.chat-bubble.user .time {
  color: rgba(255, 255, 255, 0.7);
}

.chat-input-area {
  padding: 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
  background-color: var(--bg-panel);
}

.chat-input-area input {
  flex: 1;
}

/* Pulsing voice recording mode */
.voice-search-btn.recording {
  color: var(--accent) !important;
  animation: pulse-red 1.2s infinite;
  border-radius: 50%;
}

@keyframes pulse-red {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(216, 0, 17, 0.4);
    background-color: rgba(216, 0, 17, 0.1);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(216, 0, 17, 0);
    background-color: rgba(216, 0, 17, 0.2);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(216, 0, 17, 0);
    background-color: rgba(216, 0, 17, 0);
  }
}

/* ----------------------------------------------------
   🔐 LOGIN OVERLAY STYLES
   ---------------------------------------------------- */
.login-modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #05111c 0%, #0a1f33 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  transition: opacity var(--transition-normal);
}

.login-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

.login-brand {
  margin-bottom: 24px;
  text-align: center;
}

.login-card h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

body.dark-theme .login-card h3 {
  color: var(--text-light);
}

.login-card .input-group {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-card .input-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.login-card .input-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  background: var(--bg-main);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.login-card .input-group input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(22, 58, 84, 0.1);
}

.btn-login {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(216, 0, 17, 0.2);
}

.btn-login:hover {
  background: var(--accent-light);
  box-shadow: 0 6px 16px rgba(216, 0, 17, 0.35);
  transform: translateY(-2px);
}

/* ----------------------------------------------------
   📂 MULTI-FILE UPLOAD STYLES
   ---------------------------------------------------- */
.mkt-view-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.upload-container {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 45px 20px;
  text-align: center;
  background: rgba(22, 58, 84, 0.02);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

body.dark-theme .upload-container {
  border-color: #334155;
  background: rgba(22, 58, 84, 0.05);
}

.upload-container:hover, .upload-container.dragover {
  border-color: var(--primary-light);
  background: rgba(22, 58, 84, 0.06);
}

.upload-container h3 {
  font-family: var(--font-title);
  font-size: 18px;
  color: var(--primary);
}

body.dark-theme .upload-container h3 {
  color: var(--text-light);
}

.upload-container p {
  font-size: 13px;
  color: var(--text-muted);
}

.file-support-badge {
  font-size: 11px;
  background: #f1f5f9;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 500;
}

body.dark-theme .file-support-badge {
  background: #1e293b;
}

#selected-files-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#selected-files-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-main);
}

.btn-process {
  width: 100%;
  padding: 12px;
  background: var(--primary-light);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-process:hover {
  background: var(--primary);
  box-shadow: var(--shadow-md);
}

/* Themes colors override */
body.premium-mkt-theme {
  --primary-light: #2563eb;
  --accent: #1e40af;
}

body.clean-sales-theme {
  --primary-light: #0d9488;
  --accent: #0f766e;
}

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

/* ----------------------------------------------------
   🆕 QUICK LOGIN & FAB HELP STYLES
---------------------------------------------------- */
.quick-login-divider {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  line-height: 0.1em;
  margin: 24px 0 16px 0;
}

.quick-login-divider span {
  background: var(--bg-panel);
  padding: 0 10px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-login-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-quick-login {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-main);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.btn-quick-login i {
  font-size: 20px;
  width: 24px;
  text-align: center;
  transition: transform var(--transition-fast);
}

.btn-quick-login.mkt i {
  color: #2563eb;
}

.btn-quick-login.sales i {
  color: #0d9488;
}

.btn-quick-login div {
  display: flex;
  flex-direction: column;
}

.btn-quick-login strong {
  font-size: 13px;
  color: var(--text-main);
  font-weight: 700;
}

.btn-quick-login span {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

.btn-quick-login:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
  background: rgba(22, 58, 84, 0.02);
}

.btn-quick-login:hover i {
  transform: scale(1.15);
}

/* Floating Action Button (FAB) */
.fab-help {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.fab-help i {
  font-size: 18px;
}

.fab-help:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
}

@media (max-width: 768px) {
  .fab-help {
    bottom: 80px; /* Offset to sit above the mobile bottom nav */
    right: 16px;
    padding: 12px;
  }
  .fab-help span {
    display: none; /* Icon-only view on mobile */
  }
}

/* Help Guide Typographies */
.help-guide-section {
  margin-bottom: 20px;
}

.help-guide-section h4 {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.help-guide-section p {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 8px;
}

.help-guide-section ul {
  padding-left: 20px;
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.5;
  list-style-type: disc;
}

.help-guide-section li {
  margin-bottom: 6px;
}

/* Mock Download Zone */
.mock-download-box {
  background: rgba(22, 58, 84, 0.03);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-download-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-download-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ========================================== */
/* 🔎 SEARCH SUGGESTIONS DROPDOWN STYLING    */
/* ========================================== */
.search-suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  max-height: 320px;
  overflow-y: auto;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 6px;
}

body.dark-theme .search-suggestions-dropdown {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.suggestion-item:hover {
  background: rgba(216, 0, 17, 0.05);
}

body.dark-theme .suggestion-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.suggestion-item-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--primary-light);
  flex-shrink: 0;
}

body.dark-theme .suggestion-item-icon {
  background: #1e293b;
  color: var(--text-light);
}

.suggestion-item-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.suggestion-item-title {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

body.dark-theme .suggestion-item-title {
  color: var(--text-light);
}

.suggestion-item-desc {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-item-empty {
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ========================================== */
/* 🔑 ROLE QUICK SWITCHER PILL STYLING        */
/* ========================================== */
.role-switcher-pill {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 2px;
  margin-right: 12px;
}

body.dark-theme .role-switcher-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.role-switch-btn {
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

body.dark-theme .role-switch-btn {
  color: rgba(255, 255, 255, 0.6);
}

.role-switch-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

body.dark-theme .role-switch-btn.active {
  background: var(--primary-light);
  color: #ffffff;
}

body.premium-mkt-theme .role-switcher-pill {
  border-color: rgba(37, 99, 235, 0.2);
}

body.premium-mkt-theme .role-switch-btn.active {
  background: var(--primary-light);
  color: #ffffff;
}

body.clean-sales-theme .role-switcher-pill {
  border-color: rgba(216, 0, 17, 0.2);
}

body.clean-sales-theme .role-switch-btn.active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(216, 0, 17, 0.25);
}

/* ========================================== */
/* 🔄 FLOATING COMPARE DRAWER STYLING         */
/* ========================================== */
.compare-drawer {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 22, 41, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  width: 90%;
  max-width: 800px;
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.compare-drawer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.compare-drawer-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.compare-title {
  color: #ffffff;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.compare-title i {
  color: var(--accent-light);
}

.compare-drawer-items {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.compare-drawer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  animation: scaleIn 0.2s ease;
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.compare-drawer-item img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
}

.compare-drawer-item .btn-remove {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.compare-drawer-item .btn-remove:hover {
  color: var(--accent-light);
}

.compare-drawer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ========================================== */
/* 📊 COMPARATIVE SPECS TABLE STYLING         */
/* ========================================== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background: #ffffff;
}

body.dark-theme .compare-table {
  background: #0f172a;
}

.compare-table th, .compare-table td {
  padding: 16px;
  border: 1px solid var(--border-color);
  font-size: 13px;
  vertical-align: middle;
}

body.dark-theme .compare-table th, body.dark-theme .compare-table td {
  border-color: rgba(255, 255, 255, 0.15);
}

.compare-table th.spec-label-col {
  text-align: left;
  background: #f8fafc;
  font-weight: 700;
  width: 180px;
  color: var(--text-main);
}

body.dark-theme .compare-table th.spec-label-col {
  background: #1e293b;
  color: var(--text-light);
}

.compare-table td.spec-value-col {
  font-weight: 500;
  color: var(--text-main);
}

body.dark-theme .compare-table td.spec-value-col {
  color: var(--text-light);
}

.compare-diff-highlight {
  background: rgba(245, 158, 11, 0.05);
  font-weight: 700 !important;
}

body.dark-theme .compare-diff-highlight {
  background: rgba(245, 158, 11, 0.1);
}

.compare-table tr:hover {
  background: #f8fafc;
}

body.dark-theme .compare-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.compare-spec-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

body.dark-theme .compare-spec-checkbox-label {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.compare-spec-checkbox-label:hover {
  background: #e2e8f0;
}

body.dark-theme .compare-spec-checkbox-label:hover {
  background: #334155;
}

.compare-spec-checkbox-label input[type="checkbox"] {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.compare-spec-checkbox-label.active {
  background: var(--accent-light);
  color: #ffffff;
  border-color: var(--accent-light);
}

body.dark-theme .compare-spec-checkbox-label.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* Hiding rules for MKT and Sales specific menus */
body.clean-sales-theme .mkt-only {
  display: none !important;
}
body.premium-mkt-theme .sales-only {
  display: none !important;
}

/* Sidebar Notification Badge styling */
.menu-item {
  position: relative;
}
.menu-badge {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  margin-left: auto;
  box-shadow: 0 0 8px #ef4444;
}

/* Tabbed Layout for Panels */
.tab-container {
  display: flex;
  gap: 12px;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 20px;
}
.tab-btn {
  padding: 10px 16px;
  background: none;
  border: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
}
.tab-btn:hover {
  color: var(--primary-light);
}
.tab-btn.active {
  color: var(--primary-light);
  border-bottom-color: var(--primary-light);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* Quick Actions Toolbar inside Product Cards */
.card-action-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 12px;
  background: var(--background-muted);
  border-top: 1px dashed var(--border-color);
  gap: 8px;
}
.btn-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-color);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex: 1;
  text-decoration: none;
}
.btn-action-icon:hover {
  background: var(--primary-light);
  color: #ffffff;
  border-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(37,99,235,0.15);
}
body.dark-theme .btn-action-icon {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}
body.dark-theme .btn-action-icon:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Marketing Alert Cards */
.alert-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--background);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--border-color);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.alert-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.alert-badge {
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.alert-badge-red {
  background: #fee2e2;
  color: #ef4444;
}
.alert-badge-orange {
  background: #fef3c7;
  color: #d97706;
}
.alert-badge-blue {
  background: #e0e7ff;
  color: #4f46e5;
}

/* Media Status Selector styling */
.media-status-select {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 12px;
  font-weight: 700;
  background: #ffffff;
  color: var(--text-color);
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
}
.media-status-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}
body.dark-theme .media-status-select {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

/* AI Generator UI Styles */
.spinner-rotate {
  display: inline-block;
  animation: spin 1.2s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ai-card {
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ai-textarea {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 13px;
  line-height: 1.5;
  background: #ffffff;
  color: var(--text-color);
  outline: none;
  font-family: inherit;
  resize: vertical;
}
body.dark-theme .ai-textarea {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}
.ai-output-box {
  background: var(--background-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 13px;
  min-height: 80px;
  max-height: 200px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text-color);
}
.ai-image-preview {
  width: 100%;
  max-width: 320px;
  height: 240px;
  background: var(--background-muted);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
}
.ai-image-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ai-key-drawer {
  background: var(--background-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}.btn-line-share {
  background-color: #06c755;
  color: #ffffff;
  border: 1px solid #06c755;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease-in-out;
}
.btn-line-share:hover {
  background-color: #05b04b;
  border-color: #05b04b;
  box-shadow: 0 4px 6px rgba(6, 199, 85, 0.2);
}
.btn-line-share i {
  font-size: 16px;
}
.ai-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  margin-left: 10px;
  text-transform: uppercase;
}
.ai-status-badge.simulation {
  background-color: #fef3c7;
  color: #d97706;
  border: 1px solid #fcd34d;
}
.ai-status-badge.live {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

/* ========================================== */
/* 📊 DASHBOARD & CORE COMPONENT STYLES      */
/* ========================================== */
.dash-grid-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-top: 10px;
}
@media (max-width: 1024px) {
  .dash-grid-2-1 {
    grid-template-columns: 1fr;
  }
}
.dash-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.dash-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  color: var(--text-color);
}
.welcome-banner {
  background: linear-gradient(135deg, #0a1f33 0%, #1e293b 100%);
  border-radius: 12px;
  padding: 24px;
  color: #ffffff;
  margin-bottom: 24px;
}
.dash-progress-track {
  background: #e2e8f0;
  border-radius: 99px;
  height: 8px;
  overflow: hidden;
  margin-top: 8px;
  width: 100%;
}
.dash-progress-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.6s ease-out;
}
.dash-btn-outline {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}
.dash-btn-outline:hover {
  background: #2563eb;
  color: white;
}
.dash-quick-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.dash-quick-link-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
}
.dash-quick-link-card:hover {
  border-color: #2563eb;
  transform: translateY(-2px);
}
.media-status-select {
  padding: 4px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  font-size: 12px;
  background: #ffffff;
}
.alert-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: #f8fafc;
  border-left: 4px solid #cbd5e1;
  border-radius: 4px;
  font-size: 12px;
}

/* 🌙 Dark Mode Dashboard Adaptations */
body.dark-theme .dash-card {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}
body.dark-theme .dash-progress-track {
  background: #334155;
}
body.dark-theme .dash-btn-outline {
  background: #1e293b;
  color: #3b82f6;
  border-color: #334155;
}
body.dark-theme .dash-btn-outline:hover {
  background: #3b82f6;
  color: #ffffff;
}
body.dark-theme .dash-quick-link-card {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}
body.dark-theme .dash-quick-link-card:hover {
  border-color: #3b82f6;
}
body.dark-theme .alert-card {
  background: #0f172a;
  border-left-color: #475569;
  color: #cbd5e1;
}
body.dark-theme .media-status-select {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}
