.dok-analytics-consent {
    position: fixed;
    z-index: 2147483000;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    /* DOK-913 — the banner grows a third button when a Google Ads conversion id is configured, and
       three labels do not fit one row at this max-width. Wrapping changes nothing in the two-button
       case, which is every environment today, and is the difference between a banner that reflows
       and one that runs off the side of the viewport. */
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    max-width: min(42rem, calc(100vw - 2rem));
    padding: 1rem 1.25rem;
    color: #172033;
    background: #fff;
    border: 1px solid #d8deea;
    border-radius: .75rem;
    box-shadow: 0 .75rem 2rem rgb(23 32 51 / 18%);
}

.dok-analytics-consent p {
    margin: .25rem 0 0;
    font-size: .875rem;
    line-height: 1.4;
}

.dok-analytics-consent__actions {
    display: flex;
    /* Was flex-shrink: 0. With a third, longer label that pinned the row wider than the banner
       instead of letting it move to its own line. */
    flex-wrap: wrap;
    gap: .5rem;
}

.dok-analytics-consent__button,
.dok-analytics-consent__manage {
    padding: .5rem .75rem;
    color: inherit;
    font: inherit;
    cursor: pointer;
    background: #fff;
    border: 1px solid #aeb9cc;
    border-radius: .4rem;
}

.dok-analytics-consent__button--primary {
    color: #fff;
    background: #2563eb;
    border-color: #2563eb;
}

.dok-analytics-consent__manage {
    position: fixed;
    z-index: 2147483000;
    right: 1rem;
    bottom: 1rem;
    font-size: .75rem;
    box-shadow: 0 .25rem .75rem rgb(23 32 51 / 12%);
}

@media (max-width: 640px) {
    .dok-analytics-consent {
        display: block;
    }

    .dok-analytics-consent__actions {
        margin-top: .75rem;
    }
}
