/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-oujwtf5dp8] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-oujwtf5dp8] {
    flex: 1;
}

.top-row[b-oujwtf5dp8] {
    position: sticky;
    top: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.75rem;
    padding: 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid #e2e6eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .06);
}

.brand-link[b-oujwtf5dp8] {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: .5px;
    color: #0d6efd;
    text-decoration: none;
    padding: .55rem .25rem;
}

.brand-link:hover[b-oujwtf5dp8] {
    color: #0a58ca;
}

.brand-logo[b-oujwtf5dp8] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #0d6efd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: .5rem;
    box-shadow: 0 0 2px rgba(13, 110, 253, .15);
}

.top-bar-right[b-oujwtf5dp8] {
    gap: .5rem;
}

.nav-btn[b-oujwtf5dp8] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .85rem;
    font-weight: 500;
    padding: .55rem .85rem;
    border-radius: .5rem;
    color: #344054;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e2e6eb;
    transition: background .15s, box-shadow .15s, transform .18s;
}

.nav-btn:hover[b-oujwtf5dp8],
.nav-btn:focus[b-oujwtf5dp8] {
    background: #f1f5f9;
    text-decoration: none;
    box-shadow: 0 0 2px rgba(255, 255, 255, .25);
}

.nav-btn:active[b-oujwtf5dp8] {
    transform: translateY(1px);
}

.nav-btn-primary[b-oujwtf5dp8] {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .35);
}

.nav-btn-primary:hover[b-oujwtf5dp8] {
    background: rgba(255, 255, 255, .35);
}

.nav-btn.text-danger[b-oujwtf5dp8] {
    color: #ffe2e2;
}

.nav-btn.text-danger:hover[b-oujwtf5dp8] {
    background: rgba(255, 255, 255, .28);
    color: #fff;
}

.nav-list[b-oujwtf5dp8] {
    list-style: none;
    display: flex;
    align-items: center;
    gap: .25rem;
    margin: 0;
    padding: 0;
}

.nav-item[b-oujwtf5dp8] {
    position: relative;
}

.nav-link[b-oujwtf5dp8] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .85rem;
    font-weight: 500;
    padding: .55rem .85rem;
    border-radius: .5rem;
    color: #344054;
    text-decoration: none;
    transition: .15s;
}

.nav-link:hover[b-oujwtf5dp8] {
    background: #f1f5f9;
    color: #1d2939;
}

.nav-link.logout[b-oujwtf5dp8] {
    color: #b42318;
}

.nav-link.logout:hover[b-oujwtf5dp8] {
    background: #fee4e2;
    color: #912018;
}

.has-menu .menu-trigger[b-oujwtf5dp8] {
    cursor: pointer;
}

.menu-panel[b-oujwtf5dp8] {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: .35rem;
    min-width: 250px;
    background: #ffffff;
    border: 1px solid #d7dce3;
    border-radius: .6rem;
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, .18), 0 4px 12px -4px rgba(0, 0, 0, .12);
    animation: fadePanel-b-oujwtf5dp8 .16s ease-out;
}

.menu-items[b-oujwtf5dp8] {
    list-style: none;
    margin: 0;
    padding: .35rem 0;
}

.menu-link[b-oujwtf5dp8] {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .80rem;
    padding: .55rem 1rem;
    color: #344054;
    text-decoration: none;
    font-weight: 500;
    border-radius: .4rem;
    transition: background .15s, color .15s;
}

.menu-link:hover[b-oujwtf5dp8] {
    background: #f5f8fa;
    color: #1d2939;
}

.menu-link.disabled[b-oujwtf5dp8] {
    opacity: .55;
    cursor: not-allowed;
}

.menu-separator hr[b-oujwtf5dp8] {
    margin: .35rem 0;
    border-top: 1px solid #eceeef;
}

