#cn-cookie-banner {
  display: none;
}

.cn-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1000px;
  width: 100%;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 14px;
  z-index: 1000;
}
.cn-cookie-banner h2 {
  font-size: 27px;
  font-weight: bold;
  margin-bottom: 10px;
}

.cn-cookie-banner p {
  margin: 0 0 10px;
  padding: 0;
  max-width: 100%!important;
}

.cn-cookie-banner a {
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.cn-cookie-banner a:hover {
  text-decoration: underline;
}

.cn-cookie-banner button {
  padding: 8px 16px;
  font-size: 14px;
  background-color: #000000;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  margin: 0 5px;
}

.cn-cookie-banner button:hover {
  background-color: #2f3032;
}

.cn-cookie-banner button#rejectAll {
  background-color: #6c757d;
}

.cn-cookie-banner button#rejectAll:hover {
  background-color: #5a6268;
}

/* Cookie Detail View */
.cn-cookie-detail {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  font-family: Arial, sans-serif;
  font-size: 14px;
  z-index: 1001;
  /* background-color und color werden per Inline-Style gesetzt */
}

.cn-cookie-detail h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
  /* color wird vom parent geerbt */
}

.cn-cookie-detail h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 10px 0;
  /* color wird vom parent geerbt */
}

.cn-cookie-detail p {
  margin: 0 0 10px 0;
  line-height: 1.5;
  /* color wird vom parent geerbt */
}

.cn-cookie-detail label {
  display: flex;
  align-items: center;
  margin: 15px 0;
  cursor: pointer;
  /* color wird vom parent geerbt */
}

.cn-cookie-detail input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}

.cn-cookie-detail a {
  color: inherit;
  text-decoration: underline;
}

.cn-cookie-detail a:hover {
  opacity: 0.8;
}

.cn-cookie-banner a {
  color: inherit;
  text-decoration: underline;
}

.cn-cookie-banner a:hover {
  opacity: 0.8;
}

/* Button-Styles für Detail-View */
.cn-cookie-detail button {
  padding: 8px 16px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  margin: 0 5px;
  /* background-color wird per Inline-Style gesetzt */
}

.cn-cookie-detail button:hover {
  opacity: 0.8;
}