.cookie-consent
{
    position: fixed;
    z-index: 10000;
    inset-inline-start: 20px;
    bottom: 20px;
    width: 520px;
    max-width: calc(100vw - 40px);
    max-height: calc(100dvh - 40px);
    overflow: auto;
    box-sizing: border-box;
    padding: 24px;
    border: 1px solid var(--preference-line);
    border-radius: 24px;
    background: var(--preference-surface);
    color: var(--preference-text);
    box-shadow: 0 12px 48px #10281c26;
    font: 400 14px/1.6 'DM Sans', sans-serif;
}
.cookie-consent [hidden], .cookie-consent[hidden]
{
    display: none !important;
}
.cookie-heading, .cookie-option
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.cookie-heading h2
{
    margin: 0 0 12px;
    font: 600 23px/1.25 'Figtree', sans-serif;
    color: var(--preference-text);
}
.cookie-consent p
{
    margin: 0 0 16px;
    color: var(--preference-muted);
}
.cookie-consent a, .cookie-preferences-link
{
    color: var(--preference-text);
    text-decoration: underline;
}
.cookie-actions
{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cookie-consent button, .cookie-preferences-link
{
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid var(--preference-line);
    border-radius: 18px;
    background: transparent;
    color: var(--preference-text);
    font: 600 13px/1.4 'DM Sans', sans-serif;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}
.cookie-consent button[data-cookie-action="all"]
{
    background: var(--action-background);
    color: var(--action-text);
}
.cookie-consent button:hover
{
    background: var(--action-background);
    color: var(--action-text);
}
.cookie-consent :focus-visible, .cookie-preferences-link:focus-visible
{
    outline: 2px solid var(--preference-muted);
    outline-offset: 3px;
}
.cookie-option
{
    margin: 12px 0;
    padding-block: 12px;
    border-top: 1px solid var(--preference-line);
}
.cookie-option small
{
    display: block;
    color: var(--preference-muted);
    font-size: 12px;
}
.cookie-option input[type="checkbox"]
{
    position: static;
    width: 20px;
    height: 20px;
    margin: 0;
    opacity: 1;
    visibility: visible;
    clip: auto;
    flex-shrink: 0;
    accent-color: #39704e;
}
.cookie-options
{
    margin-bottom: 16px;
}
.cookie-preferences-link
{
    padding: 0;
    border: 0;
}
@media (max-width: 480px)
{
    .cookie-consent
    {
        inset-inline-start: 12px;
        bottom: 12px;
        max-width: calc(100vw - 24px);
        max-height: calc(100dvh - 24px);
        padding: 18px;
    }
}
