/* CSS de Diseño Premium para ApostemOS PWA */

:root {
  --bg-color: #080a0f;
  --bg-gradient: radial-gradient(circle at top, #0f172a 0%, #080a0f 100%);
  --surface-color: rgba(17, 24, 39, 0.7);
  --surface-card: #111827;
  --surface-secondary: #1f2937;
  --border-color: rgba(255, 255, 255, 0.06);
  --border-active: rgba(0, 255, 102, 0.3);
  
  --primary-color: #00ff66; /* Verde Neón - Dinero y Éxito */
  --primary-glow: rgba(0, 255, 102, 0.15);
  --primary-hover: #00e65c;
  
  --gold-color: #f59e0b; /* Amarillo/Dorado - Estilo Playdoit */
  --gold-glow: rgba(245, 158, 11, 0.15);
  
  --danger-color: #ef4444; /* Rojo - Riesgo y Alertas */
  --danger-glow: rgba(239, 68, 68, 0.15);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(0, 255, 102, 0.1);
  
  --backdrop-blur: blur(16px);
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
}

/* Reset y Estilos Globales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Contenedor PWA */
.app-container {
  width: 100%;
  max-width: 480px; /* Tamaño móvil óptimo para visualización premium */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: rgba(8, 10, 15, 0.95);
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  padding-bottom: 74px; /* Espacio para el navbar inferior */
}

/* Cabecera / Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(8, 10, 15, 0.8);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 20px;
}

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

.app-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--gold-color));
  color: #080a0f;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon i {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.logo-text span {
  color: var(--primary-color);
}

.wallet-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.02) 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 6px 12px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wallet-badge:hover {
  transform: scale(1.05);
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--gold-color);
  box-shadow: 0 0 12px var(--gold-glow);
}

.coin-icon {
  width: 16px;
  height: 16px;
  color: var(--gold-color);
  animation: spin 8s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

#header-credits-count {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-color);
  font-size: 16px;
}

.wallet-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Área Principal SPA */
.app-main {
  flex: 1;
  padding: 20px;
}

/* Vistas de Pestañas */
.tab-view {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.tab-view.active {
  display: block;
}

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

.view-header {
  margin-bottom: 20px;
}

.view-header h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

.view-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Filtros de Ligas */
.league-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none; /* Ocultar en Firefox */
}

.league-filters::-webkit-scrollbar {
  display: none; /* Ocultar en Chrome/Safari */
}

.filter-btn {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--text-primary);
  color: var(--bg-color);
  border-color: var(--text-primary);
  transform: translateY(-1px);
}

/* Lista de Partidos y Tarjetas */
.matches-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.match-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.match-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Cabecera del Partido (Liga y Hora) */
.match-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.match-league-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  background-color: var(--surface-secondary);
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.match-time-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-color);
  display: flex;
  align-items: center;
  gap: 4px;
}

.match-time-tag i {
  width: 12px;
  height: 12px;
}

/* Equipos y Nombres */
.match-teams-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
}

.team-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

.team-logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface-secondary) 0%, rgba(17, 24, 39, 0.4) 100%);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.match-card:hover .team-logo-placeholder {
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.team-name {
  font-size: 14px;
  font-weight: 600;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-vs {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  background-color: rgba(0, 0, 0, 0.2);
  padding: 4px 8px;
  border-radius: 20px;
}

/* Momios Básicos Playdoit */
.match-odds-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.odd-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 4px;
}

.odd-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.odd-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-color);
  margin-top: 2px;
}

/* Estado Bloqueado Overlay */
.analysis-locked-overlay {
  margin-top: 16px;
  border-top: 1px dashed var(--border-color);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.blur-preview-bg {
  width: 100%;
  height: 60px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%);
  filter: blur(4px);
  position: absolute;
  top: 16px;
  left: 0;
  z-index: 1;
  opacity: 0.5;
}

.lock-cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lock-badge {
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold-color);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.lock-badge i {
  width: 16px;
  height: 16px;
}

.lock-cta-content p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* Botones */
.btn {
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--border-radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-out;
  border: none;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: #080a0f;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 255, 102, 0.35);
}

