﻿/*//B:\pensoft\SBMDigital\NCBABroker\wwwroot\css\ncbaspecific.css
*/
.badge {
    color: black !important;
    font-weight: 700;
}
/*.users-sidebar * {
        color: black !important;
    }*/

.ncba-nav {
    text-transform: uppercase;
    font-size: 16px;
    padding: 0 !important;
    color: #392030 !important;
    position: relative;
    font-family: "avertablack";
}
/* Fixed navbar solution */
/*.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;*/
/* z-index: 1030; */ /* High z-index to ensure navbar stays on top */
/*z-index: 997;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-weight: 700;
    margin-top: 0px;
}*/
.navbar-brand {
    margin-bottom: 20px;
    padding-top: 5px;
}

    .navbar-brand img {
        max-height: 60px;
        width: auto;
        margin-bottom: 20px;
        margin-top: 3px;
        padding: 5px;
    }

/* Inline styles to fix spacing issues */
/* Critical spacing fix */
.body {
    padding-top: 170px; /* Adjust this value based on your navbar height */
    margin-top: 0;
    padding-top: 0;
}

/* Remove any default margins that might cause space */
:root {
    --bs-body-margin-top: 0;
}


/* Custom navbar styling added*/
/*.navbar-brand img {
    max-height: 50px;
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 1000;
}

    .back-to-top:hover {
        transform: translateY(-3px);
    }

@media (max-width: 992px) {
    .navbar-collapse {
        padding-top: 1rem;
    }

    .nav-item {
        margin: 0.25rem 0;
    }
}*/
/* Ensure proper spacing */
.navbar-brand {
    padding: 0;
    margin-right: 2rem;
}






/* Mobile optimization */
@media (max-width: 992px) {
    .navbar-collapse {
        padding-top: 1rem;
    }

    .nav-item {
        margin: 0.5rem 0;
    }
}

/* Prevent text wrapping */
/*.nav-link {
    white-space: nowrap;
}*/
/* For mobile devices, adjust padding if navbar height changes */
@media (max-width: 768px) {
    body {
        padding-top: 56px; /* Typically navbar is slightly shorter on mobile */
    }
}

/* Alternative solution using main content wrapper */
.main-content-wrapper {
    padding-top: 70px; /* Match the body padding-top value */
}

/* If you're using Blazor's @Body, ensure its container has appropriate spacing */
.body > .container:first-child,
.body > .container-fluid:first-child {
    padding-top: 1rem;
    margin-top: 60px; /* Match the body padding-top value */
}
