@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600;700&display=swap";

/* src/styles.css */
:root {
  --bg-main: #080C14;
  --bg-card: rgba(16, 22, 36, 0.72);
  --bg-card-solid: #0F1624;
  --bg-card-elevated: #131C2E;
  --bg-sidebar: #060A11;
  --bg-input: #0F1828;
  --bg-hover: rgba(255, 255, 255, 0.03);
  --bg-row-hover: rgba(201, 169, 110, 0.04);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-highlight: rgba(201, 169, 110, 0.28);
  --border-strong: rgba(255, 255, 255, 0.12);
  --accent-gold: #C9A96E;
  --accent-gold-light: #DEC088;
  --accent-gold-hover: #D8B77C;
  --accent-gold-glow: rgba(201, 169, 110, 0.12);
  --accent-gold-glow-strong: rgba(201, 169, 110, 0.22);
  --blue: #60A5FA;
  --blue-bg: rgba(96, 165, 250, 0.12);
  --purple: #A78BFA;
  --purple-bg: rgba(167, 139, 250, 0.12);
  --success: #34D399;
  --success-bg: rgba(52, 211, 153, 0.12);
  --warning: #FBBF24;
  --warning-bg: rgba(251, 191, 36, 0.12);
  --danger: #F87171;
  --danger-bg: rgba(248, 113, 113, 0.12);
  --info: #38BDF8;
  --info-bg: rgba(56, 189, 248, 0.12);
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #4B5563;
  --text-gold: #C9A96E;
  --font-sans:
    "Plus Jakarta Sans",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Noto Sans",
    sans-serif;
  --font-serif:
    "Playfair Display",
    Georgia,
    serif;
  --sidebar-width: 260px;
  --navbar-height: 68px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 30px rgba(201, 169, 110, 0.18);
  --shadow-glow-blue: 0 0 30px rgba(96, 165, 250, 0.15);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --navbar-bg: rgba(8, 12, 20, 0.85);
  --theme-toggle-bg: rgba(255,255,255,0.04);
}
.light-theme {
  --bg-main: #F4F6FB;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-solid: #FFFFFF;
  --bg-card-elevated: #FFFFFF;
  --bg-sidebar: #FFFFFF;
  --bg-input: #F1F4F9;
  --bg-hover: rgba(0, 0, 0, 0.03);
  --bg-row-hover: rgba(201, 169, 110, 0.06);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-subtle: rgba(0, 0, 0, 0.05);
  --border-highlight: rgba(201, 169, 110, 0.35);
  --border-strong: rgba(0, 0, 0, 0.15);
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-gold: #B8924F;
  --accent-gold: #B8924F;
  --accent-gold-light: #C9A96E;
  --accent-gold-hover: #C9A96E;
  --accent-gold-glow: rgba(201, 169, 110, 0.10);
  --accent-gold-glow-strong: rgba(201, 169, 110, 0.18);
  --success: #059669;
  --success-bg: rgba(5, 150, 105, 0.10);
  --warning: #D97706;
  --warning-bg: rgba(217, 119, 6, 0.10);
  --danger: #DC2626;
  --danger-bg: rgba(220, 38, 38, 0.10);
  --blue: #2563EB;
  --blue-bg: rgba(37, 99, 235, 0.10);
  --purple: #7C3AED;
  --purple-bg: rgba(124, 58, 237, 0.10);
  --info: #0284C7;
  --info-bg: rgba(2, 132, 199, 0.10);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 30px rgba(201, 169, 110, 0.15);
  --navbar-bg: rgba(255, 255, 255, 0.90);
  --theme-toggle-bg: rgba(0,0,0,0.04);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  background-image:
    radial-gradient(
      ellipse at 0% 0%,
      rgba(201, 169, 110, 0.04) 0%,
      transparent 60%),
    radial-gradient(
      ellipse at 100% 100%,
      rgba(96, 165, 250, 0.03) 0%,
      transparent 60%);
  transition: background-color var(--transition-base), color var(--transition-base);
}
.light-theme body,
body.light-theme {
  background-image:
    radial-gradient(
      ellipse at 0% 0%,
      rgba(201, 169, 110, 0.06) 0%,
      transparent 60%),
    radial-gradient(
      ellipse at 100% 100%,
      rgba(37, 99, 235, 0.04) 0%,
      transparent 60%);
}
a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--accent-gold-light);
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 169, 110, 0.3);
}
.light-theme ::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
}
.light-theme ::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 169, 110, 0.5);
}
.page-wrapper {
  margin-left: var(--sidebar-width);
  padding-top: var(--navbar-height);
  min-height: 100vh;
}
.main-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.glass-card-elevated {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.glass-card-hover {
  transition: all var(--transition-base);
}
.glass-card-hover:hover {
  transform: translateY(-2px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-glow);
}
.gold-border-card {
  position: relative;
  border: 1px solid var(--border-highlight);
  background:
    linear-gradient(
      135deg,
      rgba(201, 169, 110, 0.06),
      rgba(201, 169, 110, 0.01));
}
.font-serif {
  font-family: var(--font-serif);
}
.text-primary {
  color: var(--text-primary);
}
.text-secondary {
  color: var(--text-secondary);
}
.text-muted {
  color: var(--text-muted);
}
.text-gold {
  color: var(--accent-gold);
}
.text-success {
  color: var(--success);
}
.text-danger {
  color: var(--danger);
}
.text-blue {
  color: var(--blue);
}
.text-purple {
  color: var(--purple);
}
.text-warning {
  color: var(--warning);
}
.title-gold {
  color: var(--accent-gold);
}
.sub-text {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}
.page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.label-caps {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-box-sm {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
}
.icon-box-lg {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
}
.icon-box svg {
  width: 20px;
  height: 20px;
}
.icon-box-sm svg {
  width: 16px;
  height: 16px;
}
.icon-box-lg svg {
  width: 26px;
  height: 26px;
}
.icon-box-gold {
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  border: 1px solid var(--border-highlight);
}
.icon-box-blue {
  background: var(--blue-bg);
  color: var(--blue);
  border: 1px solid rgba(96, 165, 250, 0.2);
}
.icon-box-green {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(52, 211, 153, 0.2);
}
.icon-box-purple {
  background: var(--purple-bg);
  color: var(--purple);
  border: 1px solid rgba(167, 139, 250, 0.2);
}
.icon-box-red {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(248, 113, 113, 0.2);
}
.icon-box-warning {
  background: var(--warning-bg);
  color: var(--warning);
  border: 1px solid rgba(251, 191, 36, 0.2);
}
.btn-gold {
  background:
    linear-gradient(
      135deg,
      #C9A96E 0%,
      #B8924F 100%);
  color: #0B0F17;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
  box-shadow: 0 2px 12px rgba(201, 169, 110, 0.25);
  white-space: nowrap;
  text-decoration: none;
}
.btn-gold:hover {
  background:
    linear-gradient(
      135deg,
      #D8B77C 0%,
      #C9A96E 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4);
  color: #0B0F17;
}
.btn-gold:active {
  transform: translateY(0);
}
.btn-gold:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.btn-danger {
  background: var(--danger-bg);
  color: var(--danger);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(248, 113, 113, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-base);
}
.btn-danger:hover {
  background: rgba(248, 113, 113, 0.2);
  border-color: rgba(248, 113, 113, 0.4);
}
.btn-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.btn-icon svg {
  width: 15px;
  height: 15px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}
.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 11px 16px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-appearance: none;
}
.form-control::placeholder {
  color: var(--text-muted);
  font-size: 13px;
}
.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}
textarea.form-control {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}
select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 36px;
}
select.form-control option {
  background-color: var(--bg-card-solid);
  color: var(--text-primary);
}
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
}
.custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.custom-table thead tr {
  border-bottom: 1px solid var(--border-color);
}
.custom-table th {
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 18px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-subtle);
}
.custom-table td {
  padding: 14px 18px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
  transition: background var(--transition-fast);
}
.custom-table tbody tr {
  transition: background var(--transition-fast);
}
.custom-table tbody tr:hover td {
  background: var(--bg-row-hover);
}
.custom-table tbody tr:last-child td {
  border-bottom: none;
}
.custom-table tbody tr:hover td:first-child {
  box-shadow: inset 3px 0 0 var(--accent-gold);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-gold {
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  border: 1px solid var(--border-highlight);
}
.badge-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(52, 211, 153, 0.25);
}
.badge-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(248, 113, 113, 0.25);
}
.badge-blue {
  background: var(--blue-bg);
  color: var(--blue);
  border: 1px solid rgba(96, 165, 250, 0.25);
}
.badge-purple {
  background: var(--purple-bg);
  color: var(--purple);
  border: 1px solid rgba(167, 139, 250, 0.25);
}
.badge-warning {
  background: var(--warning-bg);
  color: var(--warning);
  border: 1px solid rgba(251, 191, 36, 0.25);
}
.modal-overlay,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeOverlay 0.2s ease;
}
.modal-content,
.modal-panel {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(201, 169, 110, 0.08);
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.thumb-box {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
  background: var(--bg-card-solid);
}
.thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.avatar-gold {
  background:
    linear-gradient(
      135deg,
      #C9A96E,
      #B8924F);
  color: #0B0F17;
  box-shadow: 0 0 12px rgba(201, 169, 110, 0.3);
}
.avatar-sm {
  width: 28px;
  height: 28px;
  font-size: 11px;
}
.avatar-lg {
  width: 48px;
  height: 48px;
  font-size: 18px;
}
.status-select {
  padding: 5px 30px 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  outline: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px;
  -webkit-appearance: none;
}
.status-pending {
  background-color: rgba(251, 191, 36, 0.12);
  color: #FBBF24;
  border-color: rgba(251, 191, 36, 0.25);
}
.status-contacted {
  background-color: var(--blue-bg);
  color: var(--blue);
  border-color: rgba(96, 165, 250, 0.25);
}
.status-completed {
  background-color: var(--success-bg);
  color: var(--success);
  border-color: rgba(52, 211, 153, 0.25);
}
.status-cancelled {
  background-color: var(--danger-bg);
  color: var(--danger);
  border-color: rgba(248, 113, 113, 0.25);
}
.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.toggle-switch input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-track {
  width: 36px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  position: relative;
  transition: all var(--transition-base);
  cursor: pointer;
}
.toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all var(--transition-base);
}
.toggle-track.active {
  background: var(--success-bg);
  border-color: rgba(52, 211, 153, 0.3);
}
.toggle-track.active::after {
  background: var(--success);
  left: calc(100% - 15px);
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}
.empty-state-icon svg {
  width: 28px;
  height: 28px;
  color: var(--text-muted);
}
.empty-state h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.empty-state p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 320px;
  margin: 0 auto;
}
.skeleton {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 25%,
      rgba(255, 255, 255, 0.08) 50%,
      rgba(255, 255, 255, 0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes fadeOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.animate-in {
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.card-top-bar h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(52, 211, 153, 0.25);
}
.alert-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(248, 113, 113, 0.25);
}
.alert-gold {
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  border: 1px solid var(--border-highlight);
}
.light-theme .custom-table th {
  background: rgba(0, 0, 0, 0.02);
  color: var(--text-muted);
}
.light-theme .toggle-track {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
}
.light-theme .skeleton {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.05) 25%,
      rgba(0, 0, 0, 0.10) 50%,
      rgba(0, 0, 0, 0.05) 75%);
  background-size: 200% 100%;
}
.light-theme .empty-state-icon {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.07);
}
.light-theme .btn-secondary {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.10);
}
.light-theme .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.08);
}
.light-theme .form-control {
  background: var(--bg-input);
  color: var(--text-primary);
  border-color: var(--border-color);
}
.light-theme .form-control::placeholder {
  color: var(--text-muted);
}
.light-theme .glass-card {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
  border-color: var(--border-color);
}
.light-theme .glass-card-elevated {
  background: #FFFFFF;
  border-color: var(--border-subtle);
}
.light-theme .tabs-bar {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.10) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.light-theme .tabs-bar .tab-btn {
  color: #334155;
}
.light-theme .tabs-bar .tab-btn:hover {
  color: #0F172A;
  background: rgba(0, 0, 0, 0.05);
}
.light-theme .tabs-bar .tab-btn.active {
  color: #8C6D23;
  background: rgba(201, 169, 110, 0.16);
  border-color: rgba(184, 146, 79, 0.45);
}
.light-theme .tabs-bar .tab-count {
  background: #E2E8F0;
  color: #475569;
}
.light-theme .tabs-bar .tab-btn.active .tab-count {
  background: #B8924F;
  color: #FFFFFF;
}
.light-theme .modal-overlay {
  background: rgba(0, 0, 0, 0.5);
}
.light-theme .modal-content {
  background: #FFFFFF;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.20);
}
.light-theme .spinner {
  border-color: rgba(0, 0, 0, 0.12);
  border-top-color: currentColor;
}
.badge-green {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(52, 211, 153, .25);
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-red {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(248, 113, 113, .25);
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-grey {
  background: rgba(255, 255, 255, .04);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.order-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}
.detail-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}
.detail-section:last-child {
  border-bottom: none;
}
.detail-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.detail-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.detail-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.detail-val {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
}
.stat-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}
.stat-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 14px;
  border-bottom: 1px solid var(--border-color);
}
.table-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.table-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gold-glow);
  border: 1px solid var(--border-highlight);
  color: var(--accent-gold);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.form-control select,
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px !important;
  cursor: pointer;
}
@media (max-width: 1200px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}
.table-card {
  padding: 0;
  overflow: hidden;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 900px;
}
.data-table thead tr {
  border-bottom: 1px solid var(--border-color);
}
.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.01);
}
.data-table td {
  padding: 13px 16px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}
