:root {
  --accent-color: #2B7FFF;
  --accent-hover: #4F39F6;
}

.cookie-popup-container {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 9999999;
  padding: 30px 20px;
}

.cookie-popup-container .cookie-popup {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0px;
  box-shadow: 0px 10px 80px -5px rgba(43, 127, 255, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: visible;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  border-radius: 24px;
  color: #8F9BB7;
  overflow: hidden;
  background: linear-gradient(135deg, #101828 0%, #000000 50%, #101828 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-category{
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 0 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  transition: all 0.3s ease;
}

.cookie-category:hover {
  border-color: rgba(43, 127, 255, 0.3);
  background: linear-gradient(135deg, rgba(43, 127, 255, 0.1) 0%, rgba(79, 57, 246, 0.05) 100%);
}



.cookie-popup-container .cookie-popup .cookie-popup-content-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  position: static;
  top: 0;
  left: 0;
  width: 100%;
  height: 0px;
  overflow: hidden;
  overflow-y: scroll;
  color: #fff;
  transition: all 0.3s ease;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(135deg, #101828 0%, #000000 50%, #101828 100%);

}
.cookie-popup-container .cookie-popup .cookie-popup-content-container * {
  color: #8F9BB7;
}

.cookie-popup-container .cookie-popup .cookie-popup-content-container.open {
  height: 400px !important;
}

.cookie-popup .cookie-panel ul {
  list-style-type: none;
  display: flex;
  padding-left: 0 !important;
  margin: 0 !important;

}

.cookie-cookies-display{
  padding: 30px 40px;
}

.cookie-cookies-display p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #fff;
}

.cookie-cookies-display h6 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #00B8DB 0%, #2B7FFF 50%, #4F39F6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cookie-popup .cookie-panel {
  padding: 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-popup .cookie-panel ul li {
  width: 100%;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.4;
  padding: 20px 15px;
  color: #8F9BB7;
  margin-bottom: 0;
  transition: all 0.3s ease;
  position: relative;
}

.cookie-popup .cookie-panel ul li:hover {
  color: #2B7FFF;
}

.cookie-popup .cookie-panel ul li.active {
  color: #2B7FFF;
  border-bottom: 2px solid;
  border-image: linear-gradient(135deg, #00B8DB 0%, #2B7FFF 50%, #4F39F6 100%) 1;
}




.cookie-cookies-display .cookie-category .choose {
  font-size: 14px;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  margin-right: 12px;
  cursor: pointer;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.cookie-cookies-display .cookie-category .choose:hover {
  border-color: rgba(43, 127, 255, 0.5);
}

.cookie-cookies-display .cookie-category .choose.active {
  border-color: #2B7FFF;
  background: linear-gradient(135deg, rgba(0, 184, 219, 0.2) 0%, rgba(43, 127, 255, 0.2) 50%, rgba(79, 57, 246, 0.2) 100%);
}
.cookie-cookies-display .cookie-category .choose.active::before {
  content: "\2713";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #2B7FFF;
  font-weight: bold;
  font-size: 16px;
}
/*.cookie-cookies-display .cookie-category .choose.active + .cookie-cat-name{
    color:#04383d;
}*/

.cookie-cookies-display .cookie-category .choose.always-on {
  border-color: rgba(43, 127, 255, 0.4);
  background: linear-gradient(135deg, rgba(0, 184, 219, 0.15) 0%, rgba(43, 127, 255, 0.15) 50%, rgba(79, 57, 246, 0.15) 100%);
  cursor: auto;
}
.cookie-cookies-display .cookie-category .choose.always-on::before {
  content: "\2713";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #2B7FFF;
  font-weight: bold;
  font-size: 16px;
}
/*.cookie-cookies-display .cookie-category .choose.always-on + .cookie-cat-name {
    color: #04383d;
}*/
.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: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 17px;
  line-height: 1.4;
  color: #fff;
}

.cookie-cookies-display .cookie-category .data .data-resume .cat-describe {
  font-size: 15px;
  line-height: 1.6;
  color: #8F9BB7;
  margin-top: 8px;
}

.cookie-decide {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #101828 0%, #000000 50%, #101828 100%);
  display: flex;
  justify-content: space-between;
  transition: all 0.3s ease;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  flex-direction: column;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-decide .pre-cookie-box {
  flex-grow: 1;
  padding: 40px 50px;
  color: #8F9BB7;
}

.cookie-decide .pre-cookie-box h2 {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #00B8DB 0%, #2B7FFF 50%, #4F39F6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cookie-decide .pre-cookie-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #8F9BB7;
  margin: 0;
}

.cookie-decide .pre-cookie-box a{
  color: #2B7FFF;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cookie-decide .pre-cookie-box a:hover {
  color: #4F39F6;
}
.cookie-decide .imgBox{
  position: absolute;
  width: 300px;
  margin: 0 auto 20px;
  top: 0;
  right: 0;
  z-index: -1;
  opacity: 0.2;
}

.cookie-decide .btnList {
  list-style-type: none;
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 0 !important;
  flex-grow: 1;
  padding: 25px 50px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-decide .btnList li {
  width: auto;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
  background: linear-gradient(135deg, #00B8DB 0%, #2B7FFF 50%, #4F39F6 100%);
  border-radius: 12px;
  padding: 14px 35px;
  width: 50%;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(43, 127, 255, 0.2);

}
.cookie-decide .btnList li:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 127, 255, 0.4);
  background: linear-gradient(135deg, #2B7FFF 0%, #4F39F6 50%, #9810FA 100%);
  color: #fff;
  border-color: transparent;
}
.cookie-decide .btnList li.btn:after,
.cookie-decide .btnList li.btn:before{
  border-color: #fff;
}
.cookie-decide .btnList li.allow-selection {
  display: none;
}

@media (max-width: 768px) {
  .cookie-popup-container {
    padding: 20px 15px;
    align-items: flex-end;
  }

  .cookie-popup-container .cookie-popup {
    max-width: 100%;
    border-radius: 24px 24px 0 0;
  }

  .cookie-popup .cookie-panel {
    padding: 0 20px;
  }

  .cookie-cookies-display {
    padding: 25px 20px;
  }

  .cookie-decide .pre-cookie-box {
    padding: 30px 25px;
  }

  .cookie-decide .pre-cookie-box h2 {
    font-size: 20px;
  }

  .cookie-decide .pre-cookie-box p {
    font-size: 14px;
    line-height: 1.5;
  }

  .cookie-decide .btnList {
    padding: 20px 25px;
    gap: 12px;
  }

  .cookie-decide .btnList li {
    font-size: 15px;
    padding: 12px 25px;
    width: 100%;
  }

  .cookie-popup-container .cookie-popup .cookie-popup-content-container.open {
    height: 350px !important;
  }
}
