/* _content/TheChaosManager/Components/Layout/MainLayout.razor.rz.scp.css */
/* --- Core Layout --- */
.page[b-xeeb4lask4] {
    display: flex;
    flex-direction: column;
    background-color: #4A3F39; /* Soft Cocoa - Less harsh */
    min-height: 100vh;
}

main[b-xeeb4lask4] {
    flex: 1;
    padding: 2rem;
}

/* --- Sidebar: Muted Sandstone --- */
.sidebar[b-xeeb4lask4] {
    background-color: #A3907D; /* The "Beige-Caramel" */
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(242, 236, 228, 0.1);
}

/* --- MudBlazor Deep Overwrites --- */

/* Surfaces: A matte, velvety chocolate mousse */
.mud-paper[b-xeeb4lask4] {
    border-radius: 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    /* Soft "Silk" highlight on the edge */
    border: 1px solid rgba(242, 236, 228, 0.08); 
}

/* Nav Links: Rounded and soft */
[b-xeeb4lask4] .mud-nav-link {
    color: #fcf9f5 !important;
    font-weight: 500;
    margin: 0.5rem 3rem 2rem 1rem;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    align-items: end;
    transition: background-color 0.3s ease;
    text-decoration: none !important; /* Remove underline */
}

[b-xeeb4lask4] .mud-nav-link.active {
    background-color: #4A3F39 !important; /* Recessed look */
    color: #B59F85 !important; /* Toasted Pecan text */
    font-weight: 700;
    text-decoration: none !important; /* Remove underline */
}

[b-xeeb4lask4] .mud-nav-link-icon-default {
    color:#fcf9f5 !important;
    height: 100%;
    width: 20%;
    text-decoration: none !important; /* Remove underline */
} 


[b-xeeb4lask4] .description-tooltip {
    background: linear-gradient(135deg, #49403b 0%, #201b19 100%) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(49, 43, 36, 0.507) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    padding: 12px !important;
    min-width: 200px !important;
}

[b-xeeb4lask4] .description-tooltip .mud-tooltip-arrow {
    color: #49403b !important;
}

.description-tooltip-content[b-xeeb4lask4] {
    line-height: 1.8;
}

.description-tooltip-content strong[b-xeeb4lask4] {
    color: #B59F85;
    font-weight: 600;
}


/* --- Refined Creative Touches --- */

/* Subtle Background Gradient: Less glow, more "depth" */
.page[b-xeeb4lask4]::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(181, 159, 133, 0.03) 0%, transparent 80%);
}

/* Scrollbar: Muted and discrete */
[b-xeeb4lask4]::-webkit-scrollbar {
    width: 8px;
}
[b-xeeb4lask4]::-webkit-scrollbar-track {
    background: #4A3F39;
}
[b-xeeb4lask4]::-webkit-scrollbar-thumb {
    background: #8D7B68;
    border-radius: 10px;
}

/* Responsive Logic */
@media (min-width: 641px) {
    .page[b-xeeb4lask4] { flex-direction: row; }
    .sidebar[b-xeeb4lask4] { 
        width: 260px; 
        height: 100vh; 
        position: sticky; 
        top: 0;
    }
}

.mud-button-filled.mud-button-filled-primary:hover[b-xeeb4lask4] {
    background-color: var(--mud-palette-primary);
    /* Slightly lighter chocolate */
    transform: scale(1.05);
    animation: jelly-b-xeeb4lask4 0.5s ease;
}

.mud-button-filled.mud-button-filled-primary[b-xeeb4lask4] {
    border-radius: 12px !important;
    background-color: var(--mud-palette-primary);
    transition: all 0.3s ease-in-out;
}

@keyframes jelly-b-xeeb4lask4 {
    0% {
        transform: scale(1.05, 1.05);
    }
    30% {
        transform: scale(1.1, 0.9);
    }
    40% {
        transform: scale(0.9, 1.1);
    }
    50% {
        transform: scale(1.05, 0.95);
    }
    100% {
        transform: scale(1.05, 1.05);
    }
}
/* _content/TheChaosManager/Components/Layout/NavMenu.razor.rz.scp.css */
/* Update your MainLayout.razor.css with these specific fixes */

.page[b-g5vvzz5tyu] {
    display: flex;
    flex-direction: row; /* Desktop first */
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
}

.sidebar[b-g5vvzz5tyu] {
    width: 280px;
    flex-shrink: 0; /* Prevents the sidebar from squishing */
    background-color: #A3907D;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main[b-g5vvzz5tyu] {
    flex-grow: 1;
    min-width: 0; /* Critical fix for text overflow in flexbox */
    background-color: #4A3F39;
    padding: 2rem;
}
