/*
YAML:
  path: "assets/css/storage-consent.css"
  description: "A helyi tárolási hozzájárulási panel és a lábléc adatvédelmi beállítás gombjának stílusai."
  version: "1.0.0"
*/
.storage-consent[hidden] {
    display: none !important;
}

.storage-consent {
    position: fixed;
    z-index: 1200;
    right: 1rem;
    bottom: 1rem;
    width: min(42rem, calc(100vw - 2rem));
    padding: 1rem 1.1rem;
    border: 1px solid var(--zp-border);
    border-radius: 0.9rem;
    background: var(--zp-surface);
    color: var(--zp-text);
    box-shadow: var(--zp-shadow-lg);
}

.storage-consent__title {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.storage-consent p {
    margin: 0;
}

.storage-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.9rem;
}

.storage-consent__actions .button {
    margin: 0;
}

.storage-consent-settings {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 640px) {
    .storage-consent {
        right: 0.75rem;
        bottom: 0.75rem;
        width: calc(100vw - 1.5rem);
    }

    .storage-consent__actions {
        display: grid;
    }
}
