/* _content/BlueIntelligence.WEB.QT/Components/Common/UI/ListComponent.razor.rz.scp.css */
/* ===============================================
   ListComponent - Estilos para componente de lista
   =============================================== */

/* Container principal do item da lista */
.list-item-container[b-h790dzjb1i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    margin-bottom: 2px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #fff;
    min-height: 70px;
    gap: 20px;
    transition: all 0.2s ease;
}

    .list-item-container:hover[b-h790dzjb1i] {
        background-color: #f8f9fa;
        border-color: #adb5bd;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

/* Container do conteúdo (lado esquerdo) */
.list-item-content[b-h790dzjb1i] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-right: 10px;
}

/* Campo individual */
.list-item-field[b-h790dzjb1i] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
}

    .list-item-field strong[b-h790dzjb1i] {
        color: #495057;
        font-weight: 600;
        white-space: nowrap;
    }

    .list-item-field span[b-h790dzjb1i] {
        color: #212529;
        word-wrap: break-word;
        word-break: break-word;
        white-space: normal;
        line-height: 1.4;
        max-width: 600px;
    }

    /* Campo principal destacado */
    .list-item-field.primary-field[b-h790dzjb1i] {
        font-size: 15px;
    }
        .list-item-field.primary-field span[b-h790dzjb1i] {
            font-weight: 500;
        }

/* Container dos botões (lado direito) */
.list-item-actions[b-h790dzjb1i] {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
}

    /* Estilos dos botões */
    .list-item-actions .btn[b-h790dzjb1i] {
        padding: 8px 16px;
        font-size: 13px;
        font-weight: 500;
        min-width: 70px;
        white-space: nowrap;
        border-radius: 6px;
        transition: all 0.2s ease;
    }

        .list-item-actions .btn:hover[b-h790dzjb1i] {
            transform: translateY(-1px);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        }

/* Estado vazio da lista */
.empty-list-item[b-h790dzjb1i] {
    padding: 40px 20px;
    font-style: italic;
    color: #6c757d;
}

/* ===============================================
   Ajustes para bordas dos itens em grupo
   =============================================== */

/* Remove border radius dos itens do meio */
.list-group .list-item-container:not(:first-child):not(:last-child)[b-h790dzjb1i] {
    border-radius: 0;
    border-top: none;
}

