/**
 * Enhanced Kiosk Check-In Styles
 *
 * Additional styles for enhanced check-in flow with:
 * - Step indicators
 * - Party size counters
 * - Fee summaries
 * - Photo capture
 */

.enhanced-checkin-container {
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================
   STEP INDICATOR
   ============================================ */

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0 3rem;
  padding: 0 2rem;
}

.step {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid #e5e7eb;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #9ca3af;
  transition: all 0.3s ease;
}

.step.active {
  border-color: #2563eb;
  background: #2563eb;
  color: white;
  transform: scale(1.1);
}

.step.completed {
  border-color: #10b981;
  background: #10b981;
  color: white;
}

.step-line {
  flex: 1;
  height: 3px;
  background: #e5e7eb;
  transition: all 0.3s ease;
}

.step-line.completed {
  background: #10b981;
}

/* ============================================
   CHECK-IN STEPS
   ============================================ */

.checkin-step {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.checkin-step h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.step-instructions {
  color: #6b7280;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* ============================================
   BOOKING SUMMARY
   ============================================ */

.booking-summary {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.summary-row,
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 1.125rem;
}

.summary-row:last-child,
.info-row:last-child {
  border-bottom: none;
}

/* ============================================
   FORM SECTIONS
   ============================================ */

.form-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e5e7eb;
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-section h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #374151;
}

/* ============================================
   COUNTER CONTROLS
   ============================================ */

.counter-group {
  margin-bottom: 1.5rem;
}

.counter-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  color: #1f2937;
}

.counter-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #f9fafb;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.counter-btn {
  width: 60px;
  height: 60px;
  border: none;
  background: #2563eb;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter-btn:hover {
  background: #1e40af;
  transform: scale(1.05);
}

.counter-btn:active {
  transform: scale(0.95);
}

.counter-controls input[type="number"] {
  flex: 1;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: #1f2937;
  -moz-appearance: textfield;
}

.counter-controls input[type="number"]::-webkit-outer-spin-button,
.counter-controls input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.counter-group small {
  display: block;
  color: #6b7280;
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}

/* ============================================
   RADIO OPTIONS
   ============================================ */

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.radio-option {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.125rem;
}

.radio-option:hover {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.05);
}

.radio-option input[type="radio"] {
  margin-right: 1rem;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.radio-option:has(input:checked) {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  font-weight: 600;
}

/* ============================================
   FEE SUMMARY
   ============================================ */

.fee-summary,
.payment-summary {
  background: #f0f9ff;
  border: 2px solid #3b82f6;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  font-size: 1.125rem;
  color: #1f2937;
}

.fee-row.total {
  border-top: 2px solid #3b82f6;
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: 1.375rem;
}

.fee-row.total strong {
  color: #2563eb;
}

/* ============================================
   PAYMENT OPTIONS
   ============================================ */

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.payment-reminder {
  background: #fef3c7;
  border: 2px solid #f59e0b;
  border-radius: 8px;
  padding: 1rem;
  margin: 1.5rem 0;
  text-align: center;
}

.payment-reminder p {
  margin: 0;
  color: #92400e;
  font-weight: 600;
  font-size: 1.125rem;
}

/* ============================================
   PHOTO BUTTONS
   ============================================ */

.photo-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-text {
  background: none;
  border: none;
  color: #6b7280;
  text-decoration: underline;
  cursor: pointer;
  padding: 1rem;
  font-size: 1rem;
}

.btn-text:hover {
  color: #2563eb;
}

/* ============================================
   COMPLETION SCREEN
   ============================================ */

.checkin-step.completion {
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #10b981;
  color: white;
  font-size: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  animation: successPop 0.5s ease;
}

@keyframes successPop {
  0% { transform: scale(0); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.success-message {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.door-code-display {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
}

.door-code-display h3 {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  opacity: 0.9;
}

.door-code {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.5rem;
  margin: 1rem 0;
  font-family: 'Courier New', monospace;
}

.code-instructions {
  margin: 1rem 0 0 0;
  font-size: 1.125rem;
  opacity: 0.9;
}

.checkin-info {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.kiosk-appreciation-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  background: #fff;
  margin: 2rem 0;
}

.kiosk-appreciation-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.kiosk-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 0;
}

.kiosk-status {
  background: #e5e7eb;
  color: #374151;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.kiosk-status.ready {
  background: #d1fae5;
  color: #047857;
}

.kiosk-tip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  margin: 1.25rem 0;
  background: #f9fafb;
}

.kiosk-tip-label {
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.kiosk-tip-handle {
  margin: 0.25rem 0 0 0;
  color: #6b7280;
}

.kiosk-tip-button {
  background: #2563eb;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.kiosk-tip-button:hover {
  background: #1e3a8a;
}

.kiosk-tip-hint {
  color: #6b7280;
  margin: 1rem 0;
}

.kiosk-message {
  font-style: italic;
  color: #6b7280;
  margin-bottom: 1rem;
}

.kiosk-feedback-copy {
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.kiosk-feedback-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.kiosk-feedback-form select,
.kiosk-feedback-form textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 1rem;
}

.kiosk-feedback-form textarea {
  min-height: 120px;
  resize: vertical;
}

.kiosk-feedback-status {
  min-height: 1.25rem;
  font-weight: 600;
}

.kiosk-feedback-status.success {
  color: #059669;
}

.kiosk-feedback-status.error {
  color: #dc2626;
}

.kiosk-feedback-status.pending {
  color: #b45309;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .step {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .checkin-step {
    padding: 1.5rem;
  }

  .door-code {
    font-size: 3rem;
  }
}
