/* General */
body {
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #fefefe;
  color: #333;
  margin: 0;
  padding: 0;
}

.main {
  max-width: 420px;
  margin: auto;
  padding: 20px;
  text-align: center;
}

body.no-scroll {
  overflow: hidden;
}

/* Logo */
.logo {
  width: 300px;
  margin-bottom: 16px;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* Títulos */
h1 {
  font-size: 26px;
  margin-bottom: 4px;
  font-weight: 700;
}

.subtitle {
  font-size: 15px;
  color: #777;
  margin-bottom: 18px;
}

/* Tarjetas */
.card {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  margin-top: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.13);
}

/* Inputs */
input {
  width: 90%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

/* Botones */
button {
  background-color: #d4af37;
  color: #fff;
  border: none;
  padding: 12px 20px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  background-color: #b5932f;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.small-btn {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
}

.secondary-btn {
  background-color: #e0d4a9;
  color: #5b4b1c;
}

.secondary-btn:hover {
  background-color: #d2c38f;
}

.outline-btn {
  background-color: #ffffff;
  color: #b5932f;
  border: 1px solid #d4af37;
}

.outline-btn:hover {
  background-color: #f8f3e4;
}

/* ---------- HOME (MENÚ PRINCIPAL) ---------- */
.home-card {
  text-align: left;
}

/* Saludo en el menú principal */
.home-greeting {
  font-size: 22px;        /* más grande */
  font-weight: 700;       /* más elegante y fuerte */
  color: #5b4a3a;         /* tono café premium */
  margin-bottom: 6px;
  text-align: left;

}

.home-subtitle {
  font-size: 13px;
  color: #777;
  margin-bottom: 16px;
}

/* Botones del menú principal */
.home-btn {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  border: none;
  margin-bottom: 12px;     /* ← unifica espacios */
  display: flex;
  flex-direction: column;
  background: #d7b192;     /* color base (puede cambiar según el botón) */
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* Botones con colores diferentes */
.home-btn-loyalty {
  background: #b77a4a;   /* tono marrón más fuerte */
}

.home-btn-referral {
  background: #d9b893;   /* tono beige-marrón */
}

.home-btn-calendar {
  background: #c79255;   /* tono intermedio */

}

.home-btn-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

.home-btn-subtitle {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.9;
}

/* tonos distintos para cada programa */
.home-btn-loyalty {
  background: linear-gradient(135deg, #b1764c, #d1a079);
  color: #fffaf3;
}

.home-btn-loyalty:hover {
  background: linear-gradient(135deg, #9b6038, #c38f62);
}

.home-btn-referral {
  background: linear-gradient(135deg, #f3e3cf, #e0c2a1);
  color: #5e432b;
}

.home-btn-referral:hover {
  background: linear-gradient(135deg, #ead4bd, #d5b494);
}

.home-logout-btn {
  width: 100%;
  margin-top: 16px;
}

/* ---------- TARJETA PRINCIPAL ---------- */
.loyalty-card {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 22px 22px;
  margin: 0 auto;
  box-shadow: 0px 12px 30px rgba(0,0,0,0.12);
  border: 1px solid rgba(176, 118, 76, 0.4);
  text-align: center;
}

.greeting {
  font-size: 15px;
  font-weight: 600;
  color: #444;
  margin-bottom: 12px;
  text-align: left;
}

/* Bloque visitas */
.loyalty-progress {
  background: linear-gradient(135deg, #f7efe4, #f1e3d0);
  border-radius: 18px;
  padding: 16px 12px 18px;
  border: 1px solid rgba(201, 167, 130, 0.6);
}

.visit-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #7a5642;
  text-align: center;
}

.spark-row-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.spark-row {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.spark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #ceb49a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.spark.empty {
  opacity: 0.45;
  box-shadow: none;
}

.spark.filled {
  opacity: 1;
  background-color: #b1764c;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.6), 0 6px 12px rgba(0,0,0,0.18);
}

.spark.last {
  font-size: 11px;
  font-weight: 600;
  color: #5f3a29;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 4px;
}

.spark.last.filled {
  color: #fffbe9;
}

.spark.animated {
  transform: scale(1.15);
  box-shadow: 0 0 0 2px rgba(255, 244, 220, 0.8), 0 10px 18px rgba(0,0,0,0.25);
}

.visit-counter-text {
  font-size: 13px;
  text-align: center;
  color: #6b4a35;
}

/* Premio */
.reward-card {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px dashed #d4af37;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: 13px;
  color: #5a4a1f;
}

.reward-available-text {
  font-size: 14px;
  color: #7d6a2b;
  text-align: center;
  margin: 4px 0 0 0;
  padding: 0 10px;
  line-height: 1.4;
}

.reward-actions {
  margin-top: 10px;
  text-align: center;
}

.reward-actions button {
  width: 100%;
  max-width: 230px;
}

/* Divisor */
.loyalty-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    to right,
    rgba(212,175,55,0),
    rgba(212,175,55,0.6),
    rgba(212,175,55,0)
  );
  margin: 16px 0 14px;
}

/* QR section */
.qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-header {
  text-align: center;
  margin-bottom: 6px;
}

.qr-title {
  font-size: 14px;
  font-weight: 600;
  color: #444;
}

.qr-subtitle {
  display: block;
  font-size: 11px;
  color: #999;
}

.qr-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px;
  border-radius: 16px;
  border: 1px dashed rgba(212, 175, 55, 0.7);
  background: rgba(255, 255, 255, 0.95);
}

.qr-wrapper canvas {
  border-radius: 12px;
  border: 1px solid #e1d2a4;
  padding: 4px;
}

/* ---------- ADMIN SCANNER ---------- */
.qr-admin-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 15px auto 0;
}

#qr-reader {
  width: 100%;
  height: 100%;
  border: 2px solid #d4af37;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.camera-toggle-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  padding: 4px 6px;
  font-size: 14px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  background: rgba(255, 255, 255, 0.95);
  color: #5b4b1c;
  border: 1px solid rgba(212,175,55,0.6);
  z-index: 20;
}

/* ---------- ADMIN LISTA ---------- */
.admin-clients-section {
  margin-top: 25px;
  padding: 12px 15px 14px;
  border-radius: 16px;
  background: #faf7ee;
  border: 1px solid #e8ddc3;
  text-align: left;
}

.admin-clients-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #b39742;
}

