/* Estilos específicos para la página de Gift Cards y la generación de la imagen */

.gc-template {
  width: 650px;
  height: 400px;
  background: linear-gradient(135deg, #181818 0%, #111111 60%, #050505 100%);
  border-radius: 20px;
  padding: 40px;
  box-sizing: border-box;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 100px rgba(0,0,0,0.9);
  border: 1px solid rgba(197, 160, 89, 0.4);
}

/* Efecto de ruido metálico/vidrio sutil para textura premium */
.gc-template::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  z-index: 0;
  pointer-events: none;
}

.gc-template::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -40%;
  width: 250%;
  height: 250%;
  background: radial-gradient(ellipse at center, rgba(197, 160, 89, 0.08) 0%, transparent 50%);
  z-index: 1;
}

.gc-brand {
  position: absolute;
  top: 40px;
  right: 40px;
  text-align: center;
  z-index: 2;
}

.gc-logo-text {
  font-family: 'Inter', sans-serif;
  letter-spacing: 4px;
  font-size: 14px;
  color: #eee;
  text-transform: uppercase;
}

.gc-subtitle {
  font-family: 'Inter', sans-serif;
  letter-spacing: 2px;
  font-size: 10px;
  color: #aaa;
  margin-top: 5px;
}

.gc-main {
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

.gc-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 46px;
  font-weight: 700;
  color: #C5A059; /* Gold */
  margin: 0;
  letter-spacing: 2px;
  text-shadow: 0px 4px 15px rgba(197, 160, 89, 0.4);
}

.gc-amount {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 60px;
  font-weight: 700;
  color: #e5c07b;
  margin: 5px 0 25px 0;
  letter-spacing: 1px;
  text-shadow: 0px 4px 20px rgba(197, 160, 89, 0.5);
}

.gc-code-box {
  display: inline-block;
  background: rgba(197, 160, 89, 0.05);
  border: 1px solid rgba(197, 160, 89, 0.5);
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 18px;
  color: #F8F9FA;
  letter-spacing: 3px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(197, 160, 89, 0.05);
  backdrop-filter: blur(10px);
}

.gc-footer {
  position: absolute;
  bottom: 80px;
  left: 40px;
  z-index: 2;
  width: calc(100% - 80px);
}

.gc-footer p {
  margin: 5px 0;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 15px;
  color: #F8F9FA;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.gc-terms {
  font-size: 11px !important;
  color: #999 !important;
  margin-top: 8px !important;
  letter-spacing: 0.3px;
}

.gc-contact {
  position: absolute;
  bottom: 30px;
  left: 40px;
  z-index: 2;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  color: #fff;
  width: calc(100% - 80px);
}

/* Badges de estado en la tabla */
.status-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}
.status-ACTIVA { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.status-USADA { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }
.status-VENCIDA { background: rgba(149, 165, 166, 0.15); color: #95a5a6; }
