@property --shadow-clr {
  syntax: "<color>";
  inherits: false;
  initial-value: teal
}

:root {
  --clr: black;
  --shadow-s: inset 0 1px 2px hsla(from var(--clr)h s l/.1), 0 1px 2px hsla(from var(--clr)h s l/.1), 0 2px 4px hsla(from var(--clr)h s l/.1);
  --shadow-m: inset 0 1px 2px hsla(from var(--clr)h s l/.1), 0 2px 4px hsla(from var(--clr)h s l/.1), 0 4px 8px hsla(from var(--clr)h s l/.1);
  --shadow-l: inset 0 1px 2px hsla(from var(--clr)h s l/.1), 0 4px 6px hsla(from var(--clr)h s l/.1), 0 6px 10px hsla(from var(--clr)h s l/.1);
  --font-size-xs: 0.64rem;
  --font-size-sm: 0.8rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5625rem;
  --font-size-2xl: 1.953125rem
}

/* Animated Background Blobs */
.flex-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.light-theme .flex-bg {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
}

.flex-bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
  animation: flex-blob-float 25s ease-in-out infinite;
}

.flex-bg__blob--purple {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  opacity: 0.35;
  top: -15%;
  left: -10%;
  animation-delay: 0s;
}

.flex-bg__blob--blue {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  opacity: 0.3;
  top: 10%;
  right: -12%;
  animation-delay: -8s;
}

.flex-bg__blob--gold {
  width: 550px;
  height: 550px;
  background: linear-gradient(135deg, #fbbf24 0%, #fcd34d 100%);
  opacity: 0.25;
  bottom: -12%;
  left: 25%;
  animation-delay: -16s;
}

.flex-bg__blob--teal {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%);
  opacity: 0.2;
  bottom: 15%;
  right: 5%;
  animation-delay: -20s;
}

@keyframes flex-blob-float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, -40px) scale(1.05);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  75% {
    transform: translate(15px, 35px) scale(1.02);
  }
}

/* =============================================================================
   Content Container Themes
   ============================================================================= */

