/* ============================================================ */
/* MODO CARRERA (ESTILO COPERO) - HOJA DE ESTILOS DEDICADA      */
/* Garantiza visibilidad perfecta de fuentes, botones y grillas */
/* ============================================================ */

/* Contenedor principal de la vista */
#view-copero {
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#view-copero.hidden {
  display: none !important;
}

/* ============================================================ */
/* BOTONES Y CONTROLES BÁSICOS (100% VISIBLES EN CUALQUIER TEMA)*/
/* ============================================================ */
.copero-btn-white {
  background-color: #ffffff !important;
  color: #020617 !important;
  font-weight: 900 !important;
  font-size: 13px !important;
  padding: 12px 28px !important;
  border-radius: 9999px !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
}

.copero-btn-white:hover {
  background-color: #f1f5f9 !important;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.45) !important;
}

.copero-btn-white:active {
  transform: scale(0.97) !important;
}

.copero-btn-dark {
  background-color: #141924 !important;
  border: 1px solid #273247 !important;
  color: #f8fafc !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 10px 24px !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.copero-btn-dark:hover {
  background-color: #1e2636 !important;
  border-color: #3f4e6b !important;
}

.copero-btn-dark:active {
  transform: scale(0.97) !important;
}

/* Inputs de texto y números con fondo oscuro forzado y texto blanco */
.copero-input {
  background-color: #141923 !important;
  border: 1.5px solid #263145 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  border-radius: 12px !important;
  padding: 9px 12px !important;
  outline: none !important;
  text-align: center !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
}

.copero-input:focus {
  border-color: #ffffff !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25) !important;
}

.copero-input::placeholder {
  color: #64748b !important;
}

/* ============================================================ */
/* PANTALLA 1: SELECCIÓN DE MODO                                */
/* ============================================================ */
.copero-mode-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
  margin-top: 10px !important;
}

@media (max-width: 800px) {
  .copero-mode-grid {
    grid-template-columns: 1fr !important;
  }
}

.copero-mode-card {
  background-color: #0e121a !important;
  border: 1.5px solid #1c2434 !important;
  border-radius: 24px !important;
  padding: 24px !important;
  cursor: pointer !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.25s ease !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.copero-mode-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7) !important;
}

/* ============================================================ */
/* PANTALLA 2: DEFINÍ TU IDENTIDAD (FOTO 1 PIXEL PERFECT)       */
/* ============================================================ */
.copero-identity-card {
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 auto !important;
  background-color: #0b0f16 !important;
  border: 1.5px solid #1a2232 !important;
  border-radius: 24px !important;
  padding: 24px 28px !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8) !important;
  box-sizing: border-box !important;
}

.copero-identity-grid {
  display: grid !important;
  grid-template-columns: 260px 1.15fr 280px !important;
  gap: 24px !important;
  width: 100% !important;
  align-items: stretch !important;
  box-sizing: border-box !important;
}

