
/* OCS One - Cookie Consent 6.22 */

.cookie-consent-root{
    position:relative;
    z-index:10000;
}

.cookie-banner[hidden],
.cookie-modal[hidden]{
    display:none!important;
}

.cookie-banner{
    position:fixed;
    right:16px;
    bottom:16px;
    left:16px;
    z-index:10001;
    width:min(
        calc(100% - 32px),
        620px
    );
    margin:0 auto;
    padding:16px;
    background:#fff;
    border:1px solid #d0d5dd;
    border-radius:18px;
    box-shadow:
        0 20px 55px
        rgba(16,24,40,.18);
}

.cookie-banner-copy h2{
    margin:0;
    color:#101828;
    font-size:16px;
}

.cookie-banner-copy p{
    margin:7px 0 0;
    color:#667085;
    font-size:11px;
    line-height:1.55;
}

.cookie-banner-copy a{
    color:#1570ef;
    font-weight:800;
    text-decoration:none;
}

.cookie-banner-actions{
    margin-top:14px;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.cookie-action{
    min-height:40px;
    padding:0 13px;
    border:1px solid #d0d5dd;
    border-radius:11px;
    background:#fff;
    color:#344054;
    font:inherit;
    font-size:10px;
    font-weight:900;
    cursor:pointer;
}

.cookie-action.primary{
    border-color:#1570ef;
    background:#1570ef;
    color:#fff;
}

.cookie-action:hover{
    filter:brightness(.98);
}

.cookie-modal{
    position:fixed;
    inset:0;
    z-index:10002;
    display:grid;
    place-items:center;
    padding:16px;
    background:rgba(16,24,40,.48);
    backdrop-filter:blur(4px);
}

.cookie-modal-card{
    width:min(100%,560px);
    max-height:min(88vh,720px);
    overflow:auto;
    padding:19px;
    background:#fff;
    border-radius:20px;
    box-shadow:
        0 24px 70px
        rgba(16,24,40,.28);
}

.cookie-modal-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:15px;
}

.cookie-modal-head h2{
    margin:0;
    color:#101828;
    font-size:18px;
}

.cookie-modal-head p{
    margin:6px 0 0;
    color:#667085;
    font-size:10px;
    line-height:1.5;
}

.cookie-modal-close{
    width:34px;
    height:34px;
    flex:0 0 34px;
    border:0;
    border-radius:10px;
    background:#f2f4f7;
    color:#475467;
    font-size:20px;
    cursor:pointer;
}

.cookie-category{
    margin-top:14px;
    padding:14px;
    display:grid;
    grid-template-columns:
        minmax(0,1fr)
        auto;
    align-items:center;
    gap:12px;
    border:1px solid #eaecf0;
    border-radius:14px;
}

.cookie-category-copy strong{
    display:block;
    color:#101828;
    font-size:12px;
}

.cookie-category-copy p{
    margin:4px 0 0;
    color:#667085;
    font-size:10px;
    line-height:1.5;
}

.cookie-always-on{
    padding:5px 8px;
    color:#067647;
    background:#ecfdf3;
    border-radius:999px;
    font-size:9px;
    font-weight:900;
    white-space:nowrap;
}

.cookie-toggle{
    position:relative;
    width:44px;
    height:24px;
}

.cookie-toggle input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.cookie-toggle-track{
    position:absolute;
    inset:0;
    border-radius:999px;
    background:#d0d5dd;
    cursor:pointer;
    transition:.18s ease;
}

.cookie-toggle-track::after{
    content:'';
    position:absolute;
    top:3px;
    left:3px;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#fff;
    box-shadow:
        0 1px 3px
        rgba(16,24,40,.22);
    transition:.18s ease;
}

.cookie-toggle input:checked
+ .cookie-toggle-track{
    background:#1570ef;
}

.cookie-toggle input:checked
+ .cookie-toggle-track::after{
    transform:translateX(20px);
}

.cookie-toggle input:disabled
+ .cookie-toggle-track{
    opacity:.5;
    cursor:not-allowed;
}

.cookie-category-status{
    margin-top:5px;
    color:#667085;
    font-size:9px;
}

.cookie-modal-actions{
    margin-top:16px;
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:8px;
}

.cookie-modal-open{
    overflow:hidden;
}

.cookie-policy-actions{
    margin:16px 0 4px;
}

@media(max-width:600px){
    .cookie-banner{
        right:10px;
        bottom:10px;
        left:10px;
        width:calc(100% - 20px);
        padding:14px;
        border-radius:16px;
    }

    .cookie-banner-actions{
        display:grid;
        grid-template-columns:1fr 1fr;
    }

    .cookie-banner-actions
    .cookie-action.primary{
        grid-column:1/-1;
        order:-1;
    }

    .cookie-action{
        width:100%;
    }

    .cookie-modal{
        align-items:end;
        padding:0;
    }

    .cookie-modal-card{
        width:100%;
        max-height:88vh;
        border-radius:20px 20px 0 0;
    }

    .cookie-category{
        grid-template-columns:
            minmax(0,1fr)
            auto;
    }

    .cookie-modal-actions{
        display:grid;
        grid-template-columns:1fr;
    }

}
