@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  /* ---------- Tema Claro Fitness (por defecto) ---------- */
  --bg-color: #E8EAEF;
  --text-main: #1A1C22;
  --text-light: #7A808C;

  --accent: #6BA80A;
  --accent-2: #8BC91E;
  --accent-gradient: linear-gradient(135deg, #6BA80A 0%, #8BC91E 100%);
  --accent-soft: rgba(107, 168, 10, 0.14);
  --accent-glow: rgba(107, 168, 10, 0.35);
  --accent-on: #FFFFFF;

  --success-color: #34D399;
  --danger-color: #FB7185;

  --shadow-dark: #C5C9D4;
  --shadow-light: #FFFFFF;

  --app-radius: 40px;
  --card-radius: 24px;
}

[data-theme="dark"] {
  /* ---------- Tema Oscuro Fitness (opcional) ---------- */
  --bg-color: #0E0F12;
  --text-main: #F2F3F5;
  --text-light: #8B909A;

  --accent: #C8F542;
  --accent-2: #9BE015;
  --accent-gradient: linear-gradient(135deg, #C8F542 0%, #9BE015 100%);
  --accent-soft: rgba(200, 245, 66, 0.12);
  --accent-glow: rgba(200, 245, 66, 0.28);
  --accent-on: #0E0F12;

  --shadow-dark: #050506;
  --shadow-light: #1A1C22;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body { height: 100%; }

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow: hidden;
}

/* Contenedor tipo Celular */
.app-container {
  width: 100%;
  max-width: 420px;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--bg-color);
  overflow: hidden;
}

@media (min-width: 480px) {
  .app-container {
    width: auto;
    height: min(92vh, 900px);
    max-height: 900px;
    aspect-ratio: 390 / 844;
    border-radius: var(--app-radius);
    box-shadow: 16px 16px 40px var(--shadow-dark), -16px -16px 40px var(--shadow-light);
  }
}

.content-area {
  flex: 1;
  overflow-y: auto;
  padding: 26px 26px 120px 26px;
  scrollbar-width: none;
}
.content-area::-webkit-scrollbar { display: none; }
.content-area.content-full { padding-bottom: 24px; }

/* ---------- Superficies neumórficas ---------- */
.neu-out {
  background: var(--bg-color);
  box-shadow: 7px 7px 15px var(--shadow-dark), -7px -7px 15px var(--shadow-light);
  border-radius: var(--card-radius);
}

.neu-in {
  background: var(--bg-color);
  box-shadow: inset 5px 5px 10px var(--shadow-dark), inset -5px -5px 10px var(--shadow-light);
  border-radius: var(--card-radius);
}

/* ---------- Formularios ---------- */
.neu-input {
  width: 100%;
  padding: 16px 20px;
  margin-bottom: 16px;
  border: none;
  background: var(--bg-color);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 16px;
  box-shadow: inset 4px 4px 9px var(--shadow-dark), inset -4px -4px 9px var(--shadow-light);
  outline: none;
  transition: box-shadow 0.25s ease;
}

.neu-input::placeholder { color: var(--text-light); font-weight: 500; }

.neu-input:focus {
  box-shadow: inset 6px 6px 12px var(--shadow-dark), inset -6px -6px 12px var(--shadow-light),
              0 0 0 2px var(--accent-soft);
}

.neu-input.small {
  padding: 11px 15px;
  margin-bottom: 0;
  font-size: 0.9rem;
  border-radius: 12px;
}

select.neu-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238B909A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 46px;
}

.flex-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.flex-row label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.flex-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
  cursor: pointer;
}

/* ---------- Configuración ---------- */
.config-exercise-card {
  padding: 20px;
  margin-bottom: 18px;
  border-radius: var(--card-radius);
}

