/* ── Banner ─────────────────────────────────────────────────────── */
#pck-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #1a1a1a;
    color: #f5f5f5;
    padding: 20px 24px;
    box-shadow: 0 -4px 24px rgba(0,0,0,.35);
    font-size: 14px;
    line-height: 1.5;
}

#pck-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

#pck-banner-text {
    flex: 1 1 340px;
}

#pck-banner-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
    color: #fff;
}

#pck-banner-text p {
    margin: 0;
    color: #ccc;
}

#pck-banner-text a {
    color: #e91e8c;
    text-decoration: underline;
}

#pck-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* ── Botões ─────────────────────────────────────────────────────── */
.pck-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity .15s, transform .1s;
    white-space: nowrap;
}

.pck-btn:hover { opacity: .85; }
.pck-btn:active { transform: scale(.97); }

.pck-btn-primary {
    background: #e91e8c;
    color: #fff;
}

.pck-btn-secondary {
    background: transparent;
    color: #ddd;
    border: 1px solid #555;
}

.pck-btn-secondary:hover { border-color: #aaa; color: #fff; }

/* ── Modal ──────────────────────────────────────────────────────── */
#pck-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 100000;
}

#pck-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100001;
    background: #1a1a1a;
    color: #f5f5f5;
    border-radius: 12px;
    padding: 32px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 8px 48px rgba(0,0,0,.5);
}

#pck-modal h2 {
    margin: 0 0 20px;
    font-size: 18px;
    color: #fff;
}

.pck-category {
    border-top: 1px solid #333;
    padding: 16px 0;
}

.pck-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-weight: 600;
    color: #fff;
}

.pck-category p {
    margin: 0;
    font-size: 13px;
    color: #aaa;
}

.pck-badge {
    font-size: 11px;
    font-weight: 600;
    background: #333;
    color: #aaa;
    padding: 2px 8px;
    border-radius: 20px;
}

/* Toggle switch */
input[type="checkbox"][role="switch"] {
    appearance: none;
    -webkit-appearance: none;
    width: 42px;
    height: 24px;
    background: #444;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: background .2s;
    flex-shrink: 0;
}

input[type="checkbox"][role="switch"]::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: left .2s;
}

input[type="checkbox"][role="switch"]:checked {
    background: #e91e8c;
}

input[type="checkbox"][role="switch"]:checked::after {
    left: 21px;
}

#pck-modal-actions {
    margin-top: 20px;
    text-align: right;
}

/* ── Botão reabrir ──────────────────────────────────────────────── */
#pck-reopen {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99998;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid #444;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
    transition: opacity .2s;
}

#pck-reopen:hover { opacity: .8; }

/* ── Hidden ─────────────────────────────────────────────────────── */
[hidden] { display: none !important; }

@media (max-width: 600px) {
    #pck-banner-inner { flex-direction: column; align-items: flex-start; }
    #pck-banner-actions { width: 100%; }
    .pck-btn { flex: 1; text-align: center; }
}