.admin-clients-search {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.admin-search-input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #d5c7a0;
  font-size: 13px;
}

.admin-clients-list {
  max-height: 260px;
  overflow-y: auto;
  padding-right: 5px;
}

.client-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e5d8b8;
}

.client-row:last-child {
  border-bottom: none;
}

.client-row-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.client-email {
  font-size: 12px;
  color: #777;
}

.client-meta {
  font-size: 12px;
  color: #555;
}

/* ---------- REFERIDOS (VISTA COMPLETA) ---------- */
.referral-card {
  text-align: left;
  background: #fffaf4;
  border-radius: 22px;
  border: 1px solid rgba(212,175,55,0.35);
}

.referral-header-block {
  text-align: left;
  margin-bottom: 10px;
}

.referral-header-block h2 {
  margin: 0 0 6px 0;
  font-size: 20px;
  color: #5b3d29;
}

.referral-main-copy {
  margin: 0;
  font-size: 13px;
  color: #7a5b3a;
}

.referral-info {
  font-size: 12px;
  color: #6b4a35;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

/* barra de progreso */
/* CONTENEDOR GENERAL DE LA BARRA */
.referral-progress {
  margin-top: 25px;
  margin-bottom: 25px;
  text-align: center;
}

/* TEXTO ARRIBA DE LA BARRA */
.referral-progress-label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #6d4e37;
}

/* WRAPPER DE LA BARRA (para bordes redondeados) */
.referral-progress-wrapper {
  width: 100%;
  max-width: 340px;
  height: 24px; /* ← más gruesa */
  background: #f1e4d4;
  border-radius: 14px;
  margin: auto;
  display: flex;
  overflow: hidden;
  border: 2px solid #d2b08a;
  position: relative;
}

/* SEGMENTOS (5 partes) */
.referral-progress-segment {
  flex: 1;
  border-right: 1px solid #e3c9ac;
  background: #f7ecdf;
  position: relative;
}

