.has-small-font-size {
	font-size: 13px !important;
	line-height: 1.2em;
	margin-bottom: 0.25rem;
}
/* Base form container */
#cb-calendly-form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: inherit;
}

/* Field wrapper */
.cb-field {
    display: flex;
    flex-direction: column;
}

.cb-field label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cb-field input,
.cb-field select,
.cb-field textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

/* Row container for grouped fields */
.cb-field-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Half-width fields inside a row */
.cb-field.half {
    flex: 1 !important;
}

/* Larger screens: side-by-side layout */
@media (min-width: 768px) {
    .cb-field-row {
        flex-direction: row;
    }
}

/* Notes textarea */
#cb_notes {
    min-height: 120px;
    resize: vertical;
}


.cb-location-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cb-location-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
}

.cb-location-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cb-location-option input[type="radio"] {
    margin: 0;
}

.cb-location-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Blue video camera for Zoom */
.cb-location-icon.zoom {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23007bff" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17 10.5V7c0-1.1-.9-2-2-2H3C1.9 5 1 5.9 1 7v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3.5l4 4v-11l-4 4z"/></svg>');
}

/* Pink location pin for HIER Life */
.cb-location-icon.location {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23e83e8c" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5c-1.4 0-2.5-1.1-2.5-2.5S10.6 6.5 12 6.5s2.5 1.1 2.5 2.5S13.4 11.5 12 11.5z"/></svg>');
}

.cb-location-label {
    font-weight: 600;
}

.cb-location-note {
    font-size: 0.85em;
    color: #666;
    margin-left: 2rem; /* indent under radio+label */
    margin-top: 0.25rem;
    line-height: 1.3;
}



.woocommerce-order-details h2,
.woocommerce-order-details h3,
.woocommerce-order-details h4 {
  display: block;
  clear: both;
  margin-top: 1.5em;
}

/* Hide quantity box on meeting products */
div.product_cat-meeting form div.quantity, 
div.product_cat-meetings form div.quantity {
  display: none !important;
  visibility: hidden !important;
  margin: 0 !important;
  min-width: 0 !important;
}

/* Background overlay */
#cb-login-modal {
  display: none; /* hidden until triggered */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); /* semi-transparent background */
  z-index: 9999; /* ensure it sits above everything */
}

/* Modal box */
.cb-login-box {
  position: relative;
  background: #fff;
  max-width: 400px;
  margin: 10% auto; /* center horizontally, push down vertically */
  padding: 20px;
  padding-bottom: 50px;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* Close button */
.cb-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
}


/* Container list */
.hier-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Booking card container */
.hier-card__booking {
  margin-bottom: 1.5em;
  padding: 1em;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
}

/* Title + Date */
.hier-card__title {
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 .25em;
  color: #222;
}

/* Location */
.hier-card__location {
  margin: 0.25em 0;
  color: #555;
  font-size: 0.95rem;
}

/* Actions (links) */
.hier-card__actions {
  margin-top: 0.5em;
  font-size: 0.9rem;
}

.hier-card__actions a {
  color: #2a7a2a;
  text-decoration: none;
  margin: 0 0.25em;
}

.hier-card__actions a:hover {
  text-decoration: underline;
}

/* Empty state */
.hier-card__meta {
  color: #777;
  font-style: italic;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .hier-card__booking {
    padding: 0.75em;
  }
  .hier-card__title {
    font-size: 0.95rem;
  }
  .hier-card__actions {
    display: block;
    margin-top: 0.75em;
  }
  .hier-card__actions a {
    display: inline-block;
    margin: 0.25em 0;
  }
}
