.cookie-notice {
  all: unset;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  padding: 1rem;
  max-width: calc(100vmin - 4rem);
  max-height: calc(100svh - 2rem);
  overflow-y: scroll;
  width: 20rem;
  background-color: #fefefe;
  color: #000;
  font-family: "filson-pro", sans-serif;
  line-height: 1.5 !important;
  letter-spacing: normal !important;
  -webkit-box-shadow: 0 4px 16px rgba(48, 48, 48, 0.3137254902);
          box-shadow: 0 4px 16px rgba(48, 48, 48, 0.3137254902);
  border-radius: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2rem;
  z-index: 999;
  /* Hide the default appearance of the checkbox */
  /* Style the toggle switch container */
  /* Style the handle of the toggle switch */
  /* Style the toggle switch when checked */
  /* Style the handle of the toggle switch when checked */
}
.cookie-notice * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.cookie-notice::-webkit-scrollbar {
  display: none;
}
@media screen and (min-width: 648px) {
  .cookie-notice {
    bottom: 2rem;
    right: 2rem;
    padding: 2rem;
  }
}
.cookie-notice img {
  width: 64px;
  height: 64px;
}
.cookie-notice strong {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  margin-bottom: 12px;
}
.cookie-notice p {
  font-size: 16px;
  color: #000;
  padding: 0 !important;
}
.cookie-notice div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}
.cookie-notice .cookie-buttons {
  gap: 8px;
}
.cookie-notice .cookie-buttons .preferences {
  margin-inline: auto;
  padding: 8px 16px;
  background-color: #dbdbdb;
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  width: 100%;
}
.cookie-notice .cookie-buttons .preferences:hover {
  opacity: 0.8;
}
.cookie-notice button.button {
  width: 100%;
  height: auto;
  min-width: auto;
  min-height: auto;
  max-width: 100%;
  max-height: 100%;
  line-height: 1;
  letter-spacing: normal;
  font-family: Arial;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  background-color: #0f9d58;
  background-image: none;
  padding: 8px 16px;
  text-transform: none;
  -webkit-transition: none;
  transition: none;
  margin-inline: auto;
  margin: 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.cookie-notice button.button::before, .cookie-notice button.button::after {
  content: "";
  display: none;
}
.cookie-notice .button {
  display: inline;
}
.cookie-notice button::before, .cookie-notice button::after {
  content: "";
  display: none;
}
.cookie-notice button.declined {
  background-color: #000;
}
.cookie-notice button.button:hover {
  opacity: 0.8;
  color: #fff;
  background-color: #0f9d58;
}
.cookie-notice span {
  font-size: 12px;
  color: #333;
}
.cookie-notice a {
  color: #4285f4;
  text-decoration: none;
}
.cookie-notice #cookiepolicylink {
  margin-top: -16px;
}
.cookie-notice .toggle-switch {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
}
.cookie-notice .toggle-switch.security .toggle::after,
.cookie-notice .toggle-switch.security .toggle {
  -webkit-filter: grayscale(50%);
          filter: grayscale(50%);
}
.cookie-notice .toggle {
  position: relative;
  margin-right: 8px;
  display: inline-block;
  width: 40px; /* Adjust width as needed */
  height: 20px; /* Adjust height as needed */
  background-color: #ccc; /* Default color */
  border-radius: 10px; /* Rounded corners */
  cursor: pointer;
}
.cookie-notice .toggle.security {
  opacity: 0.5;
}
.cookie-notice .toggle::after {
  content: "";
  position: absolute;
  width: 16px; /* Width of the handle */
  height: 16px; /* Height of the handle */
  background-color: #fff; /* Default handle color */
  border-radius: 50%; /* Make it round */
  top: 50%;
  left: 2px; /* Adjust position */
  -webkit-transform: translate(0, -50%);
          transform: translate(0, -50%);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.cookie-notice .toggle-switch:checked + .toggle {
  background-color: #0f9d58; /* Green background color */
}
.cookie-notice .toggle-switch:checked + .toggle::after {
  background-color: #fff; /* White handle color */
  -webkit-transform: translate(calc(100% + 4px), -50%);
          transform: translate(calc(100% + 4px), -50%);
}
.cookie-notice .cookie-preferences-options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  letter-spacing: 1px;
}
.cookie-notice .cookie-preferences-options label {
  font-size: 16px;
  font-weight: 400;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.cookie-notice .cookie-preferences-options .toggle {
  margin-right: 16px;
}
.cookie-notice .cookie-preferences-options .info-icon {
  position: relative;
  cursor: help;
  margin-left: 5px;
}
.cookie-notice .cookie-preferences-options .info-icon:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  background-color: #fefefe;
  color: #000;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px;
  font-size: 14px;
  z-index: 999;
  top: 100%;
  left: 0;
  white-space: nowrap;
}

.cookie-notice.disabled,
.cookie-notice .disabled {
  display: none;
  opacity: 0;
}