/* Custom CSS for AI Trading Platform */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

/* Live indicators */
.live-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.bypass-status, .rithmic-status {
    font-size: 0.75em;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 8px;
    background: var(--success-color);
    color: white;
}

.rithmic-disconnected {
    background: var(--danger-color) !important;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Custom card styling */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-header {
    background: var(--dark-color);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Navigation active states */
.nav-link.active {
    background-color: rgba(255,255,255,0.1) !important;
    border-radius: 4px;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem;
    }
}