/* VetUberlândia — janela "Avaliar o site" (patinhas) */
button.menu-link {
  background: none; border: 0; padding: 0; margin: 0; width: 100%;
  font-family: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent;
}

body.vu-rate-lock { overflow: hidden; }

.vu-rate {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(14, 30, 56, 0.58);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .25s ease;
  font-family: 'Inter', system-ui, sans-serif;
}
.vu-rate.is-open { opacity: 1; }

.vu-rate-card {
  position: relative; width: 100%; max-width: 400px;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  background: #fff; border-radius: 26px;
  padding: 34px 24px 20px;
  box-shadow: 0 30px 70px rgba(10, 25, 50, .45);
  transform: translateY(18px) scale(.97); transition: transform .3s cubic-bezier(.2, .9, .3, 1.2);
  color: #1b3b64; text-align: center;
  overflow: visible;
}
.vu-rate.is-open .vu-rate-card { transform: none; }

.vu-rate-body { max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); overflow-y: auto; overflow-x: hidden; margin: 0 -8px; padding: 0 8px; }

.vu-rate-x {
  position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: #f1f4f8; color: #4b5b70; font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.vu-rate-x:hover { background: #e5eaf1; }

.vu-rate h2 { padding: 0 26px; font-size: 22px; line-height: 1.2; font-weight: 800; margin: 0 0 6px; letter-spacing: -.2px; color: #1b3b64; }
.vu-rate-sub { margin: 0; font-size: 14px; line-height: 1.5; color: #5d6e86; }

.vu-paws { display: flex; justify-content: center; gap: 4px; margin: 20px 0 6px; }
.vu-paw {
  width: 54px; height: 54px; padding: 7px; border: 0; background: transparent; cursor: pointer; border-radius: 14px;
  -webkit-tap-highlight-color: transparent; transition: transform .18s ease;
}
.vu-paw svg { width: 100%; height: 100%; display: block; fill: #dfe5ec; transition: fill .15s ease, transform .2s ease; }
.vu-paw.is-on svg { fill: #eb8223; }
.vu-paw.is-pop svg { animation: vuPawPop .38s ease; }
.vu-paw:focus-visible { outline: 3px solid #5c9247; outline-offset: 1px; }
@media (hover: hover) { .vu-paw:hover { transform: translateY(-2px); } }
@keyframes vuPawPop { 0% { transform: scale(1); } 45% { transform: scale(1.28) rotate(-8deg); } 100% { transform: scale(1); } }

.vu-rate-label { min-height: 24px; font-size: 16px; font-weight: 700; color: #eb8223; margin: 0; }
.vu-rate-label.is-empty { color: #8a98ab; font-weight: 500; font-size: 14px; }

.vu-rate-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease, opacity .25s ease; opacity: 0; }
.vu-rate-more.is-open { grid-template-rows: 1fr; opacity: 1; }
.vu-rate-more > div { overflow: hidden; min-height: 0; }
.vu-rate-more-in { padding-top: 14px; text-align: left; }
.vu-rate-more label { display: block; font-size: 13px; font-weight: 600; color: #1b3b64; margin-bottom: 6px; }
.vu-rate-more textarea {
  width: 100%; min-height: 92px; resize: vertical; max-height: 200px;
  border: 1.5px solid #d6dde7; border-radius: 14px; padding: 12px 14px;
  font: inherit; font-size: 14.5px; line-height: 1.45; color: #1b3b64; background: #fbfcfe; outline: none;
}
.vu-rate-more textarea:focus { border-color: #5c9247; box-shadow: 0 0 0 3px rgba(92, 146, 71, .18); background: #fff; }
.vu-rate-count { text-align: right; font-size: 12px; color: #8a98ab; margin-top: 4px; }

.vu-rate-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.vu-rate-err { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #fdecec; color: #b42318; font-size: 13.5px; text-align: left; }

.vu-rate-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.vu-rate-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; border: 0; border-radius: 14px; padding: 14px 16px; cursor: pointer; text-decoration: none;
  font: inherit; font-size: 16px; font-weight: 700; color: #fff; background: #1b3b64;
  box-shadow: 0 6px 16px rgba(27, 59, 100, .25); transition: filter .15s ease, transform .1s ease;
}
.vu-rate-btn:hover { filter: brightness(1.08); }
.vu-rate-btn:active { transform: scale(.985); }
.vu-rate-btn[disabled] { background: #c7d0dc; box-shadow: none; cursor: not-allowed; filter: none; }
.vu-rate-btn.alt { background: #fff; color: #1b3b64; box-shadow: inset 0 0 0 1.5px #d0d8e3; }
.vu-rate-btn.orange { background: #eb8223; box-shadow: 0 6px 16px rgba(235, 130, 35, .3); }
.vu-rate-skip { border: 0; background: none; padding: 8px; font: inherit; font-size: 14px; color: #6b7a8e; cursor: pointer; }
.vu-rate-skip:hover { color: #1b3b64; text-decoration: underline; }
.vu-rate-note { margin: 12px 0 0; font-size: 12px; color: #8a98ab; }

/* agradecimento */
.vu-rate-thanks { padding-top: 6px; }
.vu-rate-thanks img { width: 150px; height: auto; display: block; margin: 0 auto 6px; }
.vu-rate-mini { display: flex; justify-content: center; gap: 3px; margin: 10px 0 12px; }
.vu-rate-mini svg { width: 26px; height: 26px; fill: #dfe5ec; }
.vu-rate-mini svg.is-on { fill: #eb8223; }

@media (max-width: 380px) {
  .vu-rate-card { padding: 32px 18px 18px; }
  .vu-paw { width: 48px; height: 48px; padding: 6px; }
}
@media (max-height: 700px) {
  .vu-rate { padding: 10px 16px; }
  .vu-rate-card { padding-top: 28px; padding-bottom: 14px; max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); }
  .vu-rate-body { max-height: calc(100vh - 62px); max-height: calc(100dvh - 62px); }
  .vu-rate h2 { font-size: 20px; }
  .vu-paws { margin-top: 12px; }
  .vu-rate-more textarea { min-height: 64px; }
  .vu-rate-more-in { padding-top: 8px; }
  .vu-rate-actions { margin-top: 12px; }
  .vu-rate-note { margin-top: 6px; }
  .vu-rate-thanks img { width: 84px; }
  .vu-rate-mini { margin: 6px 0 8px; }
  .vu-rate-mini svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .vu-rate, .vu-rate-card, .vu-rate-more, .vu-paw, .vu-paw svg { transition: none; animation: none; }
  .vu-paw.is-pop svg { animation: none; }
}
