﻿.greetingsStyle {
    font-family: Raleway, sans-serif !important;
    font-size: calc(1.3rem + .6vw);
}

#blazor-error-ui {
    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 {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
 }

.esqueceuSuaSenha {
    text-align: center;
    padding-top: 20px;
}

.btn-primary-criar-nova-conta:hover {
    color: #fff !important;
    background-color: #146d44 !important;
    --bs-btn-hover-border-color: transparent !important;
}

.btn-primary-criar-nova-conta:focus,
.btn-primary-criar-nova-conta:active,
.btn-primary-criar-nova-conta {
    color: #fff !important;
    background-color: #198754 !important;
    border-color: #167b4c !important;
}

.btn-primary-criar-nova-conta:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #198754 !important;
}

.hrLogin {
    margin: 30px auto;
}

.reenviarConfirmacaoConta {
    text-align: center;
    padding-top: 0px;
}

.reenviarConfirmacaoContaRegister {
    text-align: center;
    padding-top: 20px;
}

.reenviarConfirmacaoContaLogin {
    text-align: center;
    
}

.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.90); /* Semi-transparent black background */
    z-index: 9999; /* Ensures it sits on top of everything else */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 1.5rem;
    pointer-events: all; /* Captures all clicks so they don't pass through */
}

/* Optional spinner styling */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-left-color: #000;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Remove margens e preenchimentos indesejados gerados por nós de texto vazios */
body {
    margin: 0 !important;
    padding: 0 !important;
}
/* Força o conteúdo principal a colar no topo da tela */
.mud-main-content {
    padding-top: 0px !important;
    margin-top: 0px !important;
    
}

/* 1. O SEU ESTILO ORIGINAL DO CABEÇALHO (Mantido intacto) */
.cabecalho-customizado {
    background-color: #f0f4f8 !important; /* Um tom azulado suave muito elegante */
    color: var(--mud-palette-text-primary) !important;
    font-weight: 600 !important;
}

/* 2. ESTADO NORMAL: Força as células do corpo (dados) a ficarem brancas */
.mud-table-body .mud-table-row td,
.mud-table-body .mud-table-cell {
    background-color: var(--mud-palette-surface) !important;
}

/* 3. ESTADO HOVER: Altera o fundo EXCLUSIVAMENTE nas linhas do corpo da tabela */
.mud-table-body tr.mud-table-row:hover td,
.mud-table-body tr.mud-table-row:hover .mud-table-cell {
    background-color: var(--mud-palette-background-grey) !important;
}

/* 4. EDIÇÃO: Mantém a linha de edição com o fundo cinza de destaque */
.mud-table-body tr.mud-table-row[style*="background-color"] td {
    background-color: var(--mud-palette-background-grey) !important;
}

/* 🌐 Estilização Global dos Links do Top-Row (MainLayout) */
.top-row a, .top-row .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

    .top-row a:hover, .top-row .btn-link:hover {
        text-decoration: underline;
    }

    .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }



    /* mainLayout */

