/* Shared by the management panel and the independent booking page. */
.skeleton {
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
  padding-block: 8px;
}
.skeleton-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skeleton-line {
  display: block;
  height: 14px;
  width: 100%;
  border-radius: 6px;
  background: #e7ede5;
  animation: skeleton-breathe 1.8s ease-in-out infinite;
}
.skeleton-line.short {
  width: 40%;
}
.skeleton-line.medium {
  width: 72%;
}
.skeleton-line.title {
  height: 22px;
  width: 56%;
}
.skeleton-line.control {
  height: 46px;
  border-radius: 10px;
}
@keyframes skeleton-breathe {
  50% {
    opacity: 0.45;
  }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton-line {
    animation: none;
  }
}

/* Skeletons share the real rows, cards and field containers; never add a nested card around a modal. */
.skeleton {
  padding: 0;
}
.skeleton > [aria-hidden] {
  min-width: 0;
}
.skeleton-row-text {
  width: 100%;
  display: grid;
  gap: 7px;
}
.skeleton-icon {
  width: 24px;
  flex: 0 0 24px;
}
.skeleton-booking .card-body {
  display: grid;
  gap: 9px;
  flex: 1;
}
.skeleton-booking .time-column {
  display: grid;
  align-content: start;
  gap: 8px;
}
.skeleton-booking .card-end {
  min-width: 54px;
  display: grid;
  gap: 10px;
}
.skeleton-heading {
  width: min(320px, 80vw);
  display: grid;
  gap: 12px;
}
.async-region {
  min-width: 0;
  display: flow-root;
}
.async-region.async-refresh {
  position: relative;
  overflow: hidden;
}
.async-refresh > .skeleton {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.skeleton .skeleton-slots {
  min-height: 0;
}
.skeleton .field {
  gap: 8px;
}
.skeleton .list-row {
  pointer-events: none;
}
.skeleton-row-text {
  flex: 1;
  width: auto;
  min-width: 0;
}
.skeleton .list-row {
  flex-wrap: nowrap;
}
.skeleton .section-heading h3 {
  width: 56%;
}
.skeleton-radio {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
}
.time .skeleton-line {
  background: #e7ede5;
}
.skeleton-row-action {
  width: 76px;
  height: 36px;
  flex: 0 0 76px;
}

.skeleton .skeleton-slot {
  display: grid;
  place-items: center;
  background: #e7ede5;
  border: 1px solid transparent;
}