.referral-progress-segment:last-child {
  border-right: none;
}

/* PROGRESO LLENO */
.referral-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, #c58a52, #b0753e);
  border-radius: 12px;
  transition: width 0.5s ease-in-out;
  z-index: 2;

}

/* link de invitación */
.referral-link-row {
  margin-top: 14px;
}

.referral-link-input {
  width: 100%;
  padding: 9px 11px;
  font-size: 12px;
  border-radius: 10px;
  border: 1px solid #d5c7a0;
  background: #ffffff;
  color: #555;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* fila de botones copiar/compartir */
.referral-buttons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.ref-primary-btn {
  background: linear-gradient(135deg, #b1764c, #d1a079);
  color: #fffaf3;
  padding: 9px 16px;
  font-size: 13px;
  border-radius: 999px;
}

.ref-primary-btn:hover {
  background: linear-gradient(135deg, #9b6038, #c38f62);
}

.ref-secondary-btn {
  background: #f3e3cf;
  color: #5e432b;
  padding: 9px 16px;
  font-size: 13px;
  border-radius: 999px;
}

.ref-secondary-btn:hover {
  background: #ead4bd;
}

/* botones inferiores volver / salir */
.referral-bottom-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.referral-bottom-actions button {
  flex: 1;
}

/* ---------- Toast visitas ---------- */
.toast-container {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;
}

.toast-message {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid #e1d2a4;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  font-size: 13px;
  color: #5b4b1c;
  animation: toastIn 0.25s ease-out;
  margin-top: 6px;
}

.toast-message.hide {
  animation: toastOut 0.22s ease-in forwards;
}

.toast-icon {
  font-size: 18px;
}

.toast-text {
  display: flex;
  flex-direction: column;
}

.toast-sub {
  font-size: 12px;
  color: #7b6a34;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(10px); }
}

/* ---------- Overlay premio ---------- */
.reward-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.18) 0, transparent 50%),
    radial-gradient(circle at 90% 30%, rgba(212,175,55,0.2) 0, transparent 55%),
    linear-gradient(135deg, #1f1b2e 0%, #3d324a 40%, #5b4a29 100%);
  z-index: 10000;
  animation: overlayFadeIn 0.35s ease-out;
}

.reward-overlay-inner {
  max-width: 320px;
  width: 85%;
  background: rgba(19, 15, 30, 0.92);
  border-radius: 24px;
  padding: 24px 20px 20px;
  text-align: center;
  color: #fdf7de;
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 223, 128, 0.7);
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s ease;
  position: relative;
  overflow: hidden;
}

.reward-overlay-inner.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reward-sparks {
  font-size: 26px;
  margin-bottom: 8px;
  animation: sparksPulse 1.5s infinite ease-in-out;
}

.reward-overlay-inner h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.reward-overlay-inner p {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.reward-overlay-inner button {
  background-color: #f3d270;
  color: #3a2d10;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.reward-overlay-inner button:hover {
  background-color: #ffe08a;
}

.reward-overlay::before,
.reward-overlay::after {
  content: "✨ ✨ ✨ ✨";
  position: absolute;
  font-size: 18px;
  opacity: 0.55;
  animation: floatSparks 6s linear infinite;
  pointer-events: none;
}

.reward-overlay::before {
  top: 10%;
  left: 8%;
}

.reward-overlay::after {
  bottom: 12%;
  right: 10%;
  animation-delay: 2s;
}

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sparksPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(255,214,140,0.7));
  }
  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px rgba(255,214,140,1));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(255,214,140,0.7));
  }
}

@keyframes floatSparks {
  0%   { transform: translateY(0) translateX(0); opacity: 0.5; }
  50%  { transform: translateY(-10px) translateX(5px); opacity: 0.9; }
  100% { transform: translateY(0) translateX(0); opacity: 0.5; }
}
/* ===================== */
/*  BOTONES DEL MENÚ     */
/* ===================== */

.menu-btn-block {
  margin-top: 18px;
}

.menu-btn {
  width: 100%;
  padding: 18px 16px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #f7efe4, #e9ddc9);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  color: #5a4635;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.25s ease;
}

