/* Cookie Consent Modal Styles - Dark Mode */
.cookie-consent-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,20,20,0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  overflow: auto;
}


.cookie-categories-wrapper {
    flex-grow: 1; /* Allow this section to fill available space */
    overflow-y: auto; /* Make only this section scrollable */
    padding-right: 15px; /* Add some padding to avoid scrollbar overlap */
    margin-right: -15px; /* Counteract the padding to maintain alignment */


    padding-top: 1rem;
}

.cookie-consent-content {
  background: #242424;
  border-radius: 12px;
  max-width: 600px;
  width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.28);
  position: relative;
  color: #c4c4c4;
  display: flex;
  flex-direction: column;
}
.cookie-consent-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  color: #c4c4c4;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-consent-close:hover {
  color: #ff9800;
}
.cookie-consent-content h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}
.cookie-category {
  border-bottom: 1px solid #333;
  padding: 18px 0 10px 0;
}
.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}
.cookie-category-status {
  color: #1db954;
  font-weight: 700;
  font-size: 15px;
}
.cookie-category-desc {
  font-size: 15px;
  color: #bbb;
  margin-top: 6px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #444;
  border-radius: 24px;
  transition: .4s;
}
.switch input:checked + .slider {
  background-color: #1db954;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #222;
  border-radius: 50%;
  transition: .4s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.switch input:checked + .slider:before {
  transform: translateX(20px);
  background-color: #1db954;
}

.cookie-consent-actions {
    padding-top: 8px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch; /* or remove this line */
    gap: 15px;
    flex-shrink: 0;
    width: 100%;
}

.cookie-consent-main-actions {
    margin-top:8px;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cookie-consent-main-actions > * {
    flex: 1 1 0;
    min-width: 0;
}


.cookie-consent-main-actions .cookie-btn {
    flex: 1 1 0;
    min-width: 0;
}

.cookie-btn {
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  cursor: pointer;
  margin: 0 4px;
  transition: background 0.2s, color 0.2s;
}
.cookie-btn.reject {

    color: #fff;
}
.cookie-btn.reject:hover {

    color: #ff9800;
}
.cookie-btn.save {

  color: #fff;
}
.cookie-btn.save:hover {
    color: #ff9800;
}
.cookie-btn.accept {
    background: #e67c00;

  color: #fff;
}
.cookie-btn.accept:hover {
    background: #1db954;
}
.menu-entry {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


@media (max-width: 600px) {
  .cookie-consent-content {
    padding: 18px 8px 18px 8px;
    max-width: 98vw;
    width: 98vw;
    max-height: 98vh;
  }

    .cookie-consent-actions
    {
        margin-bottom:100px;
    }
}
