/* Apple-like glass UI — system font stack, dark canvas, frosted panels */

:root {
  --bg-deep: #0a0a0c;
  --bg-elevated: #141418;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-highlight: rgba(255, 255, 255, 0.18);
  --text: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.55);
  --accent: #0a84ff;
  --accent-soft: rgba(10, 132, 255, 0.35);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 980px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI",
    system-ui, sans-serif;
  /* Odstępy między głównymi sekcjami strony (hero, liczniki, features, …) */
  --section-gap: 88px;
  --section-gap-mobile: 56px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.app-body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.5;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, #1a1a2e 0%, var(--bg-deep) 55%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.orb-a {
  width: 420px;
  height: 420px;
  background: #5e5ce6;
  top: -120px;
  right: -80px;
}

.orb-b {
  width: 360px;
  height: 360px;
  background: #0a84ff;
  bottom: 10%;
  left: -100px;
}

.orb-c {
  width: 280px;
  height: 280px;
  background: #bf5af2;
  bottom: -80px;
  right: 20%;
}

.page-wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 20px 64px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft), inset 0 1px 0 var(--glass-highlight);
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  margin-bottom: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #5e5ce6, #0a84ff);
  box-shadow: 0 4px 16px var(--accent-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-burger {
  display: none;
  padding: 10px 12px;
}

.nav-burger-icon {
  width: 22px;
  height: 14px;
  display: inline-block;
  position: relative;
}

.nav-burger-icon::before,
.nav-burger-icon::after,
.nav-burger-icon {
  background: transparent;
}

.nav-burger-icon::before,
.nav-burger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.82);
}

.nav-burger-icon::before {
  top: 0;
  box-shadow: 0 6px 0 rgba(255, 255, 255, 0.82), 0 12px 0 rgba(255, 255, 255, 0.82);
}

.nav-backdrop[hidden] {
  display: none !important;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.nav-drawer[hidden] {
  display: none !important;
}

.nav-drawer {
  position: fixed;
  z-index: 100;
  top: max(12px, env(safe-area-inset-top));
  right: 12px;
  left: 12px;
  padding: 14px;
  display: grid;
  gap: 10px;
  border-radius: 18px;
}

.nav-drawer .nav-link,
.nav-drawer .credits-pill,
.nav-drawer .btn {
  width: 100%;
}

.nav-open {
  overflow: hidden;
}

.credits-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(48, 209, 88, 0.35);
  background: rgba(48, 209, 88, 0.12);
  color: #8ef2a4;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.inline-form {
  margin: 0;
  display: inline;
}

.main-content {
  flex: 1;
}

/*
 * Odstępy między sekcjami: margin-bottom (nie „section + section”), bo między
 * <section> potrafią być <script> (json_script) lub inne węzły — wtedy
 * sąsiedztwo section+section się psuje.
 */
.main-content > section:not(:last-child) {
  margin-bottom: var(--section-gap);
}

.site-footer {
  margin-top: auto;
  padding-top: 56px;
  text-align: center;
}

.footer-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(180deg, #409cff, var(--accent));
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-soft);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(10, 132, 255, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.btn-sm {
  padding: 8px 18px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  padding: 14px 20px;
}

/* Hero */
.hero-card {
  padding: 40px 36px 44px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent);
  margin: 0 0 12px;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 16px;
}

