/* Cookie Overlay */
.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(12, 24, 28, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.cookie-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Cookie Block */
.cookie-block {
  background-color: #0C181C;
  max-width: 800px;
  width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .cookie-block {
    padding: 24px;
    max-height: 90vh;
  }
}

.cookie-block__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cookie-block__text {
  flex: 1;
  margin-bottom: 24px;
}

#cookie-content{
  padding-right: 8px;
  overflow-y: auto;
  scroll-behavior: smooth;
  max-height: 400px;
}

/* Стилизация скроллбара */
#cookie-content::-webkit-scrollbar {
  width: 6px;
}

#cookie-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

#cookie-content::-webkit-scrollbar-thumb {
  background: rgba(246, 207, 100, 0.5);
  border-radius: 3px;
}

#cookie-content::-webkit-scrollbar-thumb:hover {
  background: rgba(246, 176, 100, 0.8);
}

.cookie-block__text h3 {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .cookie-block__text h3 {
    font-size: 22px;
  }
}

.cookie-block__text .the-content {
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #E8E8E8;
}

@media (max-width: 768px) {
  .cookie-block__text .the-content {
    font-size: 14px;
  }
}

.cookie-block__text .the-content p {
  margin-bottom: 16px;
}

.cookie-block__text .the-content strong {
  color: #FFFFFF;
  font-weight: 600;
}

.cookie-block__text .the-content a {
  color: #64B5F6;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.cookie-block__text .the-content a:hover {
  color: #42A5F5;
}

.cookie-block__btn {
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  border: none;
  border-radius: 8px;
  background-color: #2A4048;
  color: #888888;
  cursor: not-allowed;
  transition: all 0.3s ease;
  width: 100%;
  opacity: 0.5;
  max-width: 360px;
  margin: 0 auto;
}

.cookie-block__btn.active {
  background-color: var(--color-golden-glow);
  color: var(--color-deep-ocean);
  cursor: pointer;
  opacity: 1;
}

.cookie-block__btn.active:hover {
  background-color: var(--color-golden-glow);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(246, 190, 100, 0.3);
}

.cookie-block__btn.active:active {
  transform: translateY(0);
}

/* Блокировка прокрутки body */
body.no-scroll {
  overflow: hidden !important;
}


.checkbox-block {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 7.5px;
  cursor: pointer;
  font-size: 12px;

}

.checkbox-block input {
  display: none !important;
}

.checkbox-block input:checked+span svg {
  scale: 1;
}

.checkbox-block__check {
  margin-top: 2px;
  min-width: 16px;
  height: 16px;
  border-radius: 2px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--color-white);
}

.checkbox-block__text {
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: calc(20 / 12 * 100%);
  color: var(--color-white);
}

.checkbox-block__text a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--color-golden-glow);
}


.checkbox-block svg {
  scale: 0;
  transition: all 0.3s ease-in-out;
  width: 9px;
  height: 6px;
}

.checkbox-block svg path {
  fill: var(--color-golden-glow);
}