.cc-root {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, .35);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 18px
}

.cc-root[hidden] {
    display: none!important
}

.cc-banner,
.cc-preferences {
    width: min(420px, 100%);
    background: #fff;
    color: #111;
    border-radius: 12px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .25);
    padding: 22px;
    position: relative;
    font-size: 12px;
}

.cc-banner h2,
.cc-preferences h2 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #662d91;
    font-weight: 500;
}

.cc-banner p {
    margin: 0 0 12px; color: #333;
}

.cc-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px
}

.cc-actions .action {
    min-height: 36px;
    padding: 0px 16px;
    border-radius: 6px;
    border: 1px solid #666;
    cursor: pointer
}

.cc-actions .primary {
    background: #1f5f2c;
    color: #fff;
    border-color: #1f5f2c
}

.cc-actions .secondary {
    background: #fff;
    color: #111
}

.cc-close {
    position: absolute;
    right: 12px;
    top: 8px;
    border: 0;
    background: transparent;
    font-size: 26px;
    cursor: pointer
}

.cc-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 5px 0;
    border-bottom: 1px solid #e5e5e5
}
.cc-category strong {font-weight: 500;}
.cc-category p,
.cc-category small {
    display: block;
    color: #555;
    font-size: 12px;
}
.cc-category p {margin: 0px 0 0;}
.cc-category small {margin: 0;}
.cc-always {
    font-weight: 600;
    white-space: nowrap
}

.cc-category input {
    width: 22px;
    height: 22px
}

.cc-settings-link {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 99990;
    border: 0px solid #555;
    border-radius: 5px;
    background: #eaad5f;
    color: #573a14;
    padding: 9px 15px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    font-weight: 500;
}

.cc-links a {
    text-decoration: underline
}

@media(max-width:640px) {
    .cc-root {
        padding: 10px
    }

    .cc-banner,
    .cc-preferences {
        padding: 20px 16px
    }

    .cc-actions {
        flex-direction: column
    }

    .cc-actions .action {
        width: 100%
    }

}

.cc-banner[hidden],
.cc-preferences[hidden] {
    display: none!important
}

.cc-banner,
.cc-preferences {
    max-height: calc(100dvh - 36px);
    overflow: auto
}

.cc-actions .primary,
.cc-actions .secondary {
    background: #fff;    
    border: 0px solid #555;
    font-weight: 500;
}

.cc-actions button:focus-visible,
.cc-category input:focus-visible,
.cc-links a:focus-visible {
    outline: 3px solid #1f5f2c;
    outline-offset: 3px
}

.cc-status {
    position: fixed;
    bottom: 70px;
    left: 14px;
    right: 14px;
    background: #fff;
    color: #111;
    padding: 12px;
    z-index: 1000000;
    border: 2px solid #555
}


.cc-actions .primary {
    color: #111;
    background: linear-gradient(to bottom, rgba(167, 229, 79, 1) 0%, rgba(142, 198, 64, 1) 100%);
}
.cc-actions .secondary { color: #fff; background: linear-gradient(to bottom, #8F51BE 0%, #662D91 100%);}