/* ============================================
   GLB Viewer Styles
   ============================================ */

/* ============================================
   Body & Theme Styles
   ============================================ */

body {
  margin: 0; padding: 0; height: 100%; overflow: hidden; 
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  transition: background 0.35s ease, color 0.35s ease;
}
body.light-theme {
  background:
    linear-gradient(135deg, rgba(30,60,114,0.16) 0%, rgba(42,82,152,0.16) 100%),
    #f5f7fa;
  color: #0f172a;
}
body.dark-theme {
  background:
    radial-gradient(circle at 20% 20%, rgba(79,70,229,0.12) 0%, rgba(17,24,39,0.95) 55%, rgba(15,23,42,1) 100%);
  color: #e2e8f0;
}
/* Диагональный водяной знак — рисуем на канвасе, чтобы точно отобразился */

/* ============================================
   Canvas & Viewer
   ============================================ */

#brand-tiles-canvas { 
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 1; 
}
#viewer { 
  width: 100vw; height: 100vh; position: relative; z-index: 1;
}

/* ============================================
   Theme Toggle
   ============================================ */

#theme-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 950;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #0f172a;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 4px 16px 0 rgba(31, 38, 135, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  font-weight: 600;
}
#theme-toggle:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 
    0 8px 24px 0 rgba(31, 38, 135, 0.4),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.9);
}
#theme-toggle:active {
  transform: scale(0.95) translateY(0);
}

/* ============================================
   Project Tree
   ============================================ */

#project-tree {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 260px;
  max-height: calc(100vh - 24px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 16px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  font-size: 0.875rem;
  color: #0f172a;
  z-index: 1001;
  box-shadow: 
    0 8px 32px 0 rgba(31, 38, 135, 0.37),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
  transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  opacity: 1;
  pointer-events: auto;
}

#project-tree:hover {
  box-shadow: 
    0 12px 40px 0 rgba(31, 38, 135, 0.45),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.9);
}

#project-tree > div:first-child {
  font-weight: 600;
  color: #1565c0;
  margin-bottom: 8px;
  font-size: 14px;
  flex-shrink: 0;
}

body.dark-theme #project-tree,
html.dark-theme #project-tree {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  box-shadow: 
    0 8px 32px 0 rgba(0, 0, 0, 0.37),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

body.dark-theme #project-tree:hover,
html.dark-theme #project-tree:hover {
  box-shadow: 
    0 12px 40px 0 rgba(0, 0, 0, 0.5),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

body.dark-theme #project-tree > div:first-child,
html.dark-theme #project-tree > div:first-child {
  color: #60a5fa;
}

/* Контейнер для списка стадий с прокруткой */
#project-tree-stages {
  margin-top: 8px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  /* Стилизация скроллбара */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* Стилизация скроллбара для WebKit браузеров */
#project-tree-stages::-webkit-scrollbar {
  width: 6px;
}

#project-tree-stages::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}

#project-tree-stages::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  transition: background 200ms;
}

#project-tree-stages::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

body.dark-theme #project-tree-stages::-webkit-scrollbar-thumb,
html.dark-theme #project-tree-stages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
}

body.dark-theme #project-tree-stages::-webkit-scrollbar-thumb:hover,
html.dark-theme #project-tree-stages::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

#project-tree-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  user-select: none;
}

#project-tree-header > div:first-of-type {
  font-weight: 600;
  color: #1565c0;
  font-size: 14px;
  flex: 1;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-theme #project-tree-header > div:first-of-type,
html.dark-theme #project-tree-header > div:first-of-type {
  color: #60a5fa;
}

#project-tree-collapse-icon {
  font-size: 12px;
  opacity: 0.6;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  display: inline-block;
  margin-right: 6px;
  -webkit-text-stroke: 1px currentColor;
  -webkit-text-fill-color: transparent;
  text-stroke: 1px currentColor;
  text-fill-color: transparent;
  transform: rotate(90deg); /* По умолчанию развернуто - смотрит вниз */
}

