.account-repeat-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-repeat-row {
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(33, 33, 39, 0.1);
}

.account-booking-exceptions-dialog {
  width: min(960px, 100%);
  max-height: min(92vh, 920px);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.account-booking-exceptions-dialog-head {
  display: grid;
  gap: 12px;
  padding: 18px 18px 16px 18px;
  border-bottom: 1px solid rgba(33, 33, 39, 0.1);
  background: linear-gradient(
    180deg,
    rgba(247, 249, 252, 0.98) 0%,
    rgba(239, 243, 248, 0.98) 100%
  );
}

.account-booking-exceptions-dialog-head h4 {
  margin: 0;
  padding-right: 40px;
}

.account-booking-exceptions-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.account-booking-exceptions-filter-field {
  display: grid;
  gap: 6px;
  flex: 1 1 260px;
  max-width: 320px;
}

.account-booking-exceptions-dialog-body {
  display: grid;
  gap: 12px;
  padding: 16px 18px 20px 18px;
  overflow: auto;
}

.account-booking-exceptions-list {
  gap: 14px;
}

.account-booking-exception-card {
  border-radius: 12px;
  padding: 16px;
}

.account-booking-exception-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.account-booking-exception-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(33, 33, 39, 0.08);
  color: rgba(33, 33, 39, 0.84);
  font-size: 12px;
  font-weight: 700;
}

.account-booking-exception-card-badge--imported {
  background: rgba(24, 120, 72, 0.12);
  color: rgba(13, 93, 55, 0.92);
}

.account-booking-exception-card-status {
  color: rgba(33, 33, 39, 0.62);
  font-size: 13px;
  line-height: 1.35;
  text-align: right;
}

.account-booking-exception-card--manual .account-repeat-field--exception-note {
  margin-top: 2px;
}

.account-booking-exception-card--imported {
  display: grid;
  gap: 12px;
  background: rgba(249, 251, 255, 0.9);
}

.account-booking-exception-imported-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-booking-exception-detail {
  display: grid;
  gap: 5px;
  padding: 12px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(33, 33, 39, 0.08);
}

.account-booking-exception-detail--wide {
  grid-column: 1 / -1;
}

.account-booking-exception-detail-label {
  color: rgba(33, 33, 39, 0.58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.account-booking-exception-detail-value {
  color: rgba(33, 33, 39, 0.9);
  line-height: 1.4;
  word-break: break-word;
}

.account-booking-schedule-days {
  gap: 14px;
}

.account-booking-schedule-day {
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(33, 33, 39, 0.1);
  display: grid;
  gap: 12px;
}

.account-booking-schedule-day-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.account-booking-schedule-day-heading {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.account-booking-schedule-day-title {
  margin: 0;
  text-align: left;
}

.account-booking-schedule-day-empty {
  color: rgba(33, 33, 39, 0.68);
}

.account-booking-schedule-day-list {
  gap: 10px;
}

.account-booking-schedule-day[data-has-rows="1"]
  .account-booking-schedule-day-empty {
  display: none;
}

.account-repeat-field {
  min-width: 0;
}

.account-repeat-field label {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.account-booking-input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 16px;
  border-radius: 4px;
  border: 1px solid rgba(33, 33, 39, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: rgb(33, 33, 39);
  font-family: "Roboto Thin", sans-serif;
  font-size: 13pt;
  line-height: 1.2;
}

.account-booking-input:hover {
  box-shadow: 0px 0px 6px white;
}

.account-booking-input:focus {
  box-shadow: 0px 0px 9px #00b7ff;
  border: 1px solid #00b7ff;
  outline: none;
}

.account-booking-input[type="time"]::-webkit-date-and-time-value {
  min-height: 1.2em;
  text-align: left;
}

.account-booking-input[type="time"]::-webkit-datetime-edit {
  padding: 0;
  color: inherit;
  font: inherit;
}

.account-booking-input[type="time"]::-webkit-datetime-edit-fields-wrapper,
.account-booking-input[type="time"]::-webkit-datetime-edit-hour-field,
.account-booking-input[type="time"]::-webkit-datetime-edit-minute-field,
.account-booking-input[type="time"]::-webkit-datetime-edit-text {
  padding: 0;
  color: inherit;
  font: inherit;
}

.account-booking-input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 0.72;
}

.account-repeat-field--checkbox {
  display: flex;
  align-items: flex-end;
  padding-bottom: 7px;
}

.account-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
}

.account-inline-check input {
  flex: 0 0 auto;
}

.account-repeat-field--actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.account-repeat-field--actions .app-button {
  margin: 0;
  max-width: 100%;
  white-space: normal;
}

.account-bookings-filter {
  margin-bottom: 18px;
}

.account-bookings-filter .account-booking-grid {
  align-items: end;
}

.account-bookings-filter .account-booking-grid > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.account-bookings-filter #accountBookingsFilter.radioSelect {
  margin: 0;
}

.account-bookings-search-wrap,
.account-bookings-refresh-wrap {
  display: flex;
  flex-direction: column;
}

.account-bookings-refresh-wrap {
  justify-content: flex-end;
}

.account-bookings-refresh-wrap label {
  visibility: hidden;
}

.account-bookings-refresh-wrap .app-button {
  margin-top: 0;
}

.account-bookings-search-wrap .account-booking-input[type="search"] {
  width: 100%;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

.account-bookings-search-wrap
  .account-booking-input[type="search"]::-webkit-search-decoration,
.account-bookings-search-wrap
  .account-booking-input[type="search"]::-webkit-search-cancel-button,
.account-bookings-search-wrap
  .account-booking-input[type="search"]::-webkit-search-results-button,
.account-bookings-search-wrap
  .account-booking-input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

@media (max-width: 820px) {
  .account-booking-exceptions-dialog {
    max-height: min(92vh, 950px);
  }

  .account-booking-schedule-day-head {
    flex-direction: column;
    align-items: stretch;
  }

  .account-booking-schedule-day-head .app-button {
    width: 100%;
  }

  .account-booking-exceptions-dialog-head {
    padding: 16px 14px 14px 14px;
  }

  .account-booking-exceptions-toolbar,
  .account-booking-exception-card-top {
    flex-direction: column;
    align-items: stretch;
  }

  .account-booking-exceptions-toolbar {
    justify-content: flex-start;
  }

  .account-booking-exceptions-filter-field {
    flex: 0 0 auto;
    max-width: none;
  }

  .account-booking-exceptions-toolbar .app-button,
  .account-booking-exception-card-top .app-button {
    width: 100%;
  }

  .account-booking-exceptions-dialog-body {
    padding: 14px;
  }

  .account-booking-exception-imported-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-booking-exception-card-status {
    text-align: left;
  }

  .account-bookings-filter .account-booking-grid {
    align-items: stretch;
  }

  .account-bookings-refresh-wrap {
    justify-content: flex-start;
  }
}
