/* Lisar public Website analytics-consent interface */
.lsr-cookie-settings {
  appearance: none;
  display: block;
  width: auto;
  margin: 0 0 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #334155;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.lsr-cookie-settings:hover {
  color: #2563eb;
}

.lsr-cookie-settings:focus-visible,
.lisar-analytics-consent a:focus-visible,
.lisar-analytics-consent button:focus-visible,
.lisar-analytics-consent__panel:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}

.lisar-analytics-consent[hidden] {
  display: none !important;
}

.lisar-analytics-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1200;
  display: flex;
  justify-content: center;
  pointer-events: none;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.lisar-analytics-consent__panel {
  width: min(720px, 100%);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.55fr);
  gap: 22px;
  align-items: center;
  padding: 20px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.18);
  pointer-events: auto;
}

.lisar-analytics-consent__content h2 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lisar-analytics-consent__content p {
  margin: 0 0 8px;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}

.lisar-analytics-consent__policy {
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lisar-analytics-consent__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.lisar-analytics-consent__button {
  appearance: none;
  min-height: 42px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid #2563eb;
  border-radius: 11px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.lisar-analytics-consent__button--accept {
  background: #2563eb;
  color: #ffffff;
}

.lisar-analytics-consent__button--accept:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.lisar-analytics-consent__button--reject {
  background: #334155;
  color: #ffffff;
  border-color: #334155;
}

.lisar-analytics-consent__button--reject:hover {
  background: #1e293b;
  border-color: #1e293b;
}

@media (max-width: 680px) {
  .lisar-analytics-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .lisar-analytics-consent__panel {
    grid-template-columns: 1fr;
    gap: 16px;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    padding: 17px;
  }

  .lisar-analytics-consent__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 440px) {
  .lisar-analytics-consent__actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lisar-analytics-consent,
  .lisar-analytics-consent * {
    scroll-behavior: auto !important;
  }
}
