.bo-feedback {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--bo-ink);
}

.bo-feedback.is-open {
  display: flex;
}

.bo-feedback[hidden] {
  display: none !important;
}

.bo-feedback__scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 24, 39, 0.58);
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.bo-feedback__panel {
  position: relative;
  width: min(100%, 440px);
  max-height: min(92vh, 720px);
  overflow: auto;
  box-sizing: border-box;
  padding: 32px 28px 28px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.bo-feedback__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #111827;
  font-size: 30px;
  line-height: 34px;
  cursor: pointer;
}

.bo-feedback__close:hover {
  background: #f3f4f6;
}

.bo-feedback__panel h2 {
  margin: 0 28px 10px 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bo-feedback__lead {
  margin: 0 0 20px;
  color: #6b737a;
  font-size: 13px;
  line-height: 1.45;
}

.bo-feedback__form {
  display: grid;
  gap: 14px;
}

.bo-feedback__field {
  display: grid;
  gap: 6px;
}

.bo-feedback__field span {
  font-size: 12px;
  font-weight: 600;
  color: #5c656c;
}

.bo-feedback__field input,
.bo-feedback__field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--bo-border, #e7e6e1);
  border-radius: 7px;
  background: var(--bo-soft, #f4f3ef);
  padding: 12px 14px;
  font: 15px/1.35 Montserrat, Arial, sans-serif;
  color: var(--bo-ink, #21282b);
  resize: vertical;
}

.bo-feedback__field input:focus,
.bo-feedback__field textarea:focus {
  outline: none;
  border-color: #c9a100;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(253, 195, 0, 0.28);
}

.bo-feedback__consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #30343b;
  font-size: 12px;
  line-height: 1.4;
}

.bo-feedback__consent input {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: #1687d9;
}

.bo-feedback__consent a {
  color: inherit;
  text-decoration: underline;
}

.bo-feedback__status {
  margin: 0;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.4;
}

.bo-feedback__status.is-error {
  background: #ffe8eb;
  color: #b0162c;
}

.bo-feedback__status.is-ok {
  background: #e8f5e9;
  color: #1b6b3a;
}

.bo-feedback__submit {
  border: 0;
  border-radius: 7px;
  background: var(--bo-yellow, #fdc300);
  color: var(--bo-ink, #21282b);
  font: 700 15px/1 Montserrat, Arial, sans-serif;
  padding: 16px 18px;
  cursor: pointer;
}

.bo-feedback__submit:hover {
  background: #edb900;
}

.bo-feedback__submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

@media (max-width: 520px) {
  .bo-feedback {
    padding: 12px;
  }

  .bo-feedback__panel {
    padding: 28px 18px 20px;
  }

  .bo-feedback__panel h2 {
    font-size: 22px;
  }
}
