/**
 * Valet Page Styles - "La Rosa" (The Rose)
 * Passionate red theme with vintage Mexican lotería elegance
 * Romantic warmth meets premium valet service
 */

/* ==========================================================================
   PAGE CONTAINER - Rich crimson atmosphere
   ========================================================================== */

.page-valet {
  height: 100%;
  position: relative;
  padding: 0;
  overflow: hidden;
}

/* Decorative background pattern - subtle rose petal/diamond motif */
.page-valet::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    /* Diamond pattern reminiscent of lotería cards */
    linear-gradient(45deg, var(--color-chulas-red) 25%, transparent 25%),
    linear-gradient(-45deg, var(--color-chulas-red) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--color-chulas-red) 75%),
    linear-gradient(-45deg, transparent 75%, var(--color-chulas-red) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 20px 0, 20px -20px, 0px 20px;
  z-index: 14;
}

/* Subtle radial glow from center */
.page-valet::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 30%,
    rgba(240, 89, 96, 0.08) 0%,
    transparent 60%
  );
  z-index: 13;
}

/* ==========================================================================
   SKELETON LOADING - Red themed placeholder
   ========================================================================== */

.skeleton-valet-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px;
  text-align: center;
}

.skeleton-valet-status .skeleton-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 24px;
  background: linear-gradient(
    135deg,
    rgba(240, 89, 96, 0.1) 0%,
    rgba(240, 89, 96, 0.2) 50%,
    rgba(240, 89, 96, 0.1) 100%
  );
  background-size: 200% 200%;
  animation: skeleton-shimmer 2s ease-in-out infinite;
  border: 3px solid rgba(240, 89, 96, 0.3);
}

@keyframes skeleton-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ==========================================================================
   NOT AT RESTAURANT VIEW - "El Camino Rojo"
   ========================================================================== */

.valet-not-available {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: hidden;
}

/* Vintage key illustration container */
.valet-unavailable-icon {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* Decorative circle behind icon - crimson glow */
.valet-unavailable-icon::before {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  border: 3px solid var(--color-chulas-red);
  border-radius: 50%;
  opacity: 0.5;
  animation: iconRingPulse 3s ease-in-out infinite;
  box-shadow:
    0 0 30px rgba(240, 89, 96, 0.3),
    inset 0 0 30px rgba(240, 89, 96, 0.1);
}

.valet-unavailable-icon::after {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  border: 2px dashed rgba(240, 89, 96, 0.4);
  border-radius: 50%;
  animation: iconRingSpin 20s linear infinite;
}

@keyframes iconRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 0.7; }
}

@keyframes iconRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.valet-unavailable-icon svg {
  width: 70px;
  height: 70px;
  color: var(--color-chulas-red);
  filter: drop-shadow(0 0 25px rgba(240, 89, 96, 0.6));
}

.valet-not-available .valet-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 20px rgba(240, 89, 96, 0.3);
}

.valet-not-available .valet-subheading {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 300px;
}

/* ==========================================================================
   INFO CARD - Lotería "La Rosa" card design
   ========================================================================== */

.valet-info-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: var(--color-secondary-background);
  border: 3px solid var(--color-chulas-red);
  border-radius: 6px;
  padding: 24px 20px;
  margin-bottom: 28px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(240, 89, 96, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Inner decorative border */
.valet-info-card::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 2px solid rgba(240, 89, 96, 0.5);
  border-radius: 3px;
  pointer-events: none;
}

