@charset "UTF-8";

/* node_modules/@angular/material/prebuilt-themes/azure-blue.css */
html {
  --mat-sys-background: #faf9fd;
  --mat-sys-error: #ba1a1a;
  --mat-sys-error-container: #ffdad6;
  --mat-sys-inverse-on-surface: #f2f0f4;
  --mat-sys-inverse-primary: #abc7ff;
  --mat-sys-inverse-surface: #2f3033;
  --mat-sys-on-background: #1a1b1f;
  --mat-sys-on-error: #ffffff;
  --mat-sys-on-error-container: #93000a;
  --mat-sys-on-primary: #ffffff;
  --mat-sys-on-primary-container: #00458f;
  --mat-sys-on-primary-fixed: #001b3f;
  --mat-sys-on-primary-fixed-variant: #00458f;
  --mat-sys-on-secondary: #ffffff;
  --mat-sys-on-secondary-container: #3e4759;
  --mat-sys-on-secondary-fixed: #131c2b;
  --mat-sys-on-secondary-fixed-variant: #3e4759;
  --mat-sys-on-surface: #1a1b1f;
  --mat-sys-on-surface-variant: #44474e;
  --mat-sys-on-tertiary: #ffffff;
  --mat-sys-on-tertiary-container: #0000ef;
  --mat-sys-on-tertiary-fixed: #00006e;
  --mat-sys-on-tertiary-fixed-variant: #0000ef;
  --mat-sys-outline: #74777f;
  --mat-sys-outline-variant: #c4c6d0;
  --mat-sys-primary: #005cbb;
  --mat-sys-primary-container: #d7e3ff;
  --mat-sys-primary-fixed: #d7e3ff;
  --mat-sys-primary-fixed-dim: #abc7ff;
  --mat-sys-scrim: #000000;
  --mat-sys-secondary: #565e71;
  --mat-sys-secondary-container: #dae2f9;
  --mat-sys-secondary-fixed: #dae2f9;
  --mat-sys-secondary-fixed-dim: #bec6dc;
  --mat-sys-shadow: #000000;
  --mat-sys-surface: #faf9fd;
  --mat-sys-surface-bright: #faf9fd;
  --mat-sys-surface-container: #efedf0;
  --mat-sys-surface-container-high: #e9e7eb;
  --mat-sys-surface-container-highest: #e3e2e6;
  --mat-sys-surface-container-low: #f4f3f6;
  --mat-sys-surface-container-lowest: #ffffff;
  --mat-sys-surface-dim: #dbd9dd;
  --mat-sys-surface-tint: #005cbb;
  --mat-sys-surface-variant: #e0e2ec;
  --mat-sys-tertiary: #343dff;
  --mat-sys-tertiary-container: #e0e0ff;
  --mat-sys-tertiary-fixed: #e0e0ff;
  --mat-sys-tertiary-fixed-dim: #bec2ff;
  --mat-sys-neutral-variant20: #2d3038;
  --mat-sys-neutral10: #1a1b1f;
  --mat-sys-level0:
    0px 0px 0px 0px rgba(0, 0, 0, 0.2),
    0px 0px 0px 0px rgba(0, 0, 0, 0.14),
    0px 0px 0px 0px rgba(0, 0, 0, 0.12);
  --mat-sys-level1:
    0px 2px 1px -1px rgba(0, 0, 0, 0.2),
    0px 1px 1px 0px rgba(0, 0, 0, 0.14),
    0px 1px 3px 0px rgba(0, 0, 0, 0.12);
  --mat-sys-level2:
    0px 3px 3px -2px rgba(0, 0, 0, 0.2),
    0px 3px 4px 0px rgba(0, 0, 0, 0.14),
    0px 1px 8px 0px rgba(0, 0, 0, 0.12);
  --mat-sys-level3:
    0px 3px 5px -1px rgba(0, 0, 0, 0.2),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14),
    0px 1px 18px 0px rgba(0, 0, 0, 0.12);
  --mat-sys-level4:
    0px 5px 5px -3px rgba(0, 0, 0, 0.2),
    0px 8px 10px 1px rgba(0, 0, 0, 0.14),
    0px 3px 14px 2px rgba(0, 0, 0, 0.12);
  --mat-sys-level5:
    0px 7px 8px -4px rgba(0, 0, 0, 0.2),
    0px 12px 17px 2px rgba(0, 0, 0, 0.14),
    0px 5px 22px 4px rgba(0, 0, 0, 0.12);
  --mat-sys-body-large: 400 1rem / 1.5rem Roboto;
  --mat-sys-body-large-font: Roboto;
  --mat-sys-body-large-line-height: 1.5rem;
  --mat-sys-body-large-size: 1rem;
  --mat-sys-body-large-tracking: 0.031rem;
  --mat-sys-body-large-weight: 400;
  --mat-sys-body-medium: 400 0.875rem / 1.25rem Roboto;
  --mat-sys-body-medium-font: Roboto;
  --mat-sys-body-medium-line-height: 1.25rem;
  --mat-sys-body-medium-size: 0.875rem;
  --mat-sys-body-medium-tracking: 0.016rem;
  --mat-sys-body-medium-weight: 400;
  --mat-sys-body-small: 400 0.75rem / 1rem Roboto;
  --mat-sys-body-small-font: Roboto;
  --mat-sys-body-small-line-height: 1rem;
  --mat-sys-body-small-size: 0.75rem;
  --mat-sys-body-small-tracking: 0.025rem;
  --mat-sys-body-small-weight: 400;
  --mat-sys-display-large: 400 3.562rem / 4rem Roboto;
  --mat-sys-display-large-font: Roboto;
  --mat-sys-display-large-line-height: 4rem;
  --mat-sys-display-large-size: 3.562rem;
  --mat-sys-display-large-tracking: -0.016rem;
  --mat-sys-display-large-weight: 400;
  --mat-sys-display-medium: 400 2.812rem / 3.25rem Roboto;
  --mat-sys-display-medium-font: Roboto;
  --mat-sys-display-medium-line-height: 3.25rem;
  --mat-sys-display-medium-size: 2.812rem;
  --mat-sys-display-medium-tracking: 0;
  --mat-sys-display-medium-weight: 400;
  --mat-sys-display-small: 400 2.25rem / 2.75rem Roboto;
  --mat-sys-display-small-font: Roboto;
  --mat-sys-display-small-line-height: 2.75rem;
  --mat-sys-display-small-size: 2.25rem;
  --mat-sys-display-small-tracking: 0;
  --mat-sys-display-small-weight: 400;
  --mat-sys-headline-large: 400 2rem / 2.5rem Roboto;
  --mat-sys-headline-large-font: Roboto;
  --mat-sys-headline-large-line-height: 2.5rem;
  --mat-sys-headline-large-size: 2rem;
  --mat-sys-headline-large-tracking: 0;
  --mat-sys-headline-large-weight: 400;
  --mat-sys-headline-medium: 400 1.75rem / 2.25rem Roboto;
  --mat-sys-headline-medium-font: Roboto;
  --mat-sys-headline-medium-line-height: 2.25rem;
  --mat-sys-headline-medium-size: 1.75rem;
  --mat-sys-headline-medium-tracking: 0;
  --mat-sys-headline-medium-weight: 400;
  --mat-sys-headline-small: 400 1.5rem / 2rem Roboto;
  --mat-sys-headline-small-font: Roboto;
  --mat-sys-headline-small-line-height: 2rem;
  --mat-sys-headline-small-size: 1.5rem;
  --mat-sys-headline-small-tracking: 0;
  --mat-sys-headline-small-weight: 400;
  --mat-sys-label-large: 500 0.875rem / 1.25rem Roboto;
  --mat-sys-label-large-font: Roboto;
  --mat-sys-label-large-line-height: 1.25rem;
  --mat-sys-label-large-size: 0.875rem;
  --mat-sys-label-large-tracking: 0.006rem;
  --mat-sys-label-large-weight: 500;
  --mat-sys-label-large-weight-prominent: 700;
  --mat-sys-label-medium: 500 0.75rem / 1rem Roboto;
  --mat-sys-label-medium-font: Roboto;
  --mat-sys-label-medium-line-height: 1rem;
  --mat-sys-label-medium-size: 0.75rem;
  --mat-sys-label-medium-tracking: 0.031rem;
  --mat-sys-label-medium-weight: 500;
  --mat-sys-label-medium-weight-prominent: 700;
  --mat-sys-label-small: 500 0.688rem / 1rem Roboto;
  --mat-sys-label-small-font: Roboto;
  --mat-sys-label-small-line-height: 1rem;
  --mat-sys-label-small-size: 0.688rem;
  --mat-sys-label-small-tracking: 0.031rem;
  --mat-sys-label-small-weight: 500;
  --mat-sys-title-large: 400 1.375rem / 1.75rem Roboto;
  --mat-sys-title-large-font: Roboto;
  --mat-sys-title-large-line-height: 1.75rem;
  --mat-sys-title-large-size: 1.375rem;
  --mat-sys-title-large-tracking: 0;
  --mat-sys-title-large-weight: 400;
  --mat-sys-title-medium: 500 1rem / 1.5rem Roboto;
  --mat-sys-title-medium-font: Roboto;
  --mat-sys-title-medium-line-height: 1.5rem;
  --mat-sys-title-medium-size: 1rem;
  --mat-sys-title-medium-tracking: 0.009rem;
  --mat-sys-title-medium-weight: 500;
  --mat-sys-title-small: 500 0.875rem / 1.25rem Roboto;
  --mat-sys-title-small-font: Roboto;
  --mat-sys-title-small-line-height: 1.25rem;
  --mat-sys-title-small-size: 0.875rem;
  --mat-sys-title-small-tracking: 0.006rem;
  --mat-sys-title-small-weight: 500;
  --mat-sys-corner-extra-large: 28px;
  --mat-sys-corner-extra-large-top: 28px 28px 0 0;
  --mat-sys-corner-extra-small: 4px;
  --mat-sys-corner-extra-small-top: 4px 4px 0 0;
  --mat-sys-corner-full: 9999px;
  --mat-sys-corner-large: 16px;
  --mat-sys-corner-large-end: 0 16px 16px 0;
  --mat-sys-corner-large-start: 16px 0 0 16px;
  --mat-sys-corner-large-top: 16px 16px 0 0;
  --mat-sys-corner-medium: 12px;
  --mat-sys-corner-none: 0;
  --mat-sys-corner-small: 8px;
  --mat-sys-dragged-state-layer-opacity: 0.16;
  --mat-sys-focus-state-layer-opacity: 0.12;
  --mat-sys-hover-state-layer-opacity: 0.08;
  --mat-sys-pressed-state-layer-opacity: 0.12;
}

