body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background: #1a1a1a;
  color: #ffffff;
}

.form-container {
  max-width: 600px;
  margin: 20px auto;
  padding: 24px;
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-title {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin: 20px 0;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.field-label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #ffffff;
  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: not-allowed;
}

.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: #2a2a2a;
  color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-input:focus,
.custom-select:focus,
.custom-date:focus,
.custom-time:focus {
  border-color: #e30d16;
  box-shadow: 0 0 0 3px rgba(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: #e30d16;
  border: none;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.2s ease;
  padding-block:8px;
  padding-inline: 8px;
}

.icon-btn:hover {
  background: #b80a12;
}

.icon-btn img {
  width: 24px;
  height: 24px;
  aspect-ratio: 24 / 24;
}

.submit-btn {
  background: #e30d16;
  color: #ffffff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  width: 100%;
  margin-top: 20px;
}

.submit-btn:hover {
  background: #b80a12;
  transform: translateY(-2px);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1100;
}

.modal-content {
  background: rgba(30, 30, 30, 0.95);
  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 rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.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: #ffffff;
  text-transform: uppercase;
}

.modal-body {
  padding: 16px 0;
}

.modal-footer {
  border-top: 1px solid #444;
  padding-top: 12px;
  text-align: right;
}

.airport-btn,
.custom-btn {
  background: #2a2a2a;
  border: 1px solid #444;
  padding: 12px;
  margin: 6px 0;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-size: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.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 rgba(0, 0, 0, 0.3);
}

.suggestion-item {
  padding: 12px;
  cursor: pointer;
  color: #ffffff;
  transition: background 0.2s ease;
}

.suggestion-item:hover {
  background: #e30d16;
}

.loading-div {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1200;
}

.loader {
  border: 6px solid #2a2a2a;
  border-top: 6px solid #e30d16;
  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: #e30d16;
  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: #e30d16;
  color: #ffffff;
  border: none;
  padding: 11px 13px;
  font-size: 17px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.remove-field:hover {
  background: #b80a12;
}

.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: #ffffff;
  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;
  }
}