/* L-shaped corner accents with rose petal touches */
.valet-info-card::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  pointer-events: none;
  background:
    /* Top left - rose corner */
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) 0 12px / 12px 3px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) 12px 0 / 3px 12px no-repeat,
    radial-gradient(circle at 0 0, var(--color-chulas-red) 3px, transparent 3px) 0 0 / 6px 6px no-repeat,
    /* Top right */
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) calc(100%) 12px / 12px 3px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) calc(100% - 12px) 0 / 3px 12px no-repeat,
    radial-gradient(circle at 100% 0, var(--color-chulas-red) 3px, transparent 3px) calc(100%) 0 / 6px 6px no-repeat,
    /* Bottom left */
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) 0 calc(100% - 12px) / 12px 3px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) 12px calc(100%) / 3px 12px no-repeat,
    radial-gradient(circle at 0 100%, var(--color-chulas-red) 3px, transparent 3px) 0 calc(100%) / 6px 6px no-repeat,
    /* Bottom right */
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) calc(100%) calc(100% - 12px) / 12px 3px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) calc(100% - 12px) calc(100%) / 3px 12px no-repeat,
    radial-gradient(circle at 100% 100%, var(--color-chulas-red) 3px, transparent 3px) calc(100%) calc(100%) / 6px 6px no-repeat;
}

/* Card title banner */
.valet-info-card .card-title {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-chulas-red) 0%, #D84850 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 6px 16px;
  border-radius: 3px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(240, 89, 96, 0.4);
}

.info-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  position: relative;
  z-index: 1;
}

.info-item:not(:last-child) {
  border-bottom: 1px solid rgba(240, 89, 96, 0.2);
}

.info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(240, 89, 96, 0.12);
  border: 2px solid rgba(240, 89, 96, 0.4);
  border-radius: 50%;
  color: var(--color-chulas-red);
  box-shadow: 0 0 15px rgba(240, 89, 96, 0.2);
}

.info-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.info-text {
  flex: 1;
  text-align: left;
}

.info-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-chulas-red);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-value {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}

/* ==========================================================================
   NAVIGATE BUTTON - Bold red road sign style
   ========================================================================== */

.btn-navigate-valet {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--color-chulas-red) 0%, #D84850 100%);
  color: #fff;
  border: 3px solid var(--color-chulas-black);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow:
    0 6px 24px rgba(240, 89, 96, 0.5),
    0 0 40px rgba(240, 89, 96, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
  overflow: visible;
}

/* Inner border */
.btn-navigate-valet::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 2px solid var(--color-chulas-black);
  border-radius: 3px;
  pointer-events: none;
}

.btn-navigate-valet:active {
  transform: scale(0.98);
  box-shadow: 0 2px 12px rgba(240, 89, 96, 0.6);
}

.btn-navigate-valet svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   AT RESTAURANT VIEW - "Bienvenido" with red accents
   ========================================================================== */

.valet-at-restaurant {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: hidden;
}

/* Checkmark icon with crimson celebration glow */
.valet-available-icon {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.valet-available-icon::before {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, rgba(240, 89, 96, 0.25) 0%, rgba(240, 89, 96, 0.08) 100%);
  border: 3px solid var(--color-chulas-red);
  border-radius: 50%;
  animation: welcomePulse 2s ease-in-out infinite;
}

@keyframes welcomePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(240, 89, 96, 0.4); }
  50% { transform: scale(1.03); box-shadow: 0 0 50px rgba(240, 89, 96, 0.6); }
}

.valet-available-icon svg {
  width: 70px;
  height: 70px;
  color: var(--color-chulas-red);
  filter: drop-shadow(0 0 20px rgba(240, 89, 96, 0.7));
  position: relative;
  z-index: 1;
}

.valet-at-restaurant .valet-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(240, 89, 96, 0.3);
}

.valet-at-restaurant .valet-subheading {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  line-height: 1.5;
}

/* ==========================================================================
   VALET CODE ENTRY CARD - Crimson ticket stub design
   ========================================================================== */

.valet-code-entry-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: var(--color-secondary-background);
  border: 3px solid var(--color-chulas-red);
  border-radius: 6px;
  padding: 28px 24px;
  margin-bottom: 24px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(240, 89, 96, 0.18);
}

/* Ticket stub inner border */
.valet-code-entry-card::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 2px solid rgba(240, 89, 96, 0.5);
  border-radius: 3px;
  pointer-events: none;
}

