.bp-cookie-banner,
.bp-cookie-manager {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.bp-cookie-banner {
  position: fixed;
  z-index: 2147483000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  width: min(720px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: #0e1928;
  color: #f8f4ec;
  box-shadow: 0 18px 55px rgba(4, 12, 22, 0.32);
}

.bp-cookie-banner[hidden],
.bp-cookie-manager[hidden] {
  display: none !important;
}

.bp-cookie-banner h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.25;
}

.bp-cookie-banner p {
  margin: 0;
  color: #edf1f4;
  font-size: 0.96rem;
  line-height: 1.55;
}

.bp-cookie-banner a {
  color: #f0d7af;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bp-cookie-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.bp-cookie-button,
.bp-cookie-manager {
  min-height: 44px;
  border: 2px solid #d4ae78;
  border-radius: 5px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.bp-cookie-button {
  padding: 10px 16px;
  background: #d4ae78;
  color: #0e1928;
}

.bp-cookie-button:hover,
.bp-cookie-button:focus-visible {
  background: #f0d7af;
  border-color: #f0d7af;
}

.bp-cookie-button--reject {
  background: #0e1928;
  color: #ffffff;
}

.bp-cookie-button--reject:hover,
.bp-cookie-button--reject:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
  color: #0e1928;
}

.bp-cookie-button:focus-visible,
.bp-cookie-manager:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.bp-cookie-manager {
  position: fixed;
  z-index: 2147482999;
  bottom: 12px;
  left: 12px;
  min-height: 38px;
  padding: 7px 12px;
  border-width: 1px;
  background: #ffffff;
  color: #0e1928;
  box-shadow: 0 5px 20px rgba(4, 12, 22, 0.18);
}

.bp-cookie-manager:hover,
.bp-cookie-manager:focus-visible {
  background: #f7efe4;
}

@media (max-width: 520px) {
  .bp-cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    padding: 18px;
  }

  .bp-cookie-actions {
    grid-template-columns: 1fr;
  }
}

