#scroll-to-top-btn {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 2000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1f77b4;
  color: white;
  border: 2px solid #222;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.2s;
}
#scroll-to-top-btn:hover {
  background: #155a8a;
}

.Select-control, .Select, .Select input, .Select__control, .Select__input, .Select__control--is-focused, .Select__control--menu-is-open, .Select__control--is-focused.Select__control--menu-is-open {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: #fff !important;
}

/* Für native Dropdowns (falls verwendet) */
select.form-control, select, .form-select {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: #fff !important;
}

/* Abrunden der Ecken für DatePickerRange-Inputs */
#grid-demo-date-range .DateInput_input {
    border-radius: 8px !important;
}
.DateRangePickerInput {
    border-radius: 8px !important;
}

/* Dash-Loading-Overlay für sidebar-state gezielt ausblenden */
#sidebar-state[aria-busy="true"] + .dash-loading, #sidebar-state[aria-busy="true"] + ._dash-loading {
  display: none !important;
}

/* Layout adjustments for radar tab */
#radar-tab-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 1rem;
}

#debug-radar-details {
  order: 2;
  flex: 0 0 auto;
  max-width: 100%;
}

#radar-chart-wrapper {
  order: 1;
  flex: 1 1 100%;
  transition: width 0.3s ease;
}

#debug-radar-details[open] {
  flex: 0 0 50%;
  max-width: 50%;
}

#debug-radar-details[open] ~ #radar-chart-wrapper {
  flex: 0 0 50%;
  max-width: 50%;
}

/* Highlighted Bring Your Own Model tab */
.byom-tab-label {
  background: transparent;
  border: none;
  font-weight: 600;
  color: #dc3545; /* Spotify green as example */
}
.byom-tab-label:hover {
  color: #1db954;
  background: transparent;
}
.byom-tab-label.active {
  background: transparent;
  color: #454F5B;
}

.byom-tab-content {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.byom-tab-content img {
  max-width: 300px;
  display: block;
  margin: 0 auto;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.byom-tab-content .byom-image {
  box-shadow: none !important;
  border: none !important;
  width: 100%;
  max-width: 1200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.byom-image-wrapper {
  position: relative;
  display: inline-block;
}

.byom-text-card {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  padding: 1rem;
}

.byom-text-card strong {
  color: var(--bs-primary);
}

.cta-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  animation: cta-bounce 2s infinite;
  box-shadow: 0 0 8px rgba(13, 110, 253, 0.6);
}

@keyframes cta-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
  60% { transform: translateY(-3px); }
}

/* Chips for strategic relevance selection */
.chip {
  padding: 0.25rem 0.75rem;
  border-radius: 16px;
  background: #e9ecef;
  cursor: pointer;
  user-select: none;
  font-size: 0.875rem;
}

.chip.active {
  background: #0d6efd;
  color: #fff;
  font-weight: bold;
}

/* KPI boxes */
.kpi-box {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 2px solid #dee2e6;
  background: #fff;
  font-size: 0.9rem;
}
.kpi-customers { border-color: #0d6efd; }
.kpi-revenue { border-color: #198754; }
.kpi-avgrev { border-color: #000; }
.kpi-month { border-color: #6c757d; }

/* Category filter buttons */
.category-btn {
  transition: filter 0.2s;
}
.category-btn:hover {
  filter: brightness(90%);
}

/* Play button overlay for strategic growth chart */
.play-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 1000;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1rem;
}

/* Info icon in single entity sunburst card */
.info-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 1.25rem;
  z-index: 1000;
}

/* Toggle button for expanding the strategic growth chart */
.chart-toggle-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 1.25rem;
  z-index: 1000;
}

/* Controls below the strategic growth chart */
.media-control-buttons {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Kompakter DatePicker */
#grid-demo-date-range .DateInput_input,
#grid-demo-date-range .DateInput,
#grid-demo-date-range .DateRangePickerInput {
    font-size: 12px !important;
    height: 28px !important;
    padding: 2px 6px !important;
    min-width: 80px !important;
    line-height: 1.2 !important;
}
#grid-demo-date-range .DateRangePickerInput_arrow {
    font-size: 14px !important;
    padding: 0 2px !important;
}
#grid-demo-date-range .CalendarDay {
    font-size: 12px !important;
    padding: 0 !important;
}
