/* _content/HospitalInformationSystem.WebUI/Components/Application/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-68h2wh7rvt] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    direction: rtl;
    background-color: var(--bs-body-bg, #f7f7f7);
}

.appbar-rtl[b-68h2wh7rvt] {
    direction: rtl;
}

.appbar-normal-flow[b-68h2wh7rvt] {
    position: static;
    width: 100%;
    z-index: 100;
}

.appbar-flex[b-68h2wh7rvt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

.appbar-leading[b-68h2wh7rvt] {
    display: flex;
    align-items: center;
}

.appbar-leading[b-68h2wh7rvt] {
    min-height: 64px;
    padding-block: 8px;
    display: flex;
    align-items: center;
}

.appbar-title[b-68h2wh7rvt] {
    flex: 1 1 auto;
    text-align: center;
    font-weight: 600;
}

.appbar-actions[b-68h2wh7rvt] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.app-layout[b-68h2wh7rvt] {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: row-reverse;
    position: relative;
}



/* MainLayout.razor.css */
.app-sidebar[b-68h2wh7rvt] {
    border: 4px solid red !important;
}

/* MainLayout.razor.css */
.app-sidebar[b-68h2wh7rvt] {
    outline: 3px solid red !important;
}

.page-content[b-68h2wh7rvt] {
    flex: 1 1 auto;
    padding: 1.5rem;
    min-width: 0;
    background: #f9fafb;
}

@media (max-width: 992px) {
    .app-layout[b-68h2wh7rvt] {
        flex-direction: row;
    }

    .app-sidebar.e-sidebar[b-68h2wh7rvt] {
        width: 80vw;
        max-width: 320px;
    }

    .page-content[b-68h2wh7rvt] {
        padding: 1.25rem;
        background: #fff;
    }
}

@media (min-width: 993px) {
    .app-sidebar.e-sidebar[b-68h2wh7rvt] {
        width: 260px;
    }
}



/* ناحیه leading همیشه هم‌ارتفاع AppBar شود */
.appbar-leading[b-68h2wh7rvt] {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 8px;
}

/* ظرف لوگو هم‌ارتفاع AppBar */
.appbar-logo[b-68h2wh7rvt],
.appbar-logo-link[b-68h2wh7rvt] {
    display: inline-flex;
    align-items: center;
    height: 100%;
}

/* خود تصویر: بیشترین ارتفاع ممکن بدون به‌هم‌ریختگی */
.appbar-logo-img[b-68h2wh7rvt] {
    width: auto !important;
    max-height: 40px;
    object-fit: contain;
    display: block;
}



/* ارتفاع کلی AppBar را 64px کن */
.appbar-rtl.e-appbar[b-68h2wh7rvt] {
    height: 48px;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
}

/* بزرگ کردن آیکون همبرگری */
.appbar-leading .e-btn.e-icon-btn .e-btn-icon[b-68h2wh7rvt],
.appbar-leading .e-btn.e-icon-btn .e-icons[b-68h2wh7rvt] {
    font-size: 22px; /* مقدار دلخواه: 22, 24, 26... */
    line-height: 1;
}



/*-- nav menu -------------------------------------------------------*/


.sidebar-header[b-68h2wh7rvt] {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--bs-border-color, #e5e5e5);
    display: none;
}

.sidebar-title[b-68h2wh7rvt] {
    font-size: 1.1rem;
    font-weight: 600;
}

.sidebar-tree[b-68h2wh7rvt] {
    padding: 1rem 0.75rem 2rem;
}
