/* Task #83: guest ordering pages — mobile-first, matches landing look */
.guest-page {
  font-family: 'Inter', -apple-system, sans-serif;
  background: #F7F8FA;
  margin: 0;
  color: #1F2937;
  min-height: 100vh;
}
.guest-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  position: sticky;
  top: 0;
  z-index: 10;
}
.guest-nav-logo { height: 36px; display: block; }
.guest-nav-back {
  color: #FF6600;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.guest-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}
.guest-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.guest-card-center { text-align: center; }
.guest-title { font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.guest-subtitle { color: #6B7280; font-size: 15px; margin: 0 0 16px; }
.guest-pricing-hint {
  background: #FFF4EC;
  color: #C2410C;
  border: 1px solid #FED7AA;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.guest-section {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6B7280;
  margin: 22px 0 10px;
}
.guest-field { margin-bottom: 14px; text-align: left; }
.guest-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; }
.guest-row { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 520px) { .guest-row { grid-template-columns: 1fr 1fr; gap: 12px; } }
.guest-input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
}
.guest-input:focus { outline: 2px solid #FF6600; border-color: #FF6600; }
.guest-checkbox { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.guest-error { color: #DC2626; font-size: 13px; display: block; margin-top: 3px; }
.guest-hint { color: #9CA3AF; font-size: 12px; display: block; margin-top: 3px; }
.guest-hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.guest-pay-note {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  margin: 16px 0;
}
.guest-submit {
  display: block;
  width: 100%;
  background: #FF6600;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}
.guest-submit:hover { background: #E85D00; }
.guest-link-btn { margin-top: 16px; }
.guest-footnote { color: #6B7280; font-size: 13px; margin-top: 16px; text-align: center; word-break: break-all; }
.guest-footnote a { color: #FF6600; font-weight: 600; }
.guest-token-link { font-size: 12px; }
.guest-alert { border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-bottom: 12px; }
.guest-alert-success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.guest-alert-danger { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.guest-alert-info, .guest-alert-warning { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.guest-success-icon { font-size: 52px; color: #16A34A; margin-bottom: 8px; }
.guest-summary {
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  margin: 18px 0;
  text-align: left;
  overflow: hidden;
}
.guest-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  font-size: 14px;
  border-bottom: 1px solid #F3F4F6;
}
.guest-summary-row:last-child { border-bottom: none; }
.guest-summary-row span:first-child { color: #6B7280; font-weight: 600; white-space: nowrap; }
.guest-summary-row span:last-child { text-align: right; }
.guest-status-badge {
  background: #FFF4EC;
  color: #C2410C;
  border-radius: 999px;
  padding: 2px 10px;
  font-weight: 700;
  font-size: 13px;
}
.guest-progress { display: flex; justify-content: space-between; margin: 22px 0 6px; }
.guest-step { flex: 1; text-align: center; font-size: 11px; color: #9CA3AF; position: relative; }
.guest-step span { display: block; margin-top: 6px; }
.guest-step-dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: #E5E7EB; color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto; font-size: 11px;
}
.guest-step:not(:first-child)::before {
  content: ''; position: absolute; top: 13px; left: -50%; width: 100%;
  height: 3px; background: #E5E7EB; z-index: 0;
}
.guest-step.done .guest-step-dot { background: #16A34A; position: relative; z-index: 1; }
.guest-step.done::before { background: #16A34A; }
.guest-step.done { color: #166534; font-weight: 600; }
.guest-upsell {
  background: linear-gradient(135deg, #FFF4EC, #FFEDD5);
  border: 1px solid #FED7AA;
  border-radius: 14px;
  padding: 18px 16px;
  margin-top: 20px;
  text-align: center;
}
.guest-upsell h2 { font-size: 17px; margin: 0 0 6px; }
.guest-upsell p { font-size: 14px; color: #7C2D12; margin: 0 0 12px; }
.guest-upsell-btn {
  display: inline-block;
  background: #FF6600;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  padding: 11px 22px;
  font-size: 15px;
}
.guest-upsell-btn:hover { background: #E85D00; }

.guest-fee-preview { margin-top: 8px; padding: 10px 12px; border-radius: 8px; background: #EFF6FF; border: 1px solid #BFDBFE; font-size: 14px; color: #1E3A5F; }
.fee-preview-town, .fee-preview-loading { color: #64748B; }