textarea.neu-input {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.field-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.field-hint {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.4;
  margin: 10px 2px 18px;
}

.field-hint svg { flex-shrink: 0; margin-top: 1px; color: var(--accent); }

.type-toggle {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 16px;
  background: var(--bg-color);
  box-shadow: inset 4px 4px 9px var(--shadow-dark), inset -4px -4px 9px var(--shadow-light);
}

.type-toggle button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 8px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.type-toggle button.active {
  color: var(--accent-on);
  background: var(--accent-gradient);
  box-shadow: 3px 3px 8px var(--accent-glow);
}

/* ---------- Selector de ejercicios ---------- */
.picker-sheet {
  margin-bottom: 20px;
  padding: 18px;
}

.picker-sheet h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.picker-sheet .picker-sub {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
  font-weight: 500;
}

.picker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.picker-chip {
  padding: 16px 12px;
  border: none;
  border-radius: 16px;
  background: var(--bg-color);
  box-shadow: 7px 7px 15px var(--shadow-dark), -7px -7px 15px var(--shadow-light);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.picker-chip:active {
  transform: scale(0.97);
  box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}

.picker-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
}

.picker-item {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: none;
  border-radius: 16px;
  background: var(--bg-color);
  box-shadow: 7px 7px 15px var(--shadow-dark), -7px -7px 15px var(--shadow-light);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.picker-item:active {
  transform: scale(0.99);
  box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}

.picker-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.picker-item span {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.picker-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.picker-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 12px;
  padding: 0;
}

/* ---------- Header ---------- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-top: 14px;
}

.header-titles h1 {
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.12;
}

.header-titles h2 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.header-titles p {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.icon { width: 22px; height: 22px; display: block; }
.icon-sm { width: 18px; height: 18px; display: block; }

.theme-toggle {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 16px;
  border: none;
  background: var(--bg-color);
  box-shadow: 7px 7px 15px var(--shadow-dark), -7px -7px 15px var(--shadow-light);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  color: var(--accent);
}
.theme-toggle:active {
  transform: scale(0.94);
  box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}

/* ---------- Tarjetas de Rutina ---------- */
.workout-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.workout-card {
  padding: 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.workout-card:active {
  box-shadow: inset 5px 5px 11px var(--shadow-dark), inset -5px -5px 11px var(--shadow-light);
  transform: scale(0.99);
}

.workout-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.workout-card p {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
}

.day-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-color);
  box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.play-icon {
  min-width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-on);
  background: var(--accent-gradient);
  box-shadow: 6px 6px 14px var(--accent-glow), -4px -4px 12px var(--shadow-light);
}

.hero-card {
  background: var(--accent-gradient);
  color: var(--accent-on);
  box-shadow: 8px 8px 22px var(--accent-glow), -6px -6px 16px var(--shadow-light);
}
.hero-card:active { box-shadow: inset 4px 4px 12px rgba(0,0,0,0.18); }
.hero-card h3, .hero-card p { color: var(--accent-on); }
.hero-card p { opacity: 0.85; }
.hero-card .play-icon {
  background: rgba(14, 15, 18, 0.18);
  box-shadow: inset 3px 3px 6px rgba(0,0,0,0.12), inset -2px -2px 5px rgba(255,255,255,0.15);
  color: var(--accent-on);
}

/* ---------- Tracker Activo ---------- */
.active-tracker {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.help-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  background: var(--bg-color);
  box-shadow: 6px 6px 14px var(--shadow-dark), -6px -6px 14px var(--shadow-light);
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.help-btn:active {
  transform: scale(0.97);
  box-shadow: inset 4px 4px 9px var(--shadow-dark), inset -4px -4px 9px var(--shadow-light);
}

.help-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
}

.help-sheet {
  width: 100%;
  max-width: 100%;
  padding: 24px;
  border-radius: 24px;
  background: var(--bg-color);
  box-shadow: 10px 10px 28px var(--shadow-dark), -8px -8px 22px var(--shadow-light);
  animation: sheetUp 0.22s ease;
}

@keyframes sheetUp {
  from { transform: translateY(24px); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}

.help-sheet h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.help-sheet p {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 22px;
}

.giant-wrap {
  position: relative;
  width: 72vw;
  height: 72vw;
  max-width: 290px;
  max-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.giant-ring { position: absolute; inset: 0; transform: rotate(-90deg); pointer-events: none; }
.giant-ring circle { fill: none; stroke-linecap: round; }
.giant-ring .track { stroke: var(--shadow-dark); opacity: 0.75; }
.giant-ring .progress {
  stroke: url(#accentGrad);
  transition: stroke-dashoffset 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.giant-btn {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  border: none;
  background: var(--bg-color);
  box-shadow: 10px 10px 22px var(--shadow-dark), -10px -10px 22px var(--shadow-light);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.12s ease, box-shadow 0.15s ease;
  outline: none;
}
.giant-btn:active {
  transform: scale(0.96);
  box-shadow: inset 10px 10px 22px var(--shadow-dark), inset -10px -10px 22px var(--shadow-light);
}

.rep-count {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rep-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 12px;
}

.tracker-footer {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding-bottom: 8px;
}

.sets-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.set-dot {
  width: 42px;
  height: 10px;
  border-radius: 999px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-color);
  box-shadow: inset 2px 2px 5px var(--shadow-dark), inset -2px -2px 5px var(--shadow-light);
}
.set-dot.active {
  background: var(--accent-gradient);
  box-shadow: 0 4px 12px var(--accent-glow);
}

/* ---------- Botones (mismo relieve que la tarjeta hero) ---------- */
.btn-primary, .btn-secondary, .btn-danger {
  padding: 17px 0;
  width: 100%;
  border: none;
  border-radius: 18px;
  font-size: 1.02rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--accent-on);
  box-shadow: 8px 8px 22px var(--accent-glow), -6px -6px 16px var(--shadow-light);
}
.btn-primary:active {
  transform: scale(0.98);
  box-shadow: inset 4px 4px 12px rgba(0,0,0,0.18);
}

.btn-secondary {
  color: var(--text-main);
  background: var(--bg-color);
  box-shadow: 8px 8px 18px var(--shadow-dark), -8px -8px 18px var(--shadow-light);
}
.btn-secondary:active {
  transform: scale(0.98);
  box-shadow: inset 5px 5px 12px var(--shadow-dark), inset -5px -5px 12px var(--shadow-light);
}

.btn-danger {
  color: var(--danger-color);
  background: var(--bg-color);
  box-shadow: 8px 8px 18px var(--shadow-dark), -8px -8px 18px var(--shadow-light);
}
.btn-danger:active {
  transform: scale(0.98);
  box-shadow: inset 5px 5px 12px var(--shadow-dark), inset -5px -5px 12px var(--shadow-light);
}

/* ---------- Temporizador ---------- */
.timer-wrap {
  position: relative;
  width: 66vw;
  height: 66vw;
  max-width: 260px;
  max-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
}

.timer-ring { position: absolute; inset: 0; transform: rotate(-90deg); pointer-events: none; }
.timer-ring circle { fill: none; stroke-linecap: round; }
.timer-ring .track { stroke: var(--shadow-dark); opacity: 0.75; }
.timer-ring .progress {
  stroke: url(#accentGrad);
  transition: stroke-dashoffset 1s linear;
}

.timer-core {
  position: absolute;
  width: 76%;
  height: 76%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-color);
  box-shadow: inset 8px 8px 18px var(--shadow-dark), inset -8px -8px 18px var(--shadow-light);
}

.time-left {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}

/* ---------- Barra de Navegación Inferior ---------- */
.bottom-tab-bar {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 52px);
  max-width: 340px;
  height: 72px;
  background: var(--bg-color);
  border-radius: 24px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px;
  box-shadow: 8px 8px 20px var(--shadow-dark), -8px -8px 20px var(--shadow-light);
  z-index: 100;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-light);
  flex: 1;
  height: 100%;
  border-radius: 18px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.tab-item p { font-size: 0.7rem; font-weight: 700; }

.tab-item.active {
  color: var(--accent);
  box-shadow: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
}

/* ---------- Auth ---------- */
.auth-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  gap: 18px;
  padding: 8px 0 20px;
}

.auth-brand {
  text-align: center;
  margin-bottom: 4px;
}

.auth-logo-wrap {
  width: 104px;
  height: 104px;
  margin: 0 auto 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-color);
  box-shadow: 10px 10px 22px var(--shadow-dark), -10px -10px 22px var(--shadow-light);
}

