.rc-cookie-notice {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 1030;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  width: 420px;
  max-width: calc(100% - 32px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 16px;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  background: #fff;
  color: #454545;
  box-shadow: 0 3px 10px rgb(0 0 0 / 24%);
  font: 14px/1.5 Arial, sans-serif;
}

.rc-cookie-notice .rc-cookie-notice__text {
  align-self: stretch;
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
}

.rc-cookie-notice .rc-cookie-notice__close {
  box-sizing: border-box;
  min-width: 100px;
  min-height: 44px;
  margin: 0;
  padding: 10px 18px;
  border: 2px solid #1b2858;
  border-radius: 4px;
  background: #1b2858;
  color: #fff;
  font: inherit;
  line-height: 20px;
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}

.rc-cookie-notice .rc-cookie-notice__close:hover,
.rc-cookie-notice .rc-cookie-notice__close:active {
  border-color: #111b40;
  background: #111b40;
  color: #fff;
}

.rc-cookie-notice .rc-cookie-notice__close:focus-visible {
  outline: 3px solid #4765c8;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .rc-cookie-notice {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    width: auto;
    max-width: none;
    max-height: calc(100vh - 24px);
  }
}
