/**
 * Lean Consent – additions to the vanilla-cookieconsent styles.
 *
 * @copyright (C) 2026 Andreas Sauerwein
 * @license   GNU General Public License version 2 or later; see LICENSE
 */

/* Optional floating button that reopens the preferences (off by default). */
.leanconsent-floating-button {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 2147483646;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--cc-btn-primary-color, #fff);
  background: var(--cc-btn-primary-bg, #30363c);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgb(0 0 0 / 25%);
  cursor: pointer;
}

.leanconsent-floating-button:hover {
  background: var(--cc-btn-primary-hover-bg, #000);
}

.leanconsent-floating-button:focus-visible {
  outline: 3px solid var(--cc-btn-primary-bg, #30363c);
  outline-offset: 3px;
}

@media print {
  .leanconsent-floating-button {
    display: none;
  }
}
