/* Contact Form 7 integration – keeps CF7 output in the original form design. */

.jp-cf7 .wpcf7-form-control-wrap {
  display: block;
}

/* Trip type → destination dropdowns: only the matching one is shown (script.js). */
.jp-cf7 .jp-hidden {
  display: none !important;
}

/* Popup: centred submit button (as in the original markup). */
.jp-cf7-center .btn-group {
  justify-content: center;
}

/* Date field: grey "dd-mm-yyyy" until a date is picked (script.js toggles .is-filled),
   white calendar icon on the dark popup. */
.jp-cf7 input[type="date"] {
  line-height: normal;
  min-height: 52px;
}
.jp-cf7 input[type="date"]:not(.is-filled) {
  color: #828282;
}
.contact-form .jp-cf7 input[type="date"] {
  color-scheme: dark;
}
.contact-form .jp-cf7 input[type="date"]:not(.is-filled) {
  color: rgba(255, 255, 255, 0.8);
}
.jp-cf7 input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

/* Validation + response messages. */
.jp-cf7 .wpcf7-not-valid-tip {
  font-size: 14px;
  margin-top: 4px;
  color: #ff6b6b;
}
.jp-cf7 .wpcf7-form .wpcf7-response-output {
  margin: 15px 0 0;
  padding: 10px 15px;
  border-radius: 13px;
  font-size: 15px;
  color: #FFF;
}
.jp-cf7 .wpcf7-spinner {
  align-self: center;
}
