/* ==========================================================================
   FUERZA PRO • DESIGN SYSTEM & STYLESHEET (VANILLA CSS)
   ========================================================================== */

:root {
  --bg-dark: #040711;
  --bg-surface: #0a0f1d;
  --bg-card: #111827;
  --bg-card-hover: #182236;
  --border-color: #1e293b;
  --border-glow: rgba(16, 185, 129, 0.25);
  
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-600: #059669;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --amber-500: #f59e0b;
  --purple-500: #8b5cf6;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  --font-mono: 'JetBrains Mono', monospace;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.15);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background Atmosphere Glows */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.bg-glow-1 {
  top: -100px;
  right: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35), transparent 70%);
}

.bg-glow-2 {
  top: 40%;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25), transparent 70%);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* HEADER */
.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--emerald-500), #0284c7);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gradient-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 40%, var(--emerald-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.brand-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--cyan-400);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-ghost-link:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

/* SUB NAVIGATION / TABS */
.sub-nav {
  position: sticky;
  top: 72px;
  z-index: 30;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sub-nav-inner {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.filter-pill-container {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

.filter-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill:hover {
  background: var(--bg-card-hover);
  color: #fff;
  border-color: #334155;
}

.filter-pill.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.15));
  border-color: var(--emerald-500);
  color: #fff;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

.pill-badge {
  font-size: 11px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.filter-pill.active .pill-badge {
  background: rgba(16, 185, 129, 0.25);
  color: var(--emerald-400);
}

/* BANNER SECTION */
.banner-section {
  padding-top: 24px;
}

.equipment-banner {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(10, 15, 29, 0.9));
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--emerald-500);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .equipment-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.equipment-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.eq-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.banner-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.banner-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.6;
}

.banner-desc strong {
  color: var(--emerald-400);
}

.equipment-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

@media (min-width: 768px) {
  .equipment-stats {
    border-top: none;
    border-left: 1px solid var(--border-color);
    padding-top: 0;
    padding-left: 24px;
  }
}

.eq-stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

/* MAIN CONTENT & ROUTINE CARDS */
.main-content {
  padding-top: 24px;
  padding-bottom: 60px;
}

.routines-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.routine-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.routine-card:hover {
  border-color: #334155;
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.6);
}

.routine-header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(17, 24, 39, 0.6);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .routine-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.rh-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.routine-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.tag-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.tag-emerald {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-400);
}

.tag-cyan {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--cyan-400);
}

.tag-purple {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c084fc;
}

.routine-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.rh-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

/* EXERCISE LIST INSIDE ROUTINE */
.exercise-list {
  display: flex;
  flex-direction: column;
}

.exercise-item {
  display: flex;
  flex-direction: column;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(30, 41, 59, 0.6);
  transition: var(--transition);
  cursor: pointer;
  background: rgba(10, 15, 29, 0.3);
}

.exercise-item:last-child {
  border-bottom: none;
}

.exercise-item:hover {
  background: rgba(17, 24, 39, 0.9);
}

@media (min-width: 768px) {
  .exercise-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
}

.ei-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ei-num {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

.ei-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ei-target {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.ei-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

@media (min-width: 768px) {
  .ei-actions {
    margin-top: 0;
  }
}

.ei-reps {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.btn-watch-video {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-sm);
  color: var(--cyan-400);
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-watch-video:hover {
  background: var(--cyan-500);
  color: #000;
}

/* SET CHECKER LIST */
.set-checklist {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.set-check-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.set-check-btn.completed {
  background: var(--emerald-600);
  border-color: var(--emerald-500);
  color: #fff;
}

/* CATALOG VIEW (ALL 22 EXERCISES) */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.catalog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: var(--transition);
  cursor: pointer;
}

.catalog-card:hover {
  border-color: var(--cyan-500);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.15);
}

.cc-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cc-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.cc-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.cc-focus {
  font-size: 12px;
  color: var(--text-muted);
}

.cc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

/* MODAL STYLES */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}

.modal-overlay.hidden {
  display: none;
}

.modal-card {
  background: #0d1322;
  border: 1px solid #2a374f;
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.tag-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 6px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.modal-focus {
  font-size: 13px;
  color: var(--text-muted);
}

.close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #f87171;
}

.modal-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  background: #000;
  border-bottom: 1px solid var(--border-color);
}

.modal-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-thumbnail-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  transition: background 0.2s ease;
}

.video-thumbnail-wrapper:hover .play-overlay {
  background: rgba(0,0,0,0.15);
}

.play-icon {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: transform 0.15s ease;
}

.video-thumbnail-wrapper:hover .play-icon {
  transform: scale(1.12);
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* REST TIMER INSIDE MODAL */
.rest-timer-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .rest-timer-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.timer-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald-400);
  letter-spacing: 0.5px;
}

.timer-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}

.timer-status {
  font-size: 12px;
  color: var(--text-muted);
}

.timer-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.timer-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.timer-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.timer-btn.primary {
  background: var(--emerald-600);
  border-color: var(--emerald-500);
  color: #fff;
}

.timer-btn.danger {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.modal-details-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
}

.detail-block h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.detail-block.warning {
  border-left: 3px solid var(--amber-500);
  background: rgba(245, 158, 11, 0.04);
}

.detail-block.warning h4 {
  color: var(--amber-500);
}

.params-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.param-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.param-badge strong {
  color: #fff;
}

.cues-list {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.cues-list li::marker {
  color: var(--emerald-400);
}

.injury-tip-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FLOATING ACTIVE TIMER */
.floating-timer {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  animation: slideUp 0.3s ease-out;
}

.floating-timer.hidden {
  display: none;
}

.ft-inner {
  background: #0d1424;
  border: 1px solid var(--emerald-500);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ft-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald-400);
  animation: pulse 1s infinite alternate;
}

.ft-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--emerald-400);
  display: block;
}

.ft-digits {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.ft-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}

.ft-close:hover {
  color: #fff;
}

/* FOOTER */
.app-footer {
  border-top: 1px solid var(--border-color);
  background: #03050c;
  padding: 40px 0;
  margin-top: 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--emerald-400);
  margin-bottom: 8px;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-link {
  color: var(--cyan-400);
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
}

.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-subtext {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-top: 4px;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes pulse {
  from { transform: scale(0.8); opacity: 0.6; }
  to { transform: scale(1.2); opacity: 1; }
}

.hidden {
  display: none !important;
}

/* HEADER ACTIONS (dos botones) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* El botón de reinicio reutiliza el estilo del enlace fantasma */
button.btn-ghost-link {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  appearance: none;
}

/* TOAST NO BLOQUEANTE (fin de descanso, avisos) */
.app-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 200;
  max-width: min(92vw, 460px);
  padding: 14px 22px;
  border-radius: var(--radius-md, 14px);
  background: #0d1424;
  border: 1px solid var(--emerald-500, #10b981);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(16, 185, 129, 0.25);
  color: #fff;
  font-family: var(--font-body, inherit);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.app-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 640px) {
  .app-toast {
    bottom: 16px;
    font-size: 13px;
    padding: 12px 16px;
  }
}