.menu-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.menu-btn-title {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #7a5642;
}

.menu-btn-sub {
  display: block;
  font-size: 12px;
  margin-top: 3px;
  color: #8a7454;
}

/* === BOTÓN ESPECIAL PARA CITAS === */
.booking-program-btn {
  background: linear-gradient(135deg, #e8d8c1, #d5c0a2);
}

.booking-program-btn:hover {
  background: linear-gradient(135deg, #f3e7d5, #d9c7ae);
}
/* Botón del Programa de Citas */
.home-btn-booking {
  background: #c6a27a; /* nuevo color café suave */
  color: #fff;
  border: none;
  padding: 18px 16px;
  border-radius: 14px;
  margin-top: 16px;
  text-align: left;
  width: 100%;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  transition: all 0.25s ease;
}

.home-btn-booking:hover {
  background: #b18e68; /* más oscuro al hacer hover */
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}


/* Botón Ruleta de Cumpleaños */
.home-btn-birthday {
  background: linear-gradient(135deg, #c79255, #e3c07a);
  color: #fffaf3;
}

.home-btn-birthday:hover {
  background: linear-gradient(135deg, #b77a4a, #d9b893);
}

.birthday-card {
  text-align: left;
}

.birthday-prize-box {
  margin-top: 14px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.82));
  border: 1px solid rgba(0,0,0,.08);
  box-shadow:
    0 18px 46px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.55);
  position: relative;
  overflow: hidden;
}

/* subtle premium accent so it's obvious “this is the prize” */
.birthday-prize-box::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(120% 120% at 18% 0%, rgba(231,192,122,.28), rgba(231,192,122,0) 60%);
  pointer-events:none;
}

.birthday-prize-box::after{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:4px;
  background: linear-gradient(180deg, #e3c07a, #b77a4a);
  pointer-events:none;
}

.birthday-prize-note {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
}

#birthdayPrizeText{
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: .01em;
  color: #1f1f1f;
}

.birthday-prize-box p strong{
  font-size: 13px;
  color: #2a2a2a;
}


/* Ruleta de cumpleaños (premium / Apple-like) */
.birthday-wheel-container{
  position: relative;
  width: min(360px, 82vw);
  aspect-ratio: 1;
  margin: 18px auto 18px;
}

.birthday-wheel-shell{
  position:absolute;
  inset:0;
  border-radius: 999px;
  /* neutral “glass” shell (no gold tint) */
  background:
    radial-gradient(120% 120% at 22% 18%, rgba(255,255,255,.98), rgba(255,255,255,.55) 40%, rgba(0,0,0,.06) 100%);
  box-shadow:
    0 22px 60px rgba(0,0,0,.14),
    0 10px 26px rgba(0,0,0,.10);
}

.birthday-wheel{
  position:absolute;
  inset: 10px; /* ring thickness */
  border-radius: 999px;
  overflow: hidden; /* guarantees wheel never “escapes” visually */
  transform-origin: 50% 50%;
  will-change: transform;
}

.birthday-wheel-svg{
  width: 100%;
  height: 100%;
  display:block;
}

.birthday-wheel-glass{
  position:absolute;
  inset:10px;
  border-radius:999px;
  pointer-events:none;
  background: radial-gradient(120% 120% at 20% 15%, rgba(255,255,255,.55), rgba(255,255,255,.06) 46%, rgba(0,0,0,.10) 100%);
  mix-blend-mode: soft-light;
}

.birthday-wheel-arrow{
  position:absolute;
  left:50%;
  top:-8px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  /* Apple-like pointer: white with subtle edge */
  border-top: 22px solid rgba(255,255,255,.98);
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.18));
  z-index: 30;
}

.birthday-wheel-arrow::after{
  content:"";
  position:absolute;
  left:-14px;
  top:-22px;
  width:0;height:0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 22px solid rgba(0,0,0,.10);
  transform: translateY(2px);
  z-index:-1;
}