/* src/styles.scss */
:root {
  --brand-primary: #2FCBFF;
  --brand-primary-dark: #0891B2;
  --brand-primary-light: #ecfeff;
  --brand-primary-10: rgba(47, 203, 255, 0.10);
  --brand-primary-20: rgba(47, 203, 255, 0.20);
  --brand-accent: #E8157A;
  --brand-accent-dark: #C91068;
  --brand-accent-light: #FFF0F6;
  --brand-accent-10: rgba(232, 21, 122, 0.10);
  --color-success: #2FCBFF;
  --color-success-light: #ecfeff;
  --color-warning: #f59e0b;
  --color-warning-light: #fef3c7;
  --color-danger: #ef4444;
  --color-danger-light: #fee2e2;
  --color-info: #3b82f6;
  --color-info-light: #eff6ff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #444444;
  --gray-600: #333333;
  --gray-700: #1A1A1A;
  --gray-800: #0A0A0A;
  --gray-900: #000000;
  --font-sans:
    "Inter",
    "Helvetica Neue",
    Arial,
    sans-serif;
  --font-mono: "Courier New", monospace;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-pill: 9999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 10px 25px rgba(0, 0, 0, 0.12);
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.desc {
  position: relative;
  display: inline-block;
  color: var(--gray-500);
  font-size: 0.9em;
}
.subtitle {
  color: var(--gray-500);
  font-size: 0.9em;
}
.tooltip-trigger {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: 0.35rem;
  border: 0;
  border-radius: 50%;
  background: var(--brand-primary-light);
  color: var(--gray-600);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}
.tooltip-trigger:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}
.tooltip-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--brand-primary-20);
}
.tooltip {
  position: absolute;
  left: calc(100% + 0.4rem);
  top: -2px;
  max-width: 100ch;
  min-width: 35ch;
  background: var(--gray-800);
  color: white;
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  z-index: 10;
  opacity: 0;
  transform: translateY(-2px);
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.tooltip-trigger:hover + .tooltip,
.tooltip-trigger:focus-visible + .tooltip,
.tooltip-trigger[aria-expanded=true] + .tooltip {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.inline-icon {
  height: 5em;
  width: auto;
  vertical-align: middle;
}
.form-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: white;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.form-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-primary-10);
}
.form-input:disabled {
  background-color: var(--gray-100);
  cursor: not-allowed;
}
.form-input::placeholder {
  color: var(--gray-400);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.cfg-panel {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  overflow: hidden;
}
.config-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: white;
  color: var(--gray-700);
  border-bottom: 3px solid var(--brand-primary);
}
.config-header .header-content {
  display: flex;
  align-items: center;
  gap: 16px;
}
.config-header .icon-wrapper {
  width: 48px;
  height: 48px;
  background: var(--brand-primary-light);
  color: var(--brand-primary-dark);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}
