/* Availability card polish: compact reserved cards and clearer free actions. */

.slot.is-booked {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px 18px;
}

.slot.is-booked .slot-info {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.slot.is-booked .slot-time {
  grid-column: 1 / -1;
}

.slot.is-booked .slot-status {
  width: fit-content;
  margin-top: 0;
}

.slot.is-booked .slot-home {
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  padding: 0 0 0 12px;
  border-left: 4px solid #c47b3a;
  color: #713f12;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.slot.is-booked .slot-home::before {
  content: "Vivienda: ";
  font-weight: 750;
  opacity: .86;
}

.slot.is-booked .slot-cancel {
  align-self: center;
  min-width: 176px;
  max-width: 220px;
  white-space: normal;
  line-height: 1.15;
}

@media (max-width: 760px) {
  .slot.is-booked {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-height: 0;
    padding: 16px;
  }

  .slot.is-booked .slot-info {
    gap: 8px;
    width: 100%;
  }

  .slot.is-booked .slot-time {
    font-size: 26px;
    line-height: 1.1;
  }

  .slot.is-booked .slot-status {
    font-size: 15px;
    padding: 6px 12px;
  }

  .slot.is-booked .slot-home {
    display: block;
    width: 100%;
    padding-left: 12px;
    font-size: 17px;
    line-height: 1.28;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .slot.is-booked .slot-cancel {
    width: 100%;
    max-width: none;
    min-height: 46px;
  }
}

@media (max-width: 390px) {
  .slot.is-booked .slot-home {
    font-size: 16px;
  }
}

@media (prefers-color-scheme: dark) {
  .slot.is-booked .slot-home {
    color: #ffd7a8;
    border-left-color: #b77942;
  }
}
