/* Estilos generales para la vista en escritorio */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f6f8;
  margin: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.container {
  max-width: 1223px;
  width: 100%;
  margin: auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.title {
  font-weight: 700;
  font-size: 36px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  background-clip: text;
  width: 84%;
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  text-align: start;
}

form {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

input {
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 8px;
  width: 220px;
  transition: all 0.3s ease;
  outline: none;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

input:focus {
  border-color: #007BFF;
  box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

button {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background-color: #007BFF;
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

button:active {
  transform: scale(0.98);
}

/* Tabla responsiva */
table {
  width: 1200px;
  border-collapse: collapse;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 40px;
}
.acciones {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  &:hover {
    transform: translate(0, -2px);
  }
}

.bannerInfo {
  display: flex;
  align-items: center;
}

th {
  background-color: #007BFF;
  color: white;
 
}

td button {
  padding: 5px 8px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

td button:first-of-type {
  background-color: #28a745;
  color: white;
}

td button:last-of-type {
  background-color: #dc3545;
  color: white;
}

/* Media Queries para dispositivos móviles */
@media (max-width: 768px) {
  form {
    padding: 15px;
    gap: 5px;
  }

  input {
    width: 180px;
  }

  button {
    width: 100%;
    margin-top: 10px;
  }

  table {
    font-size: 12px;
  }

  td, th {
    padding: 8px;
  }

  th, td {
    text-align: center;
  }
}

@media (max-width: 480px) {
  input {
    width: 150px;
  }

  button {
    width: 100%;
    padding: 12px;
  }

  table {
    font-size: 10px;
  }

  td, th {
    padding: 5px;
  }
}

/* Fondo oscuro de la modal */
.modal {
  display: none; /* Esto evita que aparezca por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
  align-items: center;
  justify-content: center;
}


/* Contenedor del QR */
.modal-contenido {
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  text-align: center;
  position: absolute;
}

/* Botón para cerrar */
.modal-contenido::before {
  content: "✖";
  position: absolute;
  top: -12px;
  right: -12px;
  font-size: 18px;
  cursor: pointer;
  color: #ffffff;
  background-color: #ff4d4d;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  padding: 4px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}
/* 
.modal-contenido::before:hover {
  background-color: #e60000;
  transform: scale(1.1);
} */


