.gdpr-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 400px;
  max-height: 90vh;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  font-size: 12px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.gdpr-scroll {
  overflow-y: auto;
  padding: 16px 16px 0;
  flex-grow: 1;
}

.gdpr-close {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  z-index: 10000;
}

.gdpr-close:hover {
  opacity: 0.8;
}

.gdpr-title {
  text-align: center;
  font-size: 16px;
  margin-bottom: 10px;
  color: #000;
}

.gdpr-text {
  font-size: 12px;
  text-align: justify;
  margin-bottom: 12px;
  line-height: 1.5;
}

.gdpr-buttons {
  padding: 10px 16px 6px;
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.gdpr-buttons button {
  flex: 1;
  padding: 10px 0;
  font-size: 13px;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  background: #ddd;
  cursor: pointer;
}

.gdpr-buttons button:hover {
  background: #000;
  color: #fff;
}

.gdpr-links {
  text-align: center;

  padding-bottom: 10px;
  background: #fff;
}

.gdpr-links a {
  margin: 0 8px;
  text-decoration: underline;
  color: #000;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
}

.gdpr-links a:hover {
  text-decoration: underline;
}

.gdpr-tab {
  border-top: 1px solid #ccc;
  padding-top: 8px;
  margin-top: 8px;
}

.gdpr-tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
}

.gdpr-tab-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.always-active {
  font-size: 12px;
  color: #000;
}

.tab-toggle {
  background: none;
  border: none;
  font-size: 13px;
  cursor: pointer;
}

.gdpr-tab-content {
  display: none;
  margin-top: 6px;
  margin-bottom: 8px;
}

.gdpr-tab-text {
  font-size: 12px;
  line-height: 1.4;
  text-align: justify;
}

.gdpr-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 18px;
}

.gdpr-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.gdpr-switch .slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 18px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
}

.gdpr-switch .slider::before {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.gdpr-switch input:checked+.slider {
  background-color: #000;
}

.gdpr-switch input:checked+.slider::before {
  transform: translateX(18px);
}

.gdpr-scroll {
  overflow-y: auto;
  padding: 16px 16px 0;
  flex-grow: 1;
  max-height: 60vh;
}

@media screen and (max-width: 600px) {
  .gdpr-popup {
    width: 90vw;
    bottom: 2vw;
    right: 3.5vw;
    max-height: 90vh;
    border-radius: 8px;
    font-size: 12px;
  }

  .gdpr-title {
    font-size: 14px;
  }

  .gdpr-text,
  .gdpr-tab-text {
    font-size: 12px;
  }

  .gdpr-buttons button {
    font-size: 12px;
    padding: 9px 0;
  }

  .gdpr-close {
    font-size: 30px;
    top: 10px;
    right: 20px;
  }
}