body {
    background-color: #2d3031;
}

.navbar {
    background-color: #0D7BFF;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between; /* Espacia los elementos de los extremos */
    align-items: center;
    padding: 0 20px; /* Añade un poco de padding lateral */
}

.navbar-nav {
    display: flex;
    justify-content: center; /* Centra los elementos de la lista dentro del contenedor flex */
    flex: 1;
}

.nav-item {
    margin: 0 15px; /* Añade algo de espacio entre los elementos de la lista */
}

a {
    color: white;
    font-size: 25px;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    color: red;
}

.imagen_tienda {
    width: 200px;
    height: 140px;
}

.navbar-right {
    display: flex;
    align-items: center;
}

#pagina-ayuda p {
    color: rgb(255, 255, 255);
    font-size: 15px;
    text-align: left;
    padding-left: 28%;
    padding-right: 28%;
}

#pagina-ayuda h1 {
    color: rgb(255, 255, 255);
}

#pagina-ayuda i {
    font-weight: bold;
}

h2 {
    color: rgb(255, 255, 255);
    font-size: 30px;
}

#pagina-ayuda2 {
    padding-left: 0px;
    padding-top: 150px;
    text-align: center;
    color: white;
}

#pagina-ayuda2 th, td, input {
    text-align: center;
}

.botonActualizar {
    background-color: rgb(227, 193, 0);
    border-color: rgb(227, 193, 0);
}

.botonEliminar {
    background-color: rgb(173, 0, 0);
    border-color: rgb(173, 0, 0);
}

.botonComprar {
    background-color: rgb(13, 193, 0);
    border-color: rgb(13, 193, 0);
}

.carrito-scroll {
    max-height: 500px; /* Ajusta esta altura según sea necesario */
    overflow-y: auto;
}

table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

thead th {
    position: sticky;
    top: 0;
    background-color: #343a40; /* Fondo oscuro para la cabecera */
    color: white;
    z-index: 1; /* Asegura que se mantenga sobre las filas del cuerpo */
}

tfoot td {
    position: sticky;
    bottom: 0;
    background-color: #343a40; /* Fondo oscuro para el pie de página */
    color: white;
    z-index: 1; /* Asegura que se mantenga sobre las filas del cuerpo */
}
