/* AlphaBox - Custom Styles */

/* Loading animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(0px) rotate(180deg); }
    75% { transform: translateY(-10px) rotate(270deg); }
}
@keyframes shimmer {
    0% { transform: translateX(-250px); }
    100% { transform: translateX(350px); }
}

#loading-emoji, #intel-loading-emoji {
    animation: bounce 1s ease infinite;
}

/* Analysis sub-tabs styling */
#analysis-sub-tabs .nav-link {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 14px;
    color: #555;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}
#analysis-sub-tabs .nav-link:hover {
    color: #1a73e8;
    background: rgba(26,115,232,0.05);
}
#analysis-sub-tabs .nav-link.active {
    color: #1a73e8;
    border-bottom: 3px solid #1a73e8;
    background: transparent;
}

/* Polished cards */
.shadow-sm {
    transition: box-shadow 0.2s ease;
}
.shadow-sm:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

/* Metric cards in banner */
.metric-card {
    border: none;
    border-radius: 12px;
    background: white;
}

/* Scrollbar for intel panels */
.intel-scroll::-webkit-scrollbar {
    width: 4px;
}
.intel-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

/* Tables */
.table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}
.table td {
    font-size: 0.85rem;
    vertical-align: middle;
}