.birthday-wheel-center-btn{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%,-50%);
  width: 110px;
  height: 110px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.32);
  /* solid black (premium) */
  background: #000;
  color:#fff;
  font-family: -apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-weight: 800;
  letter-spacing: .14em;
  font-size: 14px;
  cursor: pointer;
  z-index: 40;
  box-shadow:
    0 20px 44px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.26),
    inset 0 -20px 28px rgba(0,0,0,.42);
  transition: transform .18s ease, box-shadow .18s ease;
}

/* Override global button:hover transform so it never “jumps out” */
.birthday-wheel-center-btn:hover{
  transform: translate(-50%,-50%) scale(1.02);
  background: #000;
  box-shadow:
    0 20px 44px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.26),
    inset 0 -20px 28px rgba(0,0,0,.42);
}
.birthday-wheel-center-btn:active{
  transform: translate(-50%,-50%) scale(.985);
  box-shadow:
    0 12px 26px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -16px 22px rgba(0,0,0,.35);
}

.birthday-wheel-text{
  font-family: -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  fill: #ffffff;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-rendering: geometricPrecision;
}

.birthday-card .secondary-btn{
  display:block;
  margin-left:auto;
  margin-right:auto;
  max-width: 240px;
  background: rgba(0,0,0,.82);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
}

.birthday-card .secondary-btn:hover{
  background: rgba(0,0,0,.90);
  transform: translateY(-1px);
}
/* Botones de Apple / Google Wallet */
.wallet-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  margin-bottom: 4px;
}

.wallet-btn {
  flex: 1;
  border: none;
  border-radius: 999px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  font-family: inherit;
  cursor: pointer;
}

.wallet-btn-title {
  font-size: 13px;
  font-weight: 700;
}

.wallet-btn-subtitle {
  font-size: 11px;
  opacity: 0.9;
}

.wallet-btn-apple {
  background: #0f0f0f;
  color: #ffffff;
}

.wallet-btn-google {
  background: #ffffff;
  color: #333333;
  border: 1px solid #ddd;
}


.wallet-buttons{display:flex;flex-direction:column;gap:10px;margin-top:18px;margin-bottom:4px;}
.wallet-btn-official{width:100%;height:48px;display:flex;align-items:center;justify-content:flex-start;border-radius:12px;border:none;cursor:pointer;padding:0 16px;gap:12px;font-family:system-ui;}
.wallet-text{display:flex;flex-direction:column;line-height:1.1;}
.wallet-small{font-size:12px;opacity:.85;}
.wallet-large{font-size:16px;font-weight:600;}
.apple-wallet-btn{background:#000;color:#fff;}
.google-wallet-btn{background:#2d2d2d;color:#fff;}

.wallet-icon {
  width: 38px;
  height: 26px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

/* Apple Wallet style icon */
.apple-icon {
  background: #111111;
  border-radius: 6px;
  position: relative;
}
.apple-icon::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 4px;
  background:
    linear-gradient(#ffcf4a, #ff9500),
    linear-gradient(#34c759, #30b158),
    linear-gradient(#0a84ff, #0051c7);
  background-repeat: no-repeat;
  background-size: 100% 33.33%;
  background-position:
    0 0,
    0 50%,
    0 100%;
}

/* Google Wallet style icon */
.google-icon {
  background: #1f1f1f;
  border-radius: 6px;
  position: relative;
}
.google-icon::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 4px;
  background:
    linear-gradient(135deg, #4285f4 0 50%, transparent 50 100%),
    linear-gradient(225deg, #ea4335 0 50%, transparent 50 100%),
    linear-gradient(315deg, #34a853 0 50%, transparent 50 100%),
    linear-gradient(45deg, #fbbc05 0 50%, transparent 50 100%);
  background-repeat: no-repeat;
  background-size: 50% 50%;
  background-position:
    0 0,
    0 100%,
    100% 0,
    100% 100%;
}




.wallet-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 4px;
  align-items: center;
}

.wallet-badge-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
}

.wallet-badge-image {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
}


/* Wallet badges: neutral hover, no button highlight */
.wallet-badge-btn,
.wallet-badge-btn:hover,
.wallet-badge-btn:focus,
.wallet-badge-btn:active {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.wallet-badge-btn img.wallet-badge-image {
  pointer-events: none;
}


