:root {
    --pcc-primary: #A680FE;
}

.pcc-banner {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999999;
    background: #1c1330;
    color: #ffffff;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.pcc-banner[hidden] {
    display: none;
}

.pcc-position-bottom {
    bottom: 0;
}

.pcc-position-top {
    top: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.pcc-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}

.pcc-text {
    flex: 1 1 320px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.pcc-text a {
    color: var(--pcc-primary);
    text-decoration: underline;
}

.pcc-categories {
    flex-basis: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 0.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.pcc-categories[hidden] {
    display: none;
}

.pcc-category {
    flex: 1 1 240px;
}

.pcc-details {
    flex-basis: 100%;
    font-size: 0.8rem;
}

.pcc-details summary {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.75);
}

.pcc-cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.75rem;
    font-size: 0.78rem;
}

.pcc-cookie-table th,
.pcc-cookie-table td {
    text-align: left;
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pcc-cookie-table th {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.pcc-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.pcc-toggle input[disabled] {
    opacity: 0.6;
}

.pcc-category-desc {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

.pcc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-left: auto;
}

.pcc-btn {
    border: none;
    border-radius: 8px;
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.pcc-btn:hover {
    transform: translateY(-1px);
}

.pcc-btn-primary {
    background: var(--pcc-primary);
    color: #ffffff;
}

.pcc-btn-save {
    background: var(--pcc-primary);
    color: #ffffff;
}

.pcc-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.pcc-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 600px) {
    .pcc-actions {
        margin-left: 0;
        width: 100%;
    }

    .pcc-btn {
        flex: 1 1 auto;
    }
}
