/**
 * Custom Styles for MT5 Master Dashboard
 */

/* Chart container - must have height */
#chartContainer {
    width: 100%;
    height: 400px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #1f2937;
}
::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Price colors */
.profit-positive {
    color: #10b981;
}
.profit-negative {
    color: #ef4444;
}

/* Card hover effects */
.master-card {
    transition: all 0.2s ease;
}
.master-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

/* Loading spinner */
.spinner {
    border: 3px solid #374151;
    border-top: 3px solid #eab308;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Chart container */
#chartContainer {
    height: 400px;
}

/* Tab styles */
.tab-button {
    transition: all 0.2s ease;
}
.tab-button.active {
    border-bottom-color: #eab308;
    color: #eab308;
}

/* Toast notifications */
.toast {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Pulse animation for live indicator */
.pulse {
    animation: pulse 2s infinite;
}

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