@font-face {
    font-family: Raleway;
    src: url('../fonts/Raleway-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: Raleway;
    src: url('../fonts/Raleway-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* Isso garante que inputs e botões do Identity também usem a Raleway */
html, body, input, select, textarea, button, .form-control, .btn, h1, h2, h3 {
    font-family: Raleway, sans-serif !important;
}

/* Isso garante que h1, h2, h3 também usem a Raleway com peso correto */
h1, h2, h3 {
    font-family: Raleway, sans-serif !important;
    font-weight: 550 !important;
}

/* Sobrescreve absolutamente qualquer texto ou título gerado pelo MudBlazor */
.mud-typography,
.mud-typography-h1,
.mud-typography-h2,
.mud-typography-h3,
.mud-typography-h4,
.mud-typography-h5,
.mud-typography-h6 {
    font-family: Raleway, sans-serif !important;
    font-weight: 550 !important;
}

.siteName {
    font-size: 16px;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjtxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM39OSAyMzYuMDMxIDk0LjA4ODYgMjM2LjA4OSA5My44MDcyTDIzNi4zMzggOTMuMDE2MiAyMzYuODU4IDExLjEzMTQgMjU5LjQ3MyA1My42Mjk0IDI1OS45NjEgNTIuNzk4NSAyNjAuNDA3IDUyLjI2NThDMjYxLjIgNTEuNDgzNyAyNjIuMjk2IDUxIDI2My41MDYgNTFaTTI2My41ODYgNjYuMDE4M0MyNjAuNzM3IDY2LjAxODMgMjU5LjMxMyA2Ny4xMjQ1IDI1OS4zMTMgNjkuMzM3IDI1OS4zMTMgNjkuNjEwMiAyNTkuMzMyIDY5Ljg2MDggMjU5LjM3MSA3MC4wODg3TDI2MS43OTUgODQuMDE2MSAyNjUuMzggODQuMDE2MSAyNjcuODIxIDY5Ljc0NzVDMjY3Ljg2IDY5LjczMDkgMjY3Ljg3OSA2OS41ODc3IDI2Ny44NzkgNjkuMzE3OSAyNjcuODc5IDY3LjExODIgMjY2LjQ0OCA2Ni4wMTgzIDI2My41ODYgNjYuMDE4M1pTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyY3LjM4NyA4Ny4zMDA1IDI2Ni4xMTYgODYuMDU0NyAyNjMuNTc2IDg2LjA1NDdaIiBmaWxsPSIjRkZFNTAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLzBlockjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Container que alinha as linhas e o texto horizontalmente */
.divisoria-container {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    width: 100%;
}

/* Desenha a linha fina cinza de forma flexível nas laterais */
.divisoria-linha {
    flex: 1;
    height: 1px;
    background-color: var(--mud-palette-divider, #e0e0e0);
}

/* Estiliza a palavra centralizada */
.divisoria-texto {
    padding: 0 16px;
    color: var(--mud-palette-text-secondary, #757575);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

/* 🌐 ESTRUTURA BASE DO MAINLAYOUT */
.page {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

/* 🌐 ESTILIZAÇÃO DOS LINKS DO TOP-ROW (MainLayout) */
.top-row a, .top-row .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row a:hover, .top-row .btn-link:hover {
    text-decoration: underline;
}

.top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 🌐 ESTILIZAÇÃO DOS LINKS DO NAVMENU */
.nav-item a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    text-decoration: none;
}

.nav-item a.active {
    background-color: rgba(255, 255, 255, 0.37);
    color: white;
}

.nav-item a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* 📱 RESPONSIVIDADE - TELAS PEQUENAS (CELULAR) */
@media (max-width: 640.98px) {
    .top-row {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
}

/* 🖥️ RESPONSIVIDADE - TELAS GRANDES (PC) */
@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* 🛠️ PROTEÇÃO CONTRA CORTE DE IMAGEM DA LOGO E FORMULÁRIO ENCOLHIDO */
.sidebar img, .logo-container img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    margin: 10px auto;
}








/* ================================== NavMenu */



.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

/* 🚨 FORÇAR A LOGO NO TOPO ABSOLUTO (TOPO 0) DO MENU */
.top-row.navbar {
    height: auto !important;
    min-height: unset !important; /* Remove qualquer altura mínima herdada */
    padding-top: 0px !important; /* Colona a logo no topo 0 da tela 🎯 */
    padding-bottom: 5px !important; /* Deixa apenas um pequeno respiro embaixo */
    padding-left: 0px !important; /* Remove recuos à esquerda se necessário */
    margin-top: 0px !important; /* Garante margem zero no topo */
}

/* Garante que a imagem se comporte bem em celulares e PCs */
.left-top img {
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
    display: block;
}

/* Ajusta o sistema de grid interno para acomodar a nova altura sem quebrar o botão hambúrguer */
.grid-container {
    align-items: center; /* Alinha o botão de fechar verticalmente com o centro da logo */
    width: 100%;
}

.navbar-dark .grid-container {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start; /* Alinha os itens pelo topo e não pelo centro */
    width: 100%;
    height: auto !important;
    margin-top: 0px !important;
}

.navbar-dark .left-top {
    min-width: 150px !important;
    height: auto !important;
    display: block !important;
    margin-top: 0px !important; /* Garante que a coluna cole no teto */
}

.navbar-dark .left-top img {
    width: 150px !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin-top: 0px !important; /* Força a tag da imagem a colar no topo */
}

/*
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    /*grid-template-rows: auto auto;*/ /* Two rows */
    /*gap: 10px;
}*/



.left-top {
    grid-column: 1;
    grid-row: 1;
    min-width: 174px;
    /*
    justify-self: center;  
    align-items: center;  */
}

.left-bottom {
    grid-column: 1;
    grid-row: 2;
    /*
    place-items: center;
    justify-self: center; 
    align-items: center; 
    width: 27vh;
    height: 4vh;
    */
}

.right-span {
    grid-column: 2;
    grid-row: 1 / 3; /* Spans from row 1 to row 3 (which covers both) */

    justify-self: flex-end;
    align-self: flex-end;
}



.navbar-brand {
    font-size: 1.1rem;
}

.bi {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left-fill' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5M10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-box-arrow-in-right-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-box-arrow-in-right' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 16a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7m.5-5v1h1a.5.5 0 0 1 0 1h-1v1a.5.5 0 0 1-1 0v-1h-1a.5.5 0 0 1 0-1h1v-1a.5.5 0 0 1 1 0m-2-6a3 3 0 1 1-6 0 3 3 0 0 1 6 0M8 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4'/%3E%3Cpath d='M8.256 14a4.5 4.5 0 0 1-.229-1.004H3c.001-.246.154-.986.832-1.664C4.484 10.68 5.711 10 8 10q.39 0 .74.025c.226-.341.496-.65.804-.918Q8.844 9.002 8 9c-5 0-6 3-6 4s1 1 1 1z'/%3E%3C/svg%3E");
}

.bi-person-add-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-add' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M6 3.5a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 0-1 0v2A1.5 1.5 0 0 0 6.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-8A1.5 1.5 0 0 0 5 3.5v2a.5.5 0 0 0 1 0z'/%3E%3Cpath fill-rule='evenodd' d='M11.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H1.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708z'/%3E%3C/svg%3E");
}


.bi-lock-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.bi-table {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-table' viewBox='0 0 16 16'%3E%3Cpath d='M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm15 2h-4v3h4zm0 4h-4v3h4zm0 4h-4v3h3a1 1 0 0 0 1-1zm-5 3v-3H6v3zm-5 0v-3H1v2a1 1 0 0 0 1 1zm-4-4h4V8H1zm0-4h4V4H1zm5-3v3h4V4zm4 4H6v3h4z'/%3E%3C/svg%3E");
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type {
    padding-top: 1rem;
}

.nav-item:last-of-type {
    padding-bottom: 1rem;
}
/* erro unique attribute no Hot Reload
    .nav-item ::deep a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        .nav-item ::deep a.active {
            background-color: rgba(255,255,255,0.37);
            color: white;
        }

        .nav-item ::deep a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }
        */
/* ==========================================================================
   ESTILOS CUSTOMIZADOS DA APLICAÇÃO (site.css)
   ========================================================================== */

.greetingsStyle {
    font-size: calc(1.3rem + .6vw);
}

.siteName {
    font-size: 16px;
}

a, .btn-link {
    color: #006bb7;
}



/* ==========================================================================
   FORMULÁRIOS, BOTÕES E VALIDAÇÕES
   ========================================================================== */
.btn-primary-criar-nova-conta {
    color: #fff !important;
    background-color: #198754 !important;
    border-color: #167b4c !important;
}

    .btn-primary-criar-nova-conta:hover {
        color: #fff !important;
        background-color: #146d44 !important;
    }

    .btn-primary-criar-nova-conta:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #198754 !important;
    }

.esqueceuSuaSenha, .reenviarConfirmacaoContaRegister {
    padding-top: 20px;
    text-align: center;
}

.hrLogin {
    margin: 30px auto;
}

.validation-message {
    color: #e50000;
}

.invalid {
    outline: 1px solid #e50000;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

/* ==========================================================================
   COMPONENTES E UTILITÁRIOS VISUAIS
   ========================================================================== */
.divisoria-container {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    width: 100%;
}

.divisoria-linha {
    flex: 1;
    height: 1px;
    background-color: var(--mud-palette-divider, #e0e0e0);
}

.divisoria-texto {
    padding: 0 16px;
    color: var(--mud-palette-text-secondary, #757575);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: lowercase;
}

.container-painel-responsivo {
    max-width: 500px;
    padding-top: 45px !important; /* aqui espaço entre navmenu e titulo pagina */
}

@media (min-width: 992px) {
    .container-painel-responsivo {
        max-width: 650px !important;
        padding-top: 45px !important;
    }
}

/* Loading Overlay */
.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.90);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-left-color: #000;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   CUSTOMIZAÇÕES DOS COMPONENTES MUDBLAZOR
   ========================================================================== */

/* MudTable Customizada */
.cabecalho-customizado {
    background-color: #f0f4f8 !important;
    color: var(--mud-palette-text-primary) !important;
    font-weight: 600 !important;
}

.mud-table-body .mud-table-row td, .mud-table-body .mud-table-cell {
    background-color: var(--mud-palette-surface) !important;
}

.mud-table-body tr.mud-table-row:hover td, .mud-table-body tr.mud-table-row:hover .mud-table-cell {
    background-color: var(--mud-palette-background-grey) !important;
}

.mud-table-body tr.mud-table-row[style*="background-color"] td {
    background-color: var(--mud-palette-background-grey) !important;
}

/* MudMenu Customizado */
.custom-mud-menu, .custom-mud-menu *, .custom-mud-menu .mud-nav-link, .custom-mud-menu .mud-nav-group-button {
    color: #E0E0E0 !important;
}

    .custom-mud-menu .mud-nav-link, .custom-mud-menu .mud-nav-group-button {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        margin-top: 4px !important;
        margin-bottom: 4px !important;
    }

    .custom-mud-menu .mud-icon-root {
        fill: #E0E0E0 !important;
        color: #E0E0E0 !important;
        opacity: 0.85;
    }

    .custom-mud-menu .mud-nav-link:hover, .custom-mud-menu .mud-nav-group-button:hover {
        background-color: rgba(255, 255, 255, 0.08) !important;
        color: #FFFFFF !important;
    }

        .custom-mud-menu .mud-nav-link:hover .mud-icon-root, .custom-mud-menu .mud-nav-group-button:hover .mud-icon-root {
            color: #FFFFFF !important;
            fill: #FFFFFF !important;
            opacity: 1;
        }

/* Centralização do Snackbar no Celular */
.mud-snackbar-container.mud-snackbar-location-top-center {
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 100% !important;
}

/* Custom Dropdown para Seta Correta Mobile */
.custom-dropdown-servico {
    width: 100% !important;
    padding: 12px 40px 12px 12px !important;
    border: 1px solid #b0bec5 !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    font-size: 1rem !important;
    color: #263238 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://w3.org' viewBox='0 0 24 24' fill='%23594ae2'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 24px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

    .custom-dropdown-servico:focus {
        border-color: #594ae2 !important;
        outline: none !important;
    }

/* ==========================================================================
   MODAL DE RECONEXÃO DO BLAZOR (SIGNALR)
   ========================================================================== */
.components-reconnect-first-attempt-visible, .components-reconnect-repeated-attempt-visible, .components-reconnect-failed-visible, .components-pause-visible, .components-resume-failed-visible, .components-rejoining-animation {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible, #components-reconnect-modal.components-reconnect-show .components-rejoining-animation, #components-reconnect-modal.components-reconnect-paused .components-pause-visible, #components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible, #components-reconnect-modal.components-reconnect-retrying, #components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible, #components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation, #components-reconnect-modal.components-reconnect-failed, #components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible {
    display: block;
}

#components-reconnect-modal {
    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;
    animation: components-reconnect-modal-fadeOutOpacity 0.5s both;
}

    #components-reconnect-modal[open] {
        animation: components-reconnect-modal-slideUp 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity 0.5s ease-in-out 0.3s;
        animation-fill-mode: both;
    }

    #components-reconnect-modal::backdrop {
        background-color: rgba(0, 0, 0, 0.4);
        opacity: 1;
    }

@keyframes components-reconnect-modal-slideUp {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover {
        background-color: #3b6ea2;
    }

.components-rejoining-animation {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2) {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation {
    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;
    }
}

/* ==========================================================================
   BARRA DE FERRAMENTAS DO MENU SUPERIOR (NAVMENU RESPONSIVO)
   ========================================================================= */
.btn-menu-responsivo {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    border-radius: 50% !important;
}

    .btn-menu-responsivo .mud-icon-root,
    .icon-logout-responsivo {
        font-size: 20px !important;
    }

/* 🎯 BRANCO PURO FIXO: Garante os ícones sempre brancos (100% de opacidade) em qualquer cenário */
.btn-menu-interativo,
.btn-menu-interativo .mud-icon-root,
.btn-menu-interativo .mud-button-root,
.btn-menu-interativo:hover .mud-icon-root,
.btn-menu-interativo:focus .mud-icon-root,
.btn-menu-interativo:active .mud-icon-root {
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
    opacity: 1 !important;
}

    /* 🎯 REMOVE O OVERLAY CINZA ORIGINAL DO MUDBLAZOR */
    .btn-menu-interativo::after,
    .btn-menu-interativo .mud-button-root::after {
        display: none !important;
        background-color: transparent !important;
    }

    /* 🎯 EFEITO HOVER LARANJA: Aplica o fundo laranja diretamente na raiz do componente quando o mouse passa por cima */
    .btn-menu-interativo:hover {
        background-color: #F9AB41 !important;
    }

    /* Garante estabilidade da cor quando o botão estiver sendo clicado fisicamente */
    .btn-menu-interativo:active {
        background-color: #F9AB41 !important;
    }

/* ==========================================================================
   BARRA DE FERRAMENTAS DO MENU SUPERIOR (HTML NATIVO RESPONSIVO)
   ========================================================================== */
.btn-menu-nativo {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
    background-color: transparent;
}

    /* Força os ícones internos a serem sempre branco puro com 100% de visibilidade */
    .btn-menu-nativo .mud-icon-root {
        color: #FFFFFF !important;
        fill: #FFFFFF !important;
        opacity: 1 !important;
        font-size: 20px !important;
    }

    /* 🎯 ESTADO ATIVO (PÁGINA ATUAL): Fundo Laranja */
    .btn-menu-nativo.ativo {
        background-color: #F9AB41 !important;
        box-shadow: var(--mud-elevation-2) !important;
    }

    /* 🎯 EFEITO HOVER ÚNICO: Fundo vira Laranja ao passar o mouse */
    .btn-menu-nativo:hover {
        background-color: #F9AB41 !important;
    }

/* ==========================================================================
   BOTÃO DE LOGOUT CLEAN E CORES DE REPOUSO
   ========================================================================== */
.btn-logout-clean {
    background-color: transparent !important;
}

    .btn-logout-clean .mud-icon-root {
        color: #F9AB41 !important;
        fill: #F9AB41 !important;
    }

    .btn-logout-clean:hover {
        background-color: #F9AB41 !important;
        box-shadow: var(--mud-elevation-2) !important;
    }

        .btn-logout-clean:hover .mud-icon-root {
            color: #FFFFFF !important;
            fill: #FFFFFF !important;
        }

/* ==========================================================================
   RESPONSIVIDADE: TELAS MAIORES (TABLET E PC)
   ========================================================================== */
@media (min-width: 600px) {
    .btn-menu-nativo {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
    }

        .btn-menu-nativo .mud-icon-root {
            font-size: 24px !important;
        }
}

/* No computador mostra normal. No celular (telas menores que 768px) limita o texto */
@media (max-width: 767.98px) {
    .descricao-acao-celular {
        display: -webkit-box !important;
        -webkit-line-clamp: 1; /* Limita a no máximo 2 linhas (aproximadamente 80 caracteres) */
        -webkit-box-orient: vertical;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: normal !important;
    }
}

