/* --- PDFListo 3.0: Privacy Status Shield & ZK Audit Modal --- */
.pl-privacy-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
}

.pl-privacy-pill:hover {
    background: rgba(16, 185, 129, 0.16);
    border-color: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
    transform: translateY(-1px);
}

.pl-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pl-pulse 2s infinite;
}

@keyframes pl-pulse {
    0% { transform: scale(0.95); opacity: 0.75; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #10b981; }
    100% { transform: scale(0.95); opacity: 0.75; }
}

.pl-pill-badge {
    background: rgba(212, 175, 55, 0.2);
    color: #D4AF37;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 10px;
    padding: 1px 6px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Modal styles */
.pl-audit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.pl-audit-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 4, 6, 0.85);
    backdrop-filter: blur(8px);
}

.pl-audit-card {
    position: relative;
    z-index: 10001;
    background: #0f0f12;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 16px;
    max-width: 620px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.08);
    overflow: hidden;
    animation: pl-modal-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pl-modal-in {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.pl-audit-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1.25rem 1.5rem;
    background: #151518;
    border-bottom: 1px solid #242428;
}

.pl-audit-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pl-audit-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.pl-audit-subtitle {
    font-size: 0.82rem;
    color: #999;
    margin: 2px 0 0;
}

.pl-audit-close {
    margin-left: auto;
    background: transparent;
    border: none;
    color: #888;
    font-size: 1.7rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.15s;
}

.pl-audit-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.pl-audit-body {
    padding: 1.5rem;
    max-height: 75vh;
    overflow-y: auto;
}

.pl-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 1.5rem;
}

.pl-metric-item {
    background: #18181c;
    border: 1px solid #28282e;
    border-radius: 10px;
    padding: 12px 14px;
}

.pl-metric-label {
    font-size: 0.74rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 4px;
}

.pl-metric-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.pl-val-green {
    color: #10b981;
}

.pl-val-gold {
    color: #D4AF37;
}

.pl-metric-sub {
    font-size: 0.73rem;
    color: #666;
    margin-top: 2px;
}

.pl-comparison-box {
    background: #141418;
    border: 1px solid #25252b;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
}

.pl-comp-row {
    display: grid;
    grid-template-columns: 1.6fr 1.2fr 1.2fr;
    padding: 10px 14px;
    border-bottom: 1px solid #202026;
    align-items: center;
}

.pl-comp-row:last-child {
    border-bottom: none;
}

.pl-comp-header {
    background: #1a1a20;
    font-weight: 700;
    color: #ccc;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pl-comp-good {
    color: #10b981;
    font-weight: 600;
}

.pl-comp-bad {
    color: #f87171;
    font-weight: 600;
}

.pl-audit-footer-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.78rem;
    color: #bbb;
    line-height: 1.45;
}

.pl-audit-footer-note svg {
    color: #D4AF37;
    flex-shrink: 0;
    margin-top: 1px;
}

.pl-audit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 1rem 1.5rem;
    background: #141418;
    border-top: 1px solid #242428;
}

.pl-btn-secondary {
    background: transparent;
    border: 1px solid #3a3a42;
    color: #ccc;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.pl-btn-secondary:hover {
    color: #fff;
    border-color: #666;
}

.pl-btn-primary {
    background: #D4AF37;
    color: #000;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.pl-btn-primary:hover {
    background: #e5c158;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .pl-metrics-grid {
        grid-template-columns: 1fr;
    }
    .pl-comp-row {
        grid-template-columns: 1.2fr 1fr 1fr;
        font-size: 0.74rem;
        padding: 8px 10px;
    }
}