/* Corner decorations - rose petal style */
.valet-code-entry-card::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  pointer-events: none;
  background:
    /* Top corners */
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) 0 12px / 12px 3px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) 12px 0 / 3px 12px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) calc(100%) 12px / 12px 3px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) calc(100% - 12px) 0 / 3px 12px no-repeat,
    /* Bottom corners */
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) 0 calc(100% - 12px) / 12px 3px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) 12px calc(100%) / 3px 12px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) calc(100%) calc(100% - 12px) / 12px 3px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) calc(100% - 12px) calc(100%) / 3px 12px no-repeat;
}

.valet-code-entry-card .form-group {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.valet-code-entry-card label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-chulas-red);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  text-shadow: 0 0 20px rgba(240, 89, 96, 0.4);
}

.valet-code-entry-card .form-control-large {
  width: 100%;
  padding: 18px 16px;
  background: var(--color-tertiary-background);
  border: 2px solid rgba(240, 89, 96, 0.4);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 8px;
  transition: all var(--transition-fast);
}

.valet-code-entry-card .form-control-large:focus {
  outline: none;
  border-color: var(--color-chulas-red);
  box-shadow:
    0 0 0 4px rgba(240, 89, 96, 0.2),
    0 0 30px rgba(240, 89, 96, 0.15);
  background: var(--color-card-background);
}

.valet-code-entry-card .form-control-large::placeholder {
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-text-tertiary);
  font-weight: 500;
}

/* Submit button in code entry - Bold red */
.valet-code-entry-card .btn-primary {
  position: relative;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--color-chulas-red) 0%, #D84850 100%);
  border: 3px solid var(--color-chulas-black);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow:
    0 4px 20px rgba(240, 89, 96, 0.5),
    0 0 30px rgba(240, 89, 96, 0.2);
  transition: all var(--transition-fast);
  z-index: 1;
}

.valet-code-entry-card .btn-primary::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border: 2px solid var(--color-chulas-black);
  border-radius: 3px;
  pointer-events: none;
}

.valet-code-entry-card .btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 2px 10px rgba(240, 89, 96, 0.6);
}

.valet-info-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-tertiary);
  line-height: 1.6;
  max-width: 300px;
  font-style: italic;
}

/* ==========================================================================
   ACTIVE VALET CARD - Premium crimson ticket design
   ========================================================================== */

.valet-content {
  padding: 24px 20px;
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: hidden;
}

.valet-card.valet-active {
  position: relative;
  background: var(--color-secondary-background);
  border: 4px solid var(--color-chulas-red);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(240, 89, 96, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: visible;
}

/* Inner decorative border */
.valet-card.valet-active::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 2px solid rgba(240, 89, 96, 0.6);
  border-radius: 4px;
  pointer-events: none;
}

/* Ornate stepped pyramid corner accents */
.valet-card.valet-active::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  pointer-events: none;
  background:
    /* Top left - stepped pyramid */
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) 0 14px / 14px 4px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) 14px 0 / 4px 14px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) 0 22px / 8px 4px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) 22px 0 / 4px 8px no-repeat,
    /* Top right */
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) calc(100%) 14px / 14px 4px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) calc(100% - 14px) 0 / 4px 14px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) calc(100%) 22px / 8px 4px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) calc(100% - 22px) 0 / 4px 8px no-repeat,
    /* Bottom left */
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) 0 calc(100% - 14px) / 14px 4px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) 14px calc(100%) / 4px 14px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) 0 calc(100% - 22px) / 8px 4px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) 22px calc(100%) / 4px 8px no-repeat,
    /* Bottom right */
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) calc(100%) calc(100% - 14px) / 14px 4px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) calc(100% - 14px) calc(100%) / 4px 14px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) calc(100%) calc(100% - 22px) / 8px 4px no-repeat,
    linear-gradient(var(--color-chulas-red), var(--color-chulas-red)) calc(100% - 22px) calc(100%) / 4px 8px no-repeat;
}

/* Ready state - brighter red with more intense glow */
.valet-card.valet-ready {
  border-color: #ff6b72;
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(240, 89, 96, 0.35);
  animation: readyGlow 2s ease-in-out infinite;
}