.flex-content-container {
  border-radius: var(--border-radius-md);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.flex-content-container--dark {
  background: hsla(from var(--bg-color-primary) h s l / 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.flex-content-container--light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* =============================================================================
   Light Theme Base Styles
   ============================================================================= */

.light-theme {
  color: #1a1a1a;
}

.light-theme h1,
.light-theme h2,
.light-theme h3,
.light-theme h4 {
  color: #111827;
}

/* Light theme title */
.light-theme .flex-title__info-btn {
  color: #6b7280;
}

.light-theme .flex-title__info-btn:hover {
  color: #374151;
  background: rgba(0, 0, 0, 0.05);
}

/* Light theme data browser */
.light-theme .data-browser {
  background: transparent;
}

.light-theme .data-browser__toolbar {
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.light-theme .rdt_Table,
.light-theme .rdt_TableWrapper,
.light-theme .rdt_TableBody {
  background-color: transparent !important;
}

.light-theme .rdt_TableHead {
  background: rgba(0, 0, 0, 0.02);
}

.light-theme .rdt_TableHeadRow {
  background: transparent !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.light-theme .rdt_TableRow {
  background: transparent !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.light-theme .rdt_TableRow:hover {
  background: rgba(0, 0, 0, 0.03) !important;
}

.light-theme .rdt_TableCell,
.light-theme .rdt_TableCol {
  color: #374151 !important;
}

.light-theme .rdt_Pagination {
  background: transparent !important;
  color: #374151 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* NoData and Progress wrappers - catch styled-component wrappers */
.light-theme [class*="NoData"],
.light-theme [class*="Progress"],
.light-theme .data-table-no-data,
.light-theme .data-table-loading,
.light-theme .rdt_Table > div:not([class*="rdt_"]) {
  background: transparent !important;
  background-color: transparent !important;
}

/* Make loading spinner sticky in scrollable table */
.light-theme .rdt_TableWrapper > div:first-child:not(.rdt_Table),
.dark-theme .rdt_TableWrapper > div:first-child:not(.rdt_Table) {
  position: sticky !important;
  top: 40% !important;
  z-index: 100 !important;
}

/* Hide scrollbars in data tables */
.rdt_TableWrapper,
.rdt_Table,
.rdt_TableBody {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.rdt_TableWrapper::-webkit-scrollbar,
.rdt_Table::-webkit-scrollbar,
.rdt_TableBody::-webkit-scrollbar {
  display: none;
}

/* Light theme settings */
.light-theme .settings-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.light-theme .settings-card__header {
  background: rgba(0, 0, 0, 0.02);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.light-theme .settings-card__icon {
  color: #d97706;
}

.light-theme .settings-card__title {
  color: #111827;
}

.light-theme .settings-profile__avatar {
  border-color: rgba(217, 119, 6, 0.3);
}

.light-theme .settings-profile__field-icon {
  background: rgba(0, 0, 0, 0.05);
}

.light-theme .settings-profile__field-icon i {
  color: #6b7280;
}

.light-theme .settings-profile__field-label {
  color: #6b7280;
}

.light-theme .settings-profile__field-value {
  color: #111827;
}

.light-theme .settings-theme__description {
  color: #6b7280;
}

.light-theme .settings-theme__option {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

.light-theme .settings-theme__option:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.15);
}

.light-theme .settings-theme__option--active {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.3);
}

.light-theme .settings-theme__option--active:hover {
  background: rgba(217, 119, 6, 0.15);
}

.light-theme .settings-theme__option-icon {
  background: rgba(0, 0, 0, 0.05);
}

.light-theme .settings-theme__option--active .settings-theme__option-icon {
  background: rgba(217, 119, 6, 0.2);
}

.light-theme .settings-theme__option-icon i {
  color: #6b7280;
}

.light-theme .settings-theme__option--active .settings-theme__option-icon i {
  color: #d97706;
}

.light-theme .settings-theme__option-label {
  color: #111827;
}

.light-theme .settings-theme__option-desc {
  color: #6b7280;
}

.light-theme .settings-theme__option-check {
  background: #d97706;
}

/* Light theme horizontal stepper */
.light-theme .horizontal-stepper {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.light-theme .horizontal-stepper__circle--complete {
  background: #d1fae5;
  border-color: #10b981;
}

.light-theme .horizontal-stepper__circle--current {
  background: #fef3c7;
  border-color: #d97706;
}

.light-theme .horizontal-stepper__circle--inactive {
  background: #f3f4f6;
  border-color: #e5e7eb;
}

.light-theme .horizontal-stepper__icon--complete {
  color: #10b981;
}

.light-theme .horizontal-stepper__icon--incomplete {
  color: #6b7280;
}

.light-theme .horizontal-stepper__label--complete {
  color: #10b981;
}

.light-theme .horizontal-stepper__label--current {
  color: #d97706;
}

.light-theme .horizontal-stepper__label--inactive {
  color: #6b7280;
}

.light-theme .horizontal-stepper__progress-line {
  background: #e5e7eb;
}

.light-theme .horizontal-stepper__progress-line--complete {
  background: #10b981;
}

.light-theme .horizontal-stepper__summary-title {
  color: #111827;
}

.light-theme .horizontal-stepper__summary-subtitle {
  color: #6b7280;
}

.light-theme .horizontal-stepper .input-button {
  background: transparent !important;
  color: #374151 !important;
}

/* Light theme buttons */
.light-theme .input-button.button-filled {
  color: white;
}

.light-theme .input-button.button-filled[style*="#ffd60a"] {
  color: #1a1a1a !important;
}

/* Light theme service areas */
.light-theme .flex-service-areas-view__sidebar {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.08);
  color: #1a1a1a;
}

.light-theme .flex-instruction-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.light-theme .flex-instruction-card__header {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.light-theme .flex-instruction-card__step {
  background: #d97706;
  color: white;
}

.light-theme .flex-instruction-card__title {
  color: #111827;
}

.light-theme .flex-instruction-card__text {
  color: #374151;
}

.light-theme .flex-instruction-card__list li {
  color: #4b5563;
}

/* Light theme geo tier cards */
.light-theme .flex-geo-tiers-accordion__label {
  color: #6b7280;
}

.light-theme .flex-geo-tier-header__name {
  color: #374151;
}

.light-theme .flex-geo-tier-header__stats {
  color: #6b7280;
}

.light-theme .flex-geo-tier-card-expandable__details {
  color: #374151;
}

/* Light theme territory fee */
.light-theme .flex-territory-fee-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.light-theme .flex-territory-fee-card__header {
  color: #111827;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.light-theme .flex-territory-fee-card__label {
  color: #6b7280;
}

.light-theme .flex-territory-fee-card__value {
  color: #111827;
}

.light-theme .flex-disclaimers-section__text {
  color: #6b7280;
}

/* Light theme ZIP input */
.light-theme .flex-zip-input {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

.light-theme .flex-zip-input__icon {
  color: #6b7280;
}

.light-theme .flex-zip-input__field {
  color: #111827;
  background: transparent;
}

.light-theme .flex-zip-input__field::placeholder {
  color: #9ca3af;
}

.theme-dark {
  --clr: white;
  background-color: #000;
  padding: 25px;

  & div {
    background: #1a1b1b
  }
}

.shadow-s {
  box-shadow: inset 0 1px 2px hsla(from var(--clr)h s l/.1), 0 1px 2px hsla(from var(--clr)h s l/.1), 0 2px 4px hsla(from var(--clr)h s l/.1)
}

.shadow-m {
  box-shadow: inset 0 1px 2px hsla(from var(--clr)h s l/.1), 0 2px 4px hsla(from var(--clr)h s l/.1), 0 4px 8px hsla(from var(--clr)h s l/.1)
}

.shadow-l {
  box-shadow: inset 0 1px 2px hsla(from var(--clr)h s l/.1), 0 4px 6px hsla(from var(--clr)h s l/.1), 0 6px 10px hsla(from var(--clr)h s l/.1)
}

#flex-sidebar {
  & button {
    border-radius: 0
  }

  & .flex-sidebar--group-label {
    text-transform: capitalize;
    padding: 6px 12px;
    font-size: .85rem;
    font-weight: 600
  }

  & .menu-item-label {
    width: 100%;
    font-weight: 400
  }

  &[data-minify=true] {
    padding: 8px;

    & .flex-sidebar--group {
      gap: 8px;
      display: grid
    }

    & button {
      border-radius: 6px
    }
  }
}

.maplibregl-ctrl-top-left {
  top: 10px !important;
  left: 10px !important
}

.maplibregl-ctrl-geocoder {
  margin: 0 !important
}

.batch-header {
  background: #fafafa;
  border-bottom: 1px solid #eaeaea;
  border-radius: 12px 12px 0 0;
  padding: 20px
}

.batch-header b {
  color: #333;
  font-size: 1.1rem;
  font-weight: 600
}

.batch-header p {
  color: #666;
  margin: 8px 0;
  font-size: .95rem
}

.batch-header--remove-btn {
  color: #666;
  cursor: pointer;
  z-index: 1;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transition: all .2s;
  display: flex;
  box-shadow: 0 2px 4px #00000014
}

.batch-header--remove-btn:hover {
  color: #fff;
  background: #ef4444;
  border-color: #ef4444;
  transform: scale(1.1);
  box-shadow: 0 4px 8px #ef444426
}

.batch-header--remove-btn:active {
  transform: scale(.95);
  box-shadow: 0 2px 4px #ef44441a
}

.process-card {
  opacity: 1;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  width: 100%;
  padding: 16px 20px;
  transition: all .2s;
  box-shadow: 0 2px 8px #00000014
}

.process-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #0000001f
}

.process-card--container {
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: relative
}

.process-card--container[data-dragging=true] {
  opacity: .3;
  box-shadow: 0 8px 16px #0000001f
}

.process-card--remove-button {
  color: #666;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  transition: all .2s;
  display: none;
  position: absolute;
  right: 8px
}

.process-card--remove-button:hover {
  color: var(--hover-color-warning);
  background: #fff5f5
}

.process-card--container:hover>.process-card--remove-button {
  display: block
}

.flex-process-item {
  cursor: grab;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  min-height: auto;
  margin: 4px 0;
  padding: 10px 12px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: visible;
  box-shadow: 0 1px 3px #0000000d
}

.flex-process-item:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #0000001f
}

.flex-process-item:active {
  cursor: grabbing;
  transform: translateY(0)
}

.flex-process-item.flex-current-step.flex-to-do {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
  border: 2px solid #6366f1 !important;
  box-shadow: 0 4px 12px #6366f133 !important
}

.flex-process-item.flex-current-step.flex-to-do:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px #6366f14d !important
}

.flex-process-item.flex-current-step.flex-to-do:before {
  content: "";
  background: linear-gradient(90deg, #6366f1, #4f46e5);
  border-radius: 8px 8px 0 0;
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0
}

.flex-process-item.flex-current-step.flex-doing {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
  border: 2px solid #f59e0b !important;
  box-shadow: 0 4px 12px #f59e0b33 !important
}

.flex-process-item.flex-current-step.flex-doing:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px #f59e0b4d !important
}

.flex-process-item.flex-current-step.flex-doing:before {
  content: "";
  background: linear-gradient(90deg, #f59e0b, #d97706);
  border-radius: 8px 8px 0 0;
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0
}

.flex-process-item.flex-current-step {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%) !important;
  border: 2px solid #6b7280 !important;
  box-shadow: 0 4px 12px #6b728033 !important
}

.flex-process-item.flex-current-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px #6b72804d !important
}

.flex-process-item.flex-current-step:before {
  content: "";
  background: linear-gradient(90deg, #6b7280, #4b5563);
  border-radius: 8px 8px 0 0;
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0
}

.flex-process-item.flex-completed-step {
  opacity: .8;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
  border: 2px solid #10b981 !important;
  box-shadow: 0 2px 8px #10b98126 !important
}

.flex-process-item.flex-completed-step:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #10b98140 !important
}

.flex-process-item.flex-completed-step:before {
  content: "";
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 8px 8px 0 0;
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0
}

.flex-process-item.flex-completed-step:after {
  content: "✓";
  color: #fff;
  z-index: 10;
  background: #10b981;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  position: absolute;
  top: 8px;
  right: 8px
}

.flex-process-item .drag-handle {
  color: #94a3b8;
  opacity: .7;
  margin-right: 6px;
  font-size: 12px;
  line-height: 1;
  transition: opacity .2s
}

.flex-process-item:hover .drag-handle {
  opacity: 1
}

.flex-process-item .process-name {
  color: #1e293b;
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3
}

.flex-process-item.flex-current-step.flex-to-do .process-name {
  color: #312e81;
  font-weight: 700
}

.flex-process-item.flex-current-step.flex-doing .process-name {
  color: #92400e;
  font-weight: 700
}

.flex-process-item.flex-current-step .process-name {
  color: #374151;
  font-weight: 700
}

.flex-process-item.flex-completed-step .process-name {
  color: #666;
  font-weight: 500
}

.flex-process-item .remove-btn {
  color: #fff;
  cursor: pointer;
  opacity: 0;
  background: #ef4444;
  border: none;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  font-size: 10px;
  line-height: 1;
  transition: all .2s;
  display: flex
}

.flex-process-item:hover .remove-btn {
  opacity: 1
}

.flex-process-item .remove-btn:hover {
  background: #dc2626;
  transform: scale(1.1)
}

.flex-process-item .circular-remove-btn {
  opacity: 0;
  transition: all .2s;
  transform: scale(.8)
}

.flex-process-item:hover .circular-remove-btn {
  opacity: 1;
  transform: scale(1)
}

.flex-process-item .circular-remove-btn:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 4px 8px #ef44444d !important
}

.flex-process-item .workstations {
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  margin-top: 6px;
  padding-top: 6px;
  font-size: 10px;
  line-height: 1.3
}

.flex-process-item .workstation-link {
  color: #3b82f6;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s
}

.flex-process-item .workstation-link:hover {
  color: #1d4ed8;
  text-decoration: underline
}

.flex-process-item.flex-current-step.flex-to-do .workstations {
  border-top-color: #c7d2fe
}

.flex-process-item.flex-current-step.flex-to-do .workstation-link {
  color: #4338ca
}

.flex-process-item.flex-current-step.flex-to-do .workstation-link:hover {
  color: #3730a3
}

.flex-process-item.flex-current-step.flex-doing .workstations {
  border-top-color: #fde68a
}

.flex-process-item.flex-current-step.flex-doing .workstation-link {
  color: #b45309
}

.flex-process-item.flex-current-step.flex-doing .workstation-link:hover {
  color: #92400e
}

.flex-process-item.flex-current-step .workstations {
  border-top-color: #e5e7eb
}

.flex-process-item.flex-current-step .workstation-link {
  color: #4b5563
}

.flex-process-item.flex-current-step .workstation-link:hover {
  color: #374151
}

.flex-process-item.flex-completed-step .workstations {
  border-top-color: #a7f3d0
}

.flex-process-item.flex-completed-step .workstation-link {
  color: #059669;
  opacity: .8
}

.flex-process-item.flex-completed-step .workstation-link:hover {
  color: #047857;
  opacity: 1
}

.flex-process-item[data-dragging=true] {
  opacity: .8;
  z-index: 1000;
  transform: rotate(2deg)scale(1.03);
  box-shadow: 0 8px 25px #0003
}

.flex-recipe-item {
  color: #1e293b;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  margin: 4px 0;
  padding: 10px 12px;
  transition: all .3s;
  box-shadow: 0 1px 3px #0000000d
}

.flex-recipe-item:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #0000001f
}

.flex-recipe-item .recipe-name {
  color: #1e293b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3
}

.flex-recipe-item .recipe-details {
  color: #64748b;
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.3
}

.flex-recipe-item .recipe-badge {
  color: #fff;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700
}

.batch-card {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  margin: 16px 0;
  padding: 0;
  transition: all .3s;
  overflow: hidden;
  box-shadow: 0 4px 6px #0000000d
}

.batch-card[data-confirmed=true] {
  background: #f0fdf4;
  border-color: #10b981;
  box-shadow: 0 4px 12px #10b98126
}

.batch-card[data-confirmed=true]:before {
  content: "";
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 8px 8px 0 0;
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0
}

.batch-header {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  display: flex
}

.batch-info {
  flex: 1;
  align-items: center;
  gap: 12px;
  display: flex
}

.batch-part-image {
  object-fit: cover;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  width: 40px;
  height: 40px
}

.batch-details {
  flex-direction: column;
  gap: 4px;
  display: flex
}

.batch-name-input {
  color: #1e293b;
  background: 0 0;
  border: none;
  outline: none;
  padding: 0;
  font-size: 16px;
  font-weight: 700
}

.batch-name-input:focus {
  color: #3b82f6
}

.batch-color-info {
  color: #64748b;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  display: flex
}

.batch-color-dot {
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 12px;
  height: 12px
}

.batch-step-indicator {
  color: #64748b;
  background: #f1f5f9;
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  display: flex
}

.batch-step-indicator .step-number {
  color: #3b82f6;
  font-weight: 700
}

.batch-controls {
  align-items: center;
  gap: 12px;
  display: flex
}

.batch-quantity {
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 600
}

.batch-split-btn {
  cursor: pointer;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 16px;
  transition: all .2s
}

.batch-split-btn:hover {
  background: #e2e8f0;
  transform: scale(1.05)
}

.batch-processes {
  min-height: 100px;
  padding: 16px 20px
}

.droppable-area {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  min-height: 80px;
  padding: 12px;
  transition: all .3s
}

.droppable-area.drag-over {
  background: #eff6ff;
  border-color: #3b82f6;
  box-shadow: inset 0 0 0 1px #3b82f6
}

.droppable-area.empty {
  text-align: center;
  color: #64748b;
  padding: 24px 20px
}

.droppable-area.empty .drop-message {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500
}

.droppable-area.empty .drop-icons {
  opacity: .6;
  font-size: 20px
}

/* Instruction cards */
.dark-theme .flex-instruction-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .flex-instruction-card__step {
  background: #ffd60a;
  color: #1a1a1a;
}

.dark-theme .flex-instruction-card__title,
.dark-theme .flex-instruction-card__text,
.dark-theme .flex-instruction-card__list {
  color: rgba(255, 255, 255, 0.85);
}

/* Territory fee card */
.dark-theme .flex-territory-fee-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .flex-territory-fee-card__header,
.dark-theme .flex-territory-fee-card__value {
  color: white;
}

.dark-theme .flex-territory-fee-card__label {
  color: rgba(255, 255, 255, 0.6);
}

.dark-theme .flex-territory-fee-card__row--final {
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* Disclaimers section */
.dark-theme .flex-disclaimers-section {
  background: rgba(255, 255, 255, 0.05);
}

.dark-theme .flex-disclaimers-section__text {
  color: rgba(255, 255, 255, 0.7);
}

.dark-theme .flex-disclaimers-section__text:first-child {
  color: rgba(255, 255, 255, 0.9);
}

/* Service area summary card */
.dark-theme .flex-service-area-summary-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .flex-service-area-summary-card__header,
.dark-theme .flex-service-area-summary-card__value {
  color: white;
}

.dark-theme .flex-service-area-summary-card__label {
  color: rgba(255, 255, 255, 0.6);
}

.dark-theme .flex-service-area-summary-card__row--highlight {
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* Sidebar step content headers */
.dark-theme .flex-sidebar-step-content__header h3 {
  color: white;
}

.dark-theme .flex-sidebar-step-content__header p {
  color: rgba(255, 255, 255, 0.6);
}

/* Geo tier accordion */
.dark-theme .flex-geo-tiers-accordion__label {
  color: rgba(255, 255, 255, 0.6);
}

.dark-theme .flex-geo-tier-card-expandable {
  background: rgba(255, 255, 255, 0.03);
}

.dark-theme .flex-geo-tier-card-expandable.has-zips {
  background: rgba(255, 255, 255, 0.05);
}

.dark-theme .flex-geo-tier-card-expandable__detail-label {
  color: rgba(255, 255, 255, 0.6);
}

.dark-theme .flex-geo-tier-card-expandable__detail-value {
  color: white;
}

.dark-theme .flex-geo-tier-card-expandable__zips-header {
  color: rgba(255, 255, 255, 0.6);
}

.dark-theme .flex-geo-tier-zip-chip__pop {
  color: rgba(255, 255, 255, 0.6);
}

/* ZIP input */
.dark-theme .flex-facility-zip-input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.dark-theme .flex-facility-zip-input:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.dark-theme .flex-facility-zip-input__label {
  color: rgba(255, 255, 255, 0.6);
}

.dark-theme .flex-facility-zip-input__input {
  color: white;
}

.dark-theme .flex-facility-zip-input__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.dark-theme .flex-facility-zip-input__button {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

.dark-theme .flex-facility-zip-input__button:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

/* Partner badge */
.dark-theme .flex-partner-badge--founding {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(245, 158, 11, 0.3) 100%);
  color: #fbbf24;
}

.dark-theme .flex-partner-badge--premier {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
  color: #a5b4fc;
}

/* Loading spinner */
.dark-theme .flex-loading-spinner__title {
  color: white;
}

.dark-theme .flex-loading-spinner__description {
  color: rgba(255, 255, 255, 0.7);
}

/* =============================================================================
   Settings Page
   ============================================================================= */

.settings-page {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.settings-page__content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 24px;
}

.settings-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
  max-width: 1200px;
}

/* Settings Card */
.settings-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.settings-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.settings-card__icon {
  font-size: 18px;
  color: #ffd60a;
}

.settings-card__title {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin: 0;
}

.settings-card__content {
  padding: 20px;
}

/* Profile Section */
.settings-profile {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.settings-profile__avatar-container {
  position: relative;
  flex-shrink: 0;
}

.settings-profile__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 214, 10, 0.3);
}

.settings-profile__avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffd60a 0%, #ffaa00 100%);
  color: #1a1a1a;
  font-size: 32px;
  font-weight: 700;
}

.settings-profile__avatar-edit {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffd60a;
  color: #1a1a1a;
  border: 2px solid rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.settings-profile__avatar-edit:hover {
  transform: scale(1.1);
  background: #ffe55c;
}

.settings-profile__avatar-edit i {
  font-size: 12px;
}

.settings-profile__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.settings-profile__field {
  display: flex;
  align-items: center;
  gap: 12px;
}

.settings-profile__field-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.settings-profile__field-icon i {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.settings-profile__field-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.settings-profile__field-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.settings-profile__field-value {
  font-size: 15px;
  color: white;
  font-weight: 500;
}

/* Theme Section */
.settings-theme__description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.settings-theme__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-theme__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  width: 100%;
}

.settings-theme__option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.settings-theme__option--active {
  background: rgba(255, 214, 10, 0.1);
  border-color: rgba(255, 214, 10, 0.3);
}

.settings-theme__option--active:hover {
  background: rgba(255, 214, 10, 0.15);
}

.settings-theme__option-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.settings-theme__option--active .settings-theme__option-icon {
  background: rgba(255, 214, 10, 0.2);
}

.settings-theme__option-icon i {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.settings-theme__option--active .settings-theme__option-icon i {
  color: #ffd60a;
}

.settings-theme__option-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.settings-theme__option-label {
  font-size: 15px;
  font-weight: 600;
  color: white;
}

.settings-theme__option-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.settings-theme__option-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffd60a;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.settings-theme__option-check i {
  font-size: 12px;
}

/* Workspace Section */
.settings-workspace {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* =============================================================================
   Workspace Chooser
   ============================================================================= */

/* Workspace Cards */
.workspace-card {
  transition: all 0.2s ease;
  cursor: pointer;
}

.workspace-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 214, 10, 0.3) !important;
}

.workspace-card:active {
  transform: translateY(-2px);
}

/* Section Headers */
.workspace-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid;
}

.workspace-section-header--owner {
  color: #ffffff;
  border-color: #3b82f6;
}

.workspace-section-header--shared {
  color: #ffffff;
  border-color: #10b981;
}

.workspace-section-header__icon {
  font-size: 16px;
}

.workspace-section-header--owner .workspace-section-header__icon {
  color: #ffd60a;
}

.workspace-section-header--shared .workspace-section-header__icon {
  color: #10b981;
}

/* Empty State */
.workspace-empty-state {
  text-align: center;
  padding: 48px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 24px;
}

.workspace-empty-state__icon {
  font-size: 48px;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 16px;
}

.workspace-empty-state__title {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.workspace-empty-state__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 300px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Setup Form Icon Input */
.workspace-input-wrapper {
  position: relative;
  width: 100%;
}

.workspace-input-wrapper__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
}

.workspace-input-wrapper input {
  padding-left: 40px !important;
}

/* Character Counter */
.workspace-char-counter {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
  margin-top: 4px;
}

.workspace-char-counter--warning {
  color: #f59e0b;
}

.workspace-char-counter--error {
  color: #ef4444;
}

/* Expandable Info Section */
.workspace-info-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px 0;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s;
}

