/**
 * Valet Page Styles - Bold Chula's Design
 * Matches Home/Menu/Rewards theme with glowing borders and brand colors
 */

.page-valet {
  min-height: 100%;
  position: relative;
}

/* Background logo watermark */
.page-valet::before {
  content: '';
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background-image: url('/images/Chulas-Logo-Primary-Black.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.04;
  pointer-events: none;
  z-index: -1;
}

.valet-header,
.valet-content {
  padding-left: 16px;
  padding-right: 16px;
}

.valet-header {
  text-align: center;
  margin-bottom: 24px;
}

.valet-header h1 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 6px;
}

.valet-header p {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   VALET CODE DISPLAY - Lime glow effect
   ========================================================================== */

.valet-code-display {
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid var(--color-chulas-lime);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(214, 222, 35, 0.2);
}

.valet-code-display .code-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-tertiary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.valet-code-display .code-value {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: bold;
  color: var(--color-chulas-lime);
  letter-spacing: 10px;
  text-shadow: 0 0 30px rgba(214, 222, 35, 0.6);
}

/* ==========================================================================
   VALET STATUS - Animated indicators with brand colors
   ========================================================================== */

.valet-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid;
  border-radius: 14px;
  margin-bottom: 14px;
  transition: all var(--transition-fast);
}

.valet-status.status-claimed {
  border-color: var(--color-chulas-lime);
  box-shadow: 0 0 15px rgba(214, 222, 35, 0.2);
}

.valet-status.status-requested {
  border-color: var(--color-chulas-orange);
  box-shadow: 0 0 15px rgba(248, 160, 84, 0.2);
}

.valet-status.status-ready {
  border-color: #00B298;
  box-shadow: 0 0 15px rgba(0, 178, 152, 0.2);
}

.valet-status .status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.valet-status .status-indicator.claimed {
  background: var(--color-chulas-lime);
  box-shadow: 0 0 12px rgba(214, 222, 35, 0.8);
}

.valet-status .status-indicator.requested {
  background: var(--color-chulas-orange);
  box-shadow: 0 0 12px rgba(248, 160, 84, 0.8);
  animation: statusPulse 1.5s ease-in-out infinite;
}

.valet-status .status-indicator.ready {
  background: #00B298;
  box-shadow: 0 0 12px rgba(0, 178, 152, 0.8);
  animation: statusPulse 1s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.valet-status .status-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

/* ==========================================================================
   VALET NOT AVAILABLE VIEW
   ========================================================================== */

.valet-not-available {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
  text-align: center;
}

.valet-unavailable-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  filter: grayscale(100%) brightness(1.3)
    drop-shadow(0 0 8px rgba(240, 89, 96, 1))
    drop-shadow(0 0 16px rgba(240, 89, 96, 0.8))
    drop-shadow(0 0 24px rgba(240, 89, 96, 0.5));
}

.valet-unavailable-icon svg {
  width: 64px;
  height: 64px;
}

.valet-not-available .valet-heading {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 10px;
}

.valet-not-available .valet-subheading {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  line-height: 1.5;
  max-width: 300px;
}

/* ==========================================================================
   VALET INFO CARD - Red themed
   ========================================================================== */

.valet-info-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid var(--color-chulas-red);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(240, 89, 96, 0.15);
}

.info-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
}

.info-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
  padding-bottom: 20px;
}

.info-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

/* Info icon glows - cycling brand colors */
.info-item:nth-child(1) .info-icon {
  filter: grayscale(100%) brightness(1.3)
    drop-shadow(0 0 4px rgb(248, 160, 84))
    drop-shadow(0 0 8px rgb(248, 160, 84))
    drop-shadow(0 0 12px rgba(248, 160, 84, 0.8));
}

.info-item:nth-child(2) .info-icon {
  filter: grayscale(100%) brightness(1.3)
    drop-shadow(0 0 4px rgb(214, 222, 35))
    drop-shadow(0 0 8px rgb(214, 222, 35))
    drop-shadow(0 0 12px rgba(214, 222, 35, 0.8));
}

