/* ===========================
   Simple Cookie Consent
=========================== */

:root{
    --scc-primary:#2e7d32;
    --scc-primary-hover:#256628;
    --scc-bg:#ffffff;
    --scc-text:#333;
    --scc-border:#e5e5e5;
    --scc-shadow:0 10px 35px rgba(0,0,0,.18);
    --scc-radius:12px;
}

.scc-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:99998;
}

.scc-banner{
    position:fixed;
    left:20px;
    right:20px;
    bottom:20px;
    max-width:1200px;
    margin:auto;
    background:var(--scc-bg);
    color:var(--scc-text);
    border-radius:var(--scc-radius);
    box-shadow:var(--scc-shadow);
    border:1px solid var(--scc-border);
    z-index:99999;
    animation:sccSlide .35s ease;
}

@keyframes sccSlide{

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.scc-container{

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
    padding:28px;

}

.scc-content{

    flex:1;

}

.scc-title{

    margin:0 0 12px;
    font-size:26px;
    font-weight:700;
    line-height:1.2;

}

.scc-message{

    font-size:15px;
    line-height:1.7;

}

.scc-message p{

    margin:0 0 10px;

}

.scc-policy{

    margin-top:15px;

}

.scc-policy a{

    color:var(--scc-primary);
    text-decoration:none;
    font-weight:600;

}

.scc-policy a:hover{

    text-decoration:underline;

}

.scc-buttons{

    width:320px;
    display:flex;
    flex-direction:column;
    gap:12px;

}

.scc-btn{

    appearance:none;
    border:none;
    cursor:pointer;
    padding:14px 18px;
    border-radius:10px;
    font-size:15px;
    font-weight:600;
    transition:.25s;

}

.scc-btn-primary{

    background:var(--scc-primary);
    color:#fff;

}

.scc-btn-primary:hover{

    background:var(--scc-primary-hover);

}

.scc-btn-secondary{

    background:#f5f5f5;
    color:#333;
    border:1px solid #ddd;

}

.scc-btn-secondary:hover{

    background:#ececec;

}

.scc-btn-outline{

    background:#fff;
    border:2px solid var(--scc-primary);
    color:var(--scc-primary);

}

.scc-btn-outline:hover{

    background:#f2faf2;

}


/* ===========================
   MODAL
=========================== */

#scc-modal{

    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:100000;

}

.scc-modal{

    width:650px;
    max-width:95%;
    background:#fff;
    border-radius:12px;
    box-shadow:0 15px 45px rgba(0,0,0,.2);
    padding:35px;

}

.scc-modal h2{

    margin-top:0;

}

.scc-option{

    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
    border-bottom:1px solid #eee;

}

.scc-option:last-child{

    border-bottom:none;

}

.scc-option strong{

    display:block;
    margin-bottom:6px;

}

.scc-option p{

    margin:0;
    color:#666;
    font-size:14px;

}

.scc-modal-buttons{

    margin-top:30px;
    display:flex;
    justify-content:flex-end;
    gap:10px;

}


/* ===========================
   FOOTER LINK
=========================== */

.scc-manage-link{

    cursor:pointer;
    color:var(--scc-primary);
    text-decoration:underline;

}


/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:900px){

    .scc-banner{

        left:10px;
        right:10px;
        bottom:10px;

    }

    .scc-container{

        flex-direction:column;
        align-items:flex-start;
        gap:25px;
        padding:22px;

    }

    .scc-buttons{

        width:100%;

    }

    .scc-btn{

        width:100%;

    }

    .scc-title{

        font-size:22px;

    }

}

@media(max-width:480px){

    .scc-banner{

        border-radius:8px;

    }

    .scc-container{

        padding:18px;

    }

    .scc-title{

        font-size:20px;

    }

    .scc-message{

        font-size:14px;

    }

}