/* Custom Dashboard Styles */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #0b0f19;
    --bg-card: #131b2e;
    --bg-card-hover: #1a243c;
    --border-color: #23314e;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent-blue: #38bdf8;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-amber: #f59e0b;
    --accent-purple: #8b5cf6;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background: #0b0f19;
}
::-webkit-scrollbar-thumb {
    background: #23314e;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #38bdf8;
}

/* Smooth Touch Scrolling */
.touch-scroll {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
}

/* Hide scrollbar for clean tab pill swiping */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Card glass effect */
.glass-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
    border-radius: 0.75rem;
}

.glass-card-hover:hover {
    background-color: var(--bg-card-hover);
    border-color: #3b82f6;
    transition: all 0.2s ease-in-out;
}

/* Pulse badge animation */
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}
.pulse-green {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}
.pulse-red {
    animation: pulse-red 2s infinite;
}

/* Log console styling */
.log-terminal {
    background-color: #070a12;
    border: 1px solid #1e293b;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    line-height: 1.45;
}

.log-line-info { color: #38bdf8; }
.log-line-warning { color: #f59e0b; }
.log-line-error { color: #ef4444; font-weight: bold; }
.log-line-success { color: #10b981; }

/* Status pill */
.badge-buy {
    background-color: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-sell {
    background-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Table styles with mobile horizontal scrolling */
.data-table {
    min-width: 680px;
}
.data-table th {
    background-color: #162035;
    color: #94a3b8;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}
.data-table td {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid #1c273e;
    font-size: 0.82rem;
    white-space: nowrap;
}
.data-table tr:hover td {
    background-color: #17223b;
}

/* Modal styles */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
}

/* Mobile interactive button press */
button:active {
    transform: scale(0.98);
}
