#powercookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99997;
    display: none;
}

#powercookie-popup {
    position: fixed;
    z-index: 99998;
    max-width: 650px;
    width: 92%;
    background: #fff;
    border-radius: 10px;
    padding: 25px 30px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    box-shadow: 0px 12px 35px rgba(0,0,0,0.25);
    font-family: Arial, sans-serif;
}

.pc-header {
    text-align: left;
    margin-bottom: 20px;
}

.pc-logo {
    max-width: 110px;
    margin-bottom: 15px;
}

.pc-title {
    font-size: 22px;
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #111;
}

.pc-text {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 0;
}

.pc-categories {
    margin-top: 20px;
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}

.pc-category-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #eee;
}

.pc-cat-label {
    font-size: 15px;
    color: #222;
    font-weight: 500;
}

.pc-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.pc-switch input {
    display: none;
}

.pc-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #d3d3d3;
    border-radius: 26px;
    transition: .25s;
}

.pc-slider:before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 2px;
    top: 2px;
    background: #fff;
    border-radius: 50%;
    transition: .25s;
}

.pc-switch input:checked + .pc-slider {
    background: #0a36ff;
}

.pc-switch input:checked + .pc-slider:before {
    transform: translateX(22px);
}

.pc-switch.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.pc-buttons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    justify-content: flex-end;
}

.pc-buttons button {
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: 0.2s;
    font-weight: 600;
}

#pc-allow-selection {
    background: #fff;
}

#pc-deny-all {
    background: #f2f2f2;
    color: #000;
}

.pc-buttons button:hover {
    opacity: 0.9;
}

@media (max-width: 480px) {
    #powercookie-popup {
        padding: 20px;
    }

    .pc-title {
        font-size: 19px;
    }

    .pc-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .pc-buttons button {
        width: 100%;
        text-align: center;
    }
}
