* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, system-ui, sans-serif;
  background: linear-gradient(180deg, #eef2ff 0%, #f4f5f7 220px);
  color: #1a1a1a;
  font-size: 20px;
  min-height: 100vh;
}

.kiosk {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

h1 {
  font-size: 32px;
  margin-bottom: 4px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.brand-logo {
  font-size: 30px;
  width: 56px;
  height: 56px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #33415c;
  letter-spacing: 0.3px;
}

.brand-sub {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #8891a3;
}

.building-name {
  color: #555;
  margin-top: 0;
  margin-bottom: 32px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 24px;
}

input[type="text"],
input[type="date"] {
  width: 100%;
  font-size: 22px;
  padding: 16px;
  border: 2px solid #ccc;
  border-radius: 10px;
}

.host-results {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.host-result {
  text-align: left;
  font-size: 20px;
  padding: 14px 16px;
  border: 2px solid #ddd;
  border-radius: 10px;
  background: white;
}

.host-result.selected {
  border-color: #2563eb;
  background: #eaf1ff;
}

.tos-box {
  margin-top: 24px;
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 16px;
  max-height: 160px;
  overflow-y: auto;
  background: white;
  font-size: 16px;
  color: #444;
}

.tos-agree {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-weight: 600;
}

.tos-agree input {
  width: 28px;
  height: 28px;
}

button.primary {
  width: 100%;
  font-size: 26px;
  font-weight: 700;
  padding: 20px;
  margin-top: 32px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

button.primary:disabled {
  background: #a9bfe6;
}

.confirmation {
  text-align: center;
  padding: 80px 16px;
}

.confirmation h1 {
  font-size: 40px;
}

.error {
  color: #b91c1c;
  font-weight: 600;
  margin-top: 16px;
}

.tab-bar {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin: 24px 0 4px;
  border-bottom: 3px solid #dde1ea;
}

.tab-btn {
  flex: none;
  font-size: 17px;
  font-weight: 600;
  padding: 12px 18px 10px;
  border: none;
  background: transparent;
  color: #8891a3;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.tab-panel {
  padding-top: 20px;
}

.tab-panel h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: #33415c;
}

.badge-walkin {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #92400e;
  background: #fef3c7;
  border-radius: 6px;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: middle;
}

.tab-panel input[type="text"],
.tab-panel input[type="date"] {
  width: 100%;
  font-size: 20px;
  padding: 14px;
  border: 2px solid #ccc;
  border-radius: 10px;
  margin-bottom: 16px;
}

.selector {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.selector-btn {
  display: block;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  padding: 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.selector-btn small {
  display: block;
  font-size: 16px;
  font-weight: 400;
  margin-top: 6px;
  opacity: 0.85;
}

.staff-link {
  display: block;
  text-align: center;
  margin-top: 40px;
  color: #888;
  font-size: 16px;
}

.visit-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.visit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 2px 6px rgba(20, 30, 60, 0.05);
}

.visit-row .who {
  font-size: 20px;
}

.visit-row .who small {
  display: block;
  color: #777;
  font-size: 15px;
}

button.checkout {
  font-size: 18px;
  font-weight: 700;
  padding: 12px 20px;
  background: #16a34a;
  color: white;
  border: none;
  border-radius: 8px;
}
