/* AUTH PAGE */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.auth-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.auth-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,207,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,207,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.auth-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.auth-bg-glow-1 {
  width: 400px;
  height: 400px;
  background: rgba(0,207,255,0.08);
  top: -100px;
  left: -100px;
}

.auth-bg-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(255,45,120,0.08);
  bottom: -100px;
  right: -100px;
}

/* CARD */
.auth-card {
  background: linear-gradient(145deg, #111128, #0a0a1a);
  border: 1px solid rgba(0,207,255,0.2);
  border-radius: 8px;
  padding: 0;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

/* Corner gamer */
.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background: #00cfff;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  opacity: 0.8;
  z-index: 2;
}

/* Top line */
.auth-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00cfff, #ff2d78, transparent);
  z-index: 2;
}

.auth-card-top {
  background: rgba(0,207,255,0.04);
  border-bottom: 1px solid rgba(0,207,255,0.1);
  padding: 36px 40px 28px;
  text-align: center;
}

.auth-icon {
  font-size: 48px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 16px rgba(0,207,255,0.5));
}

.auth-card-top h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 6px;
}

.auth-sub {
  color: #4a4a6a;
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* FORM */
.auth-form {
  padding: 32px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  color: #00cfff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  font-family: 'Rajdhani', sans-serif;
  text-shadow: 0 0 8px rgba(0,207,255,0.3);
}

.auth-form input {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(0,207,255,0.15);
  border-radius: 4px;
  padding: 12px 16px;
  color: #e0e0ff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.auth-form input::placeholder {
  color: #2a2a4a;
}

.auth-form input:focus {
  border-color: rgba(0,207,255,0.5);
  background: rgba(0,207,255,0.04);
  box-shadow: 0 0 16px rgba(0,207,255,0.08);
}

.auth-form .btn {
  margin-top: 4px;
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 14px;
}

.auth-link {
  text-align: center;
  color: #4a4a6a;
  font-size: 13px;
}

.auth-link a {
  color: #00cfff;
  text-decoration: none;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(0,207,255,0.3);
  transition: all 0.2s;
}

.auth-link a:hover {
  text-shadow: 0 0 14px rgba(0,207,255,0.6);
}

.error-msg {
  color: #ff2d78;
  font-size: 12px;
  min-height: 16px;
  text-shadow: 0 0 8px rgba(255,45,120,0.3);
}

/* PEDIDOS */
.pedidos-page {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

.pedidos-header {
  margin-bottom: 32px;
}

.pedidos-header h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #00cfff;
  text-shadow: 0 0 16px rgba(0,207,255,0.3);
}

.pedidos-header p {
  color: #4a4a6a;
  margin-top: 8px;
}

.lista-pedidos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pedido-card {
  background: linear-gradient(145deg, #111128, #0a0a1a);
  border: 1px solid rgba(0,207,255,0.15);
  border-radius: 6px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.pedido-info h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.pedido-fecha, .pedido-precio {
  color: #4a4a6a;
  font-size: 13px;
}

.pedido-estado {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}

.sin-pedidos {
  color: #4a4a6a;
  text-align: center;
  padding: 40px;
  font-size: 15px;
}

.sin-pedidos a {
  color: #00cfff;
  text-decoration: none;
}

.btn-cerrar {
  background: transparent;
  border: 1px solid rgba(255,45,120,0.4);
  color: #ff2d78;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-cerrar:hover {
  background: rgba(255,45,120,0.1);
  box-shadow: 0 0 16px rgba(255,45,120,0.2);
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #2a2a4a;
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,207,255,0.1);
}

.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 12px;
  color: #e0e0ff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-google:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}
/* RESUMEN DE PEDIDOS */
.pedidos-resumen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.resumen-card {
  background: linear-gradient(145deg, #111128, #0a0a1a);
  border: 1px solid rgba(0,207,255,0.15);
  border-radius: 6px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.resumen-icon {
  font-size: 28px;
  filter: drop-shadow(0 0 8px rgba(0,207,255,0.3));
}

.resumen-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.resumen-label {
  color: #4a4a6a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Rajdhani', sans-serif;
}

.resumen-valor {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #00cfff;
  text-shadow: 0 0 12px rgba(0,207,255,0.4);
}

/* BOTÓN PDF */
.btn-pdf {
  background: rgba(255,45,120,0.1);
  border: 1px solid rgba(255,45,120,0.3);
  color: #ff2d78;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
}

.btn-pdf:hover {
  background: rgba(255,45,120,0.2);
  box-shadow: 0 0 16px rgba(255,45,120,0.2);
}