.form-container {
  max-width: 520px;
  padding: 24px;
  background: #0e0505f2;
  backdrop-filter: blur(8px);
  border-radius: 12px;
  width: 100%;
  margin-top: 14px;
  margin-bottom: 24px;
}
.form-title {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin: 20px 0;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-field {
  display: flex;
  flex-direction: column;
  /* margin-bottom: 16px; */
  margin-bottom: 8px;
}
.field-label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #fff;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}
.field-label img {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  cursor: pointer;
}
.field-label img.disabled {
  opacity: 0.5;
  cursor: pointer;
}
.field-container {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}
.custom-input,
.custom-select,
.custom-date,
.custom-time {
  width: 100%;
  padding: 12px;
  border: 1px solid #444;
  border-radius: 8px;
  font-size: 14px;
  background: #3c3c3c;;
  color: #fff;
}
.custom-input:focus,
.custom-select:focus,
.custom-date:focus,
.custom-time:focus {
  border-color: #532d4f;
  box-shadow: 0 0 0 3px rgb(227 13 22 / 0.2);
  outline: none;
}
.custom-select {
  height: 48px;
}
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field-mini {
  gap: 10px;
  display: flex;
  align-items: center;
}
.field-mini input,
.field-mini select {
  flex: 1;
}
.icon-btn {
  background: #532d4f;
  border: none;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 8px;
  padding-block: 8px;
  padding-inline: 8px;
}
.icon-btn img {
  width: 24px;
  height: auto;
  aspect-ratio: 24 / 24;
}
.submit-btn {
  background: #532d4f;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  /* margin-top: 20px; */
  margin-bottom: 8px;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1100;
}
.modal-content {
  background: #0e0505f2;;
  backdrop-filter: blur(8px);
  padding: 20px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgb(0 0 0 / 0.3);
}
.modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}
.modal .modal-content {
  transform: translateY(-20px);
  opacity: 0;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #444;
  padding-bottom: 12px;
}
.modal-title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
}
.modal-body {
  padding: 16px 0;
}
.modal-footer {
  border-top: 1px solid #444;
  padding-top: 12px;
  text-align: right;
}
.close-btn {
  background: none;
  border: none;
  width: 24px;
  height: 24px;
  cursor: pointer;
}
.airport-btn,
.custom-btn {
  background: #3c3c3c;
  border: 1px solid #444;
  padding: 12px;
  margin: 6px 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-size: 14px;
}
.airport-btn:hover,
.custom-btn:hover {
  background: #3a3a3a;
  transform: translateY(-1px);
}
.suggestion-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1200;
  display: none;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.3);
}
.suggestion-item {
  padding: 12px;
  cursor: pointer;
  color: #fff;
}
.suggestion-item:hover {
  background: #532d4f;
}
.loading-div {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1200;
}
.loader {
  border: 6px solid #2a2a2a;
  border-top: 6px solid #532d4f;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.error-message {
  color: #532d4f;
  font-size: 12px;
  display: none;
  margin-top: 6px;
}
.via-field {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
}
.via-field input {
  flex: 1;
  margin-right: 12px;
}
.via-field .suggestion-list {
  width: calc(100% - 48px);
}
.custom-date,
.custom-time {
  width: 100%;
}
.remove-field {
  background: #532d4f;
  color: #fff;
  border: none;
  padding: 11px 13px;
  font-size: 17px;
  border-radius: 8px;
  cursor: pointer;
}
.holdable-data {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 20px;
}
.holdable-item {
  display: flex;
  align-items: center;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 8px;
  background: #2a2a2a;
}
.holdable-item input {
  border: none;
  background: none;
  padding: 8px;
  color: #fff;
  font-size: 14px;
}
.delete-btn {
  background: none;
  border: none;
  cursor: pointer;
}
.delete-btn img {
  width: 20px;
  height: 20px;
}
.card {
  border: 1px solid #444;
  border-radius: 8px;
  margin-bottom: 12px;
}
.card-header {
  background: #2a2a2a;
  padding: 12px;
  border-radius: 8px 8px 0 0;
}
.luggage-headings {
  margin: 0;
}
.card-body {
  padding: 12px;
}
.collapse {
  display: none;
}
.collapse.show {
  display: block;
}
@media (max-width: 768px) {
  .form-container {
    width: 95%;
    padding: 16px;
  }
  .form-title {
    font-size: 24px;
  }
  .modal-content {
    width: 95%;
  }
  .two-column {
    grid-template-columns: 1fr;
  }
}

input[type="date"],
input[type="time"] {
  color-scheme: dark;
}