#project-tree.collapsed #project-tree-collapse-icon {
  transform: rotate(0deg); /* Свернуто - смотрит вправо */
}

#project-tree-header label {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: 12px;
  color: #666;
  user-select: none;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

#project-tree-header label input[type="checkbox"] {
  cursor: pointer;
  width: 14px;
  height: 14px;
  accent-color: #007aff;
}

body.dark-theme #project-tree-header label input[type="checkbox"],
html.dark-theme #project-tree-header label input[type="checkbox"] {
  accent-color: #0a84ff;
}

body.dark-theme #project-tree-header label,
html.dark-theme #project-tree-header label {
  color: #e2e8f0 !important;
}

body.dark-theme #project-tree-header label span,
html.dark-theme #project-tree-header label span {
  color: #e2e8f0 !important;
}

/* Скрываем стадии при collapsed состоянии */
#project-tree.collapsed #project-tree-stages {
  display: none !important;
}

#project-tree .tree-stage {
  margin: 6px 0;
  padding: 6px 12px;
  cursor: pointer;
  user-select: none;
  border-radius: 8px;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

#project-tree .tree-stage:hover {
  background: rgba(0, 0, 0, 0.03);
}

body.dark-theme #project-tree .tree-stage:hover,
html.dark-theme #project-tree .tree-stage:hover {
  background: rgba(255, 255, 255, 0.05);
}
#project-tree .tree-stage-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

#project-tree .tree-stage-checkbox {
  margin: 0;
  cursor: pointer;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #007aff;
}

body.dark-theme #project-tree .tree-stage-checkbox,
html.dark-theme #project-tree .tree-stage-checkbox {
  accent-color: #0a84ff;
}

#project-tree .tree-stage-name {
  flex: 1 1 auto;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.5;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-theme #project-tree .tree-stage-name,
html.dark-theme #project-tree .tree-stage-name {
  color: #f1f5f9;
}

#project-tree .tree-stage-expand {
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
  opacity: 0.8;
  flex-shrink: 0;
  display: inline-block;
  margin-right: 6px;
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1), color 200ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-text-stroke: 1px currentColor;
  -webkit-text-fill-color: transparent;
  text-stroke: 1px currentColor;
  text-fill-color: transparent;
}

#project-tree .tree-stage.expanded .tree-stage-expand {
  transform: rotate(90deg);
}

body.dark-theme #project-tree .tree-stage-expand,
html.dark-theme #project-tree .tree-stage-expand {
  color: #94a3b8;
  opacity: 0.7;
}
#project-tree .tree-assemblies {
  margin-left: 24px;
  margin-top: 6px;
  display: none;
}

#project-tree .tree-stage.expanded .tree-assemblies {
  display: block;
}

#project-tree .tree-assembly {
  margin: 6px 0;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

#project-tree .tree-assembly:hover {
  background: rgba(0, 0, 0, 0.03);
}

body.dark-theme #project-tree .tree-assembly:hover,
html.dark-theme #project-tree .tree-assembly:hover {
  background: rgba(255, 255, 255, 0.05);
}

#project-tree .tree-assembly-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

#project-tree .tree-assembly-name {
  flex: 1 1 auto;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.5;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-theme #project-tree .tree-assembly-name,
html.dark-theme #project-tree .tree-assembly-name {
  color: #f1f5f9;
}

#project-tree .tree-assembly-type {
  font-size: 0.8125rem;
  font-weight: 400;
  color: #64748b;
  opacity: 0.8;
  flex-shrink: 0;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-theme #project-tree .tree-assembly-type,
html.dark-theme #project-tree .tree-assembly-type {
  color: #94a3b8;
  opacity: 0.7;
}

/* Ссылка на просмотр сборки */
#project-tree .tree-assembly-view-link {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  text-decoration: none;
  color: #0ea5e9;
  transition: color 200ms ease, opacity 200ms ease;
  flex-shrink: 0;
}

