.loa-wrap {
  max-width: 960px;
  margin: 24px auto;
  color: #17202a;
  font-family: inherit;
}

.loa-head {
  border-bottom: 1px solid #d7dee8;
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.loa-head h2,
.loa-form h3 {
  margin: 0 0 10px;
}

.loa-form section {
  padding: 18px 0;
  border-bottom: 1px solid #e5e9ef;
}

.loa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.loa-form label {
  display: grid;
  gap: 7px;
  font-weight: 600;
}

.loa-form input,
.loa-form select,
.loa-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c7d0dd;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.loa-form textarea {
  min-height: 92px;
  resize: vertical;
}

.loa-test-code {
  margin: 8px 0 0;
  color: #556579;
  font-size: 13px;
}

.loa-selected-date {
  min-height: 43px;
  box-sizing: border-box;
  border: 1px solid #c7d0dd;
  border-radius: 6px;
  padding: 10px 12px;
  background: #f7fafc;
  color: #213044;
}

.loa-calendar {
  max-width: 620px;
  margin-top: 16px;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.loa-calendar-title {
  padding: 12px 14px;
  font-weight: 700;
  background: #f2f6f8;
  border-bottom: 1px solid #d8e0e8;
}

.loa-calendar-weekdays,
.loa-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.loa-calendar-weekdays span {
  padding: 8px 2px;
  text-align: center;
  color: #627184;
  font-size: 12px;
  border-bottom: 1px solid #e3e8ee;
}

.loa-calendar-day {
  min-height: 68px;
  display: grid;
  place-content: center;
  gap: 3px;
  border: 0;
  border-left: 1px solid #edf0f4;
  border-bottom: 1px solid #edf0f4;
  background: #fff;
  color: #213044;
  cursor: pointer;
  font: inherit;
}

.loa-calendar-day strong {
  font-size: 18px;
}

.loa-calendar-day small {
  font-size: 10px;
  color: #778598;
}

.loa-calendar-day:hover,
.loa-calendar-day:focus {
  background: #eef7f4;
  outline: 2px solid #85c9b8;
  outline-offset: -2px;
}

.loa-calendar-day.is-selected {
  background: #08775b;
  color: #fff;
}

.loa-calendar-day.is-selected small {
  color: #d9f4ec;
}

.loa-calendar-day.is-closed {
  background: #f3f4f6;
  color: #a3aab4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.loa-choice,
.loa-otp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
  margin: 10px 0;
}

.loa-choice label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.loa-choice input {
  width: auto;
}

.loa-test {
  border: 1px solid #dbe1ea;
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
  background: #fbfcfe;
}

.loa-form .loa-test small,
.loa-form .loa-conditions small,
.loa-form [data-loa-toggle="conditions"],
.loa-form .loa-condition-text {
  display: none !important;
}

.loa-form section:has(.loa-tests-list),
.loa-form section:has(.loa-conditions) {
  display: none !important;
}

.loa-send-otp,
.loa-submit {
  border: 0;
  border-radius: 7px;
  padding: 11px 16px;
  cursor: pointer;
  font: inherit;
}

.loa-send-otp {
  background: #edf3f8;
  color: #16324f;
}

.loa-submit {
  margin-top: 18px;
  background: #08775b;
  color: #fff;
  font-weight: 700;
}

.loa-submit:disabled {
  opacity: .65;
}

.loa-warning {
  border-right: 4px solid #c47a18;
  background: #fff8ed;
  padding: 12px;
  margin: 14px 0 0;
}

.loa-message,
.loa-otp-message {
  margin-top: 14px;
  font-weight: 700;
}

.loa-message.is-ok,
.loa-otp-message.is-ok {
  color: #08775b;
}

.loa-message.is-error,
.loa-otp-message.is-error {
  color: #b42318;
}

@media (max-width: 760px) {
  .loa-grid {
    grid-template-columns: 1fr;
  }

  .loa-calendar-day {
    min-height: 58px;
  }
}