.info-item:nth-child(3) .info-icon {
  filter: grayscale(100%) brightness(1.3)
    drop-shadow(0 0 4px rgb(240, 89, 96))
    drop-shadow(0 0 8px rgb(240, 89, 96))
    drop-shadow(0 0 12px rgba(240, 89, 96, 0.8));
}

.info-item:nth-child(4) .info-icon {
  filter: grayscale(100%) brightness(1.3)
    drop-shadow(0 0 4px rgb(112, 96, 169))
    drop-shadow(0 0 8px rgb(112, 96, 169))
    drop-shadow(0 0 12px rgba(112, 96, 169, 0.8));
}

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

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

.info-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 3px;
}

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

/* ==========================================================================
   VALET NAVIGATE BUTTON - Red themed
   ========================================================================== */

.btn-navigate-valet {
  width: 100%;
  max-width: 500px;
  padding: 16px 28px;
  background: linear-gradient(135deg, rgba(240, 89, 96, 0.15) 0%, rgba(240, 89, 96, 0.08) 100%);
  color: var(--color-chulas-red);
  border: 1.5px solid var(--color-chulas-red);
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 0 20px rgba(240, 89, 96, 0.2);
  transition: all var(--transition-fast);
}

.btn-navigate-valet:active {
  transform: scale(0.98);
  background: linear-gradient(135deg, rgba(240, 89, 96, 0.25) 0%, rgba(240, 89, 96, 0.15) 100%);
  box-shadow: 0 0 30px rgba(240, 89, 96, 0.35);
}

/* ==========================================================================
   VALET REQUEST BUTTON - Lime themed
   ========================================================================== */

.btn-request-valet {
  width: 100%;
  padding: 16px 28px;
  background: linear-gradient(135deg, rgba(214, 222, 35, 0.15) 0%, rgba(214, 222, 35, 0.08) 100%);
  color: var(--color-chulas-lime);
  border: 1.5px solid var(--color-chulas-lime);
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 0 20px rgba(214, 222, 35, 0.2);
  transition: all var(--transition-fast);
  margin-top: 14px;
}

.btn-request-valet:active {
  transform: scale(0.98);
  background: linear-gradient(135deg, rgba(214, 222, 35, 0.25) 0%, rgba(214, 222, 35, 0.15) 100%);
  box-shadow: 0 0 30px rgba(214, 222, 35, 0.35);
}

.btn-request-valet:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

/* ==========================================================================
   VALET AT RESTAURANT VIEW - Green themed
   ========================================================================== */

.valet-at-restaurant {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
  text-align: center;
}

.valet-available-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #4CAF50;
  filter: drop-shadow(0 0 8px rgba(76, 175, 80, 1))
    drop-shadow(0 0 16px rgba(76, 175, 80, 0.8))
    drop-shadow(0 0 24px rgba(76, 175, 80, 0.5));
}

.valet-available-icon svg {
  width: 80px;
  height: 80px;
}

.valet-at-restaurant .valet-heading {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 10px;
}

.valet-at-restaurant .valet-subheading {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  line-height: 1.5;
  max-width: 300px;
}

/* Valet Code Entry Card */
.valet-code-entry-card {
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid var(--color-chulas-lime);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(214, 222, 35, 0.15);
}

.valet-code-entry-card .form-group {
  margin-bottom: 16px;
}

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

.valet-code-entry-card .form-control-large {
  width: 100%;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: bold;
  color: var(--color-text);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 4px;
  transition: all var(--transition-fast);
}

.valet-code-entry-card .form-control-large:focus {
  outline: none;
  border-color: var(--color-chulas-lime);
  box-shadow: 0 0 15px rgba(214, 222, 35, 0.3);
}

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

.valet-info-text {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--color-text-tertiary);
  line-height: 1.5;
  max-width: 280px;
}