.workspace-info-toggle:hover {
  color: #ffd60a;
}

.workspace-info-toggle__icon {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.workspace-info-toggle__icon--open {
  transform: rotate(90deg);
}

.workspace-info-content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
  margin-top: 0;
}

.workspace-info-content--open {
  max-height: 200px;
  opacity: 1;
  margin-top: 12px;
}

.workspace-info-card {
  background: rgba(255, 214, 10, 0.08);
  border: 1px solid rgba(255, 214, 10, 0.2);
  border-radius: 8px;
  padding: 16px;
}

.workspace-info-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #ffd60a;
  margin-bottom: 8px;
}

.workspace-info-card__title i {
  font-size: 14px;
}

.workspace-info-card__text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Join Section Icon */
.workspace-join-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.workspace-join-header__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.workspace-join-header__icon i {
  font-size: 18px;
  color: #818cf8;
}

/* Workspace Card Icon */
.workspace-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 214, 10, 0.2) 0%, rgba(255, 149, 0, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.workspace-card__icon i {
  font-size: 20px;
  color: #ffd60a;
}

/* Welcome Section Animation */
.workspace-welcome {
  animation: workspace-welcome-fade-in 0.6s ease-out;
}

@keyframes workspace-welcome-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Workspace Setup Card */
.workspace-setup-card {
  animation: workspace-card-slide-in 0.4s ease-out 0.1s backwards;
}

/* Workspace Section Animation */
.workspace-section {
  animation: workspace-card-slide-in 0.4s ease-out 0.2s backwards;
}

/* Join Section Animation */
.workspace-join-section {
  animation: workspace-card-slide-in 0.4s ease-out 0.3s backwards;
}

@keyframes workspace-card-slide-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================================================
   Feedback Page
   ============================================================================= */

.feedback-page {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.feedback-page__container {
  width: 100%;
  max-width: 600px;
}

/* Feedback Card */
.feedback-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.feedback-card__header {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.feedback-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 214, 10, 0.2) 0%, rgba(255, 149, 0, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feedback-card__icon i {
  font-size: 20px;
  color: #ffd60a;
}

.feedback-card__header-text {
  flex: 1;
}

.feedback-card__title {
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin: 0 0 4px 0;
}

.feedback-card__description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}

.feedback-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feedback-card__footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  justify-content: flex-end;
}

.feedback-card__footer .input-button {
  color: #1a1a1a !important;
}

.feedback-card__hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
  margin: 8px 0 0 0;
}

