/* Sentralyx Trading Terminal - Standardized Visual Identity */

/* CSS Variables */
:root {
    /* Color Palette */
    --bg-dark: #0b111b;
    --panel-dark: #161d2b;
    --text-main: #e0e0e0;
    --accent-blue: #3498db;
    --signal-buy: #2ecc71;
    --signal-sell: #e74c3c;
    
    /* Additional derived colors */
    --border-color: #2a3142;
    --text-secondary: #8b92a8;
    --accent-green: #2fb17f;
    --card-bg: #161d2b;
    
    /* Font settings */
    --font-family: 'Inter', 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* Global Styles */
body {
    font-family: var(--font-family);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Button Styles */
.btn-sentralyx-start {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-sentralyx-start:hover {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.btn-sentralyx-start:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(46, 204, 113, 0.3);
}

.btn-sentralyx-stop {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-sentralyx-stop:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.btn-sentralyx-stop:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.btn-sentralyx-pause {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-sentralyx-pause:hover {
    background: linear-gradient(135deg, #8e44ad 0%, #7d3c98 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.4);
}

.btn-sentralyx-pause:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(155, 89, 182, 0.3);
}

/* Common button styles for consistency */
.btn-sentralyx-start,
.btn-sentralyx-stop,
.btn-sentralyx-pause {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.btn-sentralyx-start::before,
.btn-sentralyx-stop::before,
.btn-sentralyx-pause::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-sentralyx-start:hover::before,
.btn-sentralyx-stop:hover::before,
.btn-sentralyx-pause:hover::before {
    left: 100%;
}

/* Panel/Card Styles */
.panel-dark {
    background: var(--panel-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

/* Text Colors */
.text-main { color: var(--text-main); }
.text-secondary { color: var(--text-secondary); }
.text-accent-blue { color: var(--accent-blue); }
.text-signal-buy { color: var(--signal-buy); }
.text-signal-sell { color: var(--signal-sell); }

/* Background Colors */
.bg-dark { background: var(--bg-dark); }
.bg-panel-dark { background: var(--panel-dark); }

/* Utility Classes */
.border-custom { border-color: var(--border-color); }
.shadow-glow {
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.2);
}

/* Smooth transitions */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
