:root {
  --color-primary: #cc9a40;
  --color-text: #191919;
  --color-background: #e5e6e6;
}

.dsa-secure-plugin {
  border-radius: 5px;
  position: relative;
}
.dsa-secure-plugin .dsa-secure-image {
  width: 100%;
  height: 100%;
}
.dsa-secure-plugin {
  font-size: 12px;
  line-height: 16px;
  font-family: var(--cookie-font-family), sans-serif;
}
.dsa-secure-plugin .dsa-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-inline: unset;
  text-align: center;
  width: 100%;
}
.dsa-secure-plugin .dsa-buttons a {
  width: 100%;
  max-width: 300px;
  color: var(--color-text) !important;
}
.dsa-secure-plugin .undercheck {
  background-color: #fefefe;
  text-align: center;
  color: var(--color-text) !important;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 24px;
  padding: 14px 2rem;
  margin-block: unset;
  font-family: "Inter", sans-serif;
  transition: background-color 0.2s ease;
  cursor: pointer;
  border: none;
}
.dsa-secure-plugin .check-slide-content {
  width: min(60%, 600px);
  background-color: #fefefe;
  padding: 3vmin;
  border-radius: 7px;
  box-shadow:
    0 1px 3px rgba(0 0 0 / 30%),
    0 5px 25px rgba(0 0 0 / 8%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.dsa-secure-plugin .dsa-switch {
  position: relative;
  width: 60px;
  height: 34px;
  display: block;
}
.dsa-secure-plugin .dsa-secure-plugin input {
  display: none;
}
.dsa-secure-plugin iframe {
  width: 100%;
}
.dsa-secure-plugin .dsa-switch {
  margin-left: unset;
}
.dsa-secure-plugin .check-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/bg.png);
  color: #000;
  display: grid;
  place-items: center;
  opacity: 0;
  background-color: var(--color-primary-t);
  transition-duration: 250ms;
}
.dsa-secure-plugin .check-slide.hide {
  display: none;
}
.dsa-secure-plugin a {
  font-size: 1rem;
  text-align: center;
  width: fit-content;
  display: inline-block;
  background-color: var(--color-primary);
  border-radius: 24px;
  padding: 14px 2rem;
  text-decoration: none;
  color: var(--color-text);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.dsa-secure-plugin a:hover {
  background-color: #aca298;
}

/*.dsa-secure-plugin a:hover {
	background-color: #dd171b;
}*/
.dsa-secure-plugin:hover .check-slide,
.dsa-secure-plugin .check-slide:hover {
  visibility: visible;
  opacity: 1;
}
.dsa-secure-plugin .dsa-tooltip {
  position: relative;
  display: inline-block;
}
.dsa-secure-plugin .dsa-buttons a:hover {
  color: var(--color-text) !important;
  text-decoration: none !important;
}
.dsa-secure-plugin .dsa-tooltip .tooltiptext {
  top: -850%;
  left: -26px;
  font-size: 14px;
  width: 100%;
  min-width: 300px;
  max-width: 600px;
  background-color: #fefefe;
  color: var(--color-text);
  text-align: left;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  pointer-events: none;
  margin-left: unset;
  opacity: 0;
  transition: opacity 250ms;
  box-shadow:
    0 1px 3px rgba(0 0 0 / 30%),
    0 5px 25px rgba(0 0 0 / 8%);
}

.dsa-secure-plugin .dsa-tooltip:hover .tooltiptext,
.dsa-tooltip.active .tooltiptext {
  opacity: 1;
}
.dsa-secure-plugin .dsa-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: hsl(0, 0%, 97%);
  border: 1px solid #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.dsa-secure-plugin .dsa-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 3px;
  background-color: var(--color-primary);
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.dsa-secure-plugin input:checked + .dsa-slider {
  background-color: var(--color-primary);
}
.dsa-secure-plugin input:focus + .dsa-slider {
  box-shadow: 0 0 1px #cc1417;
}
.dsa-secure-plugin input:checked + .dsa-slider:before {
  -webkit-transform: translateX(24px);
  -ms-transform: translateX(24px);
  transform: translateX(24px);
  background-color: #fff;
}
.dsa-secure-plugin .dsa-slider.round {
  border-radius: 34px;
}
.dsa-secure-plugin .dsa-slider.round:before {
  border-radius: 50%;
}
.dsa-secure-plugin [type="checkbox"] {
  display: none;
}

/* Cookies */
:root {
  --cookie-roundness: 1.5rem;
  --cookie-background: #e5e6e6;
  --cookie-color: #191919;
  --cookie-close-width: 3px;
  --cookie-font-family: "Inter", sans-serif;
  --cookie-font-size: 1rem;
}
/* DSA Cookie Notice Form Styling */
.dsa-cookie-notice-form {
  font-family: "Inter", sans-serif;
  color: var(--color-text);
}

.cookie-overlay-headline {
  font-family: "QuicheDisplay", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: unset;
  display: block;
}

.cookie-choices {
  border: none !important;
  margin: unset;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.cookie-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: unset;
  font-size: 1rem;
}

.cookie-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.cookie-item label {
  cursor: pointer;
  font-size: 1rem;
  color: var(--color-text);
}

.cookie-page1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.dsa-cookie-button {
  display: inline-block;
  padding: 14px 2rem;
  background-color: var(--color-primary);
  color: var(--color-text);
  border: none;
  border-radius: 24px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin: unset;
}

.dsa-cookie-button:hover {
  background-color: #aca298;
  color: var(--color-text);
}

.cookie-powered-by {
  margin-top: unset;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.875rem;
  color: #666;
  opacity: 0.7;
}

.cookie-powered-by a {
  color: var(--color-primary);
  text-decoration: none;
}

.cookie-powered-by a:hover {
  text-decoration: underline;
}

.cookie-powered-by > p:nth-child(2) {
  width: fit-content !important;
  margin-inline: unset !important;
}

.clear {
  clear: both;
}

/* Cookie Overlay - vom JavaScript generiert */
.cookie-overlay-dsa {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
}

.cookie-overlay-dsa.show-cookie {
  display: block;
}

.dsa-cookie-notice-form {
  background-color: var(--cookie-background);
  border-radius: var(--cookie-roundness);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2.5rem;
  max-width: 600px;
  width: calc(100% - 4rem);
  box-shadow:
    0 10px 40px rgba(0 0 0 / 20%),
    0 5px 15px rgba(0 0 0 / 10%);
  font-family: var(--cookie-font-family);
  color: var(--cookie-color);
  animation: slideIn 0.3s ease;
  text-align: center;
}

@media screen and (max-width: 699px) {
  .dsa-cookie-notice-form {
    width: calc(100% - 2rem);
    padding: 2rem;
    padding-left: 2.5rem;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -55%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.cookie-edit {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0 0 0 / 20%);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.cookie-edit:hover {
  background-color: #aca298;
  transform: scale(1.05);
}

.cookie-edit img {
  filter: brightness(0) invert(1);
}
