.overcome-cookie-consent[hidden] {
  display: none !important;
}

.overcome-cookie-consent {
  position: fixed;
  z-index: 99999;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.overcome-cookie-consent__panel {
  width: min(100%, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 20px;
  color: #17213d;
  background: #ffffff;
  border: 1px solid rgba(23, 33, 61, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(16, 28, 52, 0.22);
  pointer-events: auto;
}

.overcome-cookie-consent__copy h2 {
  margin: 0 0 6px;
  color: #17213d;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.overcome-cookie-consent__copy p {
  margin: 0;
  color: #4a5874;
  font-size: 0.94rem;
  line-height: 1.5;
}

.overcome-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.overcome-cookie-consent__button,
.overcome-cookie-consent__link {
  min-height: 42px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.overcome-cookie-consent__button {
  border: 1px solid rgba(32, 61, 143, 0.24);
  padding: 0 16px;
  color: #203d8f;
  background: #ffffff;
  cursor: pointer;
}

.overcome-cookie-consent__button--primary {
  color: #ffffff;
  background: #203d8f;
  border-color: #203d8f;
}

.overcome-cookie-consent__button:hover,
.overcome-cookie-consent__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(32, 61, 143, 0.16);
}

.overcome-cookie-consent__link {
  display: inline-flex;
  align-items: center;
  color: #203d8f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.overcome-cookie-consent__button:focus-visible,
.overcome-cookie-consent__link:focus-visible,
[data-cookie-preferences]:focus-visible {
  outline: 3px solid rgba(32, 61, 143, 0.28);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .overcome-cookie-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .overcome-cookie-consent__panel {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .overcome-cookie-consent__actions {
    justify-content: flex-start;
  }
}
