/* --- HOLOGRAPHIC AUDIT CARD --- */
#audit-card-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    z-index: 100;
    pointer-events: none;
    /* Let clicks pass through if needed */
    display: flex;
    justify-content: center;
    align-items: center;
}

.audit-card {
    background: rgba(10, 20, 30, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 16px;
    padding: 24px;
    box-shadow:
        0 0 30px rgba(0, 255, 255, 0.1),
        inset 0 0 20px rgba(0, 255, 255, 0.05);
    color: #e0f2fe;
    font-family: 'Courier New', monospace;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.audit-card.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Holographic Scanline */
.audit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 255, 255, 0.1) 50%,
            transparent 100%);
    background-size: 100% 200%;
    animation: hologramScan 3s linear infinite;
    pointer-events: none;
}

@keyframes hologramScan {
    0% {
        background-position: 0% -100%;
    }

    100% {
        background-position: 0% 200%;
    }
}

.audit-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    padding-bottom: 12px;
}

.audit-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.audit-org {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
}

.audit-score {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.audit-score.good {
    color: #4ade80;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
}

.audit-score.mid {
    color: #facc15;
    text-shadow: 0 0 15px rgba(250, 204, 21, 0.5);
}

.audit-score.bad {
    color: #ef4444;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

.audit-body {
    display: flex;
    gap: 20px;
}

.audit-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.audit-summary {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #cbd5e1;
}

.audit-pillars {
    display: flex;
    gap: 4px;
    margin-top: 16px;
    height: 4px;
    width: 100%;
}

.audit-pillar-bar {
    flex: 1;
    background: #334155;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.audit-pillar-fill {
    height: 100%;
    background: #00ffff;
    width: 0%;
    transition: width 1s ease-out;
}