#matomo-opt-out {
    position: fixed;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .04), 0 20px 48px rgba(15, 23, 42, .18);
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    height: auto;
    left: 20px;
    letter-spacing: normal;
    line-height: normal;
    max-height: calc(100% - 16px);
    overflow: auto;
    text-align: initial;
    bottom: 20px;
    transition: opacity .35s ease;
    opacity: 0;
    display: none;
    width: calc(100% - 40px);
    max-width: 480px;
    z-index: 2147483630;
    padding: 24px 28px;
    -webkit-font-smoothing: antialiased;
}

#matomo-opt-out p {
    margin: 0 0 20px 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
    padding: 0;
}

#matomo-opt-out p:last-of-type {
    margin-bottom: 20px;
}

#matomo-opt-out a {
    color: var(--primary-color, #212529);
    text-decoration: underline;
    text-underline-offset: 2px;
}

#matomo-opt-out .matomo-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    width: 100%;
}

/* Both choices have the same size and weight, so neither is pushed */
#matomo-opt-out button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    font-family: inherit;
    font-weight: 600;
    background-color: var(--primary-color, #212529);
    color: #fff;
    line-height: 1.4;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid var(--primary-color, #212529);
    padding: 10px 22px;
    border-radius: 999px;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .1s ease;
}

#matomo-opt-out button:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, .18);
}

#matomo-opt-out button:active {
    transform: translateY(1px);
}

#matomo-opt-out button.cookie-no-content-button {
    color: var(--primary-color, #212529);
    background-color: transparent;
    border-color: #d1d5db;
}

#matomo-opt-out button.cookie-no-content-button:hover {
    background-color: #f3f4f6;
    box-shadow: none;
}

#matomo-opt-out button:focus-visible {
    outline: 2px solid var(--primary-color, #212529);
    outline-offset: 2px;
}

@media (max-width: 575px) {
    #matomo-opt-out {
        bottom: 12px;
        left: 12px;
        width: calc(100% - 24px);
        padding: 20px;
        border-radius: 14px;
    }

    #matomo-opt-out .matomo-buttons {
        flex-direction: column-reverse;
    }

    #matomo-opt-out button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #matomo-opt-out,
    #matomo-opt-out button {
        transition: none;
    }
}
