cookie-banner:not(:defined) {
  visibility: hidden;
}

/* container styling, e.g. the content container */
cookie-banner::part(dialog) {
  background-color: #fff;
  color: #333;
  font-size: 1rem;
  z-index: 1000;
}

/* nested elements can be styled directly */
cookie-banner h2 {
  font-size: 1.5rem;
  margin-top: 0;
}

cookie-banner p {
  font-size: 1rem;
  line-height: 1.5;
}

/* button container */
cookie-banner::part(buttons) {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* <button> elements */
cookie-banner::part(button) {
  background-color: black;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
