/* Main Styles */
body {
    background-color: #f8f9fa;
}

/* Header */
header h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

/* Cards */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1rem;
}

/* Table Styles */
.table th {
    background-color: #f1f1f1;
}

/* Log Styles */
#log-container {
    border-radius: 0.25rem;
}

/* Status indicator */
#status-indicator {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* Impact colors */
.impact-positive {
    color: #198754;
    font-weight: bold;
}

.impact-negative {
    color: #dc3545;
    font-weight: bold;
}

.impact-neutral {
    color: #fd7e14;
    font-weight: bold;
}

/* Trade details section */
.trade-detail-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.trade-detail-section:last-child {
    border-bottom: none;
}

/* Loading animation */
.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 0.2rem solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Potential badges */
.high-potential {
    background-color: #dc3545;
    color: white;
    font-weight: bold;
}

.low-potential {
    background-color: #6c757d;
    color: white;
}

/* Score slider */
#score-filter {
    height: 10px;
}

#score-value {
    font-weight: bold;
}

/* Prediction chart */
#prediction-chart {
    max-height: 200px;
}

/* AI Score display */
.score-display {
    font-size: 1.2rem;
    font-weight: bold;
}

.score-high {
    color: #198754;
}

.score-medium {
    color: #fd7e14;
}

.score-low {
    color: #dc3545;
}