/* _content/BlazorApp/Components/Layout/MainLayout.razor.rz.scp.css */
.navbar[b-fekawvbbds] {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: 50px; /* Adjust to give space for the top bar */
}

.top-bar[b-fekawvbbds] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    padding: 10px;
    z-index: 100;
    transition: top 0.3s;
}
.top-bar.scrolled[b-fekawvbbds] {
    top: -60px; /* Adjust this value based on your top bar height */
}

.left-side[b-fekawvbbds] {
    display: flex;
    justify-content: flex-start;
}

.right-side[b-fekawvbbds] {
    display: flex;
    justify-content: flex-end;
}

.mainLogo[b-fekawvbbds] {
    width: 70px; /* Adjust logo size */
    height: auto;
}

/* Content Section */
.content[b-fekawvbbds] {
    margin-left: 220px; /* Adjust left margin to match the width of the sidebar */
    padding: 20px; /* Optional: Add padding for better spacing */
    padding-top: 75px
}

/* General Sidebar Styling */
.side-navbar[b-fekawvbbds] {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background: linear-gradient(to right, #ff7e5f, #feb47b); /* Vibrant gradient for warmth */
    padding: 20px;
    box-shadow: 3px 0 15px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    z-index: 1000;
    color: #ffffff; /* Text color */
    font-family: 'Arial', sans-serif; /* Professional font */
}

/* Navigation Links List */
.nav-links[b-fekawvbbds] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item[b-fekawvbbds] {
    margin-bottom: 20px;
}

/* Navigation Links */
.nav-link[b-fekawvbbds] {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff; /* White text for contrast */
    text-decoration: none; /* Remove underline */
    border-radius: 6px;
    background: rgba(255, 152, 0, 0.85); /* Medium orange background */
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1); /* Slight shadow for elevated look */
    transition: background-color 0.3s, transform 0.2s;
}

/* Ensure visited links do not change color */
.nav-link:visited[b-fekawvbbds] {
    color: #ffffff; /* Same as unvisited link */
    text-decoration: none; /* No underline */
}

.nav-link:hover[b-fekawvbbds] {
    background-color: #ef6c00; /* Slightly darker medium orange on hover */
    transform: scale(1.03); /* Slight zoom */
}

.nav-link i[b-fekawvbbds] {
    font-size: 20px;
    margin-right: 12px;
    color: #fb8c00; /* Medium vibrant orange for icons */
}

/* Dividers */
.nav-links .nav-item:not(:last-child)[b-fekawvbbds]::after {
    content: '';
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.3); /* Subtle white divider */
    margin: 12px 0;
}

/* Bottom Navbar Buttons */
.navbar-buttons[b-fekawvbbds] {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.custom-logout-button[b-fekawvbbds] {
    background: linear-gradient(135deg, #ff4c4c, #ff0000); /* Red gradient */
    color: #ffffff;
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
    margin-bottom: 20px; /* Adds space below the button */
}

.custom-logout-button:hover[b-fekawvbbds] {
    background-color: #cc0000; /* Darker red on hover */
    transform: scale(1.05); /* Slight zoom */
}


/* Responsive Design */
@media (max-width: 768px) {
    .side-navbar[b-fekawvbbds] {
        width: 200px;
    }
    .content[b-fekawvbbds] {
        margin-left: 200px;
    }
}

@media (max-width: 480px) {
    .side-navbar[b-fekawvbbds] {
        width: 180px;
    }
    .content[b-fekawvbbds] {
        margin-left: 180px;
    }
}