@keyframes fadePanel-b-oujwtf5dp8 {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content[b-oujwtf5dp8] {
    flex: 1;
    background: #f7f9fc;
}

.content[b-oujwtf5dp8] {
    max-width: 1350px;
    margin: 0 auto;
    padding: 1.25rem .75rem 2.5rem;
}

/* Responsive */
@media (max-width: 900px) {
    .top-row[b-oujwtf5dp8] {
        flex-wrap: wrap;
        height: auto;
        padding: .75rem 1rem;
    }

    .top-bar-right[b-oujwtf5dp8] {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-top: .5rem;
    }

    .nav-btn[b-oujwtf5dp8] {
        flex: 11 auto;
        text-align: center;
    }

    .nav-dropdown[b-oujwtf5dp8] {
        flex: 11100%;
    }

    .dropdown-surface[b-oujwtf5dp8] {
        position: static;
        box-shadow: none;
        border: 0;
        animation: none;
        background: transparent;
        padding: 0;
    }

    .dropdown-item[b-oujwtf5dp8] {
        background: #fff;
        border: 1px solid #e2e6eb;
        margin-bottom: .5rem;
        border-radius: .5rem;
    }

    .portal-container[b-oujwtf5dp8] {
        flex-wrap: wrap;
    }

    .nav-list[b-oujwtf5dp8] {
        flex-wrap: wrap;
    }

    .nav-item[b-oujwtf5dp8] {
        flex: 11 auto;
    }

    .nav-link[b-oujwtf5dp8] {
        justify-content: center;
        width: 100%;
    }

    .has-menu .menu-panel[b-oujwtf5dp8] {
        position: static;
        box-shadow: none;
        border: 0;
        animation: none;
        margin-top: .5rem;
    }

    .menu-link[b-oujwtf5dp8] {
        background: #fff;
        border: 1px solid #e2e6eb;
        margin: .25rem .35rem;
    }
}

#blazor-error-ui[b-oujwtf5dp8] {
    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-oujwtf5dp8] {
    cursor: pointer;
    position: absolute;
    right: .75rem;
    top: .5rem;
}

.portal-header[b-oujwtf5dp8] {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: #ffffff;
    border-bottom: 1px solid #e2e6eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .06);
}

.portal-container[b-oujwtf5dp8] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 .75rem;
    display: flex;
    align-items: center;
}

.portal-brand[b-oujwtf5dp8] {
    display: flex;
    align-items: center;
    margin-right: 1.25rem;
}

.brand-link[b-oujwtf5dp8] {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: .5px;
    color: #0d6efd;
    text-decoration: none;
    padding: .55rem .25rem;
}

.brand-link:hover[b-oujwtf5dp8] {
    color: #0a58ca;
}

.brand-logo[b-oujwtf5dp8] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #0d6efd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: .5rem;
    box-shadow: 0 0 2px rgba(13, 110, 253, .15);
}

.portal-nav[b-oujwtf5dp8] {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-list[b-oujwtf5dp8] {
    list-style: none;
    display: flex;
    align-items: center;
    gap: .25rem;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    width: 100%;
}

.nav-item[b-oujwtf5dp8] {
    position: relative;
}

.nav-link[b-oujwtf5dp8],
.menu-trigger[b-oujwtf5dp8] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    font-size: .95rem;
    font-weight: 500;
    padding: .55rem 1.1rem;
    border-radius: .5rem;
    color: #344054;
    text-decoration: none;
    background: none;
    border: none;
    transition: background .15s, color .15s;
    cursor: pointer;
    height: 40px;
    min-width: 100px;
    box-sizing: border-box;
}

.nav-link span[b-oujwtf5dp8],
.menu-trigger span[b-oujwtf5dp8],
.menu-link span[b-oujwtf5dp8] {
    flex: 1;
    text-align: center;
}

.nav-link i[b-oujwtf5dp8],
.menu-trigger i[b-oujwtf5dp8] {
    flex-shrink: 0;
}

.nav-link:hover[b-oujwtf5dp8],
.menu-trigger:hover[b-oujwtf5dp8] {
    background: #f1f5f9;
    color: #1d2939;
}

.nav-link.logout[b-oujwtf5dp8] {
    color: #b42318;
}

.nav-link.logout:hover[b-oujwtf5dp8] {
    background: #fee4e2;
    color: #912018;
}

.has-menu .menu-trigger[b-oujwtf5dp8] {
    cursor: pointer;
    border: none;
    background: none;
}

