* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
}
header {
  background-color: #F9D76D;
  color: #003d99;
  padding: 1rem;
  text-align: center;
  border-radius: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
  margin-left: 20px;
  margin-right: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
nav {
  background-color: #F9D76D;
  display: flex;
  border-radius: 16px;
  justify-content: space-between;
  align-items: center;
  margin: 20px;
  padding: 0.5rem 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

nav .menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #003d99;
  cursor: pointer;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #003d99;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffdd57;
}

/* Responsive */
@media (max-width: 768px) {
  nav .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li a {
    padding: 0.5rem 0;
  }
}

.login-button {
  color: red;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-left: 10px;
}
.login-button:hover {
  background-color: #ffe678;
}
section {
  padding: 1rem;
  margin: 20px;
  margin-bottom: 40px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
h2 {
  color: #0d6efd;
  margin-bottom: 0.5rem;
}
footer {
  text-align: center;
  padding: 1rem;
  background-color: #eee;
  border-top: 1px solid #ccc;
  margin-top: 2rem;
}

.lista1{
    margin-left: 20px;
}
.imgpresentacion{
  width: 100px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 100px;
  box-shadow: 2px 2px 4px rgb(44, 44, 46);
}

.seccion1{
    margin: 10px;
    text-align: center;
    display: flex;
}

.seccion2{
    margin: 10px;
    text-align: center;
}

.seccion3{
    margin: 10px;
    text-align: center;
}

#contenedorPedidos {
  max-height: 700px;     /* Altura máxima del contenedor */
  overflow-y: auto;        /* Scroll vertical si hay muchas celdas */
  padding: 10px;
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  gap: 30px;
}

#contenedoEnEntrega {
  max-height: 700px;     /* Altura máxima del contenedor */
  overflow-y: auto;        /* Scroll vertical si hay muchas celdas */
  padding: 10px;
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  gap: 30px;
}


.div2 {
  display: flex;
  gap: 10px;
  border: 1px solid black;
  padding: 10px;
  border-radius: 8px;
  background-color: #f9f9f9;
}


.imagensubir{
    height: 200px;
    width: 200px;
    align-self: center;
    
}

.division1{
    background-color: rgb(243, 241, 241);
    border-radius: 16px;
    width: 400px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    flex-direction: column;
    gap: 5px;
    text-align: left;
    
}

label{
  color: #003d99; 
  font: bold;
}


@keyframes parpadeo {
  0%   { background-color: blue; color: white; }
  50%  { background-color: red; color: white; }
  100% { background-color: blue; color: white; }
}

.boton-parpadeante {
  animation: parpadeo 2s infinite;
}

/* Estilos específicos para stockProductos.html */
.search-pagination-container {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-image {
    width: 100px; /* Tamaño más pequeño para la imagen de login */
    height: 100px;
    margin-top: 20px;
    margin-bottom: 10px;
    border-radius: 100px;
    box-shadow: 2px 2px 4px rgb(44, 44, 46);
}

/* Estilo para las imágenes de productos en la tabla */
#productosTable img {
    width: 50px; /* Ajusta el tamaño según sea necesario */
    height: 50px;
    object-fit: cover; /* Para que la imagen no se distorsione */
    border-radius: 5px;
}

/* --- Nuevos estilos para pedidosProductos.html --- */

/* Grid para la información del cliente */
.info-cliente-grid {
  display: grid;
  grid-template-columns: max-content 1fr; /* Columna de etiqueta y columna de valor */
  gap: 8px 16px; /* Espaciado vertical y horizontal */
  margin: 0 auto;
  max-width: 800px;
  padding: 1rem;
}

.info-cliente-grid strong {
  font-weight: bold;
  color: #333;
  text-align: right;
}

.info-cliente-grid span {
  color: #555;
}

/* Contenedor para las tarjetas de productos */
#pedidos {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Espacio entre tarjetas */
}

/* Estilo de la tarjeta de producto */
.producto-card {
  display: grid;
  grid-template-columns: 100px 1fr auto; /* Imagen, Info, Precios */
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.producto-card .Imagendelproducto {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.producto-info p {
  margin: 0 0 4px 0;
}

.producto-info .idProducto {
  color: #007bff;
}

.producto-info .cantidadUnidad {
  color: red;
  font-weight: bold;
}

.producto-precios {
  text-align: right;
  font-size: 0.9em;
  color: #555;
}

.producto-precios p {
  margin: 0 0 4px 0;
}

.producto-precios .precio-total {
  font-weight: bold;
  font-size: 1.2em;
  color: red;
}
