:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f4f7fb;
  color: #1f2937;
}

.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 1rem;
}

header {
  text-align: center;
  margin-bottom: 1rem;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.autocomplete-wrap {
  position: relative;
}

.suggestions {
  list-style: none;
  margin: 0;
  padding: 0.3rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  max-height: 220px;
  overflow: auto;
}

.suggestions li {
  padding: 0.45rem;
  border-radius: 6px;
  cursor: pointer;
}

.suggestions li:hover {
  background: #eff6ff;
}

.dates-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

label {
  font-weight: 600;
}

input,
select,
button {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  padding: 0.65rem;
}

button {
  background: #2563eb;
  border: none;
  color: white;
  cursor: pointer;
  margin-top: 0.25rem;
  font-weight: 700;
}

button:hover {
  background: #1d4ed8;
}

#status {
  min-height: 1.2rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #334155;
}

.hidden {
  display: none;
}

.itinerary-list {
  padding-left: 1.2rem;
}

.itinerary-list li {
  margin-bottom: 0.35rem;
}

.budget-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.budget-card {
  border: 1px solid #dbeafe;
  border-radius: 10px;
  padding: 0.75rem;
  background: #eff6ff;
}

.budget-card h4 {
  margin: 0 0 0.25rem;
}

@media (max-width: 680px) {
  .dates-row,
  .budget-grid {
    grid-template-columns: 1fr;
  }
}
