/* RSI Chart Styles */
.rsi-chart-container {
    margin-top: 10px;
    padding: 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.rsi-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e9ecef;
}

.rsi-chart-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rsi-chart-title i {
    color: #6c757d;
    font-size: 0.85rem;
}

.rsi-chart-info {
    font-size: 0.75rem;
    color: #6c757d;
}

.rsi-chart-canvas-container {
    position: relative;
    height: 140px;
    background: white;
    border-radius: 4px;
    padding: 8px;
    border: 1px solid #e9ecef;
}

.rsi-chart-canvas {
    width: 100% !important;
    height: 100% !important;
}

.rsi-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #6c757d;
    font-size: 0.85rem;
}

.rsi-loading i {
    font-size: 1.2rem;
    margin-bottom: 5px;
    animation: rsi-pulse 2s infinite;
}

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

.rsi-zone-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 0.7rem;
    color: #6c757d;
}

.rsi-zone {
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
}

.rsi-zone.overbought {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.rsi-zone.neutral {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.rsi-zone.oversold {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

/* MACD Chart Styles */
.macd-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e9ecef;
}

.macd-chart-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 6px;
}

.macd-chart-title i {
    color: #6c757d;
    font-size: 0.85rem;
}

.macd-loading-text {
    font-size: 0.75rem;
    color: #6c757d;
    font-style: italic;
}

.macd-chart-canvas-container {
    position: relative;
    height: 120px;
    background: white;
    border-radius: 4px;
    padding: 8px;
    border: 1px solid #e9ecef;
}

.macd-chart-canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Responsive */
@media (max-width: 768px) {
    .rsi-chart-container {
        padding: 8px;
        margin-top: 8px;
    }

    .rsi-chart-canvas-container {
        height: 100px;
        padding: 6px;
    }

    .rsi-chart-title {
        font-size: 0.85rem;
    }

    .rsi-chart-info {
        font-size: 0.7rem;
    }
}