/* Feedback shares the service sheet's motion and keyboard-aware layout. */
.feedback-request .business-inquiry__fields { gap: 16px; }
.feedback-request textarea { height: 96px; }

.feedback-request__attachments { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
.feedback-request__attachment-label { font-size: 14px; font-weight: 600; }

.feedback-request__upload {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px dashed #c5d4e8;
  border-radius: 10px;
  background: #f7faff;
  color: #526b8b;
  font: inherit;
  text-align: start;
}

.feedback-request__upload-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  place-items: center;
  background: #e9f1fb;
  color: #57779d;
}

.feedback-request__upload-icon svg { display: block; width: 28px; height: 28px; fill: currentColor; }
.feedback-request__upload-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.feedback-request__upload-copy strong { color: #34577f; font-size: 14px; font-weight: 500; line-height: 1.5; }
.feedback-request__upload-copy small { color: #64738a; font-size: 12px; line-height: 1.5; }

.feedback-request__previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.feedback-request__previews[hidden] { display: none; }
.feedback-request__preview { position: relative; min-width: 0; margin: 0; }
.feedback-request__preview img { display: block; width: 100%; aspect-ratio: 1; border-radius: 8px; background: #edf3fa; object-fit: cover; }
.feedback-request__preview figcaption { margin-top: 4px; overflow: hidden; color: #64738a; font-size: 11px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }

.feedback-request__remove {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  background: transparent;
  color: #455b76;
}

.feedback-request__remove::before { position: absolute; inset: 8px; border-radius: 50%; background: #fff; box-shadow: 0 1px 5px #13274620; content: ""; }
.feedback-request__remove svg { position: relative; display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.feedback-request .feedback-request__attachment-error { margin: 0; color: #bb2638; font-size: 12px; line-height: 1.5; }
.feedback-request__attachment-error[hidden] { display: none; }

@media (hover: hover) {
  .feedback-request__upload:not(:disabled):hover { border-color: #a8bfdc; background: #f1f6fd; }
  .feedback-request__remove:hover::before { background: #eef3fa; }
}
