#cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: #fff;
    border-top: 2px solid #1f5d98;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.12);
    font-family: Arial, sans-serif;
}
.cb-inner { max-width: 960px; margin: 0 auto; padding: 18px 24px; }
.cb-simple-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cb-text { flex: 1 1 340px; font-size: 13.5px; color: #333; line-height: 1.55; }
.cb-text a { color: #f97316; }
.cb-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-btn { padding: 9px 18px; border: none; border-radius: 6px; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .18s; white-space: nowrap; }
.cb-btn-accept { background: #1f5d98; color: #fff; }
.cb-btn-accept:hover { background: #174a7a; }
.cb-btn-reject { background: #f1f5f9; color: #333; border: 1px solid #ddd; }
.cb-btn-reject:hover { background: #e2e8f0; }
.cb-btn-config { background: transparent; color: #f97316; border: 1.5px solid #f97316; }
.cb-btn-config:hover { background: #fff3eb; }
.cb-btn-save { background: #f97316; color: #fff; }
.cb-btn-save:hover { background: #e8640d; }
.cb-advanced { display: none; }
.cb-advanced.visible { display: block; }
.cb-simple.hidden-panel { display: none; }
.cb-adv-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.cb-adv-title { font-size: 15px; font-weight: 600; color: #1f5d98; }
.cb-adv-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cb-categories { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.cb-cat { display: flex; align-items: flex-start; gap: 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px 14px; }
.cb-cat-info { flex: 1; }
.cb-cat-name { font-size: 13.5px; font-weight: 600; color: #1e293b; margin-bottom: 3px; display: flex; align-items: center; gap: 7px; }
.cb-badge { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 20px; text-transform: uppercase; }
.cb-badge-required { background: #dcfce7; color: #166534; }
.cb-badge-optional  { background: #fff3eb; color: #9a3412; }
.cb-cat-desc { font-size: 12px; color: #64748b; line-height: 1.5; }
.cb-toggle input { display: none; }
.cb-toggle label { display: block; width: 42px; height: 24px; background: #cbd5e1; border-radius: 99px; position: relative; cursor: pointer; transition: background .2s; margin-top: 2px; }
.cb-toggle label::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: left .2s; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.cb-toggle input:checked + label { background: #1f5d98; }
.cb-toggle input:checked + label::after { left: 21px; }
.cb-toggle input:disabled + label { opacity: .5; cursor: not-allowed; }
#cb-status { display: none; position: fixed; bottom: 24px; right: 24px; background: #1e293b; color: #fff; font-size: 13px; padding: 10px 18px; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.2); z-index: 10000; }
@media (max-width: 600px) {
    .cb-simple-row { flex-direction: column; align-items: flex-start; }
    .cb-actions { width: 100%; }
    .cb-btn { flex: 1; text-align: center; }
}