.feedback-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 22px;
  border-radius: 8px;
  background: var(--navy-strong);
  color: #fff;
  padding: clamp(22px, 4vw, 34px);
}

.feedback-panel h2,
.feedback-panel p {
  color: inherit;
}

.feedback-panel h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.08;
}

.feedback-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.56;
}

.feedback-form {
  display: grid;
  gap: 14px;
}

.feedback-chat-log {
  display: grid;
  gap: 10px;
  max-height: 390px;
  overflow: auto;
  padding-right: 4px;
}

.feedback-bubble {
  max-width: 92%;
  border-radius: 8px;
  padding: 12px 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.feedback-bubble-luka {
  justify-self: start;
  background: rgba(255, 255, 255, 0.13);
}

.feedback-bubble-visitor {
  justify-self: end;
  background: #f7fbf7;
  color: var(--ink);
}

.feedback-chat-control {
  display: grid;
  gap: 12px;
}

.feedback-chat-label {
  display: grid;
  gap: 8px;
  color: inherit;
  font-weight: 900;
}

.feedback-form input,
.feedback-form textarea {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
  padding: 11px 12px;
}

.feedback-form textarea {
  min-height: 128px;
  resize: vertical;
}

.feedback-form button {
  justify-self: start;
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  color: var(--navy-strong);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  letter-spacing: 0;
  padding: 11px 15px;
}

.feedback-form button:hover,
.feedback-form button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.28);
}

.feedback-hp {
  display: none;
}

.feedback-status {
  min-height: 22px;
}

@media (max-width: 900px) {
  .feedback-panel {
    grid-template-columns: 1fr;
  }

  .feedback-panel h2 {
    font-size: 30px;
  }
}
