.askora-cookie-core {
    box-sizing: border-box;
    max-width: 920px;
    margin: 24px auto;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    background: #fff;
}

.askora-cookie-core *,
.askora-cookie-core *::before,
.askora-cookie-core *::after {
    box-sizing: border-box;
}

.askora-cookie-core h2,
.askora-cookie-core h3 {
    margin-top: 0;
}

.askora-cookie-policy__section,
.askora-cookie-preferences__category,
.askora-cookie-preferences__language {
    margin-top: 18px;
}

.askora-cookie-preferences__category {
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.askora-cookie-preferences__category label {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 600;
}

.askora-cookie-preferences__category p {
    margin-bottom: 0;
}

.askora-cookie-preferences__category small {
    display: block;
    margin-top: 8px;
    opacity: 0.75;
}

.askora-cookie-preferences__language label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.askora-cookie-preferences__language select {
    min-width: 160px;
    padding: 8px 10px;
}

.askora-cookie-preferences__save {
    margin-top: 20px;
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.askora-cookie-preferences__status {
    margin-top: 12px;
    font-weight: 600;
}

.askora-cookie-notice {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 99998;
    max-width: 980px;
    margin: 0 auto;
    font-size: 15px;
}

.askora-cookie-notice[hidden],
.askora-cookie-notice__settings[hidden] {
    display: none !important;
}

.askora-cookie-notice__bar,
.askora-cookie-notice__settings {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.askora-cookie-notice__bar {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
}

.askora-cookie-notice__text p {
    margin: 4px 0 0;
}

.askora-cookie-notice__actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.askora-cookie-notice__button,
.askora-cookie-notice__close {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.askora-cookie-notice__button {
    padding: 10px 14px;
}

.askora-cookie-notice__button--primary {
    font-weight: 700;
}

.askora-cookie-notice__close {
    width: 34px;
    height: 34px;
    font-size: 22px;
    line-height: 1;
    background: transparent;
}

.askora-cookie-notice__settings {
    margin-top: 10px;
    max-height: min(70vh, 620px);
    overflow: auto;
}

.askora-cookie-preferences--compact {
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 18px;
    box-shadow: none;
}

.askora-cookie-preferences--compact h2 {
    font-size: 20px;
}

@media (max-width: 720px) {
    .askora-cookie-notice {
        right: 10px;
        bottom: 10px;
        left: 10px;
        font-size: 14px;
    }

    .askora-cookie-notice__bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .askora-cookie-notice__actions {
        width: 100%;
        flex-wrap: wrap;
    }
}
