/* ========================================================
   DISEÑO TEMÁTICO: BINGO CASINO / SCI-FI EMERALD GOLD
======================================================== */

* {
  box-sizing: border-box;
}

body.login-body {
  margin: 0;
  padding: 60px 15px 30px;
  font-family: 'Montserrat', sans-serif;
  
  /* IMAGEN DE FONDO FONDO.JFIF CON CAPA DE CONTRASTE */
  background-image: 
    linear-gradient(rgba(10, 22, 38, 0.3), rgba(6, 14, 25, 0.3)),
    url('fondo.jfif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

/* BANNER SUPERIOR */
.banner-slide {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #093028, #237a57, #134e5e);
  border-bottom: 2px solid #d4af37;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  z-index: 9999;
  box-shadow: 0 4px 15px rgba(0, 255, 170, 0.25);
}

.banner-slide span {
  display: inline-block;
  padding-left: 100%;
  animation: slideBanner 14s linear infinite;
  font-weight: 700;
  color: #fff9e6;
  text-shadow: 0 0 8px rgba(0, 255, 170, 0.8), 1px 1px 3px rgba(0, 0, 0, 0.9);
  font-size: 14px;
}

@keyframes slideBanner {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* TARJETA PRINCIPAL DEL LOGIN */
.login-container {
  width: 100%;
  max-width: 410px;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.login-card {
  width: 100%;
  background: linear-gradient(180deg, #102538 0%, #0b1a29 100%);
  border: 3px solid #b89345;
  border-radius: 30px;
  padding: 30px 24px;
  position: relative;
  box-shadow: 
    0 0 0 2px #3b2b13,
    0 0 35px rgba(0, 255, 160, 0.22),
    inset 0 0 20px rgba(0, 0, 0, 0.8);
  text-align: center;
  animation: fadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* MARCO CENTRAL CIRCULAR TIPO RULETA / LOGO */
.logo-circle-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outer-glow-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed #00ffaa;
  box-shadow: 0 0 20px rgba(0, 255, 170, 0.6);
  opacity: 0.7;
  animation: spinRing 25s linear infinite;
}

@keyframes spinRing {
  100% { transform: rotate(360deg); }
}

.inner-circ-frame {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 5px solid #d4af37;
  background: radial-gradient(circle, #1a4d3e 0%, #0c201d 100%);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8), 0 0 10px rgba(212, 175, 55, 0.5);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.login-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* TITULO "ÁREA DE CLIENTE" ESTILO METÁLICO */
.area-cliente-badge {
  font-family: 'Cinzel', serif;
  color: #ecd58b;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 10px rgba(212, 175, 55, 0.6);
  margin-bottom: 22px;
}

/* INPUTS CON MARCO BISELADO TIPO PANTALLA ARCADE */
.input-editable {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #17382d 0%, #0d211a 100%);
  border: 2px solid #b89345;
  border-radius: 20px;
  box-shadow: inset 0 3px 6px rgba(0,0,0,0.7), 0 2px 5px rgba(0,0,0,0.4);
  padding: 2px 14px;
  transition: all 0.3s ease;
}

.input-editable:focus-within {
  border-color: #00ffaa;
  box-shadow: 0 0 12px rgba(0, 255, 170, 0.5), inset 0 2px 5px rgba(0,0,0,0.8);
}

.input-icon-slot {
  font-size: 18px;
  margin-right: 8px;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.4));
}

.login-input {
  width: 100%;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #f7fffa !important;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 6px;
  font-family: 'Montserrat', sans-serif;
}

.login-input::placeholder {
  color: #8faea4;
  font-weight: 500;
}

.input-editable .edit-icon {
  cursor: pointer;
  font-size: 17px;
  color: #ffbe0b;
  transition: transform 0.2s, filter 0.2s;
  padding: 4px;
}

.input-editable .edit-icon:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 6px #ffd000);
}

/* BOTÓN ENTRAR */
.login-btn {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  background: linear-gradient(180deg, #44b677 0%, #1e7046 50%, #144f31 100%);
  border: 2px solid #d4af37;
  border-radius: 20px;
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 
    0 5px 0 #0d301e, 
    0 8px 18px rgba(0, 0, 0, 0.6), 
    0 0 15px rgba(0, 255, 136, 0.35);
  transition: all 0.15s ease;
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.login-btn:hover {
  background: linear-gradient(180deg, #51cf89 0%, #248854 50%, #175e3a 100%);
  box-shadow: 
    0 4px 0 #0d301e, 
    0 6px 20px rgba(0, 255, 170, 0.5);
  transform: translateY(-1px);
}

.login-btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #0d301e, 0 3px 8px rgba(0,0,0,0.7);
}

/* BOTÓN ADMINISTRACIÓN */
.admin-btn-casino {
  width: 100%;
  margin-top: 14px;
  background: linear-gradient(180deg, #18334a 0%, #0d1e2e 100%);
  border: 1.5px solid #38bdf8;
  border-radius: 14px;
  color: #7dd3fc;
  font-size: 14px;
  font-weight: 700;
  padding: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.5);
  transition: all 0.2s ease;
}

.admin-btn-casino:hover {
  background: linear-gradient(180deg, #224768 0%, #132a40 100%);
  color: #ffffff;
  border-color: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
  transform: translateY(-1px);
}

.divider-gold {
  margin: 22px 0 16px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #b89345, #00ffaa, #b89345, transparent);
}

/* SECCIÓN VERIFÍCATE Y BOTONES DE BINGOS */
.verificate-title {
  color: #ecd58b;
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(212, 175, 55, 0.5);
  margin-bottom: 12px;
}

.bingos-grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.bingo-btn-login {
  background: linear-gradient(180deg, #244b3c 0%, #10251d 100%);
  border: 1.5px solid #d4af37;
  color: #f7fffa;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 15px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.2s ease;
}

.bingo-btn-login:hover {
  background: linear-gradient(180deg, #2e614d 0%, #143026 100%);
  border-color: #00ffaa;
  color: #00ffaa;
  box-shadow: 0 0 14px rgba(0, 255, 170, 0.6);
  transform: translateY(-2px);
}

/* ========================================================
   MODAL DE LISTA DE JUGADORES (ESTILO SCI-FI NEÓN)
======================================================== */
#modalLista {
  display: none;
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(3, 8, 16, 0.92);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  padding: 14px;
  z-index: 10000;
}

#listaBox {
  background: #06111e;
  border: 1.5px solid #00d2ff;
  border-radius: 20px;
  padding: 18px 14px;
  width: 100%;
  max-width: 420px;
  max-height: 92vh;
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.25), 0 10px 40px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
}

.lista-header-title {
  color: #00d2ff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 20px;
  text-align: center;
  margin: 0 0 14px 0;
  text-shadow: 0 0 12px rgba(0, 210, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.lista-input-buscar {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(0, 210, 255, 0.4);
  background: #030a12;
  color: #ffffff;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.lista-input-buscar:focus {
  border-color: #00d2ff;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.5);
}

.lista-leyenda {
  background: rgba(3, 10, 18, 0.8);
  border: 1px dashed rgba(0, 210, 255, 0.35);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #b0c7d6;
  margin-bottom: 14px;
  line-height: 1.6;
}

.dot-azul {
  color: #0099ff;
  font-size: 14px;
}

.dot-amarillo {
  color: #ffd000;
  font-size: 14px;
}

.lista-scroll-area {
  overflow-y: auto;
  flex: 1;
  padding-right: 6px;
  margin-bottom: 14px;
}

.lista-scroll-area::-webkit-scrollbar {
  width: 6px;
}
.lista-scroll-area::-webkit-scrollbar-track {
  background: #030a12;
  border-radius: 4px;
}
.lista-scroll-area::-webkit-scrollbar-thumb {
  background: #00d2ff;
  border-radius: 4px;
}

/* TARJETAS DE CADA JUGADOR */
.jugador-card-moderna {
  background: #040e18;
  border: 1.5px solid rgba(0, 210, 255, 0.25);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.jugador-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.jugador-card-nombre {
  color: #00e5ff;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-nivel {
  background: rgba(0, 210, 255, 0.15);
  color: #00e5ff;
  border: 1px solid #00e5ff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
}

.seccion-cartones-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.label-aprobados {
  color: #0099ff;
}

.label-pendientes {
  color: #ffd000;
}

.grid-cartones-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

/* CHIP AZUL NEÓN (APROBADOS) */
.chip-carton-aprobado {
  background: #0088ff;
  color: #ffffff;
  border: 1px solid #38bdf8;
  box-shadow: 0 0 10px rgba(0, 136, 255, 0.7);
  font-weight: 900;
  font-size: 13px;
  padding: 5px 9px;
  border-radius: 6px;
  min-width: 32px;
  text-align: center;
}

/* CHIP AMARILLO NEÓN (PENDIENTES) */
.chip-carton-pendiente {
  background: #cca000;
  color: #ffffff;
  border: 1px solid #ffe066;
  box-shadow: 0 0 10px rgba(255, 208, 0, 0.6);
  font-weight: 900;
  font-size: 13px;
  padding: 5px 9px;
  border-radius: 6px;
  min-width: 32px;
  text-align: center;
}

/* BOTÓN CERRAR MODAL */
.btn-cerrar-azul {
  width: 100%;
  padding: 13px;
  background: #0080ff;
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 128, 255, 0.6);
  transition: all 0.2s ease;
}

.btn-cerrar-azul:hover {
  background: #0066cc;
  box-shadow: 0 0 25px rgba(0, 128, 255, 0.8);
  transform: translateY(-1px);
}

/* FOOTER */
.login-footer {
  margin-top: 30px;
  text-align: center;
  color: #8da4b8;
  font-size: 13px;
  line-height: 1.6;
}

.login-footer a {
  color: #f3cf7a;
  text-decoration: none;
  font-weight: bold;
}

.login-footer a:hover {
  text-decoration: underline;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}