.booking-dialog .dialog-header {
  padding: 18px 22px 16px;
}
.booking-dialog .dialog-header h2 {
  font-size: 21px;
}
.booking-dialog .dialog-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 22px;
}
.booking-dialog .field {
  gap: 5px;
  margin-bottom: 0;
}
.booking-dialog .field-note {
  margin: 4px 0 0;
}
.booking-dialog .field input,
.booking-dialog .field select,
.booking-dialog .field textarea {
  min-width: 0;
  padding: 9px 10px;
  font-size: 12px;
}
.booking-dialog .field textarea {
  height: 62px;
  min-height: 62px;
  resize: vertical;
}
.booking-dialog .form-grid {
  gap: 10px;
}
.booking-topline {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: end;
  gap: 14px;
}
.booking-service-row {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
}
.booking-time-grid {
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
}
.booking-time-grid .field > span {
  font-size: 11px;
}
.booking-dialog .dialog-actions {
  padding: 14px 22px;
}
.booking-dialog .dialog-actions .button {
  padding: 10px 14px;
}
.kind-switch {
  width: 100%;
}
.kind-switch > label {
  flex: 1;
  cursor: pointer;
}
.kind-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.kind-switch label > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.kind-switch label .icon {
  width: 14px;
  height: 14px;
}
.kind-switch input:checked + span {
  background: white;
}
.kind-switch input:focus-visible + span {
  outline: 3px solid #8a8a8a;
  outline-offset: 1px;
}
.kind-switch {
  padding: 4px;
  margin-bottom: 0;
  background: #f0f5e8;
}
.kind-switch label > span {
  padding: 9px 7px;
  border-radius: 9px;
  font-size: 12px;
  color: #9aae87;
}
.kind-switch input:checked + span {
  color: #668844;
  box-shadow: none;
}
.kind-switch input:focus-visible + span {
  outline-color: #91b94e;
}
.booking-people {
  border: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.booking-people legend {
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 8px;
  color: #333a2d;
}
.booking-staff-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 190px;
  overflow: auto;
}
.booking-staff-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid #dfe6d6;
  border-radius: 12px;
  font-size: 12px;
  cursor: pointer;
}
.booking-staff-options label:has(:checked) {
  background: #eff8de;
  border-color: #9fbf72;
}
.booking-staff-options input {
  accent-color: #799c47;
  width: 16px;
  height: 16px;
}
.booking-client-row {
  display: grid;
  grid-template-columns: 1fr 1fr 30px;
  gap: 10px;
  align-items: center;
}
.booking-client-row .field {
  min-width: 0;
  margin-bottom: 8px;
}
.booking-client-row .icon-button {
  margin-top: 10px;
}
@media (max-width: 600px) {
  .booking-dialog .dialog-header,
  .booking-dialog .dialog-body,
  .booking-dialog .dialog-actions {
    padding-inline: 16px;
  }
  .booking-topline {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .booking-time-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .booking-service-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .booking-client-row {
    grid-template-columns: 1fr 30px;
    gap: 0 6px;
    margin-bottom: 12px;
  }

  .booking-client-row > .field {
    grid-column: 1;
  }

  .booking-client-row > .icon-button {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}
