/* O banner de cookies da landing (js/consentimento.js). Mesma forma do da app
   (components/cookie-banner), nas cores da página. */
.lk-cookies {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(680px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 6px;
  background: rgba(14, 14, 15, 0.94);
  border: 1px solid rgba(255, 248, 236, 0.16);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  font-family: Geist, system-ui, sans-serif;
  font-weight: 400;
  color: #f4f2ee;
}

.lk-cookies-texto {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #bdbab4;
  flex: 1 1 340px;
}

.lk-cookies-texto a {
  color: #f4f2ee;
  text-underline-offset: 2px;
}

.lk-cookies-acoes {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.lk-cookies button {
  font:
    500 13.5px Geist,
    system-ui,
    sans-serif;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  color: #f4f2ee;
  background: rgba(255, 248, 236, 0.06);
  border: 1px solid rgba(255, 248, 236, 0.16);
  transition:
    background-color 150ms ease-out,
    opacity 150ms ease-out;
}

.lk-cookies button:hover {
  background: rgba(255, 248, 236, 0.11);
}

.lk-cookies button:focus-visible {
  outline: 2px solid rgba(244, 242, 238, 0.6);
  outline-offset: 2px;
}

.lk-cookies .lk-cookies-aceitar {
  color: #0a0908;
  background: #f4f2ee;
  border-color: #f4f2ee;
}

.lk-cookies .lk-cookies-aceitar:hover {
  background: #f4f2ee;
  opacity: 0.88;
}

.lk-cookies-curto {
  display: none;
}

@media (max-width: 560px) {
  .lk-cookies {
    bottom: 0;
    width: 100%;
    border-radius: 0;
    border-width: 1px 0 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
    flex-wrap: nowrap;
  }
  .lk-cookies-longo {
    display: none;
  }
  .lk-cookies-curto {
    display: inline;
  }
  .lk-cookies-texto {
    flex: 1 1 auto;
    font-size: 12.5px;
    line-height: 1.4;
  }
  .lk-cookies button {
    padding: 8px 12px;
    font-size: 13px;
    min-height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lk-cookies button {
    transition: none;
  }
}