.config-header .icon-wrapper svg {
  width: 28px;
  height: 28px;
}
.config-header .text-content h3 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 600;
}
.config-header .text-content p {
  margin: 0;
  font-size: 13px;
  color: var(--gray-500);
}
.config-header .main-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.config-header .main-toggle .toggle-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.config-header .save-indicator {
  font-size: 13px;
  font-weight: 600;
  background: var(--color-success-light);
  color: var(--color-success);
  padding: 4px 14px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.config-header .save-indicator.visible {
  opacity: 1;
}
.config-content {
  padding: 24px;
  transition: opacity var(--transition-slow);
}
.config-content.disabled {
  opacity: 0.4;
  pointer-events: none;
}
.config-section {
  margin-bottom: 32px;
}
.config-section:last-child {
  margin-bottom: 0;
}
.config-section .section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
}
.config-section .section-header svg {
  width: 24px;
  height: 24px;
  color: var(--brand-accent);
}
.config-section .section-header span {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
}
.config-section .section-content {
  transition: opacity var(--transition-slow);
}
.config-section .section-content.disabled {
  opacity: 0.4;
  pointer-events: none;
}
@media (max-width: 640px) {
  .config-header {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .config-header .header-content {
    flex-direction: column;
  }
}
.toggle-track {
  width: 56px;
  height: 28px;
  background: var(--gray-300);
  border-radius: 14px;
  position: relative;
  transition: background var(--transition-slow);
}
.toggle-track.mini {
  width: 44px;
  height: 22px;
  border-radius: 11px;
}
.toggle-track.mini .toggle-thumb {
  width: 18px;
  height: 18px;
  top: 2px;
  left: 2px;
}
.toggle-track .toggle-thumb {
  position: absolute;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.main-toggle.active .toggle-track,
.section-toggle.active .toggle-track {
  background: var(--color-success);
}
.main-toggle.active .toggle-track.mini,
.section-toggle.active .toggle-track.mini {
  background: var(--color-success);
}
.main-toggle.active .toggle-track .toggle-thumb,
.section-toggle.active .toggle-track .toggle-thumb {
  transform: translateX(28px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.main-toggle.active .toggle-track.mini .toggle-thumb,
.section-toggle.active .toggle-track.mini .toggle-thumb {
  transform: translateX(22px);
}
.section-toggle {
  margin-left: auto;
  cursor: pointer;
  flex-shrink: 0;
}
.section-toggle .toggle-track {
  background: var(--gray-200);
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-switch .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-300);
  transition: var(--transition-slow);
  border-radius: 24px;
}
.toggle-switch .toggle-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: var(--transition-slow);
  border-radius: 50%;
}
.toggle-switch input:checked + .toggle-slider {
  background-color: var(--color-success);
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}
.slider-control {
  margin-bottom: 24px;
}
.slider-control:last-child {
  margin-bottom: 0;
}
.slider-control .slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.slider-control .slider-header label {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
}
.slider-control .slider-header .value-badge {
  background: var(--gray-700);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  min-width: 60px;
  text-align: center;
}
.slider-control .slider-hint {
  margin: 8px 0 0 0;
  font-size: 12px;
  color: var(--gray-400);
  font-style: italic;
}
.slider-container .slider-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}
.slider-container .slider-icons .icon-small,
.slider-container .slider-icons .icon-large {
  color: var(--gray-400);
  flex-shrink: 0;
}
.slider-container .slider-icons .icon-small {
  width: 16px;
  height: 16px;
}
.slider-container .slider-icons .icon-large {
  width: 24px;
  height: 24px;
}
.slider-container .slider-icons .speed-icon,
.slider-container .slider-icons .sensitivity-icon {
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.5px;
  flex-shrink: 0;
  width: 40px;
}
.slider-container .slider-icons .speed-icon.fast,
.slider-container .slider-icons .speed-icon.high,
.slider-container .slider-icons .sensitivity-icon.fast,
.slider-container .slider-icons .sensitivity-icon.high {
  text-align: right;
}
.slider-container .slider-icons .speed-icon.slow,
.slider-container .slider-icons .speed-icon.low,
.slider-container .slider-icons .sensitivity-icon.slow,
.slider-container .slider-icons .sensitivity-icon.low {
  text-align: left;
}
.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: var(--gray-300);
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(0, 0, 0, 0.2);
}
.slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(0, 0, 0, 0.15);
}
@media (max-width: 640px) {
  .slider-container .slider-icons .speed-icon,
  .slider-container .slider-icons .sensitivity-icon {
    display: none;
  }
}
.color-swatch {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  overflow: hidden;
  flex-shrink: 0;
}
.color-swatch::-webkit-color-swatch-wrapper {
  padding: 0;
}
.color-swatch::-webkit-color-swatch {
  border: none;
  border-radius: 6px;
}
.color-swatch::-moz-color-swatch {
  border: none;
  border-radius: 6px;
}
.color-swatch:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.color-control {
  margin-bottom: 20px;
}
.color-control .color-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.color-control .color-header label {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
}
.color-control .color-header .color-preview {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200);
}
.color-control .color-input {
  width: 100%;
  height: 40px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  padding: 2px;
  background: var(--gray-50);
}
.color-control .color-input::-webkit-color-swatch-wrapper {
  padding: 2px;
}
.color-control .color-input::-webkit-color-swatch {
  border: none;
  border-radius: 6px;
}
.color-control .color-hint {
  margin: 8px 0 0 0;
  font-size: 12px;
  color: var(--gray-400);
  font-style: italic;
}
.btn {
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-base);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-primary {
  background: var(--brand-primary);
  color: var(--gray-800);
}
.btn-primary:hover:not(:disabled) {
  background: var(--brand-primary-dark);
}
.btn-secondary {
  background: var(--gray-200);
  color: var(--gray-600);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--gray-300);
}
.btn-danger {
  background: var(--color-danger);
  color: white;
}
.btn-danger:hover:not(:disabled) {
  background: var(--color-danger-dark, #c82333);
}
.btn-outline {
  background: white;
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
}
.btn-outline:hover:not(:disabled) {
  background: var(--gray-50);
  border-color: var(--gray-400);
}
.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: 16px;
}
.btn-icon:hover {
  background: var(--gray-200);
}
.btn-icon.btn-danger:hover {
  background: var(--color-danger-light);
  color: var(--color-danger);
}
.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}
.btn-add {
  align-self: flex-start;
  padding: 8px 16px;
  background: var(--brand-primary);
  color: var(--gray-800);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  margin-top: 8px;
}
.btn-add:hover:not(:disabled) {
  background: var(--brand-primary-dark);
  color: white;
}
.btn-remove {
  padding: 8px 12px;
  background: var(--color-danger);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  min-width: 36px;
}
.btn-remove:hover:not(:disabled) {
  background: #c53030;
}
.alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.alert button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.6;
}
.alert button:hover {
  opacity: 1;
}
.alert.alert-error {
  background: var(--color-danger-light);
  color: var(--color-danger);
}
.alert.alert-success {
  background: var(--color-success-light);
  color: var(--color-success);
}
.alert.alert-warning {
  background: var(--color-warning-light);
  border: 1px solid var(--color-warning);
  color: var(--gray-600);
}
.message {
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.message i {
  font-size: 1.1rem;
}
.message.success {
  background: var(--color-success-light);
  color: var(--color-success);
  border: 1px solid #b3e5fc;
}
.message.error {
  background: var(--color-danger-light);
  color: var(--color-danger);
  border: 1px solid #f5c6cb;
}
.loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  color: var(--gray-500);
}
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.spinner.spinner-sm {
  width: 20px;
  height: 20px;
  border-width: 2px;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-content {
  background: white;
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
}
.modal-header h3 {
  margin: 0;
  font-size: 18px;
}
.modal-header .btn-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray-500);
}
.modal-header .btn-close:hover {
  color: var(--gray-800);
}
.modal-body {
  padding: 20px;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--gray-200);
}
.sub-tab-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  padding: 4px;
  background: var(--gray-100);
  border-radius: 10px;
}
.sub-tab-nav .sub-tab-btn {
  flex: 1;
  padding: 10px 20px;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-base);
}
.sub-tab-nav .sub-tab-btn i {
  font-size: 0.85rem;
}
.sub-tab-nav .sub-tab-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  color: var(--gray-700);
}
.sub-tab-nav .sub-tab-btn.active {
  background: #fff;
  color: var(--brand-primary-dark);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.sub-tab-nav .sub-tab-btn .tab-badge {
  background: var(--color-warning);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}
@media (max-width: 768px) {
  .sub-tab-nav .sub-tab-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .sub-tab-nav .sub-tab-btn i {
    display: none;
  }
}
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 15px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.pagination .page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: white;
  border: 1px solid var(--gray-300);
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  transition: all var(--transition-base);
}
.pagination .page-btn .material-icons {
  font-size: 18px;
  line-height: 1;
}
.pagination .page-btn:hover:not(:disabled):not(.active) {
  background: var(--gray-200);
  border-color: var(--gray-400);
}
.pagination .page-btn.active {
  background: var(--brand-primary);
  color: var(--gray-800);
  border-color: var(--brand-primary);
}
.pagination .page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pagination .page-info {
  margin-left: auto;
  color: var(--gray-500);
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .pagination {
    justify-content: center;
  }
  .pagination .page-info {
    margin-left: 0;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}
.stats-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.stat-card {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  text-align: center;
  min-width: 100px;
}
.stat-card .stat-value {
  display: block;
  font-size: 28px;
  font-weight: bold;
  color: var(--gray-800);
}
.stat-card .stat-label {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
}
.stat-card.pending .stat-value {
  color: var(--color-warning);
}
.stat-card.canonical .stat-value {
  color: var(--color-success);
}
.stat-card.variant .stat-value {
  color: var(--brand-primary-dark);
}
.stat-card.unique .stat-value {
  color: #8b5cf6;
}
.type-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}
.type-badge.type-pending {
  background: var(--color-warning-light);
  color: var(--color-warning);
}
.type-badge.type-canonical {
  background: var(--color-success-light);
  color: var(--color-success);
}
.type-badge.type-variant {
  background: var(--brand-primary-light);
  color: var(--brand-primary-dark);
}
.type-badge.type-unique {
  background: #ede9fe;
  color: #5b21b6;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-group label {
  font-weight: 500;
  color: var(--gray-600);
  font-size: 0.85rem;
}
.filter-group select,
.filter-group input {
  padding: 6px 10px;
  border: 1px solid var(--gray-300);
  border-radius: 5px;
  font-size: 0.85rem;
  min-width: 120px;
  background: white;
}
.form-group {
  margin-bottom: 20px;
}
.form-group:last-child {
  margin-bottom: 0;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gray-600);
  font-size: 14px;
}
.form-group .form-select {
  width: 100%;
  max-width: 300px;
  padding: 8px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background-color: white;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.form-group .form-select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 2px var(--brand-primary-10);
}
.form-group .form-select:disabled {
  background-color: var(--gray-100);
  cursor: not-allowed;
  opacity: 0.6;
}
.form-hint {
  margin: 6px 0 0 0;
  font-size: 12px;
  color: var(--gray-400);
  font-style: italic;
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
}
.empty-state svg,
.empty-state i {
  margin-bottom: 16px;
  display: block;
  color: var(--gray-300);
}
.empty-state i {
  font-size: 3rem;
}
.empty-state h4,
.empty-state .empty-text {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--gray-500);
}
.empty-state p,
.empty-state .empty-subtext {
  margin: 0 0 20px 0;
  font-size: 14px;
  color: var(--gray-400);
}
.dynamic-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.list-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.list-item .form-input {
  flex: 1;
}
.list-item .item-number {
  min-width: 25px;
  padding-top: 10px;
  color: var(--gray-400);
  font-size: 14px;
  font-weight: 500;
}
.file-drop-zone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  padding: 40px;
  text-align: center;
  transition: all var(--transition-slow);
  cursor: pointer;
}
.file-drop-zone.dragging {
  border-color: var(--brand-primary);
  background: var(--brand-primary-light);
}
.file-drop-zone:hover {
  border-color: var(--gray-400);
}
.progress-bar {
  height: 8px;
  background: var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--brand-primary);
  transition: width var(--transition-slow);
}

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