#project-tree .tree-assembly-view-link:hover {
  color: #0284c7;
}

#project-tree .tree-assembly-view-link svg {
  opacity: 0.7;
  transition: opacity 200ms ease;
}

#project-tree .tree-assembly-view-link:hover svg {
  opacity: 1;
}

body.dark-theme #project-tree .tree-assembly-view-link,
html.dark-theme #project-tree .tree-assembly-view-link {
  color: #38bdf8;
}

body.dark-theme #project-tree .tree-assembly-view-link:hover,
html.dark-theme #project-tree .tree-assembly-view-link:hover {
  color: #0ea5e9;
}

#project-tree .tree-assembly-expand {
  font-size: 12px;
  opacity: 0.6;
  flex-shrink: 0;
  display: inline-block;
  margin-right: 6px;
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-text-stroke: 1px currentColor;
  -webkit-text-fill-color: transparent;
  text-stroke: 1px currentColor;
  text-fill-color: transparent;
}

#project-tree .tree-assembly.expanded .tree-assembly-expand {
  transform: rotate(90deg);
}

#project-tree .tree-parts {
  margin-left: 24px;
  margin-top: 6px;
  display: none;
}

#project-tree .tree-assembly.expanded .tree-parts {
  display: block;
}

#project-tree .tree-part {
  margin: 6px 0;
  padding: 6px 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  border-radius: 8px;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  user-select: none;
}

#project-tree .tree-part:hover {
  background: rgba(0, 0, 0, 0.03);
}

body.dark-theme #project-tree .tree-part:hover,
html.dark-theme #project-tree .tree-part:hover {
  background: rgba(255, 255, 255, 0.05);
}

#project-tree .tree-part span {
  white-space: nowrap;
}

#project-tree .tree-part-number {
  font-weight: 600;
  font-size: 0.8125rem;
  color: #007aff;
  line-height: 1.5;
  grid-column: 1;
}

#project-tree .tree-part span:not(.tree-part-number) {
  grid-column: 2;
  font-size: 0.8125rem;
  color: #0f172a;
  line-height: 1.5;
}

body.dark-theme #project-tree .tree-part span:not(.tree-part-number),
html.dark-theme #project-tree .tree-part span:not(.tree-part-number) {
  color: #f1f5f9;
}

body.dark-theme #project-tree .tree-part-number,
html.dark-theme #project-tree .tree-part-number {
  color: #0a84ff;
}

/* ============================================
   FPS Stats
   ============================================ */

#fps-stats {
  position: fixed; top: 12px; left: 12px; z-index: 900;
  padding: 12px 16px; border-radius: 6px;
  font-family: 'Courier New', monospace; font-size: 12px;
  line-height: 1.6; min-width: 200px; backdrop-filter: blur(8px);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
body.light-theme #fps-stats {
  background: rgba(15,23,42,0.84);
  color: #f8fafc;
  box-shadow: 0 10px 30px rgba(15,23,42,0.25);
}
body.dark-theme #fps-stats {
  background: rgba(248,250,252,0.09);
  color: #e2e8f0;
  box-shadow: 0 10px 30px rgba(2,6,14,0.65);
}

/* ============================================
   Control Panel
   ============================================ */

#control-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 14px 34px rgba(15,23,42,0.28);
}
body.light-theme #control-panel {
  background: rgba(15,23,42,0.88);
  color: #f8fafc;
}
body.dark-theme #control-panel {
  background: rgba(248,250,252,0.11);
  color: #e2e8f0;
  box-shadow: 0 14px 34px rgba(2,6,14,0.7);
}
#control-panel .control-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 170px;
}
#control-panel .control-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.72;
}

/* ============================================
   Detail Toggle
   ============================================ */

