@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');

* {
  box-sizing: border-box;
}
body {
  background-image: url('img/imagen-fondo-login.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  min-height: 100vh;
}

.logo {
  width: 60px;
  height: auto;
  vertical-align: middle;
  margin-right: 10px;
}

.hero {
  background-color: rgba(15, 15, 15, 0.8);
  text-align: center;
  padding: 4em 2em;
  position: relative;
}

.hero h1 {
  font-size: 3em;
  color: #00ffea;
}

.hero p {
  font-size: 1.2em;
}

.btn,
.btn-rojo,
.btn-gris {
  padding: 0.8em 1.5em;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.btn {
  background-color: #ff0055;
  color: white;
  margin-top: 1em;
}

.btn-rojo {
  background-color: #ff0055;
  color: white;
}

.btn-gris {
  background-color: #444;
  color: white;
}

.productos {
  padding: 2em;
  background-color: rgba(24, 24, 24, 0.7);
}

.grid-productos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.producto {
  width: 250px;
  background-color: #1c1c1c;
  border-radius: 12px;
  text-align: center;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.producto img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.producto h3 {
  color: cyan;
  font-size: 18px;
  margin-bottom: 5px;
}

.producto p {
  color: white;
  font-weight: bold;
}

.producto button {
  background-color: red;
  color: white;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  margin: 15px auto 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.producto button:hover {
  background-color: #ff3333;
}

.carrito {
  padding: 2em;
  background-color: rgba(0, 0, 0, 0.6);
}

footer {
  background: #0f0f0f;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
}

.btn-vaciar {
  background-color: #ff3333;
  color: white;
  padding: 0.5em 1em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 1em;
}

#lista-carrito li {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.boton-carrito {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ff0055;
  color: white;
  padding: 0.7em 1.2em;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  font-weight: bold;
  z-index: 10;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.boton-carrito:hover {
  transform: scale(1.1);
}

.boton-carrito span {
  background-color: #000;
  border-radius: 50%;
  padding: 0.3em 0.6em;
  margin-left: 0.5em;
  font-size: 0.9em;
}

.boton-soporte {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: cyan;
  color: black;
  padding: 0.6em 1em;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 8px #00ffff;
  z-index: 10;
}

.login-container {
  max-width: 400px;
  width: 90%;
  background: rgba(0, 0, 0, 0.85);
  padding: 2em;
  border-radius: 10px;
  color: white;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
  animation: fadeInUp 0.6s ease;
}

.login-container input,
.login-container button {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: none;
  font-size: 1em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
}
.login-container input:focus {
  outline: none;
  box-shadow: 0 0 8px cyan;
  background-color: #f0faff;
}
.login-container form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.login-container button {
  background-color: #eee;
  color: black;
  font-weight: bold;
  cursor: pointer;
}

.login-container button:hover {
  background-color: #ddd;
}

.carrito-modal {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #181818;
  color: white;
  padding: 1em;
  border-radius: 12px;
  box-shadow: 0 0 10px #000;
  z-index: 9999;
  width: 250px;
  transition: transform 0.3s ease;
}

.carrito-modal.oculto {
  display: none;
}

.carrito-modal ul {
  list-style: none;
  padding-left: 0;
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 1em 2em;
  border-radius: 8px;
  box-shadow: 0 0 10px black;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 9999;
}

.toast.visible {
  opacity: 1;
}

.toast.oculto {
  opacity: 0;
  pointer-events: none;
}

.cerrar-sesion {
  position: absolute;
  top: 20px;
  right: 20px;
  background: red;
  color: white;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.logo-esquina {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 90px;
}

.logo-centro {
  width: 320px;
  margin-bottom: 10px;
}

.modal-carrito {
  position: fixed;
  top: 0;
  right: 0;
  width: 350px;
  height: 100%;
  background: #111;
  color: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.6);
  padding: 20px;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.modal-carrito.activo {
  transform: translateX(0%);
}

.modal-carrito h2 {
  margin-top: 0;
}

.oculto {
  display: none;
}

.container {
  max-width: 1000px;
  margin: auto;
  background: #222;
  padding: 20px;
  border-radius: 12px;
}

table {
  width: 100%;
  margin-top: 15px;
  border-collapse: collapse;
}

th, td {
  padding: 8px;
  text-align: center;
  border-bottom: 1px solid #555;
}

.logo-panel {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  flex-direction: column;
}
.login-container button {
  background-color: #00ffff;
  color: #000;
  font-weight: bold;
  font-size: 1em;
  border: none;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 0 10px #00ffff;
  transition: all 0.3s ease-in-out;
}

.login-container button:hover {
  background-color: #0ff;
  box-shadow: 0 0 15px #00ffff, 0 0 30px #0ff;
  transform: scale(1.05);
}