* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue",
               Arial, "Noto Sans", sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
}

.hero {
  min-height: 100vh;
  background: url('/hero-image-2.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 8px;
}

.card {
  background: #fff;
  max-width: 440px;
  width: 100%;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.18);
  margin: auto;
}

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

.logo img {
  max-width: 200px;
}

.accent {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #777;
  text-align: center;
}

h1 {
  font-size: 26px;
  margin: 10px 0;
  color: #1F4B8B;
  text-align: center;
}

.lede {
  font-size: 14px;
  line-height: 1.5;
  color: #444;
  margin-bottom: 28px;
  text-align: center;
}

.row {
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
}

.row .h-captcha {
	margin: auto;
}

/* Phone input with intl-tel-input */
.iti {
  width: 100%;
}

.iti__input {
  width: 100%;
  padding: 11px;
  padding-left: 52px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
  color: #777;
}

@media (max-width: 480px) {
  .row {
    flex-direction: column;
  }
}

input, select {
  width: 100%;
  padding: 11px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
  color: #777;
}

input:focus, select:focus {
  outline: none;
  border-color: #1F4B8B;
  box-shadow: 0 0 0 2px rgba(31, 75, 139, 0.1);
}

/* Date input specific styling */
input#checkIn,
input#checkOut {
  cursor: pointer;
}

/* Override browser default red colors for invalid/required states */
input:invalid {
  box-shadow: none;
}

input:required {
  box-shadow: none;
}

button {
  width: 100%;
  padding: 12px;
  background: #1F4B8B;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

.note {
  font-size: 12px;
  color: #777;
  text-align: center;
  margin-top: 8px;
}

p {
	color: #777;
	font-size: 14px;
	text-wrap: pretty;
	line-height: 1.2;
}

.success-message,
.error-message {
  display: none;
  margin-top: 18px;
  text-align: center;
}

.success-message h3 {
  color: #1a7f37;
}

.error-message {
  color: #b00020;
}

/* Form label styling to match placeholder text */
.form-label {
  display: block;
  font-size: 14px;
  color: #999;
  margin-bottom: 8px;
}

/* Room selection horizontal layout */
.row.room-selection {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.row.room-selection select {
  flex: 1; /* Equal width distribution */
  min-width: 0; /* Prevent overflow */
  font-size: 13px; /* Slightly smaller for label fit */
  padding: 11px 8px; /* Reduced horizontal padding */
}

/* Mobile: Keep horizontal with tighter spacing */
@media (max-width: 480px) {
  .row.room-selection {
    flex-direction: row; /* Override default column stacking */
    gap: 4px; /* Tighter gap on mobile */
  }

  .row.room-selection select {
    font-size: 12px; /* Smaller text on mobile */
    padding: 11px 4px; /* Tighter padding */
  }
}

/* Comments textarea styling */
textarea {
  width: 100%;
  padding: 11px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
  color: #777;
  font-family: inherit; /* Match form font */
  resize: vertical; /* Allow vertical resize only */
}

textarea:focus {
  outline: none;
  border-color: #1F4B8B; /* Blue focus color */
  box-shadow: 0 0 0 2px rgba(31, 75, 139, 0.1);
}

textarea::placeholder {
  color: #999;
}
