#pcc-banner {
    position: fixed;
    bottom: 20px;
    left: 100px;
    width: 280px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,.15);
    border: 1px solid #e5e7eb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    z-index: 999999;
    overflow: hidden;
}

#pcc-banner.pcc-bottom-bar {
    bottom: 0; right: 0; left: 0; width: 100%;
    border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px; padding: 16px 24px;
}
#pcc-banner.pcc-modal {
    top: 50%; left: 50%; right: auto; bottom: auto;
    transform: translate(-50%, -50%);
    width: 480px; max-width: 90vw;
}

.pcc-compact { padding: 16px; }

.pcc-headline { font-weight: 700; font-size: 14px; margin: 0 0 6px; color: #111; }
.pcc-body     { font-size: 12px; color: #555; margin: 0 0 12px; }

.pcc-expanded { padding: 14px 16px 12px; }

.pcc-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.pcc-btn {
    flex: 1; min-width: 80px;
    padding: 8px 12px; border-radius: 6px;
    font-size: 12px; font-weight: 600; cursor: pointer;
    border: 1px solid transparent; transition: opacity .15s;
    text-align: center; display: inline-flex; align-items: center; justify-content: center;
}
.pcc-btn:hover { opacity: .85; }

#pcc-banner .pcc-btn-primary   { background: var(--pcc-primary, #111); color: #fff; border-color: var(--pcc-primary, #111); }
#pcc-banner .pcc-btn-secondary { background: #fff; color: #111; border-color: #ddd; }

.pcc-manage-link {
    display: block; width: 100%; margin-top: 8px;
    background: none; border: none; font-size: 11px;
    color: var(--pcc-primary, #4f46e5); cursor: pointer;
    text-align: center; text-decoration: underline; padding: 0;
}

.pcc-categories { display: flex; flex-direction: column; gap: 0; margin-bottom: 12px; }

.pcc-category {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 0; border-bottom: 1px solid #f3f4f6;
}
.pcc-category:last-child { border-bottom: none; }

.pcc-category-info { flex: 1; padding-right: 12px; }
.pcc-category-info strong { display: block; font-size: 12px; color: #111; }
.pcc-category-info span   { display: block; font-size: 10px; color: #888; }

.pcc-always-on {
    font-size: 10px; color: #065f46; font-weight: 600;
    background: #d1fae5; padding: 2px 8px; border-radius: 99px; white-space: nowrap;
}

.pcc-toggle { position: relative; display: inline-block; width: 36px; height: 20px; flex-shrink: 0; }
.pcc-toggle-input { opacity: 0; width: 0; height: 0; position: absolute; }

.pcc-toggle-slider {
    position: absolute; cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #ccc; border-radius: 20px; transition: background .2s;
}
.pcc-toggle-input:checked + .pcc-toggle-slider { background: var(--pcc-primary, #111); }

.pcc-toggle-slider::before {
    content: ''; position: absolute;
    width: 14px; height: 14px; background: #fff;
    border-radius: 50%; left: 3px; top: 3px; transition: transform .2s;
}
.pcc-toggle-input:checked + .pcc-toggle-slider::before { transform: translateX(16px); }

.pcc-policy-link {
    display: block; text-align: center; font-size: 10px;
    color: #888; margin-top: 8px; text-decoration: none;
}
.pcc-policy-link:hover { text-decoration: underline; }

#pcc-reopen {
    position: fixed; bottom: 20px; left: 20px;
    background: var(--pcc-primary, #111); border: none; border-radius: 50%;
    width: 44px; height: 44px; cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.25); z-index: 999998;
    display: flex; align-items: center; justify-content: center; padding: 0;
    color: var(--pcc-icon-colour, #fff);
}
#pcc-reopen:hover { box-shadow: 0 4px 12px rgba(0,0,0,.35); }
#pcc-reopen svg { display: block; width: 22px; height: 22px; }

/* Size variants */
#pcc-reopen.pcc-reopen--small              { width: 32px; height: 32px; }
#pcc-reopen.pcc-reopen--small svg          { width: 16px; height: 16px; }
#pcc-reopen.pcc-reopen--medium             { width: 44px; height: 44px; }
#pcc-reopen.pcc-reopen--medium svg         { width: 22px; height: 22px; }
#pcc-reopen.pcc-reopen--large              { width: 56px; height: 56px; }
#pcc-reopen.pcc-reopen--large svg          { width: 28px; height: 28px; }

@media (max-width: 480px) {
    #pcc-banner {
        bottom: 0; right: 0; left: 0; width: 100%;
        border-radius: 10px 10px 0 0;
    }
}
