/* Smartphone Flutter ListView Custom Overrides for Filament v4 */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap");

/* Completely Hide Top Loading Progress Bar */
#nprogress,
#nprogress-bar,
.nprogress-busy,
.fi-loading-indicator,
.fi-top-loading-bar,
.bar {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
}

/* Force Mobile Viewport Layout & Global Background Image */
html,
body,
.fi-body,
.fi-layout,
.fi-main-ctn {
    background-image: url("/assets/bg.webp") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    max-width: 100vw !important;
    min-height: 100vh !important;
    font-family:
        "Plus Jakarta Sans",
        -apple-system,
        sans-serif !important;
}

.fi-main,
.fi-content,
.fi-page {
    background: transparent !important;
}

/* main{
    padding: 0 !important;
} */

section.flex.flex-col.gap-y-8.py-8 {
    gap: 0 !important;
    padding-top: 14px !important;
    padding-bottom: 0 !important;
}

/* Floating Action Button (FAB) - Bottom Left Guaranteed Display */
.mobile-fab-btn {
    position: fixed !important;
    bottom: 1.5rem !important;
    left: 1.5rem !important;
    z-index: 99999 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: 9999px !important;
    background: linear-gradient(
        135deg,
        #03a5fc 0%,
        #0284c7 50%,
        #0369a1 100%
    ) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    box-shadow: 0 10px 25px -5px rgba(3, 165, 252, 0.5), 0 8px 10px -6px rgba(3, 165, 252, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.025em !important;
}

.mobile-fab-btn:active {
    transform: scale(0.95) !important;
    box-shadow: 0 4px 12px -2px rgba(3, 165, 252, 0.4) !important;
}

.mobile-fab-btn:hover {
    background: linear-gradient(
        135deg,
        #0284c7 0%,
        #0369a1 50%,
        #075985 100%
    ) !important;
    color: #ffffff !important;
}

/* Topbar Fixed / Sticky & Centered Title */
.fi-topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 45 !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 20px -5px rgba(3, 165, 252, 0.3) !important;
}

nav .fi-topbar-open-sidebar-btn > .fi-icon-btn-icon.h-6.w-6 {

    color: white !important;
}
nav .fi-topbar-close-sidebar-btn > .fi-icon-btn-icon.h-6.w-6 {

    color: white !important;
}
.fi-topbar > nav {
    height: 3.25rem !important;
    background: linear-gradient(
        135deg,
        #03a5fc 0%,
        #0284c7 50%,
        #0369a1 100%
    ) !important;
}

#filament-centered-topbar-title {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    color: white !important;
    pointer-events: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 55vw !important;
    text-align: center !important;
}

.dark #filament-centered-topbar-title {
    color: #ffffff !important;
}
