body {
  width: 100%;
  background: lightyellow;
  margin: 0;
  font-family: Arial, sans-serif;
}

a {
  font-size: 18px;
  color: white;
  text-decoration: none;
}

h1 {
  text-align: center;
}

h4 {
  font-size: 18px;
  text-align: left;
  color: red;
}

p {
  font-size: 15px;
  text-align: left;
  width: 600px;
}
#container {
  width: 100%;
  margin: 0px;
  border: 1px solid black;
  box-sizing: border-box;
  background-size: cover;
  background: lightblue;
  min-height: 100vh; /* Asegura que el contenedor tenga al menos la altura de la ventana */
  padding-bottom: 20px; /* Añade espacio al final del contenedor */
}
header {
  background: red;
  height: 50px;
  width: 100%;
  text-align: center;
  line-height: 50px;
  color: white;
  box-sizing: border-box;
}

* {
  margin: 0px;
  padding: 0px;
}

nav ul li {
  float: left;
  list-style: none;
  margin: 10px;
  line-height: 30px;
  box-sizing: border-box;
}

.clearfix {
  clear: both;
}

nav {
  background: lightcyan;
  height: 50px;
  border-bottom: 1px solid black;
  box-sizing: border-box;
  width: 100%; /* Asegura que el menú de navegación cubra todo el ancho */
}

#content {
  float: right;
  width: 80%;
  min-height: 550px;
  max-height: 1150px;
  box-sizing: border-box;
}

#estado {
  text-align: center;
  font-size: 20px;
  color: black;
}

#interruptor, #id_targeta, #equipo, #text, #boton, #Enviar {
  width: 150px;
  font-size: 18px;
  color: black;
  margin-bottom: 15px;
  padding: 6px;
  background: white;
  box-sizing: border-box;
}

#text {
  width: 80%;
  padding: 5px;
  margin-top: 30px;
  cursor: pointer;
}

aside {
  float: right;
  background: black;
  color: white;
  text-align: center;
  font-size: 15px;
  width: calc(20%);
  min-height: 100vh; /* Asegura que el menú de navegación tenga al menos la altura de la ventana */
  max-width: 80%;
  box-sizing: border-box;
}

#boton {
  background: blue;
  text-align: center;
  font-family: monospace;
  font-size: 12px;
  margin-top: 10px;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px; /* Ajusta el margen inferior según necesites */
}

#buscar {
  margin-top: 10px; /* Ajusta el margen superior según necesites */
}
/* Estilos específicos para la página de ventas */
.ventas-container {
  padding: 20px;
  background: #f8f9fa; /* Fondo claro para el contenido */
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tablas mejoradas */
.ventas-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ventas-table th,
.ventas-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

.ventas-table th {
  background: #007bff; /* Azul claro */
  color: white;
  text-transform: uppercase;
}

.ventas-table tr:nth-child(even) {
  background: #f2f2f2; /* Fila alternada */
}

.ventas-table tr:hover {
  background: #e8f5fe; /* Resaltar al pasar el mouse */
}

/* Botones estilizados */
.ventas-button {
  background-color: #28a745; /* Verde */
  color: white;
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.ventas-button:hover {
  background-color: #218838;
}

/* Formularios */
.ventas-form input[type="text"],
.ventas-form input[type="date"],
.ventas-form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.ventas-form input[type="submit"] {
  background-color: #007bff; /* Azul */
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.ventas-form input[type="submit"]:hover {
  background-color: #0056b3;
}
