.kor-form-notifications {
  position: fixed;
  z-index: 11000;
  top: 100px;
  right: 24px;
  width: min(420px, calc(100% - 48px));
  pointer-events: none;
}

.kor-form-toast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 18px 16px;
  color: #171411;
  border: 1px solid #ddd6ce;
  border-left: 4px solid #b63725;
  border-radius: 6px;
  background: #f5f2ee;
  box-shadow: 0 12px 40px rgb(0 0 0 / 18%);
  pointer-events: auto;
}

.kor-form-toast--success {
  border-left-color: #427b32;
}

.kor-form-toast p {
  margin: 0;
  color: inherit;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.kor-form-toast button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: -4px;
  padding: 0;
  color: #625a52;
  font-size: 24px;
  line-height: 1;
}

.kor-form-toast button:focus-visible {
  outline: 2px solid #ed442b;
  outline-offset: 2px;
}

.kor-form-error {
  margin: 8px 0 0;
  color: #d94632;
  font-size: 13px;
  line-height: 1.5;
}

.kor-form-popup .kor-form-error {
  color: #a42e1c;
}

.kor-form-popup .kor-form-type-label {
  display: block;
  margin-bottom: 8px;
  color: #625a52;
  font-size: 14px;
  line-height: 1.5;
}

.kor-form-popup select[data-native-select] {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #d6d0c9;
  border-radius: 0;
  background: #fff;
  color: #171411;
  font: inherit;
  color-scheme: light;
}

.kor-form-invalid {
  outline: 1px solid #d94632;
  outline-offset: 3px;
}

.kor-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 16px;
  color: #625a52;
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
}

.kor-form-consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #ed442b;
}

.kor-form-consent span {
  font-size: inherit;
  line-height: inherit;
}

form[data-kor-form] [type="submit"]:disabled {
  opacity: 0.65;
  cursor: wait;
}

@media (max-width: 767px) {
  .kor-form-notifications {
    top: 80px;
    right: 12px;
    width: calc(100% - 24px);
  }
}
