/* Trading Signals Dashboard Styles */

.trading-signals-container {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    padding: 25px;
    border-radius: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
}

.trading-signals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
}

.trading-signals-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.last-update {
    font-size: 0.9rem;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
}

.signal-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.signal-action {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 25px;
    text-transform: uppercase;
}

.signal-action.buy {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: #000;
}

.signal-action.sell {
    background: linear-gradient(45deg, #ff4444, #cc3333);
    color: #fff;
}

.confidence-score {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.signal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.detail-row span:first-child {
    opacity: 0.8;
}

.stop-loss {
    color: #ff4444;
    font-weight: bold;
}

.take-profit {
    color: #00ff88;
    font-weight: bold;
}

.confluence-table {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.confluence-table h3 {
    margin: 0 0 15px 0;
    color: #ffd700;
    font-size: 1.3rem;
}

.confluence-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
}

.confluence-row:last-child {
    border-bottom: none;
}

.indicator-name {
    font-weight: bold;
    color: #ffd700;
}

.indicator-data {
    font-size: 0.9rem;
    line-height: 1.4;
}

.indicator-status {
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .trading-signals-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .signal-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .signal-details {
        grid-template-columns: 1fr;
    }
    
    .confluence-row {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
}
