.appointment-card {
  cursor: pointer;
  border-width: 2px;
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}

.appointment-card .card-body {
  padding: .75rem .9rem;
}

.appointment-card:hover {
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

.appointment-card.active {
  border-color: #0d6efd;
  box-shadow: 0 .5rem 1rem rgba(13, 110, 253, .15);
  background-color: var(--bs-primary-bg-subtle);
}

.appointment-name {
  font-weight: 600;
  font-size: 1.02rem;
}

.appointment-section-summary {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bs-secondary-color);
  margin-bottom: .25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.appointment-section-summary::-webkit-details-marker {
  display: none;
}

.appointment-section-summary-icon {
  font-size: .9rem;
  opacity: .7;
}

details[open] .appointment-section-summary-icon {
  transform: rotate(90deg);
}

details {
  border-radius: .5rem;
  margin-bottom: .3rem;
  padding: .25rem 0;
}

#cal-inline-widget {
  width: 100%;
  min-height: 360px;
}

@media (max-width: 767.98px) {
  main {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }
  .appointment-card {
    margin-bottom: .75rem;
  }
}
