.rk-cookie-banner[hidden] { display: none; }
.rk-cookie-banner {
    position: fixed;
    z-index: 1000;
    inset: auto 16px 16px;
    max-width: 1050px;
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    padding: 18px 22px;
    border: 1px solid #d6e2f4;
    border-radius: 16px;
    background: #fff;
    color: #142e60;
    box-shadow: 0 12px 34px #071f5026;
}
.rk-cookie-banner > div:first-child { flex: 1 1 360px; }
.rk-cookie-banner h2 { margin: 0 0 5px; font-size: 1rem; }
.rk-cookie-banner p { margin: 0; font-size: .875rem; line-height: 1.5; }
.rk-cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rk-cookie-actions button {
    border: 1px solid #1760e9;
    border-radius: 9px;
    background: #fff;
    color: #1248ae;
    padding: 10px 13px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.rk-cookie-settings {
    border: 0;
    background: transparent;
    color: #1248ae;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
    padding: 4px;
}

.rk-cookie-banner {
    max-height: calc(100dvh - 32px);
    overflow: auto;
    box-sizing: border-box;
}
.rk-cookie-categories {
    flex: 1 1 100%;
    min-width: 0;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid #d6e2f4;
    border-radius: 9px;
}
.rk-cookie-categories legend { padding-inline: 4px; font-weight: 700; }
.rk-cookie-categories label { display: block; margin-top: 8px; font-size: .875rem; }
.rk-cookie-categories input { accent-color: #1248ae; }
.rk-cookie-actions [data-choice="save"] { background: #1248ae; color: #fff; }
.rk-cookie-banner [hidden] { display: none; }

@media (max-width: 640px) {
    .rk-cookie-actions {
        flex: 1 1 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }
    .rk-cookie-actions > button {
        min-height: 44px;
        margin: 0;
    }
}
