/* «Свободные окошки» tool. Loaded only on /svobodnye-okoshki/ and /kz/svobodnye-okoshki/,
   after the shared tools.css. */

.okoshki {
  scroll-margin-top: 24px;
}

.ok-input--date {
  width: auto;
  min-width: 150px;
}

.ok-days {
  display: grid;
  gap: 14px;
}

.ok-day {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.ok-day__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ok-day__remove {
  margin-left: auto;
  min-width: 46px;
  font-size: 22px;
  line-height: 1;
}

.ok-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 8px;
}

.ok-chip--time {
  display: flex;
}

.ok-custom-time {
  display: flex;
  gap: 8px;
}

.ok-custom-time .ok-input {
  width: auto;
  min-width: 130px;
}

[data-ok-add-day] {
  justify-self: start;
  margin-top: 4px;
}

@media (max-width: 520px) {
  .ok-day {
    padding: 12px;
  }
}
