html {
    font-size: 14px;
}

.responsive-img {
    max-width: 100%;
    height: auto;
}
.table-responsive {
    max-height: 50vh; /* Altura máxima para rolagem */
    overflow-y: auto; /* Permite rolagem vertical */
}

.table-header-fixed {
    position: sticky; /* Torna o cabeçalho fixo */
    top: 0; /* Posiciona no topo do contêiner rolável */
    background-color: white; /* Fundo branco para o cabeçalho */
    z-index: 1; /* Mantém o cabeçalho acima das linhas da tabela */
}
.btn-custom:hover {
    background-color: rgb(255, 156, 100); /* Nova cor quando o mouse está sobre o botão */
}
.btn-success:hover {
    background-color: rgb(255, 156, 100); /* Nova cor quando o mouse está sobre o botão */
}

.btn-primary:hover {
    background-color: rgb(255, 156, 100); /* Nova cor quando o mouse está sobre o botão */
}

.btn-success {
    background-color: rgb(58, 128, 162);
    border-color: rgb(58, 128, 162);
    color: rgb(255, 255, 255);
    transition: background-color 0.3s;
}
.btn-custom {
    background-color: rgb(58, 128, 162);
    border-color: rgb(58, 128, 162);
    color: rgb(255, 255, 255);
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: rgb(58, 128, 162);
    border-color: rgb(58, 128, 162);
    color: rgb(255, 255, 255);
    transition: background-color 0.3s;
}

.ui-autocomplete {
    z-index: 1000; /* Certifique-se de que o valor é maior do que o z-index do card */
}

@media (min-width: 992px) {
    html {
        font-size: 16px;
    }
}

.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;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    margin: 0;
    padding: 0;
    background-size: cover;
    background-attachment: fixed;
    overflow-x: hidden;
    min-height: 100vh;
}
/* Regras para pop-up no lado direito */
.right-popup {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 90%; /* Use uma largura relativa para ajustar ao tamanho da tela */
    max-width: 300px; /* Define a largura máxima do pop-up */
    z-index: 1050; /* Garante que o pop-up esteja na frente de outros elementos */
    opacity: 1; /* Início visível */
    transition: opacity 0.5s ease-out; /* Animação suave */
}

/* Regras para ocultar o pop-up */
.hide-right-popup {
    opacity: 0; /* Faz o pop-up desaparecer */
    transition: opacity 0.5s ease-out; /* Animação suave */
}

.small-input {
    width: 200px; /* ou o tamanho desejado */
}

.produtoDesc {
    width: 500px; /* ou o tamanho desejado */
}
/* Adicione este bloco dentro de uma tag <style> na sua View ou em um arquivo CSS separado */

.w-100 {
    width: 100% !important;
}

.btn-group .btn {
    margin-right: 5px; /* Ajuste conforme necessário */
}

    .btn-group .btn:last-child {
        margin-right: 0; /* Remove margem do último botão */
    }

.large-input {
    width: 100%; /* Define a largura como 100% para ocupar todo o espaço disponível */
}
.small-card {
    max-width: 700px;
    margin: auto;
    height: 500px; /* Defina a altura desejada aqui */
    overflow-y: auto;
    max-height: 60vh; 
}
.small-input {
    max-width: 200px;
}
.text-primary-emphasis-pendente {
    color: orange !important;
}

.border-primary-subtle-pendente {
    border-color: orange !important;
}

.text-primary-emphasis-integrado {
    color: green !important;
}

.text-primary-emphasis-Error {
    color: red !important;
}


.border-primary-subtle-integrado {
    border-color: green !important;
}

.border-primary-subtle-Error {
    border-color: red !important;
}


.btn-group-horizontal {
    display: flex;
    gap: 0.1rem; /* Espaço entre os botões */
}

.total-column {
    width: 200px; /* ajuste o valor conforme necessário */
}

th {
    text-align: center;
}

.nome-column {
    width: 600px; /* ajuste o valor conforme necessário */
}

.h-100 {
    height: 100vh;
}

.form-group-inline {
    display: flex;
    align-items: center;
}

    .form-group-inline label {
        margin-right: 10px;
        margin-bottom: 0;
    }

    .form-group-inline select {
        max-width: 150px; /* Define a largura máxima para o select */
        margin-right: 10px; /* Espaço entre o select e o botão */
    }

    .form-group-inline a {
        margin-right: 10px; /* Espaço entre o select e o botão */
    }