.feedback-card__hint i {
  font-size: 12px;
}

/* Feedback Form Fields */
.feedback-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feedback-form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.feedback-form__label-icon {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.feedback-form__select-wrapper {
  position: relative;
}

.feedback-form__select {
  width: 100%;
  padding: 12px 40px 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 14px;
  color: white;
  cursor: pointer;
  appearance: none;
  transition: all 0.2s;
}

.feedback-form__select:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.feedback-form__select:focus {
  outline: none;
  border-color: #ffd60a;
  box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.1);
}

.feedback-form__select option {
  background: #1a1a1a;
  color: white;
}

.feedback-form__select-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.feedback-form__input,
.feedback-form__textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 14px;
  color: white;
  transition: all 0.2s;
  box-sizing: border-box;
}

.feedback-form__input::placeholder,
.feedback-form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.feedback-form__input:hover,
.feedback-form__textarea:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.feedback-form__input:focus,
.feedback-form__textarea:focus {
  outline: none;
  border-color: #ffd60a;
  box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.1);
}

.feedback-form__textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
  font-family: inherit;
}

/* Light Theme Feedback */
.light-theme .feedback-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.light-theme .feedback-card__header {
  background: rgba(0, 0, 0, 0.02);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.light-theme .feedback-card__icon {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
}

.light-theme .feedback-card__icon i {
  color: #d97706;
}

.light-theme .feedback-card__title {
  color: #111827;
}

.light-theme .feedback-card__description {
  color: #6b7280;
}

.light-theme .feedback-card__content {
  background: transparent;
}

.light-theme .feedback-card__footer {
  background: rgba(0, 0, 0, 0.02);
  border-top-color: rgba(0, 0, 0, 0.08);
}

.light-theme .feedback-card__hint {
  color: #9ca3af;
}

.light-theme .feedback-form__label {
  color: #374151;
}

.light-theme .feedback-form__label-icon {
  color: #9ca3af;
}

.light-theme .feedback-form__select {
  background: white;
  border-color: #d1d5db;
  color: #111827;
}

.light-theme .feedback-form__select:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.light-theme .feedback-form__select:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.light-theme .feedback-form__select option {
  background: white;
  color: #111827;
}

.light-theme .feedback-form__select-icon {
  color: #9ca3af;
}

.light-theme .feedback-form__input,
.light-theme .feedback-form__textarea {
  background: white;
  border-color: #d1d5db;
  color: #111827;
}

.light-theme .feedback-form__input::placeholder,
.light-theme .feedback-form__textarea::placeholder {
  color: #9ca3af;
}

.light-theme .feedback-form__input:hover,
.light-theme .feedback-form__textarea:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.light-theme .feedback-form__input:focus,
.light-theme .feedback-form__textarea:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

/* Feedback Form Extensions for Business Info */
.feedback-form__input--readonly {
  background: rgba(51, 65, 85, 0.5);
  cursor: not-allowed;
  color: #94a3b8;
}

.feedback-form__helper {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.feedback-form__value {
  font-size: 14px;
  color: white;
  line-height: 1.4;
}

.feedback-form__value--empty {
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

.light-theme .feedback-form__input--readonly {
  background: #f3f4f6;
  color: #6b7280;
}

.light-theme .feedback-form__helper {
  color: #6b7280;
}

.light-theme .feedback-form__value {
  color: #374151;
}

.light-theme .feedback-form__value--empty {
  color: #9ca3af;
}

/* =============================================================================
   Textarea Component
   ============================================================================= */

.input--textarea-wrapper {
  width: 100%;
}

.input--textarea {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  box-sizing: border-box;
  min-height: 96px;
  width: 100%;
  margin-top: 4px;
}

.input--textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.input--textarea:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.input--textarea:focus {
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
  background: rgba(255, 255, 255, 0.1);
}

.input--textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.input--textarea-error {
  color: #ef4444;
  font-size: 0.95rem;
  margin-top: 6px;
  font-weight: 500;
}

/* Light theme textarea */
.light-theme .input--textarea {
  background: white;
  border-color: #d1d5db;
  color: #111827;
}

.light-theme .input--textarea::placeholder {
  color: #9ca3af;
}

.light-theme .input--textarea:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.light-theme .input--textarea:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
  background: #fff;
}

/* =============================================================================
   Select Component (Dark Theme - Default)
   ============================================================================= */

.input-select {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.input-select:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.input-select:focus,
.input-select:focus-within {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

.input-select--dropdown {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.input-select--option {
  --bg-clr: #1e293b;
  color: #fff;
}

.input-select--option:hover,
.input-select--option:focus {
  background: rgba(255, 255, 255, 0.1);
}

.input-select--option[data-selected="true"] {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.input-native-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.input-native-select select {
  background: transparent;
  color: inherit;
}

.input-native-select option {
  background: #1e293b;
  color: #fff;
}

/* Light theme select */
.light-theme .input-select {
  background: white;
  border-color: #d1d5db;
  color: #111827;
}

.light-theme .input-select:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.light-theme .input-select:focus,
.light-theme .input-select:focus-within {
  background: #fff;
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.light-theme .input-select--dropdown {
  background: white;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.light-theme .input-select--option {
  --bg-clr: white;
  color: #111827;
}

.light-theme .input-select--option:hover,
.light-theme .input-select--option:focus {
  background: #f3f4f6;
}

.light-theme .input-select--option[data-selected="true"] {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
}

.light-theme .input-native-select {
  background: white;
  border-color: #d1d5db;
  color: #111827;
}

.light-theme .input-native-select select {
  background: transparent;
  color: inherit;
}

.light-theme .input-native-select option {
  background: white;
  color: #111827;
}

/* =============================================================================
   Dashboard
   ============================================================================= */

.dashboard-page {
  display: flex;
  justify-content: center;
  padding: 24px;
}

.dashboard-content {
  width: 100%;
  max-width: 1200px;
}

.dashboard-loading {
  text-align: center;
  padding: 60px;
}

.dashboard-loading i {
  font-size: 32px;
  color: rgba(255, 255, 255, 0.5);
}

.light-theme .dashboard-loading i {
  color: #9ca3af;
}

.dashboard-section {
  margin-bottom: 32px;
}

.dashboard-section-header {
  margin-bottom: 16px;
}

.dashboard-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 4px 0;
}

.light-theme .dashboard-section-title {
  color: #9ca3af;
}

.dashboard-section-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.light-theme .dashboard-section-subtitle {
  color: #9ca3af;
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

/* Dashboard Stat Card */
.dashboard-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 3px solid #3b82f6;
  transition: background 0.2s ease;
}

.dashboard-stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.light-theme .dashboard-stat-card {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.06);
}

.light-theme .dashboard-stat-card:hover {
  background: rgba(255, 255, 255, 0.9);
}

.dashboard-stat-card__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-stat-card__value {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.light-theme .dashboard-stat-card__value {
  color: #111827;
}

.dashboard-stat-card__title {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.light-theme .dashboard-stat-card__title {
  color: #6b7280;
}

.dashboard-stat-card__icon {
  font-size: 1.25rem;
  opacity: 0.4;
  color: white;
}

.light-theme .dashboard-stat-card__icon {
  color: #374151;
}

/* Color variants */
.dashboard-stat-card--blue { border-left-color: #3b82f6; }
.dashboard-stat-card--green { border-left-color: #10b981; }
.dashboard-stat-card--amber { border-left-color: #f59e0b; }
.dashboard-stat-card--red { border-left-color: #ef4444; }
.dashboard-stat-card--purple { border-left-color: #8b5cf6; }
.dashboard-stat-card--indigo { border-left-color: #6366f1; }
.dashboard-stat-card--pink { border-left-color: #ec4899; }
.dashboard-stat-card--teal { border-left-color: #14b8a6; }
.dashboard-stat-card--orange { border-left-color: #f97316; }

/* Recent Orders List */
.dashboard-orders-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.light-theme .dashboard-orders-list {
  background: rgba(0, 0, 0, 0.02);
}

.dashboard-order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: background 0.15s ease;
}

.dashboard-order-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.light-theme .dashboard-order-row {
  background: rgba(255, 255, 255, 0.5);
}

.light-theme .dashboard-order-row:hover {
  background: rgba(255, 255, 255, 0.8);
}

.dashboard-order-row__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
}

.light-theme .dashboard-order-row__name {
  color: #111827;
}

.dashboard-order-row__status {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.dashboard-empty {
  padding: 24px;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--border-radius-md);
}

.light-theme .dashboard-empty {
  color: #9ca3af;
  background: rgba(0, 0, 0, 0.02);
}

/*# sourceMappingURL=project/resources/public/css/flex.css.map */