/* /Components/Layout/MainLayout.razor.rz.scp.css */
body[b-6t45t1nppw] {
}

/* =========================================
   General Layout
========================================= */
.layout-container[b-6t45t1nppw] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #ecf0f1;
}

.top-bar[b-6t45t1nppw] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #cce5ff; /* light blue */
    color: black;
    padding: 10px 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    font-family: "Book Antiqua", serif;
    z-index: 1000;
}

    .top-bar h3[b-6t45t1nppw] {
        margin: 0;
    }

.main-content[b-6t45t1nppw] {
    display: flex;
    flex-grow: 1;
    margin-top: 60px; /* offset below top bar */
    height: calc(100vh - 60px);
}

/* =========================================
  Side Bar
========================================= */
.side-bar[b-6t45t1nppw] {
    background-color: #ecf0f1; /* light blue */
    color: #343a40;
    width: 220px;
    position: fixed;
    top: 60px; /* below top bar */
    bottom: 0;
    left: 0;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    font-family: "Book Antiqua", serif;
    z-index: 999;
}

    .side-bar[b-6t45t1nppw]::-webkit-scrollbar {
        width: 6px;
    }

    .side-bar[b-6t45t1nppw]::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.2);
        border-radius: 3px;
    }

/* =========================================
   Page Body
========================================= */
.page-body[b-6t45t1nppw] {
    margin-left: 220px; /* leave room for sidebar */
    flex-grow: 1;
    padding: 20px;
    background-color: #ecf0f1;
    overflow-y: auto;
}

/* =========================================
   Sidebar Buttons
========================================= */
.side-button[b-6t45t1nppw] {
    background-color: #cce5ff; /* light blue */
    border: none;
    text-align: left;
    color: #212529;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    width: 100%; /* FIX: no more 150% */
}

    .side-button i[b-6t45t1nppw] {
        min-width: 20px;
        text-align: center;
        transition: transform 0.2s;
    }

    .side-button:hover[b-6t45t1nppw] {
        background-color: #99ccff;
        color: #212529;
        transform: translateX(5px);
        text-decoration: none;
    }

        .side-button:hover i[b-6t45t1nppw] {
            transform: scale(1.1) rotate(10deg);
        }

    .side-button.active[b-6t45t1nppw] {
        background-color: #007bff;
        color: #fff;
    }

        .side-button.active i[b-6t45t1nppw] {
            color: #fff;
        }

/* =========================================
   Responsive
========================================= */
@media (max-width: 768px) {
    .side-bar[b-6t45t1nppw] {
        display: none; /* hide sidebar on mobile */
    }

    .page-body[b-6t45t1nppw] {
        margin-left: 0; /* full width when sidebar hidden */
    }

    .menu-toggle[b-6t45t1nppw] {
        display: block;
    }

    .top-menu[b-6t45t1nppw] {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #cce5ff;
        flex-direction: column;
        padding: 10px;
        border-radius: 5px;
        z-index: 2000;
    }

        .top-menu.open[b-6t45t1nppw] {
            display: flex;
        }
}
