.gm-feedback {
  --feedback-accent: var(--brand-primary, #ff6a00);
  --feedback-accent-rgb: var(--brand-primary-rgb, 255, 106, 0);
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  box-sizing: border-box;
  padding: 30px;
  border: 1px solid rgba(31, 41, 55, 0.08);
  border-radius: 28px;
  background: #fffcf6;
  color: #182131;
  box-shadow: 0 28px 80px rgba(79, 58, 32, 0.18);
  font: 14px/1.65 "Noto Sans Georgian", system-ui, sans-serif;
  letter-spacing: 0;
}

.gm-feedback::backdrop { background: rgba(73, 52, 27, 0.26); backdrop-filter: blur(8px); }
.gm-feedback h2 { margin: 0 0 10px; color: #182131; font-size: 24px; font-weight: 800; line-height: 1.45; overflow-wrap: anywhere; }
.gm-feedback .gm-service { margin: 0; color: var(--feedback-accent); font-size: 13px; font-weight: 700; }
.gm-feedback fieldset { display: flex; justify-content: center; gap: 10px; min-width: 0; margin: 24px 0; padding: 18px 0; border: 0; border-block: 1px solid rgba(31, 41, 55, 0.08); }
.gm-feedback legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.gm-feedback .gm-star { position: relative; display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; color: #c4c9d2; font-size: 40px; line-height: 1; cursor: pointer; transition: color 150ms ease; }
.gm-feedback .gm-star input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.gm-feedback .gm-star[data-filled=true], .gm-feedback fieldset:not(:disabled) .gm-star:hover { color: var(--feedback-accent); }
.gm-feedback .gm-star:has(:focus-visible) { outline: 2px solid var(--feedback-accent); outline-offset: 3px; border-radius: 8px; }
.gm-feedback form > label { display: block; color: #667085; font-size: 13px; font-weight: 500; }

.gm-feedback textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 112px;
  margin-top: 10px;
  padding: 14px;
  resize: vertical;
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #182131;
  font: inherit;
  font-weight: 400;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.gm-feedback textarea:focus { outline: none; border-color: rgba(var(--feedback-accent-rgb), 0.5); box-shadow: 0 0 0 4px rgba(var(--feedback-accent-rgb), 0.08); }
.gm-feedback [role=status] { min-height: 22px; margin: 10px 0 0; color: #dc2626; font-size: 12px; }
.gm-feedback footer { display: flex; align-items: stretch; gap: 10px; margin-top: 16px; padding: 0; }
.gm-feedback button { min-width: 0; min-height: 46px; padding: 12px 16px; border: 1px solid rgba(31, 41, 55, 0.08); border-radius: 12px; background: rgba(255, 255, 255, 0.78); color: #667085; box-shadow: none; font: inherit; font-size: 13px; font-weight: 700; line-height: 1.5; cursor: pointer; transition: background 150ms ease, box-shadow 150ms ease; }
.gm-feedback button[type=submit] { flex: 1; border-color: transparent; background: var(--feedback-accent); color: #fff; box-shadow: 0 10px 24px rgba(var(--feedback-accent-rgb), 0.2); }
.gm-feedback button[type=button]:hover { background: #f3f4f6; color: #253041; }
.gm-feedback button[type=submit]:hover:not(:disabled) { background: var(--brand-primary-dark, #d95500); box-shadow: 0 12px 28px rgba(var(--feedback-accent-rgb), 0.26); }
.gm-feedback button:focus-visible { outline: 2px solid var(--feedback-accent); outline-offset: 3px; }
.gm-feedback button:disabled { opacity: 0.5; box-shadow: none; cursor: default; }

@media (max-width: 540px) {
  .gm-feedback { padding: 24px 20px; border-radius: 24px; }
  .gm-feedback h2 { font-size: 22px; }
  .gm-feedback fieldset { gap: 4px; }
  .gm-feedback button { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .gm-feedback .gm-star, .gm-feedback textarea, .gm-feedback button { transition: none; }
}
