/* Jujuie ScalperX Custom Styles */
:root {
    --bg-primary: #0A0A0F;
    --bg-secondary: #15151F;
    --accent-primary: #00C853;
    --accent-secondary: #FF1744;
    --text-primary: #E0E0E0;
    --text-secondary: #9E9E9E;
    --button-hover: #1DE9B6;
    --bullish: #00E676;
    --bearish: #FF5252;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--button-hover);
}

/* Animations */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Custom button styles */
.btn-trading {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--button-hover) 100%);
    border: none;
    color: var(--bg-primary);
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-trading:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
}

/* Trading card styles */
.trading-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #1a1a2e 100%);
    border: 1px solid #333;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.trading-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Status indicators */
.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-active {
    background-color: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

.status-inactive {
    background-color: var(--accent-secondary);
}

/* Profit/Loss colors */
.profit-positive {
    color: var(--bullish);
    font-weight: bold;
}

.profit-negative {
    color: var(--bearish);
    font-weight: bold;
}

/* Loading spinner */
.loading-spinner {
    border: 3px solid var(--bg-secondary);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