.btn-outline-primary {
  background-color: transparent;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: rgba(0, 255, 102, 0.08);
  box-shadow: 0 0 12px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.btn-outline:hover {
  background-color: var(--surface-secondary);
  color: var(--text-primary);
}

.btn-danger {
  background-color: var(--danger-color);
  color: #fff;
  box-shadow: 0 4px 12px var(--danger-glow);
}

.btn-danger:hover {
  background-color: #dc2626;
  transform: translateY(-1px);
}

/* Secciones de Análisis Desbloqueado */
.analysis-unlocked-section {
  margin-top: 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  animation: reveal 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(15px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Marcador Proyectado */
.proj-score-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.proj-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.proj-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.confidence-indicator {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.conf-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.conf-val {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Análisis de Texto General */
.analysis-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: rgba(0, 0, 0, 0.15);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 3px solid var(--primary-color);
}

/* Contenedor de los 3 Picks */
.picks-headline {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
}

.picks-headline i {
  color: var(--primary-color);
  width: 16px;
  height: 16px;
}

.picks-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.pick-item {
  background-color: var(--surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.2s ease;
}

.pick-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.pick-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}

.pick-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.pick-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.pick-number {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary-color);
  background: rgba(0, 255, 102, 0.12);
  border: 1px solid rgba(0, 255, 102, 0.25);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pick-type-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.4px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

.pick-odd-box {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.pick-odd-label {
  font-size: 8px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-right: 4px;
}

.pick-odd-val {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-color);
}

.pick-option-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pick-desc {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 8px;
}

/* Medidor de Ventaja (Edge Meter) */
.edge-meter-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.edge-meter-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.edge-meter-label i {
  width: 12px;
  height: 12px;
}

.edge-value-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.edge-value-badge.positive {
  background-color: rgba(0, 255, 102, 0.15);
  color: var(--primary-color);
  box-shadow: 0 0 6px rgba(0, 255, 102, 0.1);
  animation: pulse-glow 2s infinite;
}

.edge-value-badge.negative {
  background-color: rgba(239, 68, 68, 0.15);
  color: var(--danger-color);
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 4px rgba(0, 255, 102, 0.1); }
  50% { box-shadow: 0 0 10px rgba(0, 255, 102, 0.3); }
  100% { box-shadow: 0 0 4px rgba(0, 255, 102, 0.1); }
}

/* Gráficos de Estadísticas Secundarias */
.stats-headline {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: rgba(0, 0, 0, 0.15);
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.stat-row-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.stat-name {
  color: var(--text-muted);
}

.stat-bar-container {
  height: 8px;
  background-color: var(--surface-secondary);
  border-radius: 4px;
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.stat-bar-left {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #eab308);
  border-radius: 4px 0 0 4px;
  transition: width 0.6s ease;
}

.stat-bar-right {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 0 4px 4px 0;
  margin-left: auto;
  transition: width 0.6s ease;
}

/* Pestaña Cartera - Cuadrícula de Paquetes */
.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 14px;
}

.package-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
}

.package-card.featured {
  border-color: var(--primary-color);
  background: linear-gradient(180deg, rgba(0, 255, 102, 0.03) 0%, rgba(17, 24, 39, 0.8) 100%);
  box-shadow: 0 8px 30px rgba(0, 255, 102, 0.05);
}

.package-card.featured:hover {
  box-shadow: 0 10px 35px rgba(0, 255, 102, 0.12);
}

.package-popular {
  position: absolute;
  top: 12px;
  right: -32px;
  background-color: var(--surface-secondary);
  color: var(--text-secondary);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 30px;
  transform: rotate(45deg);
  letter-spacing: 0.5px;
}

.package-popular.active {
  background-color: var(--primary-color);
  color: #080a0f;
}

.package-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.package-credits {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.package-credits .subtext {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.package-price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-color);
  margin-top: 4px;
  margin-bottom: 12px;
}

.package-price .usd {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
}

.package-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* Cartera Info y Tarjeta Superior */
.wallet-status-card {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wallet-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.large-wallet-icon {
  width: 36px;
  height: 36px;
  color: var(--primary-color);
}

.wallet-info h3 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.balance-display {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
}

.large-credits {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.credits-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.wallet-badge-status {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.shield-icon {
  width: 12px;
  height: 12px;
  color: var(--primary-color);
}

.how-it-works-card {
  background-color: rgba(245, 158, 11, 0.02);
  border: 1px solid rgba(245, 158, 11, 0.1);
  border-radius: var(--border-radius-md);
  padding: 16px;
  margin-top: 24px;
}

.how-it-works-card h4 {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.how-it-works-card h4 i {
  width: 14px;
  height: 14px;
}

.how-it-works-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.how-it-works-card li {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  position: relative;
  padding-left: 14px;
}

.how-it-works-card li::before {
  content: "•";
  color: var(--gold-color);
  position: absolute;
  left: 0;
  font-weight: 800;
}

/* Configuración de Inputs y Formularios */
.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  background-color: var(--surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  padding: 10px 14px;
  font-size: 13px;
  outline: none;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.02);
}

.input-password-wrapper {
  display: flex;
  position: relative;
}

.input-password-wrapper input {
  width: 100%;
  padding-right: 40px;
}

.btn-toggle-visibility {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.btn-toggle-visibility i {
  width: 16px;
  height: 16px;
}

/* Panel de Administración */
.admin-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 20px;
  min-width: 0;
  overflow: hidden;
}

.admin-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-card h3 i {
  color: var(--primary-color);
  width: 16px;
  height: 16px;
}

.admin-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
}

.form-row.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-width: 0;
}

.form-row.split > * {
  min-width: 0;
}

.odds-section {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 10px;
  display: block;
}

.odds-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* Tabla de Partidos del Administrador */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-top: 12px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
  text-align: left;
}

.admin-table th, .admin-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 9.5px;
  letter-spacing: 0.3px;
}

.admin-table td {
  color: var(--text-primary);
  font-weight: 500;
  max-width: 120px;
  word-break: break-word;
}

.status-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.analyzed {
  background-color: rgba(0, 255, 102, 0.1);
  color: var(--primary-color);
}

.status-badge.pending {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--gold-color);
}

.btn-table-action {
  background-color: var(--surface-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 9.5px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-table-action:hover:not(:disabled) {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-table-action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.status-msg {
  font-size: 11px;
  margin-top: 8px;
  font-weight: 600;
}

.status-msg.success { color: var(--primary-color); }
.status-msg.error { color: var(--danger-color); }

/* Pestaña de Ajustes */
.settings-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-like {
  background-color: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 16px;
}

.settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.settings-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.settings-icon {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

.settings-info h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.settings-info p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
  max-width: 280px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--surface-secondary);
  border: 1px solid var(--border-color);
  transition: .3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-secondary);
  transition: .3s;
}

input:checked + .slider {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(20px);
  background-color: #080a0f;
}

.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}

.faq-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-icon {
  color: var(--primary-color);
  width: 18px;
  height: 18px;
}

.faq-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.formula-box {
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  text-align: center;
}

.formula-title {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

.formula-math {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: 0.2px;
}

.example-box {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 8px 12px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 11px;
  color: var(--gold-color);
  margin-bottom: 12px;
  border-left: 2px solid var(--gold-color);
}

.settings-item.dangerous {
  border-color: rgba(239, 68, 68, 0.15);
}

.danger-icon {
  color: var(--danger-color);
}

.footer-credits {
  margin-top: 30px;
  text-align: center;
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.accent-text {
  color: var(--gold-color);
  font-weight: 600;
  margin-top: 2px;
}

/* Barra de Navegación Inferior (Optimizado para pulgar - Fijo al bottom de la pantalla) */
.app-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 64px;
  background-color: rgba(8, 10, 15, 0.92);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 10px;
}

.nav-item {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px 12px;
  flex: 1;
  transition: all 0.2s ease;
  min-height: 48px;
  justify-content: center;
}

.nav-item i {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

.nav-item span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.nav-item.active {
  color: var(--primary-color);
}

.nav-item.active i {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 6px rgba(0, 255, 102, 0.3));
}

.nav-item.hidden {
  display: none;
}

/* Modales / Overlays */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 400px;
  background-color: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-icon-header {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.modal-icon-header.warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--gold-color);
}

.modal-large-icon {
  width: 28px;
  height: 28px;
}

.modal-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.match-unboxing-details {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  background-color: var(--surface-secondary);
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
}

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

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
  margin-top: 8px;
}

