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

.rj-cookie-banner {
  position: fixed;
  z-index: 100000;
  right: 20px;
  bottom: 20px;
  left: 20px;
}

.rj-cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 20px;
  border: 1px solid rgba(22, 58, 74, 0.18);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(15, 42, 54, 0.24);
  color: #173b4a;
  box-sizing: border-box;
}

.rj-cookie-banner__copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.rj-cookie-banner__copy p {
  max-width: 710px;
  margin: 0 0 6px;
  padding: 0;
  line-height: 1.5;
}

.rj-cookie-banner__copy a {
  color: #b86f00;
  text-decoration: underline;
}

.rj-cookie-banner__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.rj-cookie-button {
  min-width: 150px;
  padding: 11px 15px;
  border: 1px solid #173b4a;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.rj-cookie-button--primary {
  background: #173b4a;
  color: #fff;
}

.rj-cookie-button--secondary {
  background: #fff;
  color: #173b4a;
}

.rj-cookie-preferences {
  position: fixed;
  z-index: 99990;
  bottom: 14px;
  left: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(22, 58, 74, 0.24);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 42, 54, 0.14);
  color: #173b4a;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .rj-cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .rj-cookie-banner__inner {
    display: block;
    padding: 16px;
  }

  .rj-cookie-banner__actions {
    margin-top: 14px;
  }

  .rj-cookie-button {
    flex: 1;
    min-width: 0;
  }
}

