#cookie-notice {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 9999;
  width: 96%;
  margin: 0;
  padding: 0;
  transform: translateX(-50%);
  background: transparent;
  color: #fff;
  text-align: left;
}

#cookie-notice:not(.cookie-notice-hidden) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#cookie-notice .cookie-notice-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: var(--cookie-notice-theme-color, #334155);
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.28);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#cookie-notice .cookie-notice-text,
#cookie-notice .cookie-notice-text p,
#cookie-notice .cookie-notice-text a {
  color: #fff !important;
}

#cookie-notice .cookie-notice-text * {
  color: #fff !important;
}

#cookie-notice .cookie-notice-text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: calc(1em - 1px);
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}

#cookie-notice .cookie-notice-text p {
  margin: 0;
}

#cookie-notice .cookie-notice-text a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

#cookie-notice .cookie-notice-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.625rem;
  align-items: center;
}

#cookie-notice .cookie-notice-button {
  min-width: 7.5rem;
  padding: 0.6rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: calc(1em - 1px);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#cookie-notice .cookie-notice-button-accept {
  background: #fff;
  color: var(--cookie-notice-theme-color, #334155);
}

#cookie-notice .cookie-notice-button-accept:hover,
#cookie-notice .cookie-notice-button-accept:focus {
  background: #f1f5f9;
}

#cookie-notice .cookie-notice-button:focus-visible {
  outline: 3px solid rgba(247, 188, 74, 0.55);
  outline-offset: 2px;
}

#cookie-notice.cookie-notice-hidden {
  display: none !important;
}

@media (max-width: 700px) {
  #cookie-notice {
    width: 90%;
  }

  #cookie-notice .cookie-notice-card {
    align-items: stretch;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 0.5rem;
    padding: 1rem;
  }

  #cookie-notice .cookie-notice-actions {
    width: 100%;
  }

  #cookie-notice .cookie-notice-button {
    flex: 1 1 50%;
  }
}
