@import "https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css";

:root {
  --theme-accent: #2563eb;
  --theme-accent-strong: #1d4ed8;
  --theme-accent-soft: #eff6ff;
  --theme-accent-ring: rgba(37, 99, 235, 0.28);
  --theme-accent-border: #bfdbfe;
}

[data-theme="dst"] {
  --theme-accent: #2563eb;
  --theme-accent-strong: #1d4ed8;
  --theme-accent-soft: #eff6ff;
  --theme-accent-ring: rgba(37, 99, 235, 0.28);
  --theme-accent-border: #bfdbfe;
}

[data-theme="bdp"] {
  --theme-accent: #10b981;
  --theme-accent-strong: #059669;
  --theme-accent-soft: #ecfdf5;
  --theme-accent-ring: rgba(16, 185, 129, 0.26);
  --theme-accent-border: #a7f3d0;
}

[data-theme="agora"] {
  --theme-accent: #7c3aed;
  --theme-accent-strong: #6d28d9;
  --theme-accent-soft: #f5f3ff;
  --theme-accent-ring: rgba(124, 58, 237, 0.28);
  --theme-accent-border: #ddd6fe;
}

.theme-accent-title {
  color: var(--theme-accent-strong);
}

.accent-text {
  color: var(--theme-accent);
}

.accent-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background-color: var(--theme-accent-soft);
  color: var(--theme-accent-strong);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.panel-accent {
  border-left: 4px solid var(--theme-accent);
}

.badge-accent {
  background-color: var(--theme-accent-soft);
  color: var(--theme-accent-strong);
}

.btn-accent,
.btn-accent-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-accent {
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  border: 1px solid var(--theme-accent);
  color: var(--theme-accent);
  background-color: transparent;
}

.btn-accent:hover,
.btn-accent:focus {
  background-color: var(--theme-accent-soft);
  color: var(--theme-accent-strong);
  outline: none;
  box-shadow: 0 0 0 2px var(--theme-accent-ring);
}

.btn-accent-solid {
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  border: none;
  color: #fff;
  background-color: var(--theme-accent);
}

.btn-accent-solid:hover,
.btn-accent-solid:focus {
  background-color: var(--theme-accent-strong);
  outline: none;
  box-shadow: 0 0 0 2px var(--theme-accent-ring);
}

.input-focus {
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.input-focus:focus {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 2px var(--theme-accent-ring);
  outline: none;
}

.theme-table tr {
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.theme-table tr:hover {
  background-color: var(--theme-accent-soft);
  transform: translateX(2px);
}

.editing-row {
  background-color: rgba(148, 163, 184, 0.18);
}

.tag-muted {
  background-color: #f3f4f6;
  color: #4b5563;
  border-radius: 9999px;
  padding: 0.1rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-table tr:hover {
  background-color: #f8fafc;
}

.admin-table code {
  font-family: "Fira Code", "Courier New", Courier, monospace;
  font-size: 0.85rem;
  background-color: #f1f5f9;
  border-radius: 0.35rem;
  padding: 0.2rem 0.45rem;
  display: inline-block;
}