@media (max-width: 950px) {
  .copero-identity-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* Selector Pierna Hábil */
.copero-foot-group {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4px !important;
  background-color: #141923 !important;
  border: 1.5px solid #263145 !important;
  border-radius: 12px !important;
  padding: 4px !important;
  box-sizing: border-box !important;
}

.copero-foot-btn {
  padding: 7px 12px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
}

.copero-foot-btn.active {
  background-color: #ffffff !important;
  color: #020617 !important;
  font-weight: 900 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.copero-foot-btn.inactive {
  background-color: transparent !important;
  color: #94a3b8 !important;
}

.copero-foot-btn.inactive:hover {
  color: #ffffff !important;
}

/* Lista de Países */
.copero-countries-box {
  background-color: #10141d !important;
  border: 1px solid #1c2433 !important;
  border-radius: 16px !important;
  padding: 10px !important;
  height: 380px !important;
  max-height: 380px !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

.copero-countries-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

.copero-country-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  background-color: #141924 !important;
  border: 1.5px solid #20293a !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  user-select: none !important;
}

.copero-country-item:hover {
  background-color: #1c2434 !important;
  border-color: #3b4860 !important;
}

.copero-country-item.selected {
  background-color: #1e2738 !important;
  border: 1.5px solid #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
}

/* Cancha Táctica */
.copero-pitch-card {
  background-color: #072518 !important;
  background-image: linear-gradient(180deg, #072518 0%, #051c12 100%) !important;
  border: 1.5px solid #115e3c !important;
  border-radius: 16px !important;
  position: relative !important;
  height: 380px !important;
  padding: 12px 8px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.pos-pill {
  border-radius: 9999px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
  text-align: center !important;
}

.pos-pill.pos-selected {
  background-color: #ffffff !important;
  color: #020617 !important;
  border: 2px solid #ffffff !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  padding: 5px 14px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6) !important;
  transform: scale(1.08) !important;
  z-index: 20 !important;
}

.pos-pill.pos-unselected {
  background-color: rgba(2, 6, 23, 0.65) !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  padding: 4px 10px !important;
}

.pos-pill.pos-unselected:hover {
  background-color: rgba(2, 6, 23, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  transform: scale(1.05) !important;
}

/* ============================================================ */
/* PANTALLA 3: CARRERA ACTIVA (FOTO 2 Y FOTO 3)                 */
/* ============================================================ */
.copero-career-card {
  width: 100% !important;
  max-width: 1080px !important;
  margin: 0 auto !important;
}

.copero-career-hero {
  background-color: #0e121a !important;
  border: 1.5px solid #1b2333 !important;
  border-radius: 20px !important;
  padding: 18px 24px !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7) !important;
  margin-bottom: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.copero-ovr-badge {
  width: 72px !important;
  height: 72px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  color: #020617 !important;
  font-weight: 900 !important;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35) !important;
  flex-shrink: 0 !important;
}

.copero-career-grid {
  display: grid !important;
  grid-template-columns: 1.35fr 1fr !important;
  gap: 20px !important;
  width: 100% !important;
}

@media (max-width: 920px) {
  .copero-career-grid {
    grid-template-columns: 1fr !important;
  }
}

.copero-panel {
  background-color: #0e121a !important;
  border: 1.5px solid #1b2333 !important;
  border-radius: 20px !important;
  padding: 22px !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7) !important;
  box-sizing: border-box !important;
}

/* Tarjetas de ofertas de cantera */
.copero-offer-card {
  background-color: #0c1017 !important;
  border: 1.5px solid #1d2536 !important;
  border-radius: 18px !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.copero-offer-card:hover {
  border-color: #f59e0b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.2) !important;
}

/* Tarjetas de decisión de carrera (Foto 3) */
.copero-decision-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  width: 100% !important;
}

@media (max-width: 640px) {
  .copero-decision-grid {
    grid-template-columns: 1fr !important;
  }
}

.copero-decision-card {
  background-color: #0c1017 !important;
  border: 1.5px solid #1d2536 !important;
  border-radius: 20px !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.copero-decision-card:hover {
  border-color: #38bdf8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.2) !important;
}

.copero-pill-success {
  background-color: #082416 !important;
  border: 1px solid #15803d !important;
  color: #4ade80 !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.copero-pill-danger {
  background-color: #290d13 !important;
  border: 1px solid #9f1239 !important;
  color: #fb7185 !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.copero-pill-neutral {
  background-color: #141924 !important;
  border: 1px solid #273247 !important;
  color: #cbd5e1 !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* ============================================================ */
/* PANTALLA 4: RESUMEN FINAL DE CARRERA (FOTO 4)                */
/* ============================================================ */
.copero-summary-grid {
  display: grid !important;
  grid-template-columns: 1.25fr 1fr 0.85fr !important;
  gap: 16px !important;
  width: 100% !important;
  margin-bottom: 20px !important;
}

@media (max-width: 920px) {
  .copero-summary-grid {
    grid-template-columns: 1fr !important;
  }
}

.copero-clubs-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  width: 100% !important;
}

@media (max-width: 768px) {
  .copero-clubs-grid {
    grid-template-columns: 1fr !important;
  }
}