/* Modales de Pago */
.payment-card {
  text-align: left;
}

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

.stripe-badge {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #635bff; /* Color institucional Stripe */
  display: flex;
  align-items: center;
  gap: 6px;
}

.stripe-icon {
  width: 16px;
  height: 16px;
}

.btn-close-modal {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-close-modal:hover {
  color: var(--text-primary);
}

.payment-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.amount-banner {
  background-color: rgba(99, 91, 255, 0.08);
  border: 1px solid rgba(99, 91, 255, 0.2);
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  font-weight: 600;
  margin-bottom: 16px;
}

.amount-banner strong {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: 16px;
}

.card-input-group {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.card-input-group input {
  border: none;
  background-color: var(--surface-secondary);
  border-radius: 0;
}

.card-input-group input:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

.card-details-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.card-details-row input:first-child {
  border-right: 1px solid var(--border-color);
}

.helper-text {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}

.payment-btn {
  background-color: #635bff !important;
  color: white !important;
  font-weight: 700;
  margin-top: 16px;
}

.payment-btn:hover {
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.4);
}

.btn-icon-lock {
  width: 14px;
  height: 14px;
  margin-right: 4px;
}

.payment-footer {
  margin-top: 16px;
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.payment-footer i {
  width: 12px;
  height: 12px;
  color: var(--text-muted);
}

/* Modal Éxito y Animación de Checkmark */
.checkmark-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  display: inline-block;
  position: relative;
  margin: 10px auto 20px auto;
  animation: scaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.checkmark {
  display: block;
}

.checkmark.draw:after {
  animation-duration: 400ms;
  animation-timing-function: ease;
  animation-name: checkmark;
  transform: scaleX(-1) rotate(135deg);
}

.checkmark:after {
  opacity: 1;
  height: 38px;
  width: 19px;
  transform-origin: left top;
  border-right: 4px solid var(--primary-color);
  border-top: 4px solid var(--primary-color);
  content: '';
  left: 17px;
  top: 36px;
  position: absolute;
}

@keyframes checkmark {
  0% { height: 0; width: 0; opacity: 1; }
  20% { height: 0; width: 19px; opacity: 1; }
  100% { height: 38px; width: 19px; opacity: 1; }
}

@keyframes scaleUp {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

/* Empty State / Sin Datos */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.empty-icon {
  width: 48px;
  height: 48px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.empty-state p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  max-width: 280px;
}

/* ── Overlay de Autenticación ─────────────────────────────────────────────── */

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px 24px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}

.auth-logo .logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(0, 255, 102, 0.12);
  border-radius: 14px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.auth-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.auth-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-align: center;
}

.auth-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 16px;
}

.auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 18px;
}

.auth-switch a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

/* ── Botón cerrar sesión en header ─────────────────────────────────────────── */

.btn-logout {
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 8px;
}

.btn-logout:hover {
  border-color: #ef4444;
  color: #ef4444;
}

.hidden {
  display: none !important;
}

/* ── Card de Sincronización ─────────────────────────────────────────────────── */

.sync-card {
  border-color: rgba(0, 255, 102, 0.15);
  background: linear-gradient(135deg, rgba(0, 255, 102, 0.03) 0%, var(--surface-card) 100%);
}

.sync-api-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.deportes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}

.deporte-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--surface-secondary);
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.deporte-chip.activo {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(0, 255, 102, 0.08);
}

.deporte-chip i {
  width: 14px;
  height: 14px;
}

.sync-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sync-btn {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sync-result {
  font-size: 13px;
  color: var(--text-secondary);
}

.sync-result.ok    { color: var(--primary-color); }
.sync-result.error { color: var(--danger-color); }

.link-externo {
  color: var(--primary-color);
  font-size: 11px;
  margin-left: 6px;
  text-decoration: none;
}

/* ── Grupos de picks por categoría ─────────────────────────────────────────── */

.picks-group {
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.picks-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  width: 100%;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.picks-group-header i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.picks-group-info {
  flex: 1;
  min-width: 0;
}

.picks-group-title {
  font-weight: 700;
  display: block;
  line-height: 1.2;
}

.picks-group-sub {
  font-size: 11px;
  opacity: 0.7;
  display: block;
}

.picks-group-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.picks-group-ev {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.85;
  white-space: nowrap;
}

.picks-collapse-icon {
  width: 14px !important;
  height: 14px !important;
  transition: transform 0.25s ease;
  opacity: 0.7;
}

.picks-group-toggle[aria-expanded="false"] .picks-collapse-icon {
  transform: rotate(-90deg);
}

.picks-group-segura {
  background: rgba(0, 255, 102, 0.08);
  border-bottom: 1px solid rgba(0, 255, 102, 0.15);
  color: var(--primary-color);
}

.picks-group-valor {
  background: rgba(59, 130, 246, 0.08);
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.picks-group-oportunidad {
  background: rgba(245, 158, 11, 0.08);
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
  color: var(--gold-color);
}

.picks-group-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: none;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.picks-group-body.picks-collapsed {
  padding-top: 0;
  padding-bottom: 0;
}

/* ── Botón toggle del pronóstico completo ───────────────────────────────────── */

.analysis-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 255, 102, 0.06);
  border: 1px solid rgba(0, 255, 102, 0.2);
  border-radius: var(--border-radius-sm);
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-top: 12px;
  text-align: left;
}

.analysis-toggle-btn i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.analysis-toggle-label {
  flex: 1;
}

.analysis-collapse-icon {
  width: 14px !important;
  height: 14px !important;
  opacity: 0.7;
  transition: transform 0.25s ease;
}

.analysis-toggle-btn[aria-expanded="false"] .analysis-collapse-icon {
  transform: rotate(-180deg);
}

.analysis-collapsible {
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.analysis-collapsible.analysis-collapsed {
  max-height: 0px !important;
}

/* ── Bankroll Card ──────────────────────────────────────────────────────────── */

.bankroll-card {
  border-color: rgba(245, 158, 11, 0.2);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.04) 0%, var(--surface-card) 100%);
}

