.jute-consent-preview {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 99999;
  box-sizing: border-box;
  width: calc(100% - 48px);
  max-width: 640px;
  max-height: calc(100vh - 96px);
  max-height: calc(100dvh - 96px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #222;
  font: inherit;
  margin: 0;
}

.jute-consent-preview__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.jute-consent-preview__header h2 {
    margin: 0;
}

.jute-consent-preview__close {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 24px;
    line-height: 1;
    padding: 0 4px;
    cursor: pointer;
}

@media (max-width: 600px) {
  .jute-consent-preview {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 20px;
  }
}

.jute-consent-preview h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
}

.jute-consent-preview__notice {
  font-size: 0.875rem;
}

.jute-consent-preview__option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  cursor: pointer;
}

.jute-consent-preview__option input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  appearance: auto;
}

.jute-consent-preview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jute-consent-preview__actions button {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.jute-consent-preview :focus-visible {
  outline: 2px solid #222;
  outline-offset: 3px;
}

.jute-consent-preview__status:empty {
  display: none;
}

.jute-consent-preview[hidden] {
  display: none !important;
}

.jute-consent-reopen {
  font-family: "p22-underground", sans-serif !important;
  font-size: 12px;
  font-weight: 400;
  margin: 0;
}
.jute-consent-reopen {
  font-family: "p22-underground", sans-serif !important;
  font-size: 12px;
  font-weight: 400;
  margin: 0;
}

/* The Elementor-footer pages render this link straight into body, below the
   footer, so give it footer-like spacing instead of leaving it flush to the edge. */
body > .jute-consent-reopen {
  display: block;
  padding: 16px 24px 32px;
}

@media (max-width: 600px) {
  .jute-consent-preview {
    /* 90% opaque white background */
    background: rgba(255, 255, 255, 0.9);

    /* Reduce overall panel padding slightly */
    padding: 16px;
	  line-height: 1.3;
  }

  .jute-consent-preview h2 {
    margin-bottom: 10px;
  }

  .jute-consent-preview__option {
    /* Reduce vertical margins from 20px to 10px */
    margin: 10px 0;

    /* Reduce checkbox-to-text gap from 12px to 6px */
    gap: 6px;
  }

  .jute-consent-preview__actions {
    /* Reduce spacing between buttons */
    gap: 6px;
  }

  .jute-consent-preview__actions button {
    /* Slightly smaller buttons */
    padding: 8px 12px;
    font-size: 0.875rem;
  }
}