/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-25kg91bvox] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-25kg91bvox] {
    flex: 1;
}

.sidebar[b-25kg91bvox] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    width: 250px;
    transition: width 0.3s ease;
}

.main[b-25kg91bvox] {
    transition: margin-left 0.3s ease;
}

.top-row[b-25kg91bvox] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-25kg91bvox]  a, .top-row[b-25kg91bvox]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-25kg91bvox]  a:hover, .top-row[b-25kg91bvox]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-25kg91bvox]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row[b-25kg91bvox] {
        justify-content: space-between;
    }

    .top-row[b-25kg91bvox]  a, .top-row[b-25kg91bvox]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-25kg91bvox] {
        flex-direction: row;
    }

    .sidebar[b-25kg91bvox] {
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-25kg91bvox] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-25kg91bvox]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-25kg91bvox], article[b-25kg91bvox] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    /* Comportamento de encolhimento para mini-sidebar */
    .page.sidebar-collapsed .sidebar[b-25kg91bvox] {
        width: 70px !important;
    }
}

#blazor-error-ui[b-25kg91bvox] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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-25kg91bvox] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Garante a transição suave da barra lateral */
.sidebar[b-25kg91bvox] {
    width: 250px;
    transition: width 0.3s ease;
}

@media (min-width: 641px) {
    /* Quando a página estiver com a classe de recolhimento, diminui a largura da barra */
    .page.sidebar-collapsed .sidebar[b-25kg91bvox] {
        width: 70px !important;
    }

    /* Esconde os títulos e textos dos menus quando a barra estiver recolhida */
    .page.sidebar-collapsed .sidebar .menu-title[b-25kg91bvox],
    .page.sidebar-collapsed .sidebar span:not(.bi)[b-25kg91bvox] {
        display: none !important;
    }

    /* Centraliza os ícones no modo recolhido */
    .page.sidebar-collapsed .sidebar .nav-link[b-25kg91bvox] {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }

    .page.sidebar-collapsed .sidebar .menu-header[b-25kg91bvox] {
        justify-content: center;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Cabeçalho do Menu (O Hamburguer) */
.menu-header[b-38enom0g51] {
    background-color: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.menu-icon[b-38enom0g51] {
    font-size: 2rem;
    color: #333;
    margin-right: 15px;
    line-height: 1;
}

.menu-title[b-38enom0g51] {
    font-size: 1.2rem;
    color: #555;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Container do Menu */
.colorful-menu[b-38enom0g51] {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Blocos de Navegação colados */
.colorful-menu .nav-item[b-38enom0g51] {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Links (Texto e Ícones) */
.colorful-menu .nav-link[b-38enom0g51] {
    color: #ffffff !important; /* Força o texto a ser branco absoluto */
    padding: 18px 20px;
    font-size: 1.1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
}

.colorful-menu .nav-link span.bi[b-38enom0g51] {
    margin-right: 15px;
    font-size: 1.3rem;
    color: #ffffff !important; /* Força os ícones a serem brancos também */
    opacity: 0.9;
}

/* Garante que continue branco mesmo ao passar o mouse ou clicar */
.colorful-menu .nav-link.active[b-38enom0g51], 
.colorful-menu .nav-link:hover[b-38enom0g51],
.colorful-menu .nav-link:focus[b-38enom0g51] {
    color: #ffffff !important;
    filter: brightness(1.15); /* Apenas clareia um pouco o fundo no hover */
}

/* =========================================
   AS CORES INSPIRADAS NA SUA IMAGEM
========================================= */
.item-home[b-38enom0g51] { background-color: #d35400; }        /* Laranja Escuro */
.item-entidades[b-38enom0g51] { background-color: #f39c12; }   /* Amarelo Laranja */
.item-avaliadores[b-38enom0g51] { background-color: #2980b9; } /* Azul Claro */
.item-pessoas[b-38enom0g51] { background-color: #1a5276; }     /* Azul Escuro */
.item-exame[b-38enom0g51] { background-color: #e0e1e2; }       /* Azul Petróleo */
.item-suite[b-38enom0g51] { background-color: #9b989c; }       /* Roxo Optométrico */
/* Cabeçalho do Menu (O Hamburguer) */
.menu-header[b-38enom0g51] {
    background-color: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.menu-icon[b-38enom0g51] {
    font-size: 2rem;
    color: #333;
    margin-right: 15px;
    line-height: 1;
}

.menu-title[b-38enom0g51] {
    font-size: 1.2rem;
    color: #555;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Container do Menu */
.colorful-menu[b-38enom0g51] {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Blocos de Navegação colados */
.colorful-menu .nav-item[b-38enom0g51] {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Links (Texto e Ícones) */
.colorful-menu .nav-link[b-38enom0g51] {
    color: #ffffff !important; /* Força o texto a ser branco absoluto */
    padding: 18px 20px;
    font-size: 1.1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
}

.colorful-menu .nav-link span.bi[b-38enom0g51] {
    margin-right: 15px;
    font-size: 1.3rem;
    color: #ffffff !important; /* Força os ícones a serem brancos também */
    opacity: 0.9;
}

/* Garante que continue branco mesmo ao passar o mouse ou clicar */
.colorful-menu .nav-link.active[b-38enom0g51], 
.colorful-menu .nav-link:hover[b-38enom0g51],
.colorful-menu .nav-link:focus[b-38enom0g51] {
    color: #ffffff !important;
    filter: brightness(1.15); /* Apenas clareia um pouco o fundo no hover */
}

/* =========================================
   AS CORES INSPIRADAS NA SUA IMAGEM
========================================= */
.item-home[b-38enom0g51] { background-color: #d35400; }        /* Laranja Escuro */
.item-entidades[b-38enom0g51] { background-color: #f39c12; }   /* Amarelo Laranja */
.item-avaliadores[b-38enom0g51] { background-color: #2980b9; } /* Azul Claro */
.item-pessoas[b-38enom0g51] { background-color: #1a5276; }     /* Azul Escuro */
.item-exame[b-38enom0g51] { background-color: #e0e1e2; }       /* Cinza Claro */
.item-suite[b-38enom0g51] { background-color: #9b989c; }       /* Cinza Escuro */
.item-relatorios[b-38enom0g51] { background-color: #c9e044; }  /* Roxo/Azul Escuro (Ajuste se necessário) */
 

/* Comportamento de collapse em telas menores */
@media (min-width: 641px) {
    .collapse[b-38enom0g51] {
        display: none !important;
    }
}
 

/* Comportamento de collapse em telas menores */
@media (min-width: 641px) {
    .collapse[b-38enom0g51] {
        display: none !important;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-044962y7b4],
.components-reconnect-repeated-attempt-visible[b-044962y7b4],
.components-reconnect-failed-visible[b-044962y7b4],
.components-pause-visible[b-044962y7b4],
.components-resume-failed-visible[b-044962y7b4],
.components-rejoining-animation[b-044962y7b4] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-044962y7b4],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-044962y7b4],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-044962y7b4],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-044962y7b4],
#components-reconnect-modal.components-reconnect-retrying[b-044962y7b4],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-044962y7b4],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-044962y7b4],
#components-reconnect-modal.components-reconnect-failed[b-044962y7b4],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-044962y7b4] {
    display: block;
}


#components-reconnect-modal[b-044962y7b4] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-044962y7b4 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-044962y7b4 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-044962y7b4 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-044962y7b4]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-044962y7b4 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-044962y7b4 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-044962y7b4 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-044962y7b4 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-044962y7b4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-044962y7b4] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-044962y7b4] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-044962y7b4] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-044962y7b4] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-044962y7b4] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-044962y7b4] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-044962y7b4 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-044962y7b4] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-044962y7b4 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
