/* ── KrakenBot Blazor — Global Styles ─────────────────────────────── */

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #0D0D0D;
    color: #E8E8E8;
    margin: 0;
    padding: 0;
}

/* ── Utility classes ──────────────────────────────────────────────── */

.text-success { color: #00E676 !important; }
.text-error   { color: #FF5252 !important; }
.text-warning { color: #FFD740 !important; }
.text-muted   { color: #555555 !important; }

.trade-win {
    background: #0D2818 !important;
}

/* ── MudTabs dark theme ───────────────────────────────────────────── */

.mud-tabs-toolbar {
    background: #0D0D0D !important;
    border-bottom: 1px solid #2A2A2A;
}

.mud-tab {
    color: #888 !important;
    text-transform: none !important;
    font-weight: 500 !important;
    min-width: 80px !important;
}

.mud-tab.mud-tab-active {
    color: #E8E8E8 !important;
}

.mud-tab-slider {
    background: #C0C0C0 !important;
}

/* ── Card hover effects ──────────────────────────────────────────── */

.mud-paper {
    transition: border-color 0.15s ease;
}

.mud-paper:hover {
    border-color: #333 !important;
}

/* ── Scrollbar styling ───────────────────────────────────────────── */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #0D0D0D;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ── MudChip refinements ─────────────────────────────────────────── */

.mud-chip {
    font-weight: 600 !important;
    letter-spacing: 0.5px;
}

/* ── MudDatePicker dark ──────────────────────────────────────────── */

.mud-input-outlined .mud-input-outlined-border {
    border-color: #333 !important;
}

/* ── Blazor error UI ──────────────────────────────────────────────── */

#blazor-error-ui {
    background: #2D0A0A;
    color: #FF5252;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.4);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
    border-radius: 6px;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}