.container-fluid {
    margin-top: 0%; /* Aumenta a margem superior para descer o conteúdo */
    display: flex;
    justify-content: flex-end; /* Alinha os itens à direita do contêiner flex */
}

.divider {
    position: relative;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        border-bottom: 2px solid #007bff; /* Linha azul */
        margin: 0 10px;
    }

.commercial-text {
    font-family: 'Helvetica Neue', Arial, sans-serif; /* Fonte moderna e profissional */
    font-size: 0.875rem; /* Tamanho do texto ajustado para menor */
    color: #333; /* Cor escura para um visual mais sério */
    text-shadow: none; /* Sem sombra para um visual mais clean */
    letter-spacing: normal; /* Espaçamento padrão entre as letras */
    font-weight: 400; /* Peso da fonte mais suave */
    padding: 0 10px; /* Espaço em volta do texto */
}



.card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(-100vh);
    width: 80vw; /* Largura do card como 90% da largura da viewport */
    height: 80vh; /* Altura do card como 90% da altura da viewport */
    max-height: 80vh; /* Altura máxima do card */
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: transform 0.5s ease-in-out; /* Transição suave */
}

.fundo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1;
}

.aparecer {
    display: block; /* Exibe o fundo */
}

.mostrar {
    transform: translate(-50%, -50%) translateY(0); /* Ajusta a posição para mostrar o card */
}

.fechar-card {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}
/* Estilo para centralizar o título e aplicar cor cinza */
h1 {
    text-align: center;
    color: #777; /* Cinza meio */
}

.left-align {
    text-align: left;
}

.form-group {
    margin-bottom: 15px;
}

.small-input {
    width: calc(100% - 10px);
}

.close {
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    border: none;
    background: none;
}

.row > .col-md-6 {
    padding-right: 10px;
    padding-left: 10px;
}

.readonly-select {
    background-color: #e9ecef;
    pointer-events: none;
}

.required-asterisk {
    color: red;
    margin-left: 5px;
}

#container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    width: 100%;
}

#responsiveImage {
    max-width: 100%;
    max-height: 100vh;
    min-width: 900px;
    min-height: 600px;
    height: auto;
    width: auto;
    -webkit-mask-image: radial-gradient(ellipse closest-side, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(ellipse closest-side, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
}

#Tier {
    background-color: #f0f8ff;
}

#TipoOperacao {
    background-color: #f0f8ff;
}

.table tbody tr:nth-child(odd) {
    background-color: #f2f2f2;
}

.table tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.page-link {
    background-color: #E6E6E6;
    color: #000000;
    border: 1px solid #FFFFFF;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

.page-item.active .page-link {
    background-color: #3A80A2;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    font-weight: bold;
}

.page-link:hover {
    background-color: #FF9C64;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    font-weight: bold;
    opacity: 0.8;
    cursor: pointer;
}

#statusPedido {
    background-color: #f0f8ff;
}

#pageSize {
    background-color: #f0f8ff;
}

#Normas {
    background-color: #f0f8ff;
}

#Aplicacao {
    background-color: #f0f8ff;
}

#card-pedidos {
    overflow: hidden;
}
#card-catalogo {
    overflow: hidden;
}

#paginacao-pedidos {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: white;
}

#paginacao-catalogo {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: white;
}

.table-responsive {
    padding-bottom: 50px;
}

.pagination {
    flex-wrap: wrap;
    gap: 5px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.text-primary-emphasis-cancelado {
    color: red !important;
}

.border-primary-subtle-cancelado {
    border-color: red !important;
}

/* Para Chrome, Edge e Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: inner-spin-button !important;
    margin: 0;
}

/* Para Firefox */
input[type=number] {
    -moz-appearance: textfield !important;
}

/* MOBILE LAYOUT BASE */
@media screen and (max-width: 992px) {
    html {
        font-size: 16px;
    }

    .right-popup {
        right: 5px;
        width: 100%;
    }

    #responsiveImage {
        margin-top: -50px;
        min-width: 300px;
        min-height: 150px;
    }

    footer span {
        color: white;
        display: block;
        margin: 7px 7px;
        white-space: normal;
        word-wrap: break-word;
        padding: 0 10px;
        text-align: center;
        line-height: 1.7;
        font-size: 16px;
    }
}

#logs {
    white-space: nowrap;
}