#detail-toggle {
  display: flex;
  position: relative;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 2px;
  gap: 0;
}
body.dark-theme #detail-toggle {
  background: rgba(15,23,42,0.4);
}
.detail-segment {
  position: relative;
  flex: 1;
  border: none;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: inherit;
  transition: color 0.2s ease;
  z-index: 1;
  min-width: 70px;
  text-align: center;
  white-space: nowrap;
}
.detail-segment:hover {
  color: rgba(255,255,255,0.9);
}
.detail-segment.active {
  color: #0f172a;
}
.detail-segment-indicator {
  position: absolute;
  top: 2px;
  bottom: 2px;
  background: rgba(255,255,255,0.95);
  border-radius: 6px;
  transition: left 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
  width: calc(33.333% - 2.67px);
}
body.dark-theme .detail-segment-indicator {
  background: rgba(129,140,248,0.65);
}
#detail-toggle[data-active="light"] .detail-segment-indicator {
  left: 2px;
}
#detail-toggle[data-active="medium"] .detail-segment-indicator {
  left: calc(33.333% + 0.67px);
}
#detail-toggle[data-active="detailed"] .detail-segment-indicator {
  left: calc(66.666% - 0.67px);
}
body.dark-theme #theme-toggle {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  box-shadow: 
    0 4px 16px 0 rgba(0, 0, 0, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}
body.dark-theme #theme-toggle:hover {
  box-shadow: 
    0 8px 24px 0 rgba(0, 0, 0, 0.4),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   Outlines Toggle
   ============================================ */

#outlines-toggle {
  position: fixed;
  right: 16px;
  bottom: 80px;
  z-index: 950;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #0f172a;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 4px 16px 0 rgba(31, 38, 135, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  font-weight: 600;
}
#outlines-toggle:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 
    0 8px 24px 0 rgba(31, 38, 135, 0.4),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.9);
}
#outlines-toggle:active {
  transform: scale(0.95) translateY(0);
}
body.dark-theme #outlines-toggle {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  box-shadow: 
    0 4px 16px 0 rgba(0, 0, 0, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}
body.dark-theme #outlines-toggle:hover {
  box-shadow: 
    0 8px 24px 0 rgba(0, 0, 0, 0.4),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}
#outlines-toggle.active {
  background: rgba(34, 197, 94, 0.7) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(34, 197, 94, 0.8) !important;
  color: white !important;
  box-shadow: 
    0 4px 16px 0 rgba(34, 197, 94, 0.4),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}
body.dark-theme #outlines-toggle.active {
  background: rgba(34, 197, 94, 0.6) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(34, 197, 94, 0.7) !important;
  color: white !important;
  box-shadow: 
    0 4px 16px 0 rgba(34, 197, 94, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
}
/* Всплывающее окно выбора цвета контуров */

/* ============================================
   Outline Color Picker
   ============================================ */

#outline-color-picker {
  position: fixed;
  right: 80px;
  bottom: 80px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 
    0 8px 24px 0 rgba(31, 38, 135, 0.4),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.6);
  display: none;
  flex-direction: column;
  gap: 12px;
  min-width: 200px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
body.dark-theme #outline-color-picker {
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 8px 24px 0 rgba(0, 0, 0, 0.4),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}
#outline-color-picker.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
#outline-color-picker .picker-title {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
body.dark-theme #outline-color-picker .picker-title {
  color: #f1f5f9;
}
#outline-color-picker .color-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
#outline-color-picker .color-option {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
#outline-color-picker .color-option:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
#outline-color-picker .color-option.active {
  border-color: #0f172a;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.2), 0 4px 12px rgba(0, 0, 0, 0.25);
}
body.dark-theme #outline-color-picker .color-option.active {
  border-color: #f1f5f9;
  box-shadow: 0 0 0 2px rgba(241, 245, 249, 0.2), 0 4px 12px rgba(0, 0, 0, 0.25);
}
#outline-color-picker .color-option.default {
  background: linear-gradient(135deg, #1e40af 0%, #60a5fa 100%);
  position: relative;
}
#outline-color-picker .color-option.default::after {
  content: '🎨';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
}
