
#mcpol-cookie-banner[hidden] { display: none !important; }

#mcpol-cookie-banner{
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(720px, calc(100vw - 24px));
    background: #fff8f2;
    color: #2b2b2b;
    border: 1px solid #e0d4c5;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 22px 24px;
    text-align: center;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    z-index: 10000;
}

#mcpol-cookie-banner p { margin: 0; }
#mcpol-cookie-banner a { color: #2a5a8a; text-decoration: underline; }
#mcpol-cookie-banner a:hover { color: #173d60; }

.mcpol-buttons{
    margin-top: 14px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.mcpol-buttons button{
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: transform .12s ease, filter .2s ease;
}

.mcpol-buttons button:hover{ transform: translateY(-1px); filter: brightness(0.98); }

#mcpol-accept-all, #mcpol-accept-all-2 { background:#2a5a8a; color:#fff; }
#mcpol-reject-all, #mcpol-reject-all-2 { background:#d0d0d0; color:#222; }
#mcpol-settings { background:#f1f1f1; color:#222; border:1px solid #e4e4e4; }

#mcpol-modal[hidden] { display:none !important; }
.mcpol-modal{
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.45);
    display: grid; place-items: center;
    z-index: 10001;
}

.mcpol-modal-content{
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    padding: 18px 18px 16px;
    width: min(460px, calc(100vw - 24px));
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.mcpol-modal-header{
    display:flex; align-items:center; justify-content:space-between;
    gap: 10px; margin-bottom: 10px;
}
.mcpol-modal-header h3{ margin: 0; font-size: 18px; }
.mcpol-close{ border:none; background:transparent; font-size: 24px; cursor:pointer; line-height:1; }

.mcpol-opt{
    display:flex; align-items:center; justify-content:space-between; gap: 12px;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
    margin-top: 10px;
}
.mcpol-muted{ font-size: 13px; color: #555; margin-top: 2px; }

.mcpol-switch{ position: relative; width: 52px; height: 28px; display:inline-block; }
.mcpol-switch input{ display:none; }
.mcpol-switch span{
    position:absolute; inset:0;
    background:#ccc; border-radius:999px;
    transition: .2s;
}
.mcpol-switch span:before{
    content:"";
    position:absolute; width:22px; height:22px;
    left:3px; top:3px;
    background:#fff; border-radius:50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    transition: .2s;
}
.mcpol-switch input:checked + span{ background:#2a5a8a; }
.mcpol-switch input:checked + span:before{ transform: translateX(24px); }

.mcpol-modal-buttons{
    display:flex; flex-direction:column; gap:10px;
    margin-top: 14px;
}
.mcpol-modal-buttons button{
    width:100%;
    padding: 10px 14px;
    border-radius: 999px;
    border:none;
    cursor:pointer;
    font-weight: 700;
}
#mcpol-save{ background:#2a5a8a; color:#fff; }

.mcpol-settings-link{
    background: transparent;
    border: none;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
}
