/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-5vgwf3cmie] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-5vgwf3cmie] {
    flex: 1;
}

.sidebar[b-5vgwf3cmie] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-5vgwf3cmie] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-5vgwf3cmie]  a, .top-row[b-5vgwf3cmie]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-5vgwf3cmie]  a:hover, .top-row[b-5vgwf3cmie]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-5vgwf3cmie]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 640.98px) {
    .top-row[b-5vgwf3cmie] {
        justify-content: space-between;
    }

        .top-row[b-5vgwf3cmie]  a, .top-row[b-5vgwf3cmie]  .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page[b-5vgwf3cmie] {
        flex-direction: row;
    }

    .sidebar[b-5vgwf3cmie] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-5vgwf3cmie] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-5vgwf3cmie]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-5vgwf3cmie], article[b-5vgwf3cmie] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-5vgwf3cmie] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-5vgwf3cmie] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.dropdown-menu[b-5vgwf3cmie] {
    position: absolute !important;
    background-color: white !important;
    z-index: 1051 !important;
    display: none;
    max-height: calc(100vh - 120px);
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
    min-width: 200px;
}

.dropdown-submenu[b-5vgwf3cmie] {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu[b-5vgwf3cmie] {
        top: 0;
        left: 100%;
        display: none;
        min-width: 200px;
        z-index: 1060;
        max-height: none !important;
        overflow-y: visible !important;
        position: absolute !important;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .dropdown-hover:hover > .dropdown-menu[b-5vgwf3cmie],
    .dropdown-submenu:hover > .dropdown-menu[b-5vgwf3cmie] {
        display: block;
    }

    .dropdown-hover > .dropdown-toggle:active[b-5vgwf3cmie],
    .dropdown-submenu > .dropdown-toggle:active[b-5vgwf3cmie] {
        pointer-events: none;
    }

    .dropdown-menu .dropdown-item[b-5vgwf3cmie],
    .dropdown-submenu .dropdown-item[b-5vgwf3cmie] {
        display: flex;
        align-items: center;
        padding: 8px 15px;
        color: #333 !important;
        font-size: 0.9rem;
        transition: background-color 0.2s;
    }

        .dropdown-menu .dropdown-item .biIcon[b-5vgwf3cmie],
        .dropdown-submenu .dropdown-item .biIcon[b-5vgwf3cmie] {
            margin-right: 10px;
            font-size: 0.9rem;
            color: #555;
        }

        .dropdown-menu .dropdown-item.active .biIcon[b-5vgwf3cmie],
        .dropdown-submenu .dropdown-item.active .biIcon[b-5vgwf3cmie] {
            margin-right: 10px;
            font-size: 0.9rem;
            color: #fff;
        }

        .dropdown-menu .dropdown-item:hover[b-5vgwf3cmie],
        .dropdown-submenu .dropdown-item:hover[b-5vgwf3cmie],
        .dropdown-menu .dropdown-item:focus[b-5vgwf3cmie],
        .dropdown-submenu .dropdown-item:focus[b-5vgwf3cmie] {
            background-color: #f1f1f1 !important;
            color: #000 !important;
        }

        .dropdown-menu .dropdown-item.active[b-5vgwf3cmie],
        .dropdown-submenu .dropdown-item.active[b-5vgwf3cmie] {
            background-color: #6495ed !important;
            color: white !important;
        }

.dropdown-menu > .dropdown-submenu > a[b-5vgwf3cmie]:after {
    float: right;
    margin-left: 10px;
    font-size: 0.9em;
}

.topbar-container[b-5vgwf3cmie] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.1);
    background-color: #6495ed;
    z-index: 1100;
}

.container-fluid[b-5vgwf3cmie] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.navbar-collapse[b-5vgwf3cmie] {
    flex-grow: 1;
    justify-content: flex-start;
}

.navbar-nav[b-5vgwf3cmie] {
    margin-right: auto;
    justify-content: flex-start !important;
}

.nav-link[b-5vgwf3cmie] {
    color: white !important;
    padding: 0.45rem 1.5rem;
    font-size: 0.95rem;
}


.navbar-toggler[b-5vgwf3cmie] {
    border: none;
    background: transparent;
    padding: 0.25rem 0.5rem;
}

.dropdown-item.active[b-5vgwf3cmie], .dropdown-item:active[b-5vgwf3cmie] {
    background-color: #6495ed !important;
    color: white !important;
}


@media (max-width: 768px) {
    .container-fluid[b-5vgwf3cmie] {
        justify-content: space-between;
    }


    .navbar-collapse[b-5vgwf3cmie] {
        order: 3;
        width: 100%;
        margin-top: 1rem;
        background-color: rgba(18, 143, 139, 0.95);
        border-radius: 0.375rem;
        padding: 1rem;
    }

    .navbar-nav[b-5vgwf3cmie] {
        flex-direction: column;
        width: 100%;
        margin: 0;
    }

    .nav-item[b-5vgwf3cmie] {
        width: 100%;
    }

    .nav-link[b-5vgwf3cmie] {
        padding: 0.75rem 1rem;
        border-radius: 0.375rem;
        margin-bottom: 0.25rem;
    }

    .dropdown-menu[b-5vgwf3cmie] {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0.25rem;
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
        box-shadow: none;
        padding: 0.5rem 0;
    }

    .dropdown-submenu .dropdown-menu[b-5vgwf3cmie] {
        position: static !important;
        left: 0 !important;
        width: 100%;
        margin: 0.25rem 0 0 1rem;
        background-color: #e9ecef;
    }

    .topbar-container[b-5vgwf3cmie] {
        padding: 5px 10px;
    }

    .navbar-collapse[b-5vgwf3cmie] {
        position: static;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #6495ed;
        /*        padding: 10px;*/
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1099;
    }

    .navbar-nav .dropdown-menu[b-5vgwf3cmie],
    .navbar-nav .dropdown-submenu[b-5vgwf3cmie] {
        position: static !important;
        width: 100%;
        max-height: none !important;
        overflow-y: visible !important;
        border: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        left: auto !important;
        transform: none !important;
        background-color: white !important;
    }

    .dropdown-item[b-5vgwf3cmie] {
        font-size: 0.9em;
        padding: 8px 15px;
    }

        .dropdown-item.active[b-5vgwf3cmie], .dropdown-item:active[b-5vgwf3cmie] {
            background-color: #6495ed !important;
            color: white !important;
        }


    .navbar-toggler[b-5vgwf3cmie] {
        padding: 5px;
    }
}

.nav-item:last-child .btn[b-5vgwf3cmie] {
    margin-right: 1rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
}


.logout-btn-container[b-5vgwf3cmie] {
    margin-right: 10px;
}

.logout-btn[b-5vgwf3cmie] {
    font-size: 0.9rem;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 6px;
    white-space: nowrap;
}

@media (max-width: 768px) {

    .navbar-collapse[b-5vgwf3cmie] {
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .logout-btn-container[b-5vgwf3cmie] {
        margin-left: auto;
        margin-right: 5px;
    }

    .logout-btn[b-5vgwf3cmie] {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .dropdown-menu.show[b-5vgwf3cmie] {
        display: block !important;
    }
}

.dropdown-submenu[b-5vgwf3cmie] {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu[b-5vgwf3cmie] {
        top: 0;
        left: 100%;
        right: auto;
    }

        .dropdown-submenu > .dropdown-menu.open-left[b-5vgwf3cmie] {
            left: auto !important;
            right: 100% !important;
        }

        .dropdown-submenu > .dropdown-menu.open-left[b-5vgwf3cmie] {
            left: auto !important;
            right: 100% !important;
        }
