#dan-cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  color: #333;
  padding: 15px 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999999 !important;
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  flex-wrap: wrap;
}

#dan-cookie-consent-banner p {
  margin: 0;
  flex-grow: 1;
  padding-right: 20px;
  line-height: 1.4;
}

#dan-cookie-consent-banner p a {
  color: #87ceeb; /* Light blue for links */
  text-decoration: underline;
}

.dan-cookie-consent-actions {
  display: flex;
  justify-content: center;

  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

#dan-cookie-consent-banner .button {
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

#dan-cookie-accept-all {
  background-color: var(--wp--preset--color--custom-color-3); /* Green */
  color: white;
}

#dan-cookie-accept-all:hover {
  background-color: var(--wp--preset--color--custom-color-3); /* Green */
}

#dan-cookie-reject-all {
  background-color: var(--wp--preset--color--custom-color-2); /* red */
  color: white;
}

#dan-cookie-reject-all:hover {
  background-color: var(--wp--preset--color--custom-color-2); /* red */
}

#dan-cookie-customize {
  background-color: var(--wp--preset--color--custom-color-1); /* blue */
  color: white;
}

#dan-cookie-customize:hover {
  background-color: var(--wp--preset--color--custom-color-1); /* blue */
}

#dan-cookie-consent-preferences {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  background-color: #f8f8f8;
  color: #333;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999999 !important;
  font-family: sans-serif;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

#dan-cookie-consent-preferences h3 {
  margin-top: 0;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.cookie-category {
  padding-bottom: 15px;
  border-bottom: 1px dashed #eee;
}

.cookie-category:last-of-type {
  border-bottom: none;
}

.cookie-category label {
  font-weight: bold;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.cookie-category label input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}

.cookie-category .description {
  font-size: 0.9em;
  color: #666;
  margin-left: 30px; /* Align with checkbox text */
  margin-top: 5px;
}

#dan-cookie-save-preferences {
  margin-top: 20px;
  background-color:var(--wp--preset--color--custom-color-3); /* Green */
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  border: none;
  transition: background-color 0.3s ease;
}

#dan-cookie-save-preferences:hover {
  background-color:var(--wp--preset--color--custom-color-3); /* Green */

}

/* Responsive adjustments */
@media (max-width: 768px) {
  #dan-cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  #dan-cookie-consent-banner p {
    padding-right: 0;
    margin-bottom: 10px;
  }
  .dan-cookie-consent-actions {
    width: 100%;
    justify-content: stretch;
  }
  .dan-cookie-consent-actions button {
    flex-grow: 1;
  }
}
#dan-cookie-trigger {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background-color: var(--wp--preset--color--custom-color-2);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.2s;
}
#dan-cookie-trigger:hover {
  transform: scale(1.1);
  background-color: var(--wp--preset--color--custom-color-3);
}
#dan-cookie-trigger svg,
#dan-cookie-trigger img {
  width: 24px;
  height: 24px;
  pointer-events: none;
}
