/* Container styling */
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .node--type-appointment {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

/* Header/Contextual options separation */
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .node--type-appointment > header {
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

/* Field label styling */
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .field__label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.25rem;
}

/* For fields with inline labels */
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .field--label-inline {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .field--label-inline .field__label {
  margin-right: 0.5rem;
  white-space: nowrap;
}

/* For fields with labels above */
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .field--label-above {
  margin-bottom: 1rem;
}

/* Field item text styling */
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .field__item {
  color: #212529;
  line-height: 1.5;
}

/* Status field: emphasize status text */
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .field--name-field-appointment-status .field__item {
  font-weight: 700;
  color: #198754;
}

/* Appointment Date & Slot fields (inline look) */
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .field--name-field-appointment-date,
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .field--name-field-appointment-slot,
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .field--name-node-author,
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .field--name-field-appointment-host {
  margin-bottom: 1rem;
}

/* Purpose field: standard spacing */
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .field--name-field-appointment-purpose {
  margin-bottom: 1rem;
}

/* Appointment Badges: display as badges */
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .field--name-field-appointment-badges .field__item a {
  display: inline-block;
  padding: 0.25rem 0.4rem;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background-color: #6c757d;
  border-radius: 0.2rem;
  text-decoration: none;
  margin-right: 0.25rem;
}
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .field--name-field-appointment-badges .field__item a:hover {
  background-color: #5a6268;
}

/* Appointment Result styling */
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .field--name-field-appointment-result .field__item {
  font-weight: 700;
  color: #0d6efd;
}

/* Link styling within the appointment */
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .node--type-appointment a {
  color: #0d6efd;
  text-decoration: none;
}
#block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .node--type-appointment a:hover {
  text-decoration: underline;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 576px) {
  #block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .node--type-appointment {
    padding: 1rem;
  }
  #block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .field--label-inline {
    flex-direction: column;
    align-items: flex-start;
  }
  #block-barrio-boostrap-5-makehaven-makerbootstrap-system-main .content .field--label-inline .field__label {
    margin-bottom: 0.25rem;
  }
}
