.mi-tabla {
  border-collapse: collapse;
  width: 100%;
  font-size: 1.3em;

}

.mi-tabla th {
  border: 1px solid #ddd;
  padding: 10px;
  background-color: #696868;
  text-align: center;
  font-weight: bold;
  color: whitesmoke;
}

.mi-tabla td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

/* Estilos para filas impares */
.mi-tabla tr:nth-child(odd) {
  background-color: #8dca8d;
}

/* Estilos para filas pares */
.mi-tabla tr:nth-child(even) {
  background-color:  #f9f9f9;
}

/* Estilos para celdas de tipo numérico */
.mi-tabla td.numerico {
  text-align: center;
}

/* Estilos para celdas de tipo texto */
.mi-tabla td.texto {
  text-align: center;
}

/* Estilos para celdas de tipo fecha */
.mi-tabla td.fecha {
  text-align: center;
}



.boton-modificar,
.boton-eliminar,.boton-agregar {
  display: inline-block;
  padding: 8px 12px;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  color: #fff;
  background-color: #007bff; /* Azul */
  transition: background-color 0.3s ease;
}

.boton-eliminar {
  background-color: #dc3545; /* Rojo */
}

.boton-agregar {
  background-color: #4CAF50; /* verde */
}

/* Estilos al pasar el ratón por encima del enlace */
.boton-modificar:hover,
.boton-eliminar:hover,.boton-agregar:hover {
  background-color: #0056b3; /* Azul más oscuro */
}

.cont-buscador{
  padding: 10px;
}

.buscador{
  display: flex;
  justify-content: center;
  align-items: center;
}

.contenedor-input{
  width: 60%;
  margin-right: 5px;
}
.contenedor-input input{
  width: 100%;
  outline: none;
  border: solid 1px black;
  padding: 10px;
  border-radius: 10px;
  font-size: 1.2em;

}

.resultados{
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  padding: 10px;
  font-weight: bold;
}

.btn-volver {
    position: fixed;
    top: 20px;
    right: 70px;
    padding: 10px;
    background-color: rgb(217, 155, 10);
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-volver:hover {
    background-color: rgb(240, 202, 95);
}

.btn-salir {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px;
    background-color: rgb(217, 155, 10);
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-salir:hover {
    background-color: rgb(240, 202, 95);
}



.icono-casa {
    width: 24px; 
    height: 24px;
}

/*modal baja user*/

.contenedor-modal{
  height: 70vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}


.modal{
  height: 50%;
  width: 50%;
  background-color: rgb(217, 155, 10);
  padding: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  border-radius: 5px;
}

.encabezado{
  height: 25%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  color: #fff;
  background-color: #dc3545;
  border-radius: 5px;
}

.alta{
  background-color: green !important;
}

.datos{
  height: 15%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
}

.datos span{
    margin: 0 2px;
    font-size: 1.5em;
}

.botones{
  width: 40%;
  height: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.botones a{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45%;
  height: 100%;
  font-size: 1.2em;
}




/* Estilos para enlaces de modificar y eliminar en dispositivos móviles */
@media screen and (max-width: 480px) {
  .boton-modificar,
  .boton-eliminar {
    display: block;
    width: 100%;
    margin-bottom: 8px;
  }
}