body {
  background-color: rgb(31, 31, 31);
  margin: 0px;
}

header {
  background-color: rgb(31, 31, 31);
  padding: 0px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgb(25, 25, 25);
}

.header-izquierda {
  display: flex;
  align-items: center;
}

.botones-navegacion {
  display: flex;
  gap: 20px;
  margin-left: 20px;
  font-size: 15px;
}

.n-bt {
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 15px;
}

.logo {
  height: 55px;
  cursor: pointer;
  border-radius: 5px;
}

.logo-link {
  text-decoration: none;
}


.n-bt {
  font-family: 'Poppins', sans-serif;
  padding: 0px 0px 0px 0px;
  margin: 10px;
  text-decoration: none;
  color: white;
  font-weight: bold;
}


.botones-derecha img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 30px;
  filter: grayscale(100%) brightness(1000%) contrast(0%) sepia(0%);
}

.botones-derecha{
  display: flex;
  align-items: center;
}

.botones-derecha a{
  text-decoration: none;
  margin: 10px;
}

.botones-derecha p {
  font-family: 'Poppins', sans-serif;
  margin: 5px;
  font-size: 15px;
  text-decoration: none;
  color: white;
  font-weight: bolder;
  text-align: center;
}

.boton-ingresar{
  font-family: 'Poppins', sans-serif;
  padding: 10px 30px;
  border: none;
  border-radius: 50px;
  background-color: #050505;
  color: white;
  font-size: 15px;
  cursor: pointer;
  margin: 10px;
  font-weight: bold;
}

.boton-ingresar:hover {
  background-color: rgb(47, 47, 47);
}

.img-campana {
  margin: 10px;
  border-radius: 5px;
  height: 40px;
  width: 35px;
  filter: grayscale(100%) brightness(1000%) contrast(0%) sepia(0%);
}
.banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  font-size: 30px;
  cursor: pointer;
  padding: 5px 15px 5px 15px;
  z-index: 2;
  border-radius: 50%;
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

.indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.indicator.active {
  background-color: rgb(230, 230, 230);
}

.boton-menu {
  display: flex;
  justify-content: center;
}

.boton-menu button {
  font-family: 'Poppins', sans-serif;
  padding: 10px 30px;
  border: none;
  border-radius: 50px;
  background-color: #050505;
  color: white;
  font-size: 15px;
  cursor: pointer;
  margin: 20px;
  font-weight: bold;
}

.boton-menu button:hover {
  background-color: rgb(47, 47, 47);
}

.contenedor-platillos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px;
  justify-items: center;
}

.platillo {
  background-color: white;
  color: black;
  border-radius: 15px;
  overflow: hidden;
  width: 250px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.platillo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.platillo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.platillo h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
}

.platillo p {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 5px 0;
}

.platillo button {
  margin: 15px 0 20px 0;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  background-color: #050505;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.platillo button:hover {
  background-color: #333;
}

.botones-navegacion {
  display: flex;
  gap: 20px;
  flex: 1;
  justify-content: center;
  font-size: 15px;
}

.botones-derecha .nombre-usuario p {
  display: flex;
  align-items: center;
  gap: 6px; /* espacio entre "Perfil" y nombre */
  margin: 0;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-size: 15px;
}

.botones-derecha .nombre-usuario {
  font-weight: bold;
  font-size: 18px;
  margin: 5px;
}

.fila-platillos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.platillo {
  width: 280px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform 0.3s;
}

.platillo img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.platillo h3 {
  font-size: 18px;
  text-align: center;
  margin: 5px 0;
  color: #333;
  min-height: 20px;
}

.platillo p {
  font-size: 16px;
  font-weight: bold;
  color: #444;
  margin-bottom: 12px;
}

.platillo button {
  padding: 10px 20px;
  background-color: #ff6600;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: auto;
}

.platillo button:hover {
  background-color: #e05500;
}

.platillo:hover {
  transform: scale(1.05);
}

.footer {
  background-color: #0f0f0f;
  color: white;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
  font-family: 'Roboto', sans-serif;
}

.footer h1{
  font-size: 20px;
}

.footer a {
  color: #ffcc00;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-contenido p {
  margin: 5px 0;
  font-size: 18px;
}

/* Contenedor de notificaciones */
#notificaciones {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  font-family: 'Roboto', sans-serif;
}

/* Estilo de cada toast */
.toast {
  background-color: #28a745; /* verde por defecto */
  color: white;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  min-width: 300px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideIn 0.5s;
}

.toast.cancelado {
  background-color: #dc3545; /* rojo para cancelado */
}

.toast button.cerrar {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* Animación de entrada */
@keyframes slideIn {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}
