:root{
    --epc-primary:#1e73be;
    --epc-black:#000000;
    --epc-gray:#555555;
}
#epc-cookie-banner{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:999999;
    background:var(--epc-black);
    color:#fff;
    font-family:Arial, Helvetica, sans-serif;
    box-shadow:0 -2px 10px rgba(0,0,0,.3);
    display:none;
}
#epc-cookie-banner.epc-visible{ display:block; }
.epc-container{
    max-width:1170px;
    margin:0 auto;
    padding:20px 20px;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}
.epc-text{
    flex:1 1 600px;
    font-size:14px;
    line-height:1.5;
    color:#f2f2f2;
    margin:0;
}
.epc-text a{
    color:#7fb5e6;
    text-decoration:underline;
}
.epc-buttons{
    flex:0 0 auto;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}
.epc-btn{
    cursor:pointer;
    border:2px solid transparent;
    border-radius:4px;
    padding:10px 18px;
    font-size:14px;
    font-weight:bold;
    line-height:1;
    transition:opacity .2s ease;
}
.epc-btn:hover{ opacity:.85; }
.epc-btn-accept{
    background:var(--epc-primary);
    color:#fff;
}
.epc-btn-reject{
    background:transparent;
    color:#fff;
    border-color:var(--epc-gray);
}
.epc-btn-config{
    background:transparent;
    color:#fff;
    border-color:#fff;
}
#epc-cookie-modal-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.6);
    z-index:1000000;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}
#epc-cookie-modal-overlay.epc-visible{ display:flex; }
#epc-cookie-modal{
    background:#fff;
    color:var(--epc-black);
    max-width:600px;
    width:100%;
    max-height:85vh;
    overflow-y:auto;
    border-radius:6px;
    padding:30px;
    font-family:Arial, Helvetica, sans-serif;
}
#epc-cookie-modal h2{
    margin-top:0;
    font-size:20px;
    color:var(--epc-black);
}
#epc-cookie-modal p{
    font-size:14px;
    color:var(--epc-gray);
    line-height:1.5;
}
.epc-category{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:15px;
    padding:15px 0;
    border-bottom:1px solid #eee;
}
.epc-category:last-of-type{ border-bottom:none; }
.epc-category-info h3{
    margin:0 0 5px;
    font-size:15px;
    color:var(--epc-black);
}
.epc-category-info p{
    margin:0;
    font-size:13px;
}
.epc-switch{
    position:relative;
    display:inline-block;
    width:46px;
    height:24px;
    flex-shrink:0;
}
.epc-switch input{ opacity:0; width:0; height:0; }
.epc-slider{
    position:absolute;
    cursor:pointer;
    inset:0;
    background:#ccc;
    border-radius:24px;
    transition:.2s;
}
.epc-slider:before{
    content:"";
    position:absolute;
    height:18px;
    width:18px;
    left:3px;
    bottom:3px;
    background:#fff;
    border-radius:50%;
    transition:.2s;
}
.epc-switch input:checked + .epc-slider{ background:var(--epc-primary); }
.epc-switch input:checked + .epc-slider:before{ transform:translateX(22px); }
.epc-switch input:disabled + .epc-slider{ background:var(--epc-primary); opacity:.5; cursor:not-allowed; }
.epc-modal-buttons{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin-top:20px;
    flex-wrap:wrap;
}
@media (max-width:600px){
    .epc-container{ flex-direction:column; align-items:stretch; }
    .epc-buttons{ justify-content:stretch; }
    .epc-btn{ flex:1; text-align:center; }
}