.elementor-17893 .elementor-element.elementor-element-d64694a{--display:flex;}.elementor-17893 .elementor-element.elementor-element-53574b3 > .elementor-widget-container{padding:0px 0px 0px 0px;}#elementor-popup-modal-17893{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-17893 .dialog-message{width:640px;height:auto;}#elementor-popup-modal-17893 .dialog-close-button{display:flex;}#elementor-popup-modal-17893 .dialog-widget-content{box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}/* Start custom CSS for shortcode, class: .elementor-element-53574b3 *//* Compact Appointment Form (Smaller Version) */
.appointment-form.compact {
  background: #fff;
  border-radius: 14px;
  max-width: 360px;     /* Narrower */
  margin: auto;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Tahoma, sans-serif;
  padding: 14px;        /* Smaller padding */
}

/* Header */
.appointment-form.compact .form-header {
  background: linear-gradient(90deg, #ff6a00, #ff9900);
  text-align: center;
  padding: 10px;
  color: #fff;
}

.appointment-form.compact .form-header img {
  max-width: 70px;   /* smaller logo */
  margin-bottom: 4px;
}

.appointment-form.compact .form-header h2 {
  margin: 0;
  font-size: 14px;   /* smaller font */
  font-weight: 700;
}

.appointment-form.compact .form-header p {
  font-size: 11px;
  margin-top: 2px;
  opacity: 0.9;
}

/* Input Fields */
.appointment-form.compact input,
.appointment-form.compact select,
.appointment-form.compact textarea {
  width: 100%;
  padding: 6px 8px;     /* ↓ reduced padding */
  margin-bottom: 6px;   /* ↓ reduced gap */
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 12px;      /* smaller text */
  transition: 0.2s;
  height: 32px;         /* smaller input height */
}

/* Textarea */
.appointment-form.compact textarea {
  min-height: 55px;     /* smaller textarea */
}

/* Form Row (side by side) */
.appointment-form.compact .form-row {
  display: flex;
  gap: 6px;   /* smaller gap */
}

.appointment-form.compact .form-row input,
.appointment-form.compact .form-row select {
  flex: 1;
}

/* Submit Button */
.appointment-form.compact input[type="submit"] {
  background: linear-gradient(90deg, #ff6a00, #ff9900);
  color: #fff;
  border: none;
  padding: 8px;          /* smaller button */
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  transition: 0.3s;
  font-weight: 600;
}

.appointment-form.compact input[type="submit"]:hover {
  opacity: 0.9;
}

/* Responsive for small screens */
@media (max-width: 480px) {
  .appointment-form.compact .form-row {
    flex-direction: column;
  }
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-53574b3 *//* Popup container (center and smaller height) */

.elementor-popup-modal {
  align-items: center;
  justify-content: center;
}

.elementor-popup-modal .dialog-widget-content {
  max-height: 90vh !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.elementor-popup-modal .dialog-message {
  max-width: 380px !important;
  max-height: 600px !important;
  margin: auto !important;
  border-radius: 16px;
  overflow-y: auto;
}

/* Compact Appointment Form (single column) */
.appointment-form.compact,
.appointment-form.compact * {
  box-sizing: border-box;
}

.appointment-form.compact {
  background: #fff;
  border-radius: 14px;
  max-width: 360px;
  margin: auto;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Tahoma, sans-serif;
  padding: 12px;
}

/* Header */
.appointment-form.compact .form-header {
  background: linear-gradient(90deg, #ff6a00, #ff9900);
  text-align: center;
  padding: 8px;
  color: #fff;
}
.appointment-form.compact .form-header img {
  max-width: 60px;
  margin-bottom: 2px;
}
.appointment-form.compact .form-header h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}
.appointment-form.compact .form-header p {
  font-size: 11px;
  margin-top: 2px;
  opacity: 0.9;
}

/* Remove big gaps CF7/themes add */
.appointment-form.compact p {
  margin: 0 0 6px !important; /* tight vertical rhythm */
}
.appointment-form.compact .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Inputs full width + compact */
.appointment-form.compact input,
.appointment-form.compact select,
.appointment-form.compact textarea {
  width: 100% !important;  /* force full width */
  display: block;
  padding: 6px 8px;
  margin: 0;               /* remove random gaps */
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 12px;
  height: 34px;
  line-height: 1.2;
  background: #fff;
}

/* Make native date/time heights consistent */
.appointment-form.compact input[type="date"],
.appointment-form.compact input[type="time"] {
  height: 34px;
}

/* Remove extra gap between fields (unified bottom spacing) */
.appointment-form.compact .field,
.appointment-form.compact .form-row,
.appointment-form.compact > input,
.appointment-form.compact > select,
.appointment-form.compact > textarea,
.appointment-form.compact .wpcf7-form-control-wrap {
  margin-bottom: 6px !important;
}

/* Textarea */
.appointment-form.compact textarea {
  min-height: 60px;
  height: auto;
  resize: vertical;
}

/* Submit Button */
.appointment-form.compact input[type="submit"] {
  background: linear-gradient(90deg, #ff6a00, #ff9900);
  color: #fff;
  border: none;
  padding: 8px;
  font-size: 13px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
  transition: 0.3s;
  height: auto;
}
.appointment-form.compact input[type="submit"]:hover {
  opacity: 0.9;
}

/* Safety: ignore any row styles if left in markup */
.appointment-form.compact .form-row {
  display: block !important; /* single column */
  gap: 0 !important;
}

/* Mobile — nothing special needed, stays full width */
@media (max-width: 480px) {
  .elementor-popup-modal .dialog-message {
    max-width: 92vw !important;
  }
}

/* Add spacing above the first input (Name field) */
.appointment-form.compact .wpcf7-form-control-wrap:first-of-type {
  margin-top: 8px; /* gives breathing room below header */
}

/* Make textarea same height as other inputs */
.appointment-form.compact textarea {
  min-height: 34px;  /* same as inputs */
  height: 34px;
  resize: none;      /* stop resize so it stays compact */
}
/* Header Image styling */
.appointment-form.compact .form-header img {
  display: block;
  margin: 0 auto 6px auto;   /* center image + space below */
  background: #fff;          /* white background */
  padding: 6px;              /* breathing room inside */
  border-radius: 8px;        /* rounded corners */
  max-width: 120px;          /* make it bigger like your screenshot */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* subtle shadow for contrast */
}/* End custom CSS */