/* Logo SVG construido en la app */
.app-logo {
  display: block;
  flex-shrink: 0;
}

.app-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.app-logo-ring {
  stroke: var(--accent);
  opacity: 0.28;
  fill: none;
}

.app-logo-arc {
  stroke: var(--accent);
  fill: none;
}

.app-logo-mark {
  stroke: var(--accent);
  fill: none;
}

.auth-brand h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  color: var(--text-main);
}

.auth-brand h1 span {
  color: var(--accent);
}

.auth-brand p {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
}

.auth-mode-toggle {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 18px;
  background: var(--bg-color);
  box-shadow: inset 4px 4px 10px var(--shadow-dark), inset -4px -4px 10px var(--shadow-light);
}

.auth-mode-toggle button {
  flex: 1;
  border: none;
  border-radius: 14px;
  padding: 12px 8px;
  background: transparent;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-mode-toggle button.active {
  color: var(--accent-on);
  background: var(--accent-gradient);
  box-shadow: 4px 4px 12px var(--accent-glow);
}

.auth-card {
  padding: 22px 20px 20px;
  animation: authIn 0.25s ease;
}

@keyframes authIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-card-head {
  margin-bottom: 18px;
}

.auth-card h2 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.auth-sub {
  color: var(--text-light);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.auth-field > span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-left: 4px;
}

.auth-field .neu-input {
  margin-bottom: 0;
}

.auth-password-wrap {
  position: relative;
}

.auth-password-wrap .neu-input {
  padding-right: 72px;
}

.auth-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: var(--bg-color);
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
  box-shadow: 3px 3px 7px var(--shadow-dark), -3px -3px 7px var(--shadow-light);
  cursor: pointer;
}

.auth-eye:active {
  box-shadow: inset 2px 2px 5px var(--shadow-dark), inset -2px -2px 5px var(--shadow-light);
}

.auth-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--danger-color);
  font-size: 0.84rem;
  font-weight: 600;
  margin: 2px 0 14px;
  padding: 12px 14px;
  line-height: 1.35;
}

.auth-error svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.auth-submit {
  margin-top: 4px;
}

.auth-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.auth-footnote {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.4;
  padding: 0 8px;
}

.auth-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-light);
  font-weight: 600;
}

.account-box {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--accent);
}

.account-info div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.account-info strong {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-info span {
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Estado vacío ---------- */
.empty-state {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.empty-state .emoji {
  font-size: 3rem;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-color);
  box-shadow: 9px 9px 20px var(--shadow-dark), -9px -9px 20px var(--shadow-light);
  margin-bottom: 22px;
  color: var(--accent);
}
