#cc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 2147483646;
}

#cc-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  width: 550px;
  background: var(--bs-body-color);
  backdrop-filter: blur(50px);
  color: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(200%);
  transition: transform 0.4sease, opacity 0.4sease;
  overflow: hidden;
  z-index: 2147483647;
}

@media (max-width: 767px) {
  #cc-banner {
    width: auto;
    margin: 1rem;
    left: 0;
    right: 0;
  }
}

#cc-banner.show {
  opacity: 1;
  transform: translateY(0);
}
#cc-banner ::-webkit-scrollbar {
  width: 6px;
}

#cc-banner ::-webkit-scrollbar-track {
  background: transparent;
}

#cc-banner ::-webkit-scrollbar-thumb {
  background-color: #00fff2;
  border-radius: 10px;
}

#cc-banner .cc-header {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 255, 242, 0.5);
  display: flex;
  justify-content: space-between;
}

#cc-banner .cc-header img {
  max-width: 30%;
  object-fit: contain;
}

#cc-banner .cc-header h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #00fff2;
}

.cc-body {
  overscroll-behavior: smooth;
}

#cc-banner .cc-body {
  padding: 0.75rem 1rem;
  max-height: 300px;
  overflow-y: auto;
}

#cc-banner .cc-body p {
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #ddd;
}

.cc-accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 6px;
  transition: background 0.3s;
}

.cc-accordion:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.cc-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: #00fff2;
  position: relative;
}

.cc-accordion summary::after {
  content: "▼";
  font-size: 0.8rem;
  color: #00fff2;
  transition: transform 0.3s;
}

.cc-accordion[open] summary::after {
  transform: rotate(-180deg);
}

.cc-toggle-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.4);
  transition: background-color 0.2s;
  border-radius: 20px;
}

.slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: transform 0.2s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #00fff2;
}

input:checked + .slider::before {
  transform: translateX(20px);
}

#cc-footer-buttons {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(0, 255, 242, 0.5);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cc-btn {
  border: none;
  cursor: pointer;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background 0.2s ease;
  flex: 1 1 auto;
}

.cc-btn.accept {
  background: #00fff2;
  color: #000;
}

.cc-btn.accept:hover {
  background: #00dcd8;
}

.cc-btn.decline {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.cc-btn.decline:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cc-btn.prefs {
  background: transparent;
  border: 1px solid #00fff2;
  color: #00fff2;
}

.cc-btn.prefs:hover {
  background: rgba(0, 255, 242, 0.1);
}

#cc-save-prefs {
  display: none;
  margin: 0.75rem 1rem;
  width: calc(100% - 2rem);
}
#cc-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bs-body-color);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 929;
  cursor: pointer;

  opacity: 0;
  transform: translateY(150%);
  visibility: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0s linear 0.4s;
}
#cc-toggle.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

#cc-toggle.hide {
  transform: translateY(150%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0s linear 0.4s;
}
.cookie-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}
