/*
 * BridgeBit admin chrome. Colors come from the Filament palette in
 * App\Support\BridgeBitTheme. This file only adjusts surfaces the palette
 * cannot reach: sidebar, topbar, active nav, and the orange-to-indigo CTA.
 */

.fi-body {
    -webkit-font-smoothing: antialiased;
}

.fi-body ::selection {
    background: rgba(236, 102, 49, 0.28);
}

html.dark {
    --gray-400: 199, 199, 204;
    --gray-500: 154, 154, 168;
}

.fi-body .fi-sidebar {
    background-color: #fcfcfc;
    border-inline-end: 1px solid rgba(10, 10, 10, 0.06);
    box-shadow: none;
}

html.dark .fi-body .fi-sidebar {
    background-color: #0c0c0e;
    border-inline-end-color: rgba(255, 255, 255, 0.08);
}

.fi-body .fi-sidebar-header,
.fi-body .fi-topbar nav {
    background-color: #fcfcfc;
    box-shadow: none;
}

html.dark .fi-body .fi-sidebar-header,
html.dark .fi-body .fi-topbar nav {
    background-color: #0c0c0e;
}

.fi-body .fi-topbar nav {
    border-bottom: 1px solid rgba(10, 10, 10, 0.06);
}

html.dark .fi-body .fi-topbar nav {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.fi-body .fi-sidebar-item.fi-active > .fi-sidebar-item-button {
    background-color: rgba(236, 102, 49, 0.12);
}

html.dark .fi-body .fi-sidebar-item.fi-active > .fi-sidebar-item-button {
    background-color: rgba(236, 102, 49, 0.18);
}

.fi-body .fi-sidebar-group-label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    opacity: 0.55;
}

.fi-body .fi-section,
.fi-body .fi-ta-ctn,
.fi-body .fi-wi-stats-overview-stat,
.fi-body .fi-simple-main {
    border-radius: 0.75rem;
}

.fi-body .fi-btn.fi-color-primary:not(.fi-btn-outlined):not(label) {
    background-image: linear-gradient(135deg, #ec6631 0%, #5e5ce6 100%);
    color: #fff;
}

.fi-body .fi-btn.fi-color-primary:not(.fi-btn-outlined):not(label):hover {
    background-image: linear-gradient(135deg, #ff7a3d 0%, #ec6631 42%, #5e5ce6 100%);
}

.fi-body .fi-btn.fi-color-primary:not(.fi-btn-outlined):not(label):focus-visible {
    box-shadow: 0 0 0 2px rgba(236, 102, 49, 0.45);
}