.bankroll-card h3 {
  color: var(--gold-color);
}

.bankroll-input-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 10px;
}

.bankroll-prefix-wrapper {
  display: flex;
  align-items: center;
}

.bankroll-prefix {
  background: var(--surface-secondary);
  border: 1px solid var(--border-color);
  border-right: none;
  padding: 10px 12px;
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
  color: var(--gold-color);
  font-weight: 700;
  font-size: 16px;
}

.bankroll-field {
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0 !important;
  border-left: none !important;
}

.bankroll-resumen {
  margin-top: 14px;
}

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

.bankroll-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.bankroll-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bk-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.bk-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}

.bk-val.accent {
  color: var(--gold-color);
}

.kelly-info {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  font-size: 11px;
  color: var(--text-muted);
}

.kelly-info i {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--gold-color);
}

/* ── Apuesta sugerida en cada pick ──────────────────────────────────────────── */

.pick-stake {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(0, 255, 102, 0.06);
  border: 1px solid rgba(0, 255, 102, 0.2);
  border-radius: var(--border-radius-sm);
  font-size: 13px;
  color: var(--text-primary);
}

.pick-stake i {
  width: 14px;
  height: 14px;
  color: var(--gold-color);
  flex-shrink: 0;
}

.pick-stake strong {
  color: var(--primary-color);
}

.stake-detail {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 4px;
}

.pick-stake.no-ev {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.15);
  color: var(--text-muted);
  font-size: 12px;
}

.pick-stake.no-ev i {
  color: var(--danger-color);
}

/* ── Badge de confirmación de momios ───────────────────────────────────────── */

.odds-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.odds-badge i {
  width: 11px;
  height: 11px;
}

.odds-badge.confirmed {
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.3);
  color: var(--primary-color);
}

.odds-badge.estimated {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold-color);
}

.pick-unconfirmed {
  border-left: 2px solid rgba(245, 158, 11, 0.4);
}

/* ── Lista plana de picks (sin grupos) ──────────────────────────────────────── */

.picks-flat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Modal verificación de email ────────────────────────────────────────────── */

.verification-card {
  padding: 28px 24px;
  text-align: center;
}

.verification-header {
  margin-bottom: 24px;
}

.verification-icon {
  width: 40px;
  height: 40px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.verification-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.verification-card p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

.code-input {
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: 10px !important;
  text-align: center !important;
  color: var(--primary-color) !important;
  background: rgba(0, 255, 102, 0.05) !important;
  border-color: rgba(0, 255, 102, 0.3) !important;
}

.code-input:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 2px rgba(0,255,102,0.15) !important;
}

/* ── Toast de notificación ───────────────────────────────────────────────── */
.toast-notification {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1f2e;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-notification.toast-success {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.toast-notification.toast-error {
  border-color: #ff4d4f;
  color: #ff4d4f;
}

.toast-notification.toast-info {
  border-color: #40a9ff;
  color: #40a9ff;
}
