
.hidden {
    display: none !important;
}

.aviv-consent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.38);
    backdrop-filter: blur(2px);
    z-index: 99990;
}

.aviv-consent-box,
.aviv-push-box {
    position: fixed;
    right: 28px;
    bottom: 26px;
    width: 480px;
    max-width: calc(100vw - 40px);
    background: #fff;
/*    border-radius: 14px; */
    padding: 24px;
    box-shadow: 0 18px 55px rgba(0,0,0,.22);
    z-index: 99991;
    animation: avivConsentIn .28s ease;
}

.aviv-consent-logo {
    margin-bottom: 18px;
}

.aviv-consent-logo img {
    display: block;
    width: 100px;
    height: auto;
    filter: invert(1);
}

.aviv-consent-close {
    position: absolute;
    right: 18px;
    top: 15px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 30px;
    line-height: 28px;
    cursor: pointer;
}

.aviv-consent-title {
    color: #111;
    font-size: 19px;
    font-weight: 800;
        line-height: 1.25;
	 gap: 10px;
    padding: 16px 0;
    margin-bottom: 16px;
}

.aviv-consent-text {
    color: #555;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.aviv-consent-cats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    padding: 18px 0;
    margin-bottom: 18px;
    border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
}

.aviv-consent-cat {
    text-align: center;
}

.aviv-consent-cat b {
    display: block;
    color: #111;
    font-size: 12px;
    font-weight: 800;
    margin-top: 8px;
}

.aviv-consent-cat small {
    display: block;
    color: #777;
    font-size: 11px;
    margin-top: 3px;
}

.aviv-consent-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    background: #f1f1f1;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
}

.aviv-consent-cat.active .aviv-consent-icon {
    color: #fff;
    background: #c81526;
}

.aviv-consent-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.aviv-consent-btn {
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: .2s;
}

.aviv-consent-btn-dark {
    color: #fff;
    background: #111;
}

.aviv-consent-btn-dark:hover {
    background: #333;
}

.aviv-consent-btn-light {
    color: #111;
    background: #f0f0f0;
}

.aviv-consent-btn-light:hover {
    background: #e3e3e3;
}

.aviv-consent-btn-red {
    color: #fff;
    background: #c81526;
}

.aviv-consent-btn-red:hover {
    background: #a90f1d;
}

.aviv-consent-note {
        color: #777;
    font-size: xx-small;
    line-height: 1.5;
    margin-top: 16px;
    text-align: center;
}

.aviv-consent-note a {
    color: #c81526;
    text-decoration: none;
}

.aviv-consent-modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99995;
}

.aviv-consent-modal-inner {
    position: relative;
    width: 600px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 50px);
    overflow-y: auto;
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 22px 65px rgba(0,0,0,.3);
    animation: avivConsentIn .28s ease;
}

.aviv-consent-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    padding: 16px 0;
    border-bottom: 1px solid #ededed;
}

.aviv-consent-row b {
    display: block;
    color: #111;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 5px;
}

.aviv-consent-row span {
    display: block;
    color: #666;
    font-size: 13px;
    line-height: 1.55;
}

.aviv-consent-row strong {
    color: #c81526;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.aviv-consent-switch {
    position: relative;
    width: 50px;
    height: 28px;
    display: inline-block;
    flex: 0 0 50px;
}

.aviv-consent-switch input {
    display: none;
}

.aviv-consent-switch span {
    position: absolute;
    inset: 0;
    background: #d0d0d0;
    border-radius: 40px;
    cursor: pointer;
    transition: .25s;
}

.aviv-consent-switch span:before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    transition: .25s;
}

.aviv-consent-switch input:checked + span {
    background: #c81526;
}

.aviv-consent-switch input:checked + span:before {
    transform: translateX(22px);
}

.aviv-consent-providers {
    color: #777;
    font-size: 12px;
    padding: 15px 0 4px;
}

.aviv-push-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: #f9e8eb;
    border-radius: 50%;
    font-size: 23px;
}

@keyframes avivConsentIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width: 768px) {
    .aviv-consent-box,
    .aviv-push-box {
         left: 14px;
        right: 14px;
        bottom: 14px;
        width: auto;
        padding: 18px;
    }

    .aviv-consent-cats {
        grid-template-columns: repeat(2,1fr);
    }

    .aviv-consent-btn {
        width: 100%;
    }

    .aviv-consent-modal-inner {
        width: auto;
        max-width: calc(100vw - 24px);
        padding: 24px;
    }

    .aviv-consent-row {
        align-items: flex-start;
    }
}