/* web-v2/css/components/sounds.css
   Sound profile selector and preview UI inside the alerts modal.
   All colors use CSS custom properties from themes.css. */

/* Profile card grid */
.sound-profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0 18px;
}

.sound-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  text-align: center;
}

.sound-profile-card:hover {
  border-color: var(--accent-dim);
}

.sound-profile-card.active {
  border-color: var(--accent);
  background: var(--bg-surface);
}

.sound-profile-icon {
  font-size: 20px;
  line-height: 1;
}

.sound-profile-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: .5px;
  font-family: var(--font-mono);
}

.sound-profile-desc {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Preview rows */
.sound-preview-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.sound-preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg-card);
  border-radius: 6px;
}

.sound-preview-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-size: 13px;
}

.sound-preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sound-preview-dot--rockets {
  background: var(--threat-rockets);
  box-shadow: var(--threat-rockets-glow);
}

.sound-preview-dot--drones {
  background: var(--threat-uav);
  box-shadow: var(--threat-uav-glow);
}

.sound-preview-dot--infiltration {
  background: var(--threat-rockets);
  box-shadow: var(--threat-rockets-glow);
  opacity: .7;
}

.sound-preview-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: .5px;
  transition: color .15s, border-color .15s;
}

.sound-preview-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-dim);
}
