/* APEX Trading Dashboard — Custom Styles */

body {
    background-color: #1a1d23;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* KPI Cards */
.card {
    transition: border-color 0.2s, transform 0.15s;
}
.card:hover {
    border-color: #495057 !important;
}

.kpi-card {
    border-width: 1px;
    border-left-width: 4px !important;
}
.kpi-card.border-success {
    border-left-color: #4caf50 !important;
}
.kpi-card.border-danger {
    border-left-color: #ef5350 !important;
}
.kpi-card .fs-2 {
    line-height: 1.2;
}

/* Status-Banner */
.alert-warning {
    background-color: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.4);
    color: #ffe69c;
}
.alert-danger {
    background-color: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.4);
    color: #f5b7b1;
}
.alert-info {
    background-color: rgba(13, 202, 240, 0.15);
    border-color: rgba(13, 202, 240, 0.4);
    color: #b5e4f5;
}

/* Tabellen */
.table-dark {
    --bs-table-bg: transparent;
}
.table-dark th {
    border-bottom-width: 2px;
    font-weight: 600;
    white-space: nowrap;
}

/* Positiv/Negativ */
.text-success { color: #4caf50 !important; }
.text-danger  { color: #ef5350 !important; }

/* Navbar Brand */
.navbar-brand {
    letter-spacing: 0.5px;
}

/* Scrollbar (Webkit) */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #1a1d23; }
::-webkit-scrollbar-thumb { background: #495057; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #6c757d; }

/* Toast */
.toast {
    background-color: #2b2f38;
    color: #e0e0e0;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .fs-3 { font-size: 1.25rem !important; }
    .card-body { padding: 0.75rem; }
}
