:root {
  --accent-color: #8939c1;
  --accent-hover: #8939c1;
}

.cookie-popup-container {
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  display: none;
}

.cookie-popup-container * {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.cookie-popup-container .cookie-popup {
  max-width: min(500px, 90%);
  border: 1px solid #eee;
  border-radius: 12px;
  box-sizing: border-box;
  padding: 15px;
  box-shadow: 0px 5px 10px -3px rgba(0, 0, 0, 0.1);
  color: #171717;
  overflow: scroll;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  position: fixed;
  z-index: 99999;
  left: 20px;
  bottom: 20px;
  height: 100%;
  max-height: 600px;
}

.cookie-popup-container .cookie-popup .cookie-image {
  display: flex;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.cookie-popup-container .cookie-popup::-webkit-scrollbar {
  display: none !important;
}

.cookie-popup-container .cookie-popup .cookie-popup-content-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.cookie-popup .cookie-panel ul {
  list-style-type: none;
  display: flex;
  padding-left: 0 !important;
  margin: 0 !important;
}

.cookie-popup .cookie-panel ul li {
  width: 50%;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  font-size: 12px;
  line-height: 18px;
}

.cookie-popup .cookie-panel ul li.active {
  padding-bottom: 10px;
  border-bottom: 4px solid var(--accent-color);
  color: var(--accent-color);
}

.cookie-popup-container
  .cookie-popup
  .cookie-popup-content-container
  .cookie-mid {
  height: 100%;
  padding: 15px 0;
}

.cookie-popup-container
  .cookie-popup
  .cookie-popup-content-container
  .cookie-mid
  p {
  font-size: 12px;
  line-height: 18px;
  margin-top: 0px;
  margin-bottom: 10px;
}

.cookie-popup-container
  .cookie-popup
  .cookie-popup-content-container
  .cookie-mid
  b {
  font-size: 12px;
  line-height: 18px;
}

.cookie-popup-container
  .cookie-popup
  .cookie-popup-content-container
  .cookie-mid
  .cookie-consent,
.cookie-popup-container
  .cookie-popup
  .cookie-popup-content-container
  .cookie-mid
  .cookie-cookies-display {
  display: none;
}

.cookie-cookies-display .cookie-category {
  margin-bottom: 15px;
}

.cookie-cookies-display .cookie-category .choose {
  font-size: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #ccc;
  margin-right: 10px;
  cursor: pointer;
}

.cookie-cookies-display .cookie-category .choose.active {
  border-color: var(--accent-hover);
  background-color: var(--accent-color);
}

.cookie-cookies-display .cookie-category .choose.active + .cookie-cat-name {
  color: var(--accent-color);
}

.cookie-cookies-display .cookie-category .choose.always-on {
  border-color: #ccc;
  background-color: #eee;
  cursor: auto;
}

.cookie-cookies-display .cookie-category .data .data-resume .cat-main,
.cookie-cookies-display .cookie-category .data .data-resume .cat-main > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-cookies-display .cookie-category .data .data-resume .cat-main {
  margin-bottom: 10px;
}

.data-resume .cookie-cat-name {
  font-weight: bold;
  cursor: pointer;
  transition: 300ms;
  font-size: 12px;
  line-height: 18px;
}

.cookie-cookies-display .cookie-category .data .data-resume .cat-describe {
  font-size: 12px;
  line-height: 18px;
}

.cookie-decide ul {
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  padding-left: 0 !important;
  margin: 0 !important;
  padding-top: 15px;
}

.cookie-decide ul li {
  width: 45%;
  text-align: center;
  border: 2px solid var(--accent-color);
  border-radius: 6px;
  padding: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 300ms;
  font-size: 12px;
  line-height: 18px;
}

.cookie-decide ul li:hover {
  background-color: var(--accent-color);
  color: #fff;
}

.cookie-decide ul li.allow {
  background-color: var(--accent-color);
  color: #fff;
}

.cookie-decide ul li.allow:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.cookie-decide ul li.allow-selection {
  display: none;
}

a.privacy-policy-href {
  text-decoration: none;
  color: var(--accent-color) !important;
  font-size: 12px !important;
  line-height: 18px;
  font-weight: 600 !important;
}

@media screen and (max-width: 991px) {
  .cookie-popup-container .cookie-popup {
    width: 100%;
    height: 639px;
    top: 50px;
  }

  .cookie-popup-container
    .cookie-popup
    .cookie-popup-content-container
    .cookie-decide
    ul {
    display: flex;
    flex-direction: column;
  }

  .cookie-popup-container
    .cookie-popup
    .cookie-popup-content-container
    .cookie-decide
    ul
    li {
    width: auto;
  }

  .cookie-popup-container
    .cookie-popup
    .cookie-popup-content-container
    .cookie-mid {
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 8px;
  }

  .cookie-decide ul li {
    padding: 8px;
    font-size: 12px;
    margin: 3px;
  }

  .cookie-popup-container .cookie-popup {
    padding-left: 10px;
    padding-right: 10px;
  }

  .cookie-popup .cookie-panel ul li {
    font-size: 12px;
    padding-bottom: 10px !important;
  }

  .cookie-popup-container
    .cookie-popup
    .cookie-popup-content-container
    .cookie-mid
    p,
  .cookie-popup-container
    .cookie-popup
    .cookie-popup-content-container
    .cookie-mid
    b,
  .data-resume .cookie-cat-name,
  a.privacy-policy-href {
    font-size: 12px;
    line-height: 18px;
  }

  .cookie-cookies-display .cookie-category .data .data-describe ul li {
    font-size: 10px;
    line-height: 12px;
    padding: 8px;
  }
}
