/* Human Quality Brand Colors — override on top of DaisyUI business theme */

[data-theme="business"] {
  /* Primary: HQ Purple */
  --p: #6902CC;
  --pc: #ffffff;

  /* Secondary: HQ Blue */
  --s: #0074C8;
  --sc: #ffffff;

  /* Accent: HQ Magenta */
  --a: #E11282;
  --ac: #ffffff;

  /* Neutral: HQ Navy */
  --n: #1C244B;
  --nc: #ffffff;

  /* Base: Dark purple-tinted backgrounds */
  --b1: #13111a;
  --b2: #1a1725;
  --b3: #221e30;
  --bc: #e0dce8;

  /* Info: HQ Cyan */
  --in: #00D6FF;
  --inc: #001216;

  /* Success: keep a green but purple-tinted */
  --su: #36d399;
  --suc: #003320;

  /* Warning */
  --wa: #fbbd23;
  --wac: #1a1400;

  /* Error: HQ Magenta-red */
  --er: #f87272;
  --erc: #1f0000;
}

/* Sidebar with HQ Purple gradient */
.drawer-side .bg-base-200,
.drawer-side > div {
  background: linear-gradient(180deg, #1C244B 0%, #13111a 100%) !important;
}

/* Navbar with subtle purple */
.navbar {
  background: #1a1725 !important;
  border-bottom: 1px solid #6902CC33;
}

/* Toggle switch uses HQ Magenta when checked */
.toggle:checked {
  --tglbg: #E11282;
  border-color: #E11282;
}

/* Primary buttons get HQ Purple */
.btn-primary {
  background-color: #6902CC;
  border-color: #6902CC;
  color: #ffffff;
}
.btn-primary:hover {
  background-color: #4E008B;
  border-color: #4E008B;
}

/* Accent buttons get HQ Magenta */
.btn-accent {
  background-color: #E11282;
  border-color: #E11282;
}

/* Success badge - keep green */
.badge-success {
  background-color: #36d399;
  color: #003320;
}

/* Info badge - HQ Cyan */
.badge-info {
  background-color: #00D6FF;
  color: #001216;
}

/* Error badge */
.badge-error {
  background-color: #f87272;
  color: #1f0000;
}

/* Warning badge */
.badge-warning {
  background-color: #fbbd23;
  color: #1a1400;
}

/* Cards with subtle purple border */
.card {
  border: 1px solid #6902CC22;
}

/* Stat cards */
.stat {
  border-color: #6902CC22;
}

/* Text accent colors matching brand */
.text-success { color: #36d399 !important; }
.text-info { color: #00D6FF !important; }
.text-error { color: #f87272 !important; }
.text-primary { color: #BD90F4 !important; }

/* Table zebra rows with purple tint */
.table-zebra tbody tr:nth-child(even) {
  background-color: #1a172510;
}

/* Sync progress card green border → HQ Cyan */
.border-success {
  border-color: #00D6FF !important;
}

/* Links */
a:hover {
  color: #BD90F4;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #13111a;
}
::-webkit-scrollbar-thumb {
  background: #6902CC44;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6902CC88;
}