.menu-panel[b-oujwtf5dp8] {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: .35rem;
    min-width: 250px;
    background: #ffffff;
    border: 1px solid #d7dce3;
    border-radius: .6rem;
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, .18), 0 4px 12px -4px rgba(0, 0, 0, .12);
    animation: fadePanel-b-oujwtf5dp8 .16s ease-out;
    z-index: 1100;
}

/* Variante compacta do menu-panel */
.menu-panel-compact[b-oujwtf5dp8] {
    min-width: 220px;
    max-width: 220px;
}

.menu-items[b-oujwtf5dp8] {
    list-style: none;
    margin: 0;
    padding: .35rem 0;
}

.menu-link[b-oujwtf5dp8] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .65rem;
    font-size: .875rem;
    padding: .65rem 1rem;
    color: #344054;
    text-decoration: none;
    font-weight: 500;
    border-radius: .4rem;
    transition: background .15s, color .15s;
    white-space: nowrap;
}

.menu-link span[b-oujwtf5dp8] {
    flex: 1;
    text-align: left;
}

.menu-link i[b-oujwtf5dp8] {
    flex-shrink: 0;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.menu-link:hover[b-oujwtf5dp8] {
    background: #f5f8fa;
    color: #1d2939;
}

.menu-link.disabled[b-oujwtf5dp8] {
    opacity: .55;
    cursor: not-allowed;
}

.menu-separator hr[b-oujwtf5dp8] {
    margin: .35rem 0;
    border: 0;
    border-top: 1px solid #eceeef;
}

@keyframes fadePanel-b-oujwtf5dp8 {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overlay transparente para fechar o menu ao clicar fora */
.menu-overlay[b-oujwtf5dp8] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    background: transparent;
    cursor: default;
}

.portal-main[b-oujwtf5dp8] {
    background: #f7f9fc;
    min-height: calc(100vh - 60px);
}

.portal-content[b-oujwtf5dp8] {
    max-width: 1350px;
    margin: 0 auto;
    padding: 1.25rem .75rem 2.5rem;
}

/* Centraliza texto dos bot�es */
.nav-link span[b-oujwtf5dp8],
.menu-trigger span[b-oujwtf5dp8],
.menu-link span[b-oujwtf5dp8] {
    display: inline-block;
    width: 100%;
    text-align: center;
}

/* Remove borda do bot�o de configura��es */
.menu-trigger[b-oujwtf5dp8] {
    border: none !important;
    background: none !important;
}

/* Responsive */
@media (max-width: 900px) {
    .top-row[b-oujwtf5dp8] {
        flex-wrap: wrap;
        height: auto;
        padding: .75rem 1rem;
    }

    .top-bar-right[b-oujwtf5dp8] {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-top: .5rem;
    }

    .nav-btn[b-oujwtf5dp8] {
        flex: 11 auto;
        text-align: center;
    }

    .nav-dropdown[b-oujwtf5dp8] {
        flex: 11100%;
    }

    .dropdown-surface[b-oujwtf5dp8] {
        position: static;
        box-shadow: none;
        border: 0;
        animation: none;
        background: transparent;
        padding: 0;
    }

    .dropdown-item[b-oujwtf5dp8] {
        background: #fff;
        border: 1px solid #e2e6eb;
        margin-bottom: .5rem;
        border-radius: .5rem;
    }

    .portal-container[b-oujwtf5dp8] {
        flex-wrap: wrap;
    }

    .nav-list[b-oujwtf5dp8] {
        flex-wrap: wrap;
    }

    .nav-item[b-oujwtf5dp8] {
        flex: 11 auto;
    }

    .nav-link[b-oujwtf5dp8],
    .menu-trigger[b-oujwtf5dp8] {
        justify-content: center;
        width: 100%;
    }

    .has-menu .menu-panel[b-oujwtf5dp8] {
        position: static;
        box-shadow: none;
        border: 0;
        animation: none;
        margin-top: .5rem;
    }

    .menu-link[b-oujwtf5dp8] {
        background: #fff;
        border: 1px solid #e2e6eb;
        margin: .25rem .35rem;
    }
}

#blazor-error-ui[b-oujwtf5dp8] {
    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-oujwtf5dp8] {
    cursor: pointer;
    position: absolute;
    right: .75rem;
    top: .5rem;
}
