.checkbox-field {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--primary);
}

.meeting-details-text {
  margin: 0;
  white-space: pre-wrap;
  font: inherit;
}

.copy-meeting-button {
  margin-top: 10px;
}

body:has(dialog[open]) {
  overflow: hidden;
}

/* Keep the complete booking workflow visible on common laptop screens. */
#bookingForm {
  gap: 12px;
  padding: 18px 22px;
}

#bookingForm .dialog-header {
  padding-bottom: 10px;
}

#bookingForm textarea {
  height: 56px;
  min-height: 56px;
  resize: vertical;
}

#bookingForm .meeting-details {
  padding: 10px 12px;
  line-height: 1.55;
}

#bookingForm .copy-meeting-button {
  min-height: 34px;
  margin-top: 8px;
}

#bookingForm .dialog-actions {
  padding-top: 10px;
}

#bookingError:empty {
  display: none;
}

.user-row {
  grid-template-columns: 1fr 1fr 90px 72px;
  align-items: center;
}

.user-row.inactive {
  color: var(--muted);
  background: #f7f8fa;
}

.user-actions {
  display: flex;
  justify-content: flex-end;
}

.user-actions button {
  min-height: 30px;
  padding: 4px 10px;
}

@media (max-width: 760px) {
  #bookingForm {
    gap: 12px;
    padding: 16px;
  }

  .copy-meeting-button {
    width: 100%;
  }

  .user-row {
    grid-template-columns: 1fr;
  }

  .user-actions {
    justify-content: flex-start;
  }
}
