/* Bloomberg Terminal Style - Professional Dark Theme */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    background-color: #0a0a0a;
    color: #00ff41;
    line-height: 1.4;
    font-size: 13px;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Terminal Container */
.terminal-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow-y: auto;
}

/* Terminal Header */
.terminal-header {
    background: linear-gradient(90deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    border-bottom: 2px solid #00ff41;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.terminal-title {
    display: flex;
    flex-direction: column;
}

.terminal-brand {
    font-size: 28px;
    font-weight: bold;
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41;
    letter-spacing: 2px;
}

.terminal-subtitle {
    font-size: 12px;
    color: #00ff41;
    opacity: 0.8;
    letter-spacing: 1px;
}

.terminal-status-bar {
    display: flex;
    align-items: center;
    gap: 25px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-label {
    color: #00ff41;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-value {
    color: #00ff41;
    font-size: 12px;
    font-weight: bold;
    font-family: 'Consolas', monospace;
}

/* Control Panel */
.control-panel {
    display: flex;
    gap: 30px;
    padding: 20px 25px;
    background-color: #111111;
    border-bottom: 1px solid #333;
}

.control-section h3 {
    color: #00ff41;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.control-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Terminal Buttons */
.terminal-btn {
    padding: 10px 20px;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    color: #00ff41;
    border: 1px solid #00ff41;
    border-radius: 0;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
    font-family: 'Consolas', monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.terminal-btn:hover {
    background: linear-gradient(145deg, #00ff41, #00cc33);
    color: #000000;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
    transform: translateY(-1px);
}

.terminal-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.terminal-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #333;
    color: #666;
    box-shadow: none;
    transform: none;
}

.terminal-btn-primary {
    border-color: #00ff41;
    background: linear-gradient(145deg, #003300, #001100);
}

.terminal-btn-danger {
    border-color: #ff4444;
    color: #ff4444;
    background: linear-gradient(145deg, #330000, #110000);
}

.terminal-btn-danger:hover {
    background: linear-gradient(145deg, #ff4444, #cc3333);
    color: #000000;
}

.terminal-btn-success {
    border-color: #44ff44;
    color: #44ff44;
    background: linear-gradient(145deg, #003300, #001100);
}

.terminal-btn-info {
    border-color: #4444ff;
    color: #4444ff;
    background: linear-gradient(145deg, #000033, #000011);
}

.terminal-btn-secondary {
    border-color: #888;
    color: #888;
    background: linear-gradient(145deg, #222, #111);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
<<<<<<< HEAD
    grid-template-rows: auto auto auto;
=======
    grid-template-rows: auto auto;
>>>>>>> cc40707ed7d18fbcdf25b9b2bf4c4f37903a3695
    gap: 15px;
    padding: 20px 25px;
<<<<<<< HEAD
    min-height: calc(100vh - 250px);
    max-height: calc(100vh - 200px);
=======
    min-height: calc(100vh - 200px);
    align-items: start;
>>>>>>> 7ef63ec50a6d458b26c191d9e66592a1e90d0b10
}

.dashboard-panel {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border: 1px solid #333;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.dashboard-panel:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.dashboard-panel:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.dashboard-panel:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.dashboard-panel:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

<<<<<<< HEAD
.dashboard-panel:nth-child(5) {
    grid-column: 1 / span 2;
    grid-row: 3;
}

=======
>>>>>>> cc40707ed7d18fbcdf25b9b2bf4c4f37903a3695
/* Panel Headers */
.panel-header {
    background: linear-gradient(90deg, #000000 0%, #1a1a1a 100%);
    padding: 12px 18px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h2 {
    color: #00ff41;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.panel-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mini-status {
    color: #00ff41;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.position-count {
    color: #00ff41;
    font-size: 12px;
    font-weight: bold;
}

.data-source-indicators {
    display: flex;
    gap: 15px;
}

.data-source-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.data-source-label {
    color: #00ff41;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.data-source-status {
    font-size: 14px;
    font-weight: bold;
    min-width: 16px;
    text-align: center;
}

/* Panel Content */
.panel-content {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
<<<<<<< HEAD
    min-height: 0; /* Allow flex shrinking */
=======
    max-height: calc(100vh - 200px); /* Adjust based on header height */
>>>>>>> 7ef63ec50a6d458b26c191d9e66592a1e90d0b10
}

/* Statistics Metrics */
.stats-metrics {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.metric-group {
    display: flex;
    gap: 20px;
}

.metric-item {
    flex: 1;
    text-align: center;
    padding: 15px;
    background: linear-gradient(145deg, #111, #000);
    border: 1px solid #333;
    border-radius: 0;
}

.metric-item label {
    display: block;
    color: #00ff41;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.metric-item .metric-value {
    color: #00ff41;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Consolas', monospace;
}

<<<<<<< HEAD
/* Risk Management Panel */
.risk-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.risk-item {
    background: linear-gradient(145deg, #111, #000);
    border: 1px solid #333;
    padding: 15px;
    text-align: center;
    border-radius: 0;
}

.risk-item label {
    display: block;
    color: #00ff41;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.risk-value {
    color: #00ff41;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Consolas', monospace;
}

.risk-indicator {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    font-weight: bold;
}

.risk-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.risk-status {
    color: #00ff41;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
=======
/* Learning Panel */
.learning-metrics {
    background: linear-gradient(145deg, #111, #000);
    border: 1px solid #333;
    padding: 15px;
    margin-bottom: 20px;
    font-family: 'Consolas', monospace;
    font-size: 12px;
    color: #00ff41;
    white-space: pre-line;
    border-radius: 0;
<<<<<<< HEAD
    flex-shrink: 0;
}

.top-performers {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
=======
>>>>>>> cc40707ed7d18fbcdf25b9b2bf4c4f37903a3695
>>>>>>> 7ef63ec50a6d458b26c191d9e66592a1e90d0b10
}

.top-performers h3 {
    color: #00ff41;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

/* Terminal Tables */
.terminal-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(145deg, #0a0a0a, #000000);
    border: 1px solid #333;
    font-size: 11px;
    min-width: 600px; /* Ensure minimum width for scrolling */
}

.terminal-table-container {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 300px;
    flex: 1;
}

.terminal-table-container {
    overflow-y: auto;
    max-height: 400px; /* Adjust as needed */
    border: 1px solid #333;
}

.terminal-table th,
.terminal-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #333;
    border-right: 1px solid #222;
    color: #00ff41;
    background-color: #000000;
}

.terminal-table th {
    background: linear-gradient(90deg, #1a1a1a, #111);
    font-weight: bold;
    border-bottom: 2px solid #00ff41;
    color: #00ff41;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 10px;
}

.terminal-table tbody tr:nth-child(even) {
    background-color: #0a0a0a;
}

.terminal-table tbody tr:hover {
    background-color: #1a1a1a;
    box-shadow: inset 0 0 5px rgba(0, 255, 65, 0.1);
}

/* Activity Panel Tabs */
.activity-tabs {
    display: flex;
    background: #111;
    border-radius: 0;
    overflow: hidden;
}

.tab-btn {
    padding: 8px 16px;
    background: #222;
    color: #888;
    border: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.tab-btn.active {
    background: #00ff41;
    color: #000000;
}

.tab-btn:hover:not(.active) {
    background: #333;
    color: #ccc;
}

.tab-content {
    display: none;
    height: 100%;
    overflow: hidden;
}

.tab-content.active {
    display: flex;
    flex-direction: column;
}

/* Terminal Log */
.terminal-log {
    height: 100%;
    background: #000000;
    border: 1px solid #333;
    padding: 10px;
    font-family: 'Consolas', monospace;
    font-size: 11px;
    line-height: 1.4;
    color: #00ff41;
    overflow-y: auto;
    white-space: pre-wrap;
}

.log-entry {
    margin-bottom: 3px;
    padding: 2px 0;
    color: #00ff41;
    border-left: 2px solid transparent;
}

.log-entry:hover {
    border-left-color: #00ff41;
    background: rgba(0, 255, 65, 0.05);
}

/* P&L Colors */
.pnl-positive {
    color: #00ff41 !important;
    background: rgba(0, 255, 65, 0.1) !important;
    font-weight: bold;
}

.pnl-negative {
    color: #ff4444 !important;
    background: rgba(255, 68, 68, 0.1) !important;
    font-weight: bold;
}

/* Action buttons in table */
.action-btn {
    padding: 4px 8px;
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    color: #ff4444;
    border: 1px solid #ff4444;
    border-radius: 0;
    cursor: pointer;
    font-size: 10px;
    font-family: 'Consolas', monospace;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: linear-gradient(145deg, #ff4444, #cc3333);
    color: #000000;
    box-shadow: 0 0 8px rgba(255, 68, 68, 0.4);
}

/* Data Source Status */
.data-source-status.connected {
    color: #00ff41;
    animation: pulse 2s infinite;
}

.data-source-status.connecting {
    color: #ffff44;
    animation: spin 1s linear infinite;
}

.data-source-status.disconnected {
    color: #ff4444;
}

/* Animations */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

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

/* Data source color coding */
.data-source-helius {
    color: #4444ff !important;
    background: rgba(68, 68, 255, 0.1) !important;
    font-weight: bold;
}

.data-source-pumpportal {
    color: #ff8844 !important;
    background: rgba(255, 136, 68, 0.1) !important;
    font-weight: bold;
}

.data-source-simulated {
    color: #44ff44 !important;
    background: rgba(68, 255, 68, 0.1) !important;
    font-weight: bold;
}

.data-source-unknown {
    color: #888 !important;
    background: rgba(136, 136, 136, 0.1) !important;
    font-weight: bold;
}

/* Login Screen */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    border: 2px solid #00ff41;
}

.login-container {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    padding: 40px;
    border: 2px solid #00ff41;
    border-radius: 0;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

.login-container p {
    margin-bottom: 30px;
    color: #00ff41;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-input {
    width: 100%;
    padding: 15px;
    background: linear-gradient(145deg, #000000, #0a0a0a);
    color: #00ff41;
    border: 2px solid #00ff41;
    border-radius: 0;
    font-size: 16px;
    margin-bottom: 20px;
    font-family: 'Consolas', monospace;
    text-transform: uppercase;
}

.login-input:focus {
    outline: none;
    border-color: #00ff41;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(145deg, #003300, #001100);
    color: #00ff41;
    border: 2px solid #00ff41;
    border-radius: 0;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Consolas', monospace;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.login-btn:hover {
    background: linear-gradient(145deg, #00ff41, #00cc33);
    color: #000000;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

.login-error {
    color: #ff4444;
    margin-top: 15px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    margin: 15% auto;
    padding: 25px;
    border: 2px solid #00ff41;
    border-radius: 0;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
    color: #00ff41;
}

.modal-content h3 {
    margin-bottom: 15px;
    color: #00ff41;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #333333;
    border-top: 2px solid #00ff41;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        height: auto;
    }
    
    .dashboard-panel:nth-child(1) { grid-column: 1; grid-row: 1; }
    .dashboard-panel:nth-child(2) { grid-column: 1; grid-row: 2; }
    .dashboard-panel:nth-child(3) { grid-column: 1; grid-row: 3; }
    .dashboard-panel:nth-child(4) { grid-column: 1; grid-row: 4; }
}

@media (max-width: 768px) {
    .terminal-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .control-panel {
        flex-direction: column;
        gap: 20px;
    }
    
    .metric-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .terminal-table {
        font-size: 10px;
    }
    
    .terminal-table th,
    .terminal-table td {
        padding: 6px 8px;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000000;
    padding: 20px;
    border: 2px solid #00FF00;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: 0 0 10px #00FF00;
}

.header h1 {
    font-size: 24px;
    font-weight: bold;
    color: #00FF00;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logout-btn {
    font-size: 14px;
    padding: 8px 16px;
    background-color: #000000;
    color: #00FF00;
    border: 1px solid #00FF00;
    border-radius: 0;
}

.status-indicator {
    font-size: 18px;
    font-weight: bold;
    color: #00FF00;
}

/* Control Panel */
.control-panel {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    background-color: #000000;
    color: #00FF00;
    border: 2px solid #00FF00;
    border-radius: 0;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    min-height: 44px;
    font-family: 'Courier New', monospace;
}

.btn:hover {
    background-color: #00FF00;
    color: #000000;
}

.btn:active {
    background-color: #00FF00;
    color: #000000;
}

.btn-primary {
    border-color: #00FF00;
}

.btn-danger {
    border-color: #FF0000;
    color: #FF0000;
}

.btn-danger:hover {
    background-color: #FF0000;
    color: #000000;
}

.btn-success {
    border-color: #00FF00;
}

.btn-secondary {
    border-color: #00FF00;
}

.btn-info {
    border-color: #00FFFF;
    color: #00FFFF;
}

.btn-info:hover {
    background-color: #00FFFF;
    color: #000000;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #333333;
    color: #666666;
}

/* Panels */
.panel {
    background-color: #000000;
    border: 2px solid #00FF00;
    border-radius: 0;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 0 10px #00FF00;
}

.panel h2 {
    background-color: #111111;
    color: #00FF00;
    padding: 15px 20px;
    margin: 0;
    border-bottom: 1px solid #00FF00;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

/* Main Content Grid */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.stats-panel, .learning-panel {
    padding: 20px;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #111111;
    border: 1px solid #00FF00;
    border-radius: 0;
}

.stat-item label {
    font-weight: bold;
    color: #00FF00;
}

.stat-item span {
    color: #00FF00;
}

.stat-item.pnl-total {
    border-color: #00FF00;
    background-color: #001100;
}

.stat-item.pnl-total span {
    font-weight: bold;
    font-size: 18px;
    color: #00FF00;
}

/* Learning Analytics */
.learning-stats {
    margin: 15px 0;
    padding: 15px;
    background-color: #111111;
    border: 1px solid #00FF00;
    border-radius: 0;
    white-space: pre-line;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #00FF00;
}

/* Data Source Status */
.data-sources-status {
    display: flex;
    gap: 20px;
    margin: 10px 0;
    padding: 8px 12px;
    background-color: #111111;
    border: 1px solid #00FF00;
    border-radius: 0;
}

.data-source-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.data-source-label {
    color: #00FF00;
    font-weight: bold;
}

.data-source-status {
    font-size: 16px;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.data-source-status.connected {
    color: #00FF00;
    animation: pulse 2s infinite;
}

.data-source-status.connecting {
    color: #FFFF00;
    animation: spin 1s linear infinite;
}

.data-source-status.disconnected {
    color: #FF0000;
}

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

/* Token Links */
.token-link {
    background: none;
    border: none;
    color: #00FFFF;
    text-decoration: underline;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    padding: 0;
    margin: 0;
}

.token-link:hover {
    color: #FFFFFF;
    text-decoration: none;
}

/* Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    border: 1px solid #00FF00;
}

.data-table th,
.data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #00FF00;
    border-right: 1px solid #00FF00;
    color: #00FF00;
    background-color: #000000;
}

.data-table th {
    background-color: #111111;
    font-weight: bold;
    border-bottom: 2px solid #00FF00;
    color: #00FF00;
}

.data-table tbody tr:nth-child(even) {
    background-color: #111111;
}

.data-table tbody tr:hover {
    background-color: #222222;
}

/* P&L Colors */
.pnl-positive {
    color: #00FF00 !important;
    background-color: #001100 !important;
}

.pnl-negative {
    color: #FF0000 !important;
    background-color: #110000 !important;
}

/* Action buttons in table */
.action-btn {
    padding: 6px 12px;
    background-color: #000000;
    color: #FF0000;
    border: 1px solid #FF0000;
    border-radius: 0;
    cursor: pointer;
    font-size: 12px;
    font-family: 'Courier New', monospace;
}

.action-btn:hover {
    background-color: #FF0000;
    color: #000000;
}

/* Log Panel */
.log-container {
    max-height: 300px;
    overflow-y: auto;
    background-color: #000000;
    border: 1px solid #00FF00;
    border-radius: 0;
    padding: 10px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.4;
    color: #00FF00;
}

.log-entry {
    margin-bottom: 5px;
    padding: 2px 0;
    color: #00FF00;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    background-color: #000000;
    margin: 15% auto;
    padding: 20px;
    border: 2px solid #00FF00;
    border-radius: 0;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 10px #00FF00;
    color: #00FF00;
}

.modal-content h3 {
    margin-bottom: 15px;
    color: #00FF00;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .control-panel {
        justify-content: center;
    }

    .main-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .data-table {
        font-size: 12px;
    }

    .data-table th,
    .data-table td {
        padding: 8px 6px;
    }
}

<<<<<<< HEAD
/* API Status Dashboard */
.api-status-dashboard {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.api-summary {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.summary-metric {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 15px;
    background: linear-gradient(145deg, #111, #000);
    border: 1px solid #333;
    border-radius: 0;
}

.summary-metric .metric-label {
    display: block;
    color: #00ff41;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.summary-metric .metric-value {
    color: #00ff41;
    font-size: 24px;
    font-weight: bold;
    font-family: 'Consolas', monospace;
}

.summary-metric .metric-value.connected {
    color: #00ff41;
}

.summary-metric .metric-value.error {
    color: #ff4444;
}

.summary-metric .metric-value.warning {
    color: #ffff44;
}

.api-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    flex: 1;
    overflow-y: auto;
}

.api-card {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border: 1px solid #333;
    border-radius: 0;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.api-card.api-connected {
    border-color: #00ff41;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.api-card.api-error {
    border-color: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.2);
}

.api-card.api-not_configured {
    border-color: #ffff44;
    box-shadow: 0 0 10px rgba(255, 255, 68, 0.2);
}

.api-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.api-name {
    color: #00ff41;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.api-status-icon {
    font-size: 18px;
    font-weight: bold;
}

.api-status-icon.connected {
    color: #00ff41;
}

.api-status-icon.error {
    color: #ff4444;
}

.api-status-icon.warning {
    color: #ffff44;
}

.api-description {
    color: #00ff41;
    font-size: 12px;
    opacity: 0.8;
    font-style: italic;
}

.api-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 11px;
}

.api-config-status,
.api-error-msg,
.api-key-status,
.webhook-status,
.cache-status {
    color: #00ff41;
    font-family: 'Consolas', monospace;
}

.api-config-status {
    font-weight: bold;
}

.api-error-msg {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    padding: 4px 8px;
    border-left: 2px solid #ff4444;
}

.api-key-status,
.webhook-status,
.cache-status {
    opacity: 0.8;
}

.api-error {
    color: #ff4444;
    text-align: center;
    padding: 20px;
    font-weight: bold;
    text-transform: uppercase;
=======
/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #333333;
    border-top: 3px solid #00FF00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
>>>>>>> cc40707ed7d18fbcdf25b9b2bf4c4f37903a3695
}

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

/* Status colors */
.status-running {
    color: #00FF00;
}

.status-stopped {
    color: #FF0000;
}

.status-error {
    color: #FFFF00;
    background-color: #333300;
}

/* Data source indicators */
.data-source-real {
    color: #00FF00 !important;
    background-color: #001100 !important;
    font-weight: bold;
}

.data-source-simulated {
    color: #FFFF00 !important;
    background-color: #333300 !important;
    font-weight: bold;
}

.data-source-helius {
    color: #00FFFF !important;
    background-color: #003333 !important;
    font-weight: bold;
}

.data-source-unknown {
    color: #FF8800 !important;
    background-color: #331100 !important;
    font-weight: bold;
}