:root {
    --fx-bg: #050b1a;
    --fx-panel: rgba(255, 255, 255, 0.06);
    --fx-panel-2: rgba(255, 255, 255, 0.08);
    --fx-border: rgba(255, 255, 255, 0.08);
    --fx-text: rgba(255, 255, 255, 0.88);
    --fx-muted: rgba(255, 255, 255, 0.62);
    --fx-accent: #ffbf2f;
}

html,
body {
    height: 100%;
}

/* Ensure dashboard layout always stretches full width */
#fx-dashboard,
#fx-dashboard main {
    min-width: 0;
    max-width: 100%;
}
#fx-dashboard main {
    overflow-x: hidden;
}

/* Scoped to avoid class overlap with other pages */
#fx-app {
    min-height: 100%;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background-color: var(--fx-bg);
    background-image: url("/images/Main Dashboard bg.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--fx-text);
}

@media (max-width: 991px) {
    #fx-app {
        background-attachment: scroll;
        min-height: 100vh;
    }
}

#fx-app .fx-surface {
    background: var(--fx-panel);
    border: 1px solid var(--fx-border);
    backdrop-filter: blur(10px);
}

#fx-app .fx-surface-2 {
    background: var(--fx-panel-2);
    border: 1px solid var(--fx-border);
    backdrop-filter: blur(10px);
}

#fx-app .fx-accent {
    background: var(--fx-accent);
    color: #111;
}

#fx-app .fx-muted {
    color: var(--fx-muted) !important;
}

#fx-app .fx-link {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
}

#fx-app .fx-link:hover,
#fx-app .fx-link.active {
    color: #fff;
    text-decoration: none;
}

#fx-app .fx-card-number {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.2px;
}