@keyframes readyGlow {
  0%, 100% { box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), 0 0 60px rgba(240, 89, 96, 0.3); }
  50% { box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), 0 0 100px rgba(240, 89, 96, 0.5); }
}

.valet-card.valet-ready::before {
  border-color: rgba(255, 107, 114, 0.6);
}

.valet-card.valet-ready::after {
  background:
    linear-gradient(#ff6b72, #ff6b72) 0 14px / 14px 4px no-repeat,
    linear-gradient(#ff6b72, #ff6b72) 14px 0 / 4px 14px no-repeat,
    linear-gradient(#ff6b72, #ff6b72) 0 22px / 8px 4px no-repeat,
    linear-gradient(#ff6b72, #ff6b72) 22px 0 / 4px 8px no-repeat,
    linear-gradient(#ff6b72, #ff6b72) calc(100%) 14px / 14px 4px no-repeat,
    linear-gradient(#ff6b72, #ff6b72) calc(100% - 14px) 0 / 4px 14px no-repeat,
    linear-gradient(#ff6b72, #ff6b72) calc(100%) 22px / 8px 4px no-repeat,
    linear-gradient(#ff6b72, #ff6b72) calc(100% - 22px) 0 / 4px 8px no-repeat,
    linear-gradient(#ff6b72, #ff6b72) 0 calc(100% - 14px) / 14px 4px no-repeat,
    linear-gradient(#ff6b72, #ff6b72) 14px calc(100%) / 4px 14px no-repeat,
    linear-gradient(#ff6b72, #ff6b72) 0 calc(100% - 22px) / 8px 4px no-repeat,
    linear-gradient(#ff6b72, #ff6b72) 22px calc(100%) / 4px 8px no-repeat,
    linear-gradient(#ff6b72, #ff6b72) calc(100%) calc(100% - 14px) / 14px 4px no-repeat,
    linear-gradient(#ff6b72, #ff6b72) calc(100% - 14px) calc(100%) / 4px 14px no-repeat,
    linear-gradient(#ff6b72, #ff6b72) calc(100%) calc(100% - 22px) / 8px 4px no-repeat,
    linear-gradient(#ff6b72, #ff6b72) calc(100% - 22px) calc(100%) / 4px 8px no-repeat;
}

.valet-status-icon {
  font-size: 48px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 25px currentColor);
}

.valet-card h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 20px rgba(240, 89, 96, 0.3);
}

/* ==========================================================================
   VALET CODE DISPLAY - Crimson lotería number style
   ========================================================================== */

.valet-code-display {
  position: relative;
  background: linear-gradient(135deg, rgba(240, 89, 96, 0.12) 0%, rgba(240, 89, 96, 0.04) 100%);
  border: 2px solid rgba(240, 89, 96, 0.5);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  z-index: 1;
}

.valet-code-display .code-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.valet-code-display .code-value {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--color-chulas-red);
  letter-spacing: 12px;
  text-shadow:
    0 0 30px rgba(240, 89, 96, 0.7),
    0 0 60px rgba(240, 89, 96, 0.3);
}

.status-message {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.status-message p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Buttons in active valet card - Bold red */
.valet-card .btn-primary {
  position: relative;
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--color-chulas-red) 0%, #D84850 100%);
  border: 3px solid var(--color-chulas-black);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow:
    0 6px 24px rgba(240, 89, 96, 0.5),
    0 0 40px rgba(240, 89, 96, 0.2);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 1;
}

.valet-card .btn-primary::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 2px solid var(--color-chulas-black);
  border-radius: 3px;
  pointer-events: none;
}

.valet-card .btn-primary:active {
  transform: scale(0.98);
}

.valet-card .btn-primary .icon {
  font-size: 18px;
}

/* Ready state button - Brighter red with pulsing glow */
.valet-card.valet-ready .btn-primary {
  background: linear-gradient(135deg, #ff6b72 0%, var(--color-chulas-red) 100%);
  color: #fff;
  box-shadow:
    0 6px 24px rgba(255, 107, 114, 0.5),
    0 0 50px rgba(240, 89, 96, 0.3);
  animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(255, 107, 114, 0.5), 0 0 30px rgba(240, 89, 96, 0.2); }
  50% { box-shadow: 0 6px 30px rgba(255, 107, 114, 0.7), 0 0 50px rgba(240, 89, 96, 0.4); }
}

/* ==========================================================================
   PULSE ANIMATION - Car requested state (crimson)
   ========================================================================== */

.pulse-animation {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.pulse {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(240, 89, 96, 0.25);
  border: 3px solid var(--color-chulas-red);
  position: relative;
  box-shadow: 0 0 30px rgba(240, 89, 96, 0.3);
}

.pulse::before,
.pulse::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid var(--color-chulas-red);
  animation: pulseRing 2s ease-out infinite;
}

.pulse::before {
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.pulse::after {
  width: 100px;
  height: 100px;
  animation-delay: 0.5s;
}

@keyframes pulseRing {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.8);
    box-shadow: 0 0 20px rgba(240, 89, 96, 0.5);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 0 rgba(240, 89, 96, 0);
  }
}

.status-note {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--color-chulas-red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 20px rgba(240, 89, 96, 0.4);
}

/* ==========================================================================
   MAP MODAL - Full screen navigation (red accents)
   ========================================================================== */

.map-modal-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-background);
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.map-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--color-secondary-background);
  border-bottom: 2px solid var(--color-chulas-red);
  box-shadow: 0 4px 20px rgba(240, 89, 96, 0.15);
}

.map-modal-header h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text);
  margin: 0;
}

.map-modal-close {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.map-modal-close:hover {
  color: var(--color-chulas-red);
}

.map-modal-iframe-container {
  flex: 1;
  position: relative;
}

.map-modal-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.map-modal-address {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-secondary-background);
  border-top: 1px solid rgba(240, 89, 96, 0.2);
}

.map-modal-address span {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
}

.map-modal-actions {
  padding: 16px 20px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  background: var(--color-secondary-background);
}

.map-modal-actions .btn-primary {
  background: linear-gradient(135deg, var(--color-chulas-red) 0%, #D84850 100%);
  box-shadow: 0 4px 20px rgba(240, 89, 96, 0.4);
}

/* ==========================================================================
   DECORATIVE FLOATING ELEMENTS - Crimson themed
   ========================================================================== */

.page-valet .valet-not-available::before {
  content: '🔑';
  position: fixed;
  top: 15%;
  right: 10%;
  font-size: 24px;
  opacity: 0.12;
  pointer-events: none;
  animation: floatKey 8s ease-in-out infinite;
  filter: saturate(1.2);
}

.page-valet .valet-not-available::after {
  content: '🌹';
  position: fixed;
  bottom: 25%;
  left: 8%;
  font-size: 28px;
  opacity: 0.1;
  pointer-events: none;
  animation: floatKey 10s ease-in-out infinite reverse;
}

@keyframes floatKey {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(10deg); }
}

/* ==========================================================================
   MODAL STYLES - Red themed
   ========================================================================== */

.request-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.request-options .btn-primary {
  background: linear-gradient(135deg, var(--color-chulas-red) 0%, #D84850 100%);
  border-color: var(--color-chulas-red);
  box-shadow: 0 4px 15px rgba(240, 89, 96, 0.3);
}

.request-options .btn-secondary {
  background: transparent;
  border: 2px solid var(--color-chulas-red);
  color: var(--color-chulas-red);
}

.request-options .btn-secondary:active {
  background: rgba(240, 89, 96, 0.1);
}

/* Star rating with red theme */
.star-rating {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 12px 0;
}

.star-rating .star {
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  filter: grayscale(1) brightness(0.5);
  transition: all 0.2s ease;
}

.star-rating .star.active {
  filter: none;
  transform: scale(1.1);
  text-shadow: 0 0 15px rgba(240, 89, 96, 0.5);
}

.tip-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

.tip-buttons .btn.active {
  background: var(--color-chulas-red);
  border-color: var(--color-chulas-red);
  color: #fff;
}
