/* Dashboard frame typography follows the Roboto scale used by My Orders.
   Reuse the existing font asset and scope text rules so icon fonts stay intact. */
.ecip-dashboard-shell {
    --ecip-shell-font-family: var(--bs-body-font-family, "Roboto", sans-serif);
    --ecip-shell-text-size: .85rem;
    --ecip-shell-detail-size: .8rem;
}
.ecip-dashboard-shell :is(.left-side-menu, .navbar-custom, .topnav, .footer, .page-title-box, #theme-settings-offcanvas, .x-toast) {
    font-family: var(--ecip-shell-font-family);
}
.ecip-dashboard-shell #sidebar-menu > ul > li > a,
.ecip-dashboard-shell .topnav .navbar-nav .nav-link,
.ecip-dashboard-shell .sidebar-main-menu .nav > .nav-item > .nav-link {
    font-family: var(--ecip-shell-font-family);
    font-size: var(--ecip-shell-text-size);
    font-weight: 500;
}
.ecip-dashboard-shell #sidebar-menu > ul > li > a {
    line-height: 1.55;
}
.ecip-dashboard-shell .nav-second-level li a {
    font-family: var(--ecip-shell-font-family);
    font-size: var(--ecip-shell-detail-size);
    font-weight: 400;
    line-height: 1.55;
}
.ecip-dashboard-shell #sidebar-menu :is(.menuitem-active > a, a.active),
.ecip-dashboard-shell .topnav .navbar-nav .nav-link.active {
    font-weight: 600;
}
.ecip-dashboard-shell #sidebar-menu .menu-title {
    font-family: var(--ecip-shell-font-family);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .07em;
    line-height: 1.5;
}
.ecip-dashboard-shell .left-side-menu .user-box :is(a, h5) {
    font-family: var(--ecip-shell-font-family);
    font-size: var(--ecip-shell-text-size);
    font-weight: 600;
}
.ecip-dashboard-shell .navbar-custom .topnav-menu > li > .nav-link,
.ecip-dashboard-shell .navbar-custom .nav-user {
    font-family: var(--ecip-shell-font-family);
    font-size: var(--ecip-shell-text-size);
    font-weight: 500;
}
.ecip-dashboard-shell :is(.navbar-custom, .left-side-menu, .topnav) .dropdown-menu {
    --bs-dropdown-font-size: var(--ecip-shell-text-size);
    font-family: var(--ecip-shell-font-family);
    font-size: var(--ecip-shell-text-size);
    font-weight: 400;
    line-height: 1.6;
}
.ecip-dashboard-shell :is(.navbar-custom, .left-side-menu, .topnav) .dropdown-menu :is(.dropdown-header, h5, h6) {
    font-family: var(--ecip-shell-font-family);
    font-size: var(--ecip-shell-text-size);
    font-weight: 600;
}
.ecip-dashboard-shell .navbar-custom input {
    font-family: var(--ecip-shell-font-family);
    font-size: var(--ecip-shell-detail-size);
    font-weight: 400;
}
.ecip-dashboard-shell .page-title-box :is(h1, h2, h3, h4) {
    font-family: var(--ecip-shell-font-family);
    font-size: 1.05rem;
    font-weight: 600;
}
.ecip-dashboard-shell .page-title-box p {
    font-size: var(--ecip-shell-text-size);
    line-height: 1.65;
}
.ecip-dashboard-shell .page-title-box .breadcrumb {
    font-size: var(--ecip-shell-detail-size);
    font-weight: 400;
}
.ecip-dashboard-shell .footer {
    font-size: var(--ecip-shell-detail-size);
    font-weight: 400;
    line-height: 1.6;
}
.ecip-dashboard-shell #theme-settings-offcanvas :is(label, p, .btn) {
    font-family: var(--ecip-shell-font-family);
    font-size: var(--ecip-shell-text-size);
    line-height: 1.6;
}
.ecip-dashboard-shell #theme-settings-offcanvas :is(h4, h5, h6) {
    font-family: var(--ecip-shell-font-family);
    font-weight: 600;
}
@media (max-width: 399.98px) {
    .ecip-dashboard-shell .navbar-custom .topnav-menu-left .dropdown-mega > .nav-link {
        font-size: var(--ecip-shell-detail-size);
    }
}
