.pkv-consent[hidden],
.pkv-consent-settings[hidden] {
  display: none !important;
}

.pkv-consent,
.pkv-consent-settings {
  font-family: Geist, Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}

.pkv-consent *,
.pkv-consent *::before,
.pkv-consent *::after {
  box-sizing: border-box;
}

.pkv-consent {
  position: fixed;
  z-index: 2147483000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  color: #0b2e52;
}

.pkv-consent__card {
  width: min(940px, 100%);
  margin: 0 auto;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #c6d2de;
  border-top: 4px solid #04529e;
  border-radius: 4px;
  box-shadow: 0 18px 52px rgba(11, 46, 82, 0.24);
}

.pkv-consent__eyebrow {
  margin: 0 0 7px;
  color: #04529e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pkv-consent__title {
  margin: 0;
  color: #0b2e52;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.pkv-consent__text {
  max-width: 860px;
  margin: 11px 0 0;
  color: #2a4055;
  font-size: 14px;
  line-height: 1.6;
}

.pkv-consent__categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.pkv-consent__category {
  padding: 12px 14px;
  background: #f5f8fa;
  border: 1px solid #e1e7ed;
  border-radius: 3px;
  color: #3c566e;
  font-size: 12.5px;
  line-height: 1.45;
}

.pkv-consent__category strong {
  display: block;
  margin-bottom: 3px;
  color: #0b2e52;
  font-size: 13px;
}

.pkv-consent__status {
  color: #43607c;
  font-weight: 500;
}

.pkv-consent__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.pkv-consent__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 12.5px;
}

.pkv-consent__links a {
  color: #04529e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pkv-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 10px;
  min-width: min(100%, 430px);
}

.pkv-consent__button {
  min-height: 44px;
  padding: 11px 15px;
  color: #ffffff;
  background: #04529e;
  border: 2px solid #04529e;
  border-radius: 3px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
}

.pkv-consent__button:hover {
  color: #ffffff;
  background: #0b2e52;
  border-color: #0b2e52;
}

.pkv-consent__button:focus-visible,
.pkv-consent-settings:focus-visible,
.pkv-consent__links a:focus-visible {
  outline: 3px solid #f4c95d;
  outline-offset: 3px;
}

.pkv-consent-settings {
  position: fixed;
  z-index: 2147482999;
  right: 14px;
  bottom: 14px;
  min-height: 38px;
  padding: 8px 12px;
  color: #ffffff;
  background: #0b2e52;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(11, 46, 82, 0.22);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.pkv-consent-settings:hover {
  background: #04529e;
}

@media (max-width: 760px) {
  .pkv-consent {
    right: 8px;
    bottom: 8px;
    left: 8px;
  }

  .pkv-consent__card {
    max-height: calc(100vh - 16px);
    padding: 19px;
    overflow-y: auto;
  }

  .pkv-consent__title {
    font-size: 20px;
  }

  .pkv-consent__categories {
    grid-template-columns: 1fr;
  }

  .pkv-consent__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .pkv-consent__actions {
    grid-template-columns: 1fr;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pkv-consent *,
  .pkv-consent-settings {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
