body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffe7da;
}


main {
    padding: 170px;
}

#pedidos-container h2 {
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #af5e4b;
    color: white;
}


footer {
            background-color: #af5e4b;
            color: #fff;
            text-align: center;
            padding: 10px;
            position: fixed;
            bottom: 0;
            width: 100%;
        }


.menu-link {
    text-decoration: none;
}

.menu-button {
    background: none;
    border: none;
    font-size: 18px;
    padding: 10px;
    cursor: pointer;
    color: #5a3e2b;
    transition: 0.3s;
}

.menu-button i {
    margin-right: 5px;
}

.menu-button:hover {
    color: #af5e4b;
    font-weight: bold;
}

/* Estilo para la barra de navegación */
.navbar {
    background-color: #af5e4b; /* Color de fondo de la barra de navegación */
    padding: 10px;
    display: flex;
    align-items: center;
    width: 100%;
    position: fixed; /* Fija la barra de navegación */
    top: 0; /* Barra fija en la parte superior */
    z-index: 999; /* Asegúrate de que esté por encima de otros elementos */
    overflow: hidden; /* Evita que el contenido se desborde */
}

.navbar-image {
    height: 80px; /* Ajusta la altura según sea necesario */
    width: auto; /* Ajusta el ancho automáticamente */
    margin-left: auto; /* Empuja la imagen hacia la derecha */
    margin-right: 20px;
}

.sub-navbar {
    background-color:#fcfbee; /* Color de fondo de la barra secundaria */
    padding: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    position: fixed; /* Fija la barra secundaria */
    top: 100px; /* Espaciado debajo de la primera barra de navegación */
    z-index: 998; /* Asegúrate de que esté por debajo de la primera barra de navegación */
    overflow: hidden; /* Evita que el contenido se desborde */
}
.galeria-reseñas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  justify-items: center;
  margin: 50px auto;
  max-width: 1200px;
  padding-top: 125px;
}

.MIreseña-tarjeta {
  background-color: #fff8f4;
  border: 2px solid #dca89c;
  border-radius: 12px;
  padding: 15px;
  width: 100%;
  max-width: 220px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: relative;
}

.MIreseña-tarjeta img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.MIreseña-tarjeta p {
  margin: 5px 0;
  font-size: 14px;
  color: #333;
}

.MIreseña-tarjeta .botones-reseña {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.boton-editar, .boton-eliminar {
  background-color: #af5e4b;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.boton-editar:hover {
  background-color: #d2691e;
}

.boton-eliminar:hover {
  background-color: #a94442;
}
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px #888;
  z-index: 1000;
  width: 90%;
  max-width: 400px;
}

.modal-content {
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}
/* Modal fijo y centrado */
.modalG {
    position: absolute;
  top: 200px; /* espacio para las barras */
  left: 50%;
  transform: translateX(-50%);

    display: flex;
    justify-content: center;
    align-items: center;
   
    width: 90%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95); /* Fondo con más opacidad */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Títulos del modal */
.modalG h2 {
    font-size: 22px;
    color: #af5e4b;
    margin-bottom: 15px;
}

/* Inputs estilizados */
.label {
    font-weight: bold;
    color: #333;
}
.boton-gestion {
    width: 100%;
    background-color: #af5e4b;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}
.boton-gestion + .boton-gestion {
  margin-top: 10px; /* espacio entre botones consecutivos */
}
.gestion-form{
position: relative;
  min-height: 100vh;
  padding-top: 180px; 
  display: flex;
  justify-content: center;
  align-items: flex-start; /* alinea arriba */
}
.input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 2px solid #af5e4b;
  border-radius: 5px;
  background: #f9f9f9;
  font-size: 16px;
  box-sizing: border-box;
}
