.ci-booking-form {
  max-width: 100%;
  margin: 2em auto;
  padding: 2em;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
}

.ci-booking-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.ci-booking-form .form-group {
  flex: 1 1 250px;
}

.ci-booking-form label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.ci-booking-form label.required::after {
  content: " *";
  color: #c00;
  font-weight: normal;
}

.ci-booking-form input[type="text"],
.ci-booking-form input[type="email"],
.ci-booking-form input[type="tel"],
.ci-booking-form input[type="number"] {
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border 0.2s ease-in-out;
}

.ci-booking-form input:focus {
  border-color: #5b9dd9;
  box-shadow: 0 0 0 1px #5b9dd9;
  outline: none;
}

.ci-booking-form fieldset {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 1rem;
  margin-top: 1.5rem;
  background: #f9f9f9;
}

.ci-booking-form legend {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}

.ci-booking-form button {
  margin-top: 1rem;
  background-color: #2d7dd2;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

.ci-booking-form button:hover {
  background-color: #1b5fab;
}
.ci-booking-summary {
  margin-bottom: 2em;
}

.ci-booking-notice {
  background: #fff8e1;
  border-left: 4px solid #f0ad4e;
  padding: 1em 1.5em;
  font-size: 1rem;
  color: #333;
}
.clover-payment-box {
  background: #fff;
  border: 1px solid #ccc;
  padding: 1em;
  border-radius: 6px;
  margin-top: 1em;
}

.clover-field {
  margin-bottom: 1em;
  height: 56px; /* Ensure iframe inside has height */
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.25rem 0.75rem;
  box-sizing: border-box;
  background: #fff;
}
.clover-field-wrapper label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}
.clover-field iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: none;
}
/* Consistent form field container */
.ci-booking-form .form-group {
  flex: 1 1 240px;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

/* Field container for Clover inputs */
.clover-field {
  height: 48px;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

/* Clean iframe embed */
.clover-field iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: none;
}
.clover-field:focus-within {
  border-color: #0073aa;
  box-shadow: 0 0 0 1px #0073aa;
}
.checkout-elements input {
  padding: 19px 0;
}
/* Payment section spacing */
.clover-payment-box {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f9f9f9;
}

/* Optional: tighter label styles */
.ci-booking-form label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
/* target whatever ID or class Clover uses: */
#clover-footer,
.clover-footer,
footer.clover {
  display: none !important;
}
/* Responsive tweak */
@media (max-width: 600px) {
  .ci-booking-form .form-row {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .ci-booking-form .form-row {
    flex-direction: column;
  }
}
