/* Neon glow effects */
.glow-green {
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

.glow-cyan {
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Table row hover */
table tbody tr:hover {
    background-color: rgba(57, 255, 20, 0.03);
}

/* Brand ranking table — inline bar chart animation */
.brand-ranking-table .bar-fill {
    animation: barGrow 0.6s ease-out forwards;
    transform-origin: left;
}

@keyframes barGrow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Stagger animation for each row */
.brand-ranking-table tbody tr:nth-child(1) .bar-fill { animation-delay: 0.0s; }
.brand-ranking-table tbody tr:nth-child(2) .bar-fill { animation-delay: 0.04s; }
.brand-ranking-table tbody tr:nth-child(3) .bar-fill { animation-delay: 0.08s; }
.brand-ranking-table tbody tr:nth-child(4) .bar-fill { animation-delay: 0.12s; }
.brand-ranking-table tbody tr:nth-child(5) .bar-fill { animation-delay: 0.16s; }
.brand-ranking-table tbody tr:nth-child(6) .bar-fill { animation-delay: 0.20s; }
.brand-ranking-table tbody tr:nth-child(7) .bar-fill { animation-delay: 0.24s; }
.brand-ranking-table tbody tr:nth-child(8) .bar-fill { animation-delay: 0.28s; }
.brand-ranking-table tbody tr:nth-child(9) .bar-fill { animation-delay: 0.32s; }
.brand-ranking-table tbody tr:nth-child(10) .bar-fill { animation-delay: 0.36s; }

/* Sector tags — clickable badges next to brand names */
a.sector-tag {
    display: inline-block;
    padding: 1px 6px;
    font-size: 10px;
    line-height: 16px;
    border-radius: 3px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.20);
    color: rgba(0, 240, 255, 0.65);
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

a.sector-tag:hover {
    background: rgba(0, 240, 255, 0.18);
    border-color: rgba(0, 240, 255, 0.50);
    color: rgba(0, 240, 255, 1);
}

/* Stat card hover glow */
.stat-card {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(57, 255, 20, 0.3);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.05);
}
