/* Custom Styling for Stock AI Trading Assistant */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0b0e14;
}
::-webkit-scrollbar-thumb {
    background: #222834;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #333d4e;
}

.glow-call {
    box-shadow: 0 0 25px rgba(0, 192, 135, 0.25);
    border-color: rgba(0, 192, 135, 0.6) !important;
}

.glow-put {
    box-shadow: 0 0 25px rgba(255, 59, 105, 0.25);
    border-color: rgba(255, 59, 105, 0.6) !important;
}

.glow-wait {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4) !important;
}

@keyframes pulse-fast {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

.animate-pulse-fast {
    animation: pulse-fast 1s infinite ease-in-out;
}

/* Real-Time Price Flash Animations */
@keyframes flash-green {
    0% {
        color: #00ffaa;
        text-shadow: 0 0 16px rgba(0, 255, 170, 0.9);
        transform: scale(1.04);
    }
    100% {
        color: #00c087;
        text-shadow: none;
        transform: scale(1);
    }
}

@keyframes flash-red {
    0% {
        color: #ff3366;
        text-shadow: 0 0 16px rgba(255, 51, 102, 0.9);
        transform: scale(1.04);
    }
    100% {
        color: #ff3b69;
        text-shadow: none;
        transform: scale(1);
    }
}

.flash-up {
    display: inline-block;
    animation: flash-green 0.55s ease-out;
}

.flash-down {
    display: inline-block;
    animation: flash-red 0.55s ease-out;
}

/* Radar pulse badge */
@keyframes radar-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 192, 135, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(0, 192, 135, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 192, 135, 0); }
}

.badge-live-radar {
    animation: radar-pulse 2s infinite;
}
