#consentPopup {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 20px;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
#consentPopup.show {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
.consent-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #171c21;
}
.toggle-switch {
  position: relative;
  width: 40px;
  height: 20px;
  background: #e0e0e0;
  border-radius: 20px;
  cursor: pointer;
}
.toggle-switch input {
  display: none;
}
.toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #171c21;
  z-index: 99;
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.toggle-switch input:checked + .toggle-slider {
  transform: translateX(20px);
  background: #171c21;
  z-index: 9999;
}
.toggle-switch input:checked ~ .toggle-bg {
  background: #34d399;
}
.toggle-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: #e0e0e0;
  transition: background 0.2s ease;
}
.consent-button {
  transition: background 0.2s ease, transform 0.2s ease;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 10px 15px;
  display: inline-block;
  -webkit-appearance: none;
  background-color: #000;
  color: white;
  border: 0;
}
.consent-button:hover {
  transform: translateY(-2px);
}

.mt-6 {
  margin-top: 26px;
}

@media (max-width: 640px) {
  #consentPopup {
    max-width: 100%;
    padding: 12px;
    border-radius: 0; /* Mobil cihazlarda tam ekran görünüm */
  }
  .consent-toggle {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .consent-toggle span {
    font-size: 13px; /* Mobil için daha küçük metin */
  }
  .consent-button {
    font-size: 12px;
    padding: 8px 12px;
            margin-top: 7px;
  }
  .flex.justify-end {
    flex-direction: column;
    gap: 8px;
  }
}


.bg-gray-200{
  background-color: #919191;
}

.bg-green-500{
  background-color: #16a34a;
}