/* ============================================================
   Privacy Kit — integrazioni sopra a cookieconsent.css
   I colori arrivano dalle variabili --cc-* (impostazioni).
   ============================================================ */

/* Pulsante fisso per riaprire le preferenze */
.privacy-kit-reopen {
    position: fixed;
    bottom: 16px;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--cc-bg);
    color: var(--cc-btn-primary-bg);
    border: 1px solid var(--cc-separator-border-color);
    border-radius: var(--cc-btn-border-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.privacy-kit-reopen--left {
    left: 16px;
}

.privacy-kit-reopen--right {
    right: 16px;
}

.privacy-kit-reopen:focus-visible {
    outline: 2px solid var(--cc-btn-primary-bg);
    outline-offset: 2px;
}

.privacy-kit-reopen svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Nasconde il pulsante mentre banner o preferenze sono aperti */
.show--consent .privacy-kit-reopen,
.show--preferences .privacy-kit-reopen {
    display: none;
}

/* Shortcode [privacy_kit_preferences] */
.privacy-kit-preferences-link {
    padding: 0;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    background: none;
    border: 0;
    cursor: pointer;
}
