/* ============================
   GLOBAL
============================ */
body, html {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #000000, #8d8d8d);
    box-sizing: border-box;
    position: relative;
  }
 
  
  /* ============================
     CONTENEDOR DE TABLA
  ============================ */
  .tabla-zonas-wrapper {
    background: #000;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 15px rgb(255, 255, 255);
    margin: 2rem auto;
    max-width: 1000px;
    width: 95%;
    overflow-x: auto;
  }
  
  /* ============================
     TABLA
  ============================ */
  .tabla-zonas {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    color: white;
  }
  
  .tabla-zonas a {
    color: gold;
    text-decoration: none;
  }
  
  .tabla-zonas a:hover {
    text-decoration: underline;
  }
  
  .tabla-zonas thead {
    background-color: gold;
    color: black;
    font-weight: bold;
  }
  
  .tabla-zonas th, 
  .tabla-zonas td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #ffffff;
  }
  
  .tabla-zonas tbody tr {
    transition: background 0.3s ease;
  }
  
  .tabla-zonas tbody tr:hover {
    background-color: rgba(255, 217, 0, 0.3);
  }
  
  .tabla-zonas table {
    table-layout: fixed; /* Fuerza que las columnas tengan tamaño fijo */
    width: 100%;
  }
  
  .tabla-zonas th, .tabla-zonas td {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  
  /* ============================
     RESPONSIVE
  ============================ */
  @media (max-width: 768px) {
    body {
      font-size: 16px;
    }
  
    .tabla-zonas th, 
    .tabla-zonas td {
      padding: 10px 12px;
      font-size: 0.95rem;
    }
  
    .zona-lista pre {
      font-size: 1rem;
      padding: 0.8rem;
    }
  }
  
  @media (max-width: 480px) {
    .tabla-zonas-wrapper {
      padding: 1rem;
    }
  
    .tabla-zonas th, 
    .tabla-zonas td {
      padding: 8px 10px;
      font-size: 0.9rem;
    }
  
    .zona-lista pre {
      font-size: 0.9rem;
      padding: 0.6rem;
    }
  }
  
    /*========================
    DISEŃO BOTON DE IDIOMA
  =========================*/
  .language-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 20px;
    padding: 10px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    gap: 12px;
    align-items: center;
    transition: transform 0.3s ease;
  }
  
  .language-switcher img {
    width: 36px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .language-switcher img:hover {
    transform: scale(1.2);
  }
  
  /*DISEŃO IDIOMAS RESPONSIVO*/

  .language-switcher {
    position: fixed;
    bottom: 2.5vh;
    right: 2.5vw;
    background: white;
    border-radius: 18px;
    padding: 10px 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    gap: 10px;
    align-items: center;
    transition: transform 0.3s ease;
  }
  
  .language-switcher img {
    width: 34px;
    height: auto;
    max-height: 26px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .language-switcher img:hover {
    transform: scale(1.2);
  }
  
  /* Responsivo extra para pantallas pequeñas */
  @media (max-width: 480px) {
    .language-switcher {
      padding: 8px 12px;
      gap: 8px;
      bottom: 1.5vh;
      right: 1.5vw;
    }
  
    .language-switcher img {
      width: 28px;
      max-height: 22px;
    }
  }
  
  /* Animación de entrada */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.language-switcher {
  animation: fadeInUp 1s ease-out both;
}