.data-table tbody tr {
  transition: background 0.15s;
}
.data-table tbody tr:last-child td {
  border-bottom: none;
}
.data-table tbody tr:hover {
  background: var(--bg-row-hover);
}
.data-table th:nth-child(1),
.data-table td:nth-child(1) {
  width: 140px;
  min-width: 130px;
}
.data-table th:nth-child(2),
.data-table td:nth-child(2) {
  min-width: 160px;
}
.data-table th:nth-child(3),
.data-table td:nth-child(3) {
  width: 80px;
  text-align: center;
}
.data-table th:nth-child(4),
.data-table td:nth-child(4) {
  width: 100px;
}
.data-table th:nth-child(5),
.data-table td:nth-child(5) {
  width: 140px;
}
.data-table th:nth-child(6),
.data-table td:nth-child(6) {
  width: 100px;
}
.data-table th:nth-child(7),
.data-table td:nth-child(7) {
  width: 140px;
}
.data-table th:nth-child(8),
.data-table td:nth-child(8) {
  width: 200px;
  min-width: 180px;
}
.data-table td:nth-child(8) > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.data-table td:nth-child(8) select.form-control {
  width: 120px;
  padding: 5px 30px 5px 10px;
  font-size: 12px;
  height: auto;
  min-height: unset;
}
.table-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
}
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 16px;
  color: var(--text-muted);
  font-size: 13px;
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 13px;
}
.modal-body {
  overflow-y: auto;
  max-height: 75vh;
  padding: 24px;
}
.modal-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.modal-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  line-height: 1;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
