@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

.kt-atb-booking-form * {
  font-family: 'DM Sans', sans-serif !important;
}

.kt-atb-booking-form {
  max-width: 850px;
  margin: 2.5rem auto;
  padding: 2rem;
  background: rgba(255, 248, 246, 1);
  border-radius: 14px;
  border: 1px solid #ffe1d6;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

.kt-atb-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(255, 108, 44, 1);
  margin-bottom: 1.5rem;
}

.kt-atb-field {
  margin-bottom: 1rem;
  width: 100%;
}

.kt-atb-field label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.35rem;
  display: block;
}

.kt-atb-field input,
.kt-atb-field select,
.kt-atb-field textarea {
  width: -webkit-fill-available;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #ffc9b7;
  background: #fff;
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.kt-atb-field input:focus,
.kt-atb-field select:focus,
.kt-atb-field textarea:focus {
  outline: none;
  border-color: rgba(255, 108, 44, 1);
  box-shadow: 0 0 4px rgba(255, 108, 44, 0.4);
}

.kt-atb-row {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

fieldset {
  margin-top: 1.5rem;
  border: 1px solid #ffd5c7;
  padding: 1.4rem;
  border-radius: 12px;
  background: #fff5f1;
}

legend {
  padding: 0 0.5rem;
  font-weight: 700;
  color: rgba(255, 108, 44, 1);
}

/* Notes */
.kt-atb-min-note {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #555;
}

/* Extras */
.kt-atb-luggage-info {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: #fff;
  border: 1px dashed #ffc2ac;
  font-size: 0.85rem;
}

.kt-atb-extra-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid #ffd5c7;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.kt-atb-extra-sub {
  font-size: 0.8rem;
  color: #666;
}

.kt-atb-extra-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.kt-atb-btn-minus,
.kt-atb-btn-plus {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 108, 44, 1);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.kt-atb-extra-count {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
}

.kt-atb-extra-note {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.5rem;
}

/* Fare box */
.kt-atb-fare-box {
  background: rgba(255, 108, 44, 0.08);
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border-left: 4px solid rgba(255, 108, 44, 1);
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.kt-atb-fare-amount {
  margin-top: 0.25rem;
  color: rgba(255, 108, 44, 1);
  font-size: 1.4rem;
  font-weight: 700;
}

.kt-atb-fare-note {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #8a4a2e;
}

/* Policy */
.kt-atb-policy {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.kt-atb-policy label {
  font-size: 0.9rem;
  color: #444;
}

/* Buttons */
.kt-atb-submit-wrap {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 2rem;
}

.kt-atb-view-times-btn {
  padding: 0.85rem 1.3rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 108, 44, 0.5);
  background: #fff;
  color: rgba(255, 108, 44, 1);
  font-weight: 600;
  cursor: pointer;
}

.kt-atb-submit-btn {
  padding: 0.9rem 1.6rem;
  background: rgba(255, 108, 44, 1);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.kt-atb-submit-btn:hover {
  background: rgba(230, 90, 30, 1);
}

p.kt-atb-passenger-status {
    font-size: 16px;
}

/* Success message */
.kt-atb-success-msg {
  background: #e8ffe8;
  padding: 1rem;
  border-radius: 8px;
  color: #0f6e0f;
  margin-top: 1rem;
  border-left: 4px solid #17b317;
}

/* Times modal */
.kt-atb-times-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.kt-atb-times-modal.is-open {
  display: flex;
}

.kt-atb-times-modal-inner {
  background: #fff;
  padding: 1.8rem;
  border-radius: 14px;
  border-top: 5px solid rgba(255, 108, 44, 1);
  max-width: 600px;
  width: 100%;
  position: relative;
}

.kt-atb-times-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.kt-atb-times-lists {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.kt-atb-times-lists ul {
  list-style: disc;
  padding-left: 1rem;
}

@media (max-width: 640px) {
  .kt-atb-times-lists {
    flex-direction: column;
  }
}

/* 2 column layout */
.kt-2-cols .kt-atb-field {
  flex: 0 0 calc(50% - 0.6rem);
}

/* 3 column layout */
.kt-3-cols .kt-atb-field {
  flex: 0 0 calc(33.333% - 0.8rem);
}

/* Disable submit button visually */
.kt-atb-submit-btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
