.analytics-consent[hidden] {
    display: none;
}

.analytics-consent {
    position: fixed;
    z-index: 2100;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    max-width: 900px;
    margin: 0 auto;
    padding: 1.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    color: #242424;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgb(0 0 0 / 20%);
    font: 14px/1.5 system-ui, sans-serif;
}

.analytics-consent__copy strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.analytics-consent__copy p {
    margin: 0;
}

.analytics-consent__actions {
    display: flex;
    flex-shrink: 0;
    gap: 0.5rem;
}

.analytics-consent__button,
.analytics-consent-settings__button {
    padding: 0.6rem 0.9rem;
    color: #242424;
    background: #fff;
    border: 1px solid #737373;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
}

.analytics-consent__button--accept {
    color: #fff;
    background: #343a40;
    border-color: #343a40;
}

.analytics-consent-settings {
    margin: 0 0 1rem;
    text-align: center;
}

.analytics-consent-settings__button {
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    text-decoration: underline;
}

.analytics-consent__button:focus-visible,
.analytics-consent-settings__button:focus-visible {
    outline: 3px solid #ff6a3e;
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .analytics-consent {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .analytics-consent__actions {
        flex-direction: column;
    }
}
