/* letreiros.css — popup da camada "Letreiros comerciais" (js/letreiros.js) */

.letreiros-popup {
  position: relative;
  min-width: 210px;
  max-width: 300px;
  padding: 10px 30px 10px 12px;
  background: #fff;
  border: 1px solid #c9c2d4;
  border-left: 4px solid #8e44ad;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  font: 13px/1.4 system-ui, "Segoe UI", Roboto, sans-serif;
  color: #23202a;
}

.letreiros-popup .lt-tit {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
  word-break: break-word;
}

.letreiros-popup .lt-sub {
  font-size: 11.5px;
  color: #6b6478;
}

.letreiros-popup .lt-btn {
  margin-top: 8px;
  padding: 5px 10px;
  border: 1px solid #8e44ad;
  border-radius: 6px;
  background: #f6f0fb;
  color: #6c3483;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.letreiros-popup .lt-btn:hover { background: #8e44ad; color: #fff; }

.letreiros-popup .lt-x {
  position: absolute;
  top: 4px;
  right: 6px;
  border: 0;
  background: none;
  font-size: 18px;
  line-height: 1;
  color: #8b849a;
  cursor: pointer;
}
.letreiros-popup .lt-x:hover { color: #23202a; }

/* seta apontando para o ponto */
.letreiros-popup::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  margin-left: -8px;
  border: 8px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
}

/* Tema escuro: o portal marca html[data-theme="dark"] pelo botão 🌙 do
   ux-quickwins.js, INDEPENDENTE do tema do sistema — por isso estas regras não
   podem ficar dentro de @media (prefers-color-scheme: dark): com o SO claro e o
   portal escuro, o popup ficava branco. */
body.dark-theme .letreiros-popup,
html[data-theme="dark"] .letreiros-popup {
  background: #241f2b;
  border-color: #3d3549;
  color: #ece7f2;
}
body.dark-theme .letreiros-popup::after,
html[data-theme="dark"] .letreiros-popup::after { border-top-color: #241f2b; }
body.dark-theme .letreiros-popup .lt-sub,
html[data-theme="dark"] .letreiros-popup .lt-sub { color: #a99fb8; }

.letreiros-popup .lt-aviso {
  margin-top: 4px;
  padding: 4px 6px;
  border-radius: 4px;
  background: #fff6e0;
  color: #8a5a00;
  border: 1px solid #f0d79a;
}
