/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Fuente base y colores OMITAS */
  body {
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    color: #333;
    padding-bottom: 70px; /* espacio para el menú inferior */
  }
  
  /* Topbar */
  .topbar {
    background: #005288;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .user-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
  }
  
  #cerrarSesion {
    font-size: 0.8rem;
    color: #ffd700;
    text-decoration: none;
  }
  
  #cerrarSesion:hover {
    text-decoration: underline;
  }
  
  /*div del contenido principal*/
  #loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.7rem;
    text-align: center;
    color: #005288;
    font-size: 1rem;
  }
  
  .spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #ddd;
    border-top: 6px solid #005288;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  

  /* Contenido principal */
  .contenido {
    padding: 0.7rem;    
  }
  
  .tarjeta-plan {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 0.8rem;
    margin-bottom: 10PX;
  }
  .tarjeta-plan h1 {
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #005288;
  }
  #plan3000 {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 0.8rem;
    margin-bottom: 10PX;
  }
  .rojo {
    color: #d35400;
  }
  .azul {
    color: #005288;
  }
  
  /* Menú inferior */
  .menu-inferior {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #ccc;
    display: flex;
    padding: 0.4rem 0;
  }
  
  .item-menu {
    width: 20%; /* Cada ítem ocupa 20% del ancho */
    color: #777;
    text-decoration: none;
    font-size: 0.8rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .item-menu i {
    font-size: 1.2rem;
    margin-bottom: 2px;
  }
  
  .item-menu.activo {
    color: #005288;
    font-weight: bold;
  }
  
  .item-menu.nea {
    color: #d35400;
    font-size: 1rem;
  }
  
  .item-menu.nea i {
    font-size: 1.5rem;
  }
  
  

  /*tablas*/
  
  /* Contenedor */
.contenedor-tablas {
  padding: 5px;
  border-radius: 10px;
  overflow-x: auto;
}

/* Tabla general */
table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.85rem;
}

/* Encabezados */
th {
  background-color: #4CAF50;
  color: white;
  padding: 10px 6px;
  font-weight: bold;
  font-size: 0.85rem;
}

/* Celdas */
td {
  text-align: center;
  padding: 8px 4px;
  font-size: 0.8rem;
  color: #333;
}

/* Filas alternas */
tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Botón "Ver" */
.toggle-button {
  background-color: #d35400;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.toggle-button:hover {
  background-color: #b84300;
}

/* Modal de detalles */
.detalles {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ccc;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  border-radius: 12px;
  font-size: 15px;
  max-width: 90%;
  max-height: 80%;
  overflow-y: auto;
}

/* Botón de cerrar modal */
.cerrar-button {
  background-color: #d35400;
  color: #ffffff;
  margin-top: 10px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 0.75rem;
}


  /*animaciones para el contenido que va a viene*/
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Clase utilitaria por si querés aplicarla fácilmente */
  .fade-in {
    animation: fadeIn 0.5s ease;
  }
  
  /*estilo de botones e un contenedor*/
  .accesos-rapidos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 1rem;
    padding: 0.3rem;
  }
  
  
  .acceso {
    background: #ffffff;
    flex: 1 1 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
    border-radius: 12px;
    padding: 0.5rem 0.5rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    font-size: 0.75rem;
    color: #005288;
    word-wrap: break-word;
    white-space: normal;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .acceso span {
    display: block;
    margin-top: 0.5rem;
    line-height: 1.1;
    word-break: break-word;
  } 
  
  
  .acceso i {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    display: block;
  }
  a.acceso {
    text-decoration: none;
    color: inherit; /* Para mantener el color original del texto */
  }
  
  
  