.tour-reservation-section--inline {
  margin-top: 8px;
  padding: 0;
  background: transparent;
  border-top: 0;
}

.tour-reservation-section--inline .tour-reservation-widget {
  padding: 24px;
  border: 1px solid rgba(23, 55, 101, 0.12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.tour-reservation-widget {
  margin-bottom: 0;
}

.tour-reservation-widget__intro {
  font-size: 14px;
  line-height: 1.6;
  color: #5f6368;
  margin-bottom: 16px;
}

.tour-reservation-widget--guest {
  text-align: center;
  padding: 20px 16px;
  border: 1px solid rgba(23, 55, 101, 0.12);
  border-radius: 14px;
  background: #fff;
}

.tour-reservation-login-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #4DA528;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tour-reservation-login-link:hover {
  background: #439622;
  transform: translateY(-1px);
}

.tour-reservation-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tour-reservation-field label,
.tour-reservation-guests__head label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #173765;
  margin-bottom: 6px;
}

.tour-reservation-input {
  width: 100%;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #1a1f1c;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tour-reservation-input:focus {
  outline: none;
  border-color: #4DA528;
  box-shadow: 0 0 0 3px rgba(77, 165, 40, 0.15);
}

.tour-reservation-textarea {
  resize: vertical;
  min-height: 88px;
}

.tour-reservation-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tour-reservation-hint {
  margin: -4px 0 0;
  font-size: 12px;
  color: #858796;
}

.tour-reservation-summary {
  background: #f7faf5;
  border: 1px solid rgba(77, 165, 40, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
}

.tour-reservation-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #5f6368;
}

.tour-reservation-summary__row + .tour-reservation-summary__row {
  margin-top: 8px;
}

.tour-reservation-summary__row strong {
  color: #173765;
}

.tour-reservation-divider {
  height: 1px;
  background: rgba(23, 55, 101, 0.1);
}

.tour-reservation-guests__head {
  margin-bottom: 10px;
}

.tour-reservation-import {
  margin-bottom: 12px;
}

.tour-reservation-import__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.tour-reservation-import__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.tour-reservation-import__btn i {
  font-size: 0.6875rem;
  opacity: 0.95;
}

.tour-reservation-import__btn--download {
  border-color: rgba(77, 165, 40, 0.45);
  background: rgba(77, 165, 40, 0.07);
  color: #3d8a1f;
}

.tour-reservation-import__btn--download:hover {
  border-color: #4DA528;
  background: #4DA528;
  color: #fff;
  box-shadow: 0 2px 8px rgba(77, 165, 40, 0.22);
}

.tour-reservation-import__btn--upload {
  margin: 0;
  border-color: rgba(23, 55, 101, 0.28);
  background: rgba(23, 55, 101, 0.05);
  color: #173765;
}

.tour-reservation-import__btn--upload:hover {
  border-color: #173765;
  background: #173765;
  color: #fff;
  box-shadow: 0 2px 8px rgba(23, 55, 101, 0.18);
}

.tour-reservation-import__hint {
  margin: 6px 0 0;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: #94a3b8;
  text-align: center;
}

.tour-reservation-import__status {
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  line-height: 1.4;
}

.tour-reservation-import__status.is-success {
  background: rgba(77, 165, 40, 0.12);
  color: #3d8a1f;
}

.tour-reservation-import__status.is-error {
  background: rgba(220, 53, 69, 0.1);
  color: #b42318;
}

.tour-reservation-guest-card {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.tour-reservation-guest-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.tour-reservation-guest-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(77, 165, 40, 0.1);
  color: #3d8a1f;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.tour-reservation-guest-card__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.tour-reservation-guest-card__remove:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.tour-reservation-guest-card__fields {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 64px minmax(0, 0.95fr) minmax(0, 0.85fr);
  gap: 8px;
}

.tour-reservation-guest-card__fields label {
  font-size: 0.68rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 4px;
}

.tour-reservation-guest-card__fields .tour-reservation-input {
  padding: 8px 10px;
  font-size: 0.8125rem;
  border-radius: 7px;
}

.tour-reservation-input--gender {
  padding-left: 8px;
  padding-right: 8px;
  text-align: center;
  font-weight: 600;
}

.tour-reservation-guest-card .tour-reservation-field {
  margin-bottom: 0;
}

.tour-reservation-submit {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #4DA528 0%, #3d8a20 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(77, 165, 40, 0.22);
}

.tour-reservation-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(77, 165, 40, 0.28);
}

.tour-reservation-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.tour-reservation-alert {
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 13px;
}

.tour-reservation-alert--error {
  background: #fdecea;
  color: #842029;
  border: 1px solid #f5c2c7;
}

.agent-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .tour-reservation-section--inline {
    margin: 20px 0 8px;
  }

  .tour-reservation-section--inline .tour-reservation-widget {
    padding: 20px 18px;
  }

  .tour-reservation-guest-card__fields {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
