.cookie-consent-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    width: min(640px, calc(100vw - 24px));
    background: var(--white--white100, #FFF);
    border-radius: 16px;
    padding: 16px 24px 24px;
    display: none;
}

.cookie-consent-modal.is-open {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-consent-modal h2 {
    /* margin: 0 0 24px; */
    color: var(--black--black10, #222324);
    font-family: Inter;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
}

.cookie-consent-modal h3 {
    font-size: 24px;
    font-weight: 600;
}

.cookie-consent-modal p {
    font-size: 16px;
}

.cookie-consent-modal a {
    color: #1162d9;
    text-decoration: underline;
}

.cookie-consent-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #7f8287;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.cookie-consent-modal--compact {
    width: min(500px, calc(100vw - 20px));
    border-radius: 16px;
}

.cookie-consent-modal--compact h2 {
    color: var(--black-black10, #222324);
    text-align: center;
    font-size: 24px;
    font-weight: 600;
}

.cookie-consent-modal--compact p {
    color: var(--black-black40, #666);
    font-size: 16px;
    font-weight: 400;
}

.cookie-consent-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.btn-cookie-secondary,
.btn-cookie-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    padding: 12px 20px;
    font-family: Inter;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid #d5d5d5;
    cursor: pointer;
    flex: 1;
}

.btn-cookie-secondary {
    background: #ececec;
    color: #222324;
}

.btn-cookie-primary {
    background: #1162d9;
    color: #fff;
    border-color: #1162d9;
}

.cookie-consent-modal--settings {
    width: min(900px, calc(100vw - 20px));
    color: var(--black--black10, #222324);
}

.cookie-consent-modal--settings h2 {
    margin-top: 24px;
    font-size: 24px;
    font-weight: 600;
}

.cookie-consent-scroll {
    max-height: 62vh;
    overflow-y: auto;
    padding-right: 8px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cookie-consent-scroll__about, .cookie-consent-scroll__options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-consent-scroll__options-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cookie-consent-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cookie-consent-note {
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    gap: 8px;
    border-radius: 8px;
    background: var(--red--red95, #FCF2F2);
    padding: 16px;
}

.cookie-consent-note-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.cookie-consent-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px !important;
    font-weight: 500 !important;
    margin: 0 !important;
}
.cookie-consent-checkbox::before {
   font-size: 20px !important;
}

.cookie-consent-checkbox input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.cookie-consent-checkbox--disabled {
    opacity: .75;
}

.cookie-consent-scroll__options-content-note {
    color: var(--black--black40, #666);
    padding-left: 26px;
}

.btn-cookie-save {
    margin-top: 18px;
    width: 100%;
    flex: none;
}

@media only screen and (max-width: 1199px) {
    .cookie-consent-modal {
        width: calc(100vw - 16px);
        padding: 16px;
        border-radius: 12px;
    }

    .cookie-consent-modal h2 {
        font-size: 26px;
    }

    .cookie-consent-modal h3 {
        font-size: 24px;
    }

    .cookie-consent-modal p {
        font-size: 14px;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .btn-cookie-secondary,
    .btn-cookie-primary {
        font-size: 18px;
        padding: 10px 14px;
    }

    .cookie-consent-scroll {
        max-height: 58vh;
    }

    .cookie-consent-checkbox {
        font-size: 16px;
    }
}
