body {
    background-color: #f4f6f9;
}

/* Fix for no-sidebar layout - remove sidebar space when user is not logged in */
.wrapper.no-sidebar {
    margin-left: 0 !important;
}

.wrapper.no-sidebar .content-wrapper {
    margin-left: 0 !important;
    width: 100% !important;
}

.wrapper.no-sidebar .main-header {
    margin-left: 0 !important;
}

/* Ensure full width content when no sidebar */
body.layout-top-nav .content-wrapper,
body.layout-top-nav .main-header {
    margin-left: 0 !important;
}

body.layout-top-nav .wrapper {
    margin-left: 0 !important;
}

/* Remove any sidebar background when not authenticated */
.wrapper.no-sidebar::before,
.wrapper.no-sidebar::after {
    display: none !important;
}

/* Hide sidebar area completely when no user */
.wrapper.no-sidebar .main-sidebar {
    display: none !important;
}

/* Override AdminLTE sidebar background colors when no sidebar */
body.layout-top-nav .wrapper {
    background: transparent !important;
}

body.layout-top-nav .content-wrapper {
    background: #f4f6f9 !important;
}

/* Remove any blue background from sidebar area */
.wrapper.no-sidebar {
    background: transparent !important;
}

/* Ensure navbar and content have proper backgrounds */
.wrapper.no-sidebar .main-header {
    background: #fff !important;
}

.wrapper.no-sidebar .content-wrapper {
    background: #f4f6f9 !important;
}

/* App name in header styling */
.nav-link:not([href]):not([tabindex]) {
    color: #495057;
    font-weight: 600;
    cursor: default;
}
