﻿:root {
  --ux-overlay: rgba(11, 18, 32, 0.55);
  --ux-chip-bg: rgba(15, 118, 110, 0.08);
  --ux-chip-border: rgba(15, 118, 110, 0.3);
  --ux-step-bg: #f1f5f9;
  --ux-step-active: #0f766e;
  --ux-trust-bg: rgba(14, 165, 233, 0.1);
  --ux-trust-border: rgba(14, 165, 233, 0.35);
}

.ux-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ux-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--ux-chip-border);
  background: var(--ux-chip-bg);
  color: var(--primary-700);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.ux-chip:hover {
  transform: translateY(-1px);
  background: rgba(15, 118, 110, 0.14);
}

.ux-chip .bi {
  font-size: 0.9rem;
}

.ux-chip-fav.active {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.6);
  color: #92400e;
}

.ux-progress-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.ux-progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ux-step-bg);
  border: 1px solid var(--border);
  font-weight: 600;
}

.ux-progress-step.active {
  background: rgba(15, 118, 110, 0.12);
  border-color: rgba(15, 118, 110, 0.35);
  color: var(--primary-700);
}

.ux-progress-index {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

.ux-trust-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ux-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--ux-trust-border);
  background: var(--ux-trust-bg);
  font-size: 0.85rem;
  color: #0b4e6b;
}

.ux-alert-banner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.ux-empty {
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}

.ux-empty-illustration {
  width: 120px;
  margin: 0 auto 16px;
}

.ux-price-tooltip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}

.ux-tooltip-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.ux-tooltip-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.ux-tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
}

.ux-tour-backdrop {
  position: absolute;
  inset: 0;
  background: var(--ux-overlay);
}

.ux-tour-spotlight {
  position: absolute;
  border-radius: 16px;
  box-shadow: 0 0 0 9999px var(--ux-overlay);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 180ms ease;
}

.ux-tour-card {
  position: absolute;
  max-width: 320px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ux-tour-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
}

.ux-command {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: none;
}

.ux-command.open {
  display: block;
}

.ux-command-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
}

.ux-command-panel {
  position: relative;
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 16px;
  max-width: 540px;
  width: min(92vw, 540px);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.ux-command-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.ux-command-body {
  padding: 12px 16px 16px;
}

.ux-command-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.ux-command-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 320px;
  overflow-y: auto;
}

.ux-command-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.ux-command-item.active,
.ux-command-item:hover {
  background: var(--surface-2);
}

.ux-command-item small {
  color: var(--muted);
}

.ux-badge-hot {
  background: rgba(245, 158, 11, 0.2);
  color: #92400e;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.75rem;
}

.ux-status-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ux-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(15, 118, 110, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: ux-spin 0.8s linear infinite;
}

@keyframes ux-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 992px) {
  .ux-tour-card {
    max-width: 90vw;
  }
}