.list-group .list-item-container:first-child[b-h790dzjb1i] {
    border-bottom: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.list-group .list-item-container:last-child[b-h790dzjb1i] {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.list-group .list-item-container:only-child[b-h790dzjb1i] {
    border-radius: 8px;
}

/* ===============================================
   Responsividade - Tablets
   =============================================== */
@media (max-width: 768px) {
    .list-item-container[b-h790dzjb1i] {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px 16px;
    }

    .list-item-actions[b-h790dzjb1i] {
        justify-content: flex-end;
        width: 100%;
    }

    .list-item-field span[b-h790dzjb1i] {
        white-space: normal;
        word-break: break-word;
        max-width: none;
    }
}

/* ===============================================
   Responsividade - Mobile
   =============================================== */
@media (max-width: 480px) {
    .list-item-container[b-h790dzjb1i] {
        padding: 16px 12px;
    }

    .list-item-actions[b-h790dzjb1i] {
        flex-direction: column;
        gap: 8px;
    }

        .list-item-actions .btn[b-h790dzjb1i] {
            width: 100%;
            min-width: auto;
        }

    .list-item-field[b-h790dzjb1i] {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

        .list-item-field strong[b-h790dzjb1i] {
            font-size: 13px;
        }

        .list-item-field span[b-h790dzjb1i] {
            font-size: 13px;
        }
}

/* ===============================================
   Estados especiais
   =============================================== */

/* Loading state */
.list-item-container.loading[b-h790dzjb1i] {
    opacity: 0.6;
    pointer-events: none;
}

/* Disabled state */
.list-item-container.disabled[b-h790dzjb1i] {
    opacity: 0.5;
    background-color: #f8f9fa;
}

    .list-item-container.disabled .list-item-actions .btn[b-h790dzjb1i] {
        pointer-events: none;
        opacity: 0.6;
    }

/* Selected state */
.list-item-container.selected[b-h790dzjb1i] {
    border-color: #0d6efd;
    background-color: #f0f8ff;
}

/* ===============================================
   Melhorias de acessibilidade
   =============================================== */

/* Focus visível nos botões */
.list-item-actions .btn:focus[b-h790dzjb1i] {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* Tooltip para textos truncados */
.list-item-field span[title][b-h790dzjb1i] {
    cursor: help;
}

/* Contraste melhorado para texto */
.list-item-field strong[b-h790dzjb1i] {
    contrast: high;
}

/* ===============================================
   Animações suaves
   =============================================== */

/* Animação de entrada para novos itens */
@keyframes slideInFromRight-b-h790dzjb1i {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.list-item-container.new-item[b-h790dzjb1i] {
    animation: slideInFromRight-b-h790dzjb1i 0.3s ease-out;
}

/* Animação de saída para itens removidos */
@keyframes slideOutToRight-b-h790dzjb1i {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

.list-item-container.removing[b-h790dzjb1i] {
    animation: slideOutToRight-b-h790dzjb1i 0.3s ease-in;
}
/* _content/BlueIntelligence.WEB.QT/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-68zmzll1ad] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-68zmzll1ad] {
    flex: 1;
}

.sidebar[b-68zmzll1ad] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-68zmzll1ad] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-68zmzll1ad]  a, .top-row[b-68zmzll1ad]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-68zmzll1ad]  a:hover, .top-row[b-68zmzll1ad]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-68zmzll1ad]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-68zmzll1ad] {
        justify-content: space-between;
    }

    .top-row[b-68zmzll1ad]  a, .top-row[b-68zmzll1ad]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-68zmzll1ad] {
        flex-direction: row;
    }

    .sidebar[b-68zmzll1ad] {
        width: 300px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-68zmzll1ad] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-68zmzll1ad]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-68zmzll1ad], article[b-68zmzll1ad] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-68zmzll1ad] {
    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-68zmzll1ad] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/BlueIntelligence.WEB.QT/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ji3yetuav0] {
    appearance: none;
    cursor: pointer;
    width: 100%; /* Faz o bot�o ocupar toda a largura dispon�vel */
    max-width: 300px; /* Limita a largura m�xima a 320px */
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000002;
    /*background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);*/
}

    .navbar-toggler:checked[b-ji3yetuav0] {
        background-color: rgba(255, 255, 255, 0.5);
    }

.top-row[b-ji3yetuav0] {
    height: 3.5rem;
    background-color: #000002;
    display: flex;
    align-items: center; /* Alinha verticalmente o conte�do */
    justify-content: center; /* Espa�a o conte�do entre o logo e o bot�o */
    padding: 0 1rem; /* Adiciona um padding para dar um pouco de espa�o */
    min-height: 120px;
    margin-bottom: 0;
    //margin-top: 1rem;
}

.logo[b-ji3yetuav0] {
    height: 100%;
    object-fit: contain;
    max-width: 300px; /* Limita a largura do logo para n�o ultrapassar o tamanho do menu */
}

.navbar-brand[b-ji3yetuav0] {
    font-size: 1.1rem;
}

.bi[b-ji3yetuav0] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    background-size: cover;
    font-size: 1.5rem;
    vertical-align: middle; /* Alinha verticalmente com o texto */
}

.bi-house-door[b-ji3yetuav0] {
    margin-right: 10px;
}
.bi-plus-square[b-ji3yetuav0] {
    margin-right: 10px;
}

.bi-list-nested[b-ji3yetuav0] {
    margin-right: 10px;
}

.bi-box-arrow-right[b-ji3yetuav0] {
    margin-right: 10px;
}

.bi-person-circle[b-ji3yetuav0] {
    margin-right: 10px;
}

.bi-search[b-ji3yetuav0] {
    margin-right: 10px;
    font-size: 12px;
}

.bi-plus-circle[b-ji3yetuav0] {
    margin-right: 10px;
    font-size: 12px;
}

.bi-person-fill[b-ji3yetuav0] {
    margin-right: 10px;
}

.bi-person-add[b-ji3yetuav0] {
    margin-right: 10px;
}

.bi-gear[b-ji3yetuav0] {
    margin-right: 10px;
}

.nav-item-small[b-ji3yetuav0] {
    font-size: 1.1rem;
    display: flex;
    padding-bottom: 0.5rem;
}

.nav-item[b-ji3yetuav0] {
    font-size: 1.4rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ji3yetuav0] {
        padding-top: 0;
    }

    .nav-item:last-of-type[b-ji3yetuav0] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ji3yetuav0]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        padding: 0.5rem 1rem;
        text-decoration: none;
    }

        .nav-item[b-ji3yetuav0]  .nav-link.active {
            background-color: rgba(255, 255, 255, 0.37); /* Fixo o estilo apenas para o item ativo */
            color: white;
        }

        .nav-item[b-ji3yetuav0]  .nav-link:hover {
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
        }


.nav-scrollable[b-ji3yetuav0] {
    display: block;
    height: calc(100vh - 3.5rem);
    overflow-y: auto;
    width: 300px; /* Garante que o menu tenha a mesma largura */
}

.navbar-toggler:checked ~ .nav-scrollable[b-ji3yetuav0] {
    display: block;
}

.header-links[b-ji3yetuav0] {
    position:: fixed;
    width: 100%; /* Garante que o rodap� ocupe toda a largura */
    padding-top: 1rem;
    padding-bottom: 2rem; /* Ajuste o valor para aumentar ou diminuir o espa�o interno inferior */
    color: white;
    background-color: #000002; /* Altere para a cor desejada */
    width: 300px;
}

.footer-links[b-ji3yetuav0] {
    position: fixed;
    bottom: 0;
    width: 100%; /* Garante que o rodap� ocupe toda a largura */
    padding-top: 1rem;
    padding-bottom: 2rem; /* Ajuste o valor para aumentar ou diminuir o espa�o interno inferior */
    color: white;
    background-color: #000002; /* Altere para a cor desejada */
    width: 300px;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ji3yetuav0] {
        display: none;
    }

    .nav-scrollable[b-ji3yetuav0] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
        width: 300px; /* Garante que o menu tenha a mesma largura */
        background-color: #000002;
    }
}
/* _content/BlueIntelligence.WEB.QT/Components/Pages/Account/Login.razor.rz.scp.css */
.input-wrapper[b-wx53on8jjr] {
    position: relative;
}

