#cc-backdrop{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    backdrop-filter:blur(3px);
    z-index:99998;
}

#cc-modal{
    position:fixed;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:560px;
    max-width:calc(100% - 24px);
    background:#fff;
    box-shadow:0 25px 70px rgba(0,0,0,.28);
    z-index:99999;
    overflow:hidden;
    animation:ccFadeIn .25s ease;
    font-family:'Lato',sans-serif;
}

@keyframes ccFadeIn{
    from{
        opacity:0;
        transform:translate(-50%,-48%);
    }
    to{
        opacity:1;
        transform:translate(-50%,-50%);
    }
}

#cc-modal *{
    box-sizing:border-box;
}

#cc-modal .cc-header{
    padding:24px 24px 14px;
    border-bottom:1px solid #ececec;
}

#cc-modal .cc-header h2{
    margin:0 0 10px;
    font-size:24px;
    color:#222;
    font-weight:700;
}

#cc-modal .cc-header p{
    margin:0;
    color:#666;
    line-height:1.6;
    font-size:14px;
}

#cc-modal .cc-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:20px 24px;
}

#cc-modal .cc-btn{
    width:100%;
    height:46px;
    border:none;
    cursor:pointer;
    font-size:15px;
    font-weight:700;
    transition:.2s;
}

#cc-modal .cc-btn-green{
    background:#0057a6;
    color:#fff;
}

#cc-modal .cc-btn-green:hover{
    background:#00478a;
}

#cc-modal .cc-btn-white{
    background:#fff;
    color:#333;
    border:1px solid #d6d6d6;
}

#cc-modal .cc-btn-white:hover{
    background:#f8f8f8;
}

#cc-modal .cc-btn-link{
    background:none;
    color:#006ecb;
    border:none;
}

#cc-modal .cc-btn-link:hover{
    text-decoration:underline;
}

#cc-settings{
    display:none;
    border-top:1px solid #ececec;
    padding:20px 24px;
}

#cc-modal .cc-category{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:14px 0;
    border-bottom:1px solid #ececec;
}

#cc-modal .cc-category:last-of-type{
    border-bottom:none;
}

#cc-modal .cc-category-text{
    flex:1;
}

#cc-modal .cc-category-text h3{
    margin:0 0 5px;
    font-size:16px;
    color:#222;
    font-weight:700;
}

#cc-modal .cc-category-text p{
    margin:0;
    color:#666;
    line-height:1.5;
    font-size:13px;
}

#cc-modal .cc-save{
    margin-top:20px;
}

#cc-modal .cc-switch{
    position:relative;
    width:48px;
    height:26px;
    flex-shrink:0;
}

#cc-modal .cc-switch input{
    display:none;
}

#cc-modal .cc-slider{
    position:absolute;
    inset:0;
    background:#d5d5d5;
    border-radius:30px;
    transition:.25s;
}

#cc-modal .cc-slider:before{
    content:"";
    position:absolute;
    left:3px;
    top:3px;
    width:20px;
    height:20px;
    background:#fff;
    border-radius:50%;
    transition:.25s;
    box-shadow:0 2px 6px rgba(0,0,0,.15);
}

#cc-modal .cc-switch input:checked + .cc-slider{
    background:#006ecb;
}

#cc-modal .cc-switch input:checked + .cc-slider:before{
    transform:translateX(22px);
}

#cc-modal .cc-footer{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    padding:18px;
    border-top:1px solid #ececec;
    font-size:13px;
}

#cc-modal .cc-footer a{
    color:#006ecb;
    text-decoration:none;
}

#cc-modal .cc-footer a:hover{
    text-decoration:underline;
}

@media(max-width:768px){

    #cc-modal{
        width:95%;
        max-height:92vh;
        overflow:auto;
    }

    #cc-modal .cc-header{
        padding:20px;
    }

    #cc-modal .cc-actions{
        padding:18px 20px;
    }

    #cc-settings{
        padding:18px 20px;
    }

    #cc-modal .cc-category{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }

    #cc-modal .cc-header h2{
        font-size:21px;
    }

}

#cc-open{
    position:fixed;
    left:20px;
    bottom:20px;
    width:52px;
    height:52px;
    background:#006ecb;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:99990;
    box-shadow:0 8px 25px rgba(0,0,0,.25);
    font-size:24px;
    transition:.2s;
}

#cc-open:hover{
    transform:scale(1.08);
}

#cc-modal .cc-header p{
    margin:0;
    color:#666;
    line-height:1.6;
    font-size:14px;
    text-align:justify;
}