.gradient-text {
  background: linear-gradient(90deg, #5e5ce6, #0a84ff, #64d2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 0 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Liczniki pod hero */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.hero-stat {
  padding: 22px 20px;
  text-align: center;
}

.hero-stat-value {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.hero-stat-value--accent {
  background: linear-gradient(90deg, #5e5ce6, #0a84ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stat-label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 24px 22px;
}

.feature-card h2 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.feature-card code {
  font-size: 0.82em;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 6px;
  border-radius: 6px;
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
  opacity: 0.85;
}

/* Sections */
.section-head {
  margin: 0 0 22px;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0 0 10px;
  font-weight: 600;
}

.section-title {
  margin: 0 0 10px;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
  max-width: 52rem;
}

/* How it works */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.how-card {
  padding: 22px 22px 20px;
}

.how-card h3 {
  margin: 8px 0 6px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.how-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.step-badge {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #409cff, var(--accent));
  box-shadow: 0 8px 28px rgba(10, 132, 255, 0.35);
}

/* Screens */
.shots-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.shot {
  overflow: hidden;
}

.shot-media {
  height: 170px;
  background:
    radial-gradient(120% 100% at 10% 0%, rgba(94, 92, 230, 0.55), transparent 55%),
    radial-gradient(120% 100% at 100% 0%, rgba(10, 132, 255, 0.55), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.18));
  border-bottom: 1px solid var(--glass-border);
}

.shot-body {
  padding: 18px 20px 20px;
}

.shot-body h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.shot-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* FAQ */
.faq-grid {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 14px 16px;
  border-radius: var(--radius-md);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.faq-item code {
  font-size: 0.85em;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 6px;
  border-radius: 6px;
}

/* Final CTA */
.final-cta {
  margin-top: 0;
}

.trial-card {
  padding: 26px 24px;
  margin-top: 0;
}

.trial-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text-muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.trial-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffd60a;
  box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.18);
}

.trial-form .trial-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.trial-note {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.trial-locked .muted {
  margin: 0 0 14px;
}

.topup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.credits-page .muted {
  margin: 0 0 8px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 24px;
}

.cta-card h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.cta-card p {
  margin: 0;
  color: var(--text-muted);
}

.cta-right {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 680px) {
  .main-content > section:not(:last-child) {
    margin-bottom: var(--section-gap-mobile);
  }

  .hero-card {
    padding: 30px 20px 28px;
  }

  .top-bar {
    padding: 12px 14px;
  }

  .nav-actions {
    display: none;
  }

  .nav-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .cta-card {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-right {
    justify-content: stretch;
  }

  .cta-right .btn {
    width: 100%;
  }

  .trial-head {
    flex-direction: column;
  }

  .trial-form .trial-row {
    grid-template-columns: 1fr;
  }

  .result-actions {
    justify-content: stretch;
  }

  .result-actions .btn {
    width: 100%;
  }
}

/* Auth */
.auth-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 24px 0;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  padding: 36px 32px 32px;
}

.auth-title {
  margin: 0 0 8px;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.auth-sub {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.auth-form .field-group {
  margin-bottom: 18px;
}

.auth-form label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.glass-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.glass-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

ul.errorlist {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #ff6961;
}

.form-errors {
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: #ff9a94;
}

.auth-footer {
  margin: 24px 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Dashboard */
.dashboard-head {
  margin-bottom: 40px;
}

.page-title {
  font-size: 1.75rem;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.page-sub {
  margin: 0;
  color: var(--text-muted);
}

.dashboard-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.convert-card {
  padding: 26px 24px 28px;
}

.result-actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.table-wrap {
  overflow: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.log-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: rgba(0, 0, 0, 0.12);
}

.log-table th,
.log-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  vertical-align: top;
}

.log-table th {
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(0, 0, 0, 0.18);
}

/* Historia kredytów: doładowanie (+) vs wydatek (−) */
.credit-delta {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.credit-delta--credit {
  color: #8ef2a4;
}

.credit-delta--debit {
  color: #ff9a94;
}

.size-change-cell {
  font-size: 0.88rem;
  line-height: 1.35;
}

.mono {
  font-variant-ligatures: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.86rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  border: 1px solid var(--glass-border);
}

.pill.ok {
  color: #8ef2a4;
  background: rgba(48, 209, 88, 0.12);
  border-color: rgba(48, 209, 88, 0.35);
}

.pill.err {
  color: #ff9a94;
  background: rgba(255, 59, 48, 0.12);
  border-color: rgba(255, 59, 48, 0.35);
}

.card-head h2 {
  margin: 0 0 4px;
  font-size: 1.2rem;
}

.card-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.ok {
  color: #30d158;
}

.warn {
  color: #ffd60a;
}

.formats-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 12px 0 18px;
  word-break: break-word;
}

.convert-form .field-label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.seo-phrase-box {
  margin-top: 4px;
  margin-bottom: 4px;
}

/* Ukrycie przez CSS (nie `[hidden]` na rodzicu) — inaczej FormData może nie wysłać frazy SEO */
.seo-phrase-box--collapsed {
  display: none !important;
}

.file-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding: 14px 16px;
  cursor: pointer;
}

.file-label span:first-child {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.file-label input[type="file"] {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Drag & drop — obrazy */
.drop-zone {
  position: relative;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.drop-zone-input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.drop-zone-ui {
  pointer-events: none;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  padding: 28px 18px;
}

.drop-zone-title {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.drop-zone-summary {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 28rem;
}

.drop-zone--active {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  background: rgba(10, 132, 255, 0.08);
}

/* Nakładka postępu konwersji — [hidden] musi wygrywać z display:flex (inaczej overlay zawsze widoczny) */
.convert-overlay[hidden] {
  display: none !important;
}

.convert-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.convert-overlay-inner {
  width: 100%;
  max-width: 420px;
  padding: 28px 24px;
}

.convert-overlay-title {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.convert-progress-line {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.convert-progress-track {
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 14px;
}

.convert-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #5e5ce6, var(--accent));
  transition: width 0.25s ease;
}

.convert-progress-sub {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  word-break: break-word;
}

.convert-progress-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Modal aplikacji (zamiast alert) */
.app-modal[hidden] {
  display: none !important;
}

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.app-modal-inner {
  width: 100%;
  max-width: 420px;
  padding: 28px 24px 24px;
}

.app-modal-title {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.app-modal-text {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.mode-fieldset {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin: 0 0 16px;
  padding: 14px 16px;
}

.mode-fieldset legend {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0 6px;
}

.radio-row,
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}

.radio-row:last-child,
.check-row:last-child {
  margin-bottom: 0;
}

.radio-row input,
.check-row input {
  margin-top: 4px;
}

.muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.muted code {
  font-size: 0.85em;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 6px;
  border-radius: 6px;
}

/* Flash messages */
.flash-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.flash {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  font-size: 0.9rem;
  border: 1px solid var(--glass-border);
}

.flash-success {
  background: rgba(48, 209, 88, 0.12);
  border-color: rgba(48, 209, 88, 0.35);
  color: #8ef2a4;
}

.flash-error {
  background: rgba(255, 59, 48, 0.12);
  border-color: rgba(255, 59, 48, 0.35);
  color: #ff9a94;
}

.flash-warning {
  background: rgba(255, 214, 10, 0.1);
  border-color: rgba(255, 214, 10, 0.35);
  color: #ffe066;
}

.flash-info,
.flash-debug {
  background: rgba(10, 132, 255, 0.1);
  border-color: rgba(10, 132, 255, 0.3);
  color: #8ec5ff;
}
