/* --- Minority Report / Futuristic UI Styles --- */

.holo-container {
    padding: 20px;
    background: radial-gradient(circle at center, rgba(16, 23, 33, 0.4) 0%, rgba(9, 13, 20, 0.8) 100%);
    border-radius: 12px;
}

.holo-card {
    background: rgba(10, 25, 41, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 255, 0.15);
    /* Cyan tint */
    box-shadow:
        0 0 15px rgba(0, 200, 255, 0.05),
        inset 0 0 20px rgba(0, 200, 255, 0.02);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* Glowing top border accent */
.holo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.8), transparent);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.neon-text-cyan {
    color: #4df;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.neon-text-white {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Data Stream List (Top Operatives) */
.data-stream-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.05);
    position: relative;
    transition: background 0.2s;
}

.data-stream-item:hover {
    background: rgba(0, 255, 255, 0.05);
}

.data-stream-name {
    flex: 1;
    font-size: 0.85rem;
    color: rgba(200, 240, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.data-stream-value {
    font-weight: bold;
    color: #fff;
    min-width: 40px;
    text-align: right;
    font-size: 0.9rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.holo-bar-container {
    flex: 2;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 15px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.holo-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    box-shadow: 0 0 8px #00c6ff;
    width: 0%;
    /* animate this */
    transition: width 1s ease-out;
    position: relative;
}

/* Glitch/Tech decorative markers */
.tech-corner {
    position: absolute;
    width: 6px;
    height: 6px;
    border: 1px solid #00ffff;
    opacity: 0.6;
}

.tech-corner-tl {
    top: 4px;
    left: 4px;
    border-right: none;
    border-bottom: none;
}

.tech-corner-tr {
    top: 4px;
    right: 4px;
    border-left: none;
    border-bottom: none;
}

.tech-corner-bl {
    bottom: 4px;
    left: 4px;
    border-right: none;
    border-top: none;
}

.tech-corner-br {
    bottom: 4px;
    right: 4px;
    border-left: none;
    border-top: none;
}

/* Custom Scrollbar for Holo Panels */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(0, 255, 255, 0.05);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 255, 0.3);
    border-radius: 2px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 255, 0.6);
}

/* Animation for Bars */
@keyframes growBar {
    from {
        width: 0;
    }

    to {
        width: var(--target-width);
    }
}

.animate-bar {
    width: 0;
    /* Star at 0 */
    animation: growBar 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    /* "Minority Report" ease-out */
}

.holo-bar-fill-green {
    background: linear-gradient(90deg, #00ff87, #00b341);
    box-shadow: 0 0 8px #00ff87;
}

/* Neon Donut Chart Glow */
.neon-donut-chart g[id*="_Series_"] path {
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.6));
}

/* Legend Text Styling */
.neon-donut-chart text[id*="_Legend_Text_"] {
    fill: #a0d9d9 !important;
    /* Soft Cyan */
    text-shadow: 0 0 3px rgba(0, 242, 255, 0.4);
    font-size: 11px !important;
    font-weight: 500;
}