/* Adicionar padding-right no input para dar espaço ao ícone */
.input-wrapper .form-input[type="password"][b-wx53on8jjr],
.input-wrapper .form-input[type="text"]:not([id="username"])[b-wx53on8jjr] {
    padding-right: 45px; /* Espaço para o ícone */
}

.password-toggle[b-wx53on8jjr] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #555;
    font-size: 16px;
    z-index: 10; /* Garantir que fica acima */
    padding: 4px; /* Área clicável maior */
    /* Evitar seleção de texto */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.password-toggle:hover[b-wx53on8jjr] {
    color: #000;
}

/* Garantir que o input de senha receba cliques corretamente */
.input-wrapper input:focus[b-wx53on8jjr] {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.login-loading[b-wx53on8jjr] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.spinner[b-wx53on8jjr] {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin-b-wx53on8jjr 1s linear infinite;
}

@keyframes spin-b-wx53on8jjr {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* _content/BlueIntelligence.WEB.QT/Components/Pages/Home.razor.rz.scp.css */
/* ===============================================
   Home Page - Melhorias Simples nos Inputs e Botão
   =============================================== */

/* Container para centralizar o formulário */
.selection-container[b-939ovu4wor] {
    max-width: 500px;
    margin: 40px auto;
}

/* Card do formulário */
.form-card[b-939ovu4wor] {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

/* Grupos de formulário */
.form-group[b-939ovu4wor] {
    margin-bottom: 25px;
}

    .form-group:last-of-type[b-939ovu4wor] {
        margin-bottom: 30px;
    }

/* Wrapper para inputs com ícones */
.input-wrapper[b-939ovu4wor] {
    position: relative;
    display: flex;
    align-items: center;
}

/* Selects customizados */
.form-select-custom[b-939ovu4wor] {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background-color: #f8f9fa;
    font-size: 15px;
    font-weight: 400;
    color: #495057;
    appearance: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .form-select-custom:focus[b-939ovu4wor] {
        outline: none;
        border-color: #0d6efd;
        background-color: #fff;
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
    }

    .form-select-custom:hover:not(:disabled)[b-939ovu4wor] {
        border-color: #adb5bd;
        background-color: #fff;
    }

    .form-select-custom:disabled[b-939ovu4wor] {
        background-color: #f1f3f4;
        color: #6c757d;
        cursor: not-allowed;
        border-color: #dee2e6;
    }

/* Ícones nos inputs */
.input-icon[b-939ovu4wor] {
    position: absolute;
    right: 15px;
    color: #6c757d;
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
    transition: color 0.3s ease;
}

.form-select-custom:focus + .input-icon[b-939ovu4wor] {
    color: #0d6efd;
}

/* Container do botão */
.button-container[b-939ovu4wor] {
    text-align: center;
    margin-top: 30px;
}

/* Botão customizado */
.btn-custom[b-939ovu4wor] {
    background: #0056b3 ;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(13, 110, 253, 0.2);
    min-width: 120px;
    justify-content: center;
}

    .btn-custom:hover:not(:disabled)[b-939ovu4wor] {
        background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    }

    .btn-custom:active:not(:disabled)[b-939ovu4wor] {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
    }

    .btn-custom:disabled[b-939ovu4wor] {
        background: #6c757d;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
        opacity: 0.6;
    }

    .btn-custom i[b-939ovu4wor] {
        font-size: 14px;
    }

/* Responsividade */
@media (max-width: 768px) {
    .selection-container[b-939ovu4wor] {
        max-width: 90%;
        margin: 20px auto;
    }

    .form-card[b-939ovu4wor] {
        padding: 20px;
    }

    .form-select-custom[b-939ovu4wor] {
        font-size: 14px;
        padding: 10px 40px 10px 12px;
    }

    .btn-custom[b-939ovu4wor] {
        padding: 10px 25px;
        font-size: 14px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .form-card[b-939ovu4wor] {
        padding: 15px;
        border-radius: 8px;
    }

    .form-group[b-939ovu4wor] {
        margin-bottom: 20px;
    }

    .input-icon[b-939ovu4wor] {
        right: 12px;
        font-size: 14px;
    }
}
.welcome-section[b-939ovu4wor] {
    text-align: center;
}
