.velora-legal-doc-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.velora-legal-doc-modal[hidden] {
  display: none !important;
}

.velora-legal-doc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.velora-legal-doc-modal__dialog {
  position: relative;
  width: min(40rem, 100%);
  max-height: min(85vh, 42rem);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1.75rem 1.75rem;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.velora-legal-doc-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.velora-legal-doc-modal__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.velora-legal-doc-modal__close {
  border: none;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.55;
}

.velora-legal-doc-modal__body {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #3f3f46;
}

.velora-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: #f4f4f5;
  border-top: 1px solid #e4e4e7;
  padding: 0.85rem 0;
}

.velora-cookie-banner[hidden] {
  display: none !important;
}

.velora-cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.velora-cookie-banner__text {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #52525b;
}

.velora-cookie-banner__link {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.velora-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.velora-cookie-banner__reject {
  background: transparent !important;
  color: var(--color-text, #111) !important;
  border: 1px solid var(--color-text, #111) !important;
}

.velora-cookie-banner__reject:hover {
  background: rgba(0, 0, 0, 0.04) !important;
}
