
  html, body {
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    font-family: Arial, sans-serif;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
  }

  .form-container {
    background: #fff;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    box-sizing: border-box;
  }

  /* Mobile fix: truly edge-to-edge */
  @media (max-width: 600px) {
    body {
      padding: 0;
    }

    .form-container {
      border-radius: 0;
      box-shadow: none;
      padding: 16px;
      max-width: 100%;
      width: 100vw;
    }
  }
  h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
  }

  label {
    margin-top: 15px;
    display: block;
    font-weight: bold;
    font-size: 14px;
  }

  input, textarea, select {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 16px;
  }

  textarea {
    resize: vertical;
    height: auto;
  }

  .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .row .date-time-input {
    flex: 1;
    min-width: 130px;
  }

  .quick-select {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
  }

  .quick-select button {
    background-color: #e7e7e7;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
  }

  .quick-select button:hover {
    background-color: #ccc;
  }

  button.submit-btn {
    width: 50%;
    padding: 14px;
    font-size: 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  button.submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  button.submit-btn:hover {
    background-color: #0056b3;
  }

  button.submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
  }

  .chip-input {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border: 1px solid #ccc;
    padding: 6px;
    border-radius: 4px;
    min-height: 45px;
    align-items: center;
    box-sizing: border-box;
  }

  .chip-input input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px;
    font-size: 14px;
    min-width: 100px;
  }

  .chip {
    background-color: #007BFF;
    color: white;
    padding: 6px 10px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
  }

  .chip .remove-chip {
    background: transparent;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
  }

  .error-message {
    color: red;
    font-size: 12px;
    display: none;
  }

  input.error, select.error {
    border-color: red;
  }

  /* Mobile adjustments */
  @media (max-width: 600px) {
    h2 {
      font-size: 20px;
    }

    label {
      font-size: 13px;
    }

    input, textarea, select, button.submit-btn {
      font-size: 15px;
      padding: 10px;
    }

    .row {
      flex-direction: column;
    }

    .chip-input {
      padding: 8px;
    }

    .chip-input input {
      font-size: 15px;
    }

    .quick-select button {
      font-size: 13px;
      padding: 6px 10px;
    }
  }

 .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
  }

  .input-wrapper input {
    width: 100%;
    padding-right: 48px;
    height: 45px;
    font-size: 16px;
  }

  .input-icon {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    z-index: 2;
  }

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: absolute;
  right: 0;
}

  /* Also hide them for Firefox */
  input[type="date"]::-moz-focus-inner,
  input[type="time"]::-moz-focus-inner {
    border: 0;
  }

.flight-loading {
  background-image: url('https://www.gstatic.com/images/icons/material/system/24/autorenew_black_24dp.png');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
