/* Estilo geral da página */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #f0f0f0, #d1d2f4);
    color: #333;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.loaderMain
{
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #5e5e5e60;
    position: fixed;
   
    background: url('../../img/loader.png'), #9c9c9c4c;  
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 170px 194px;

   
}

/* Barra de Navegação */
.bg-gradient-orange {
    background: linear-gradient(45deg, #545455, #9a9a9d);
    box-shadow: 0px 5px 10px rgba(11, 11, 11, 0.34);
    border-bottom: 1px solid #686868;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255);
    transition: color 0.3s, background-color 0.3s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.navbar-brand {
    font-weight: bold;
    color: white;
}

/* Espaço para o menu fixo */
body::before {
    content: "";
    display: block;
    height: 56px; /* Altura da barra de navegação */
}

/* Conteúdo Principal */
.container {
    /*flex: 1;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
}

.logo{
    height: 35px;
}

h1.display-4 {
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.lead {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-começar {
    background-color: #223ef6;
    border-color: #223ef6;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-começar:hover {
    background-color: #0a04bf;
    transform: translateY(-2px);
}

/* Rodapé */
.footer {
    background: linear-gradient(45deg, #545455, #9a9a9d);
    color: white;
    padding: 15px 0;
    box-shadow: 0 -5px 5px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid #686868;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    height: 55px;
}

/* Espaço para o rodapé fixo */
body::after {
    content: "";
    display: block;
    height: 60px; /* Altura do rodapé */
}

/* Container da página */
.page-container {
   /* max-width: 900px;*/
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

/* Janela */
.window {
    background: white;
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    /*max-width: 1300px;*/
    margin-top: 20px;
    overflow: hidden;
    position: relative;
}

/* Cabeçalho da janela */
.window-header {
    background: linear-gradient(45deg, #545455, #9a9a9d);
    color: white;
    font-weight: bold;
    border-bottom: 1px solid #686868;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#pageTitle {
    margin-bottom: 0rem !important;
    padding-left: 5px !important;
    font-size: 1.2rem !important;
}

/* Conteúdo da janela */
.window-content {
    padding: 15px;
    background: #fff;
    border-radius: 0 0 15px 15px;
}

/* Botões na barra de título */
.btn-group .btn {
    margin-left: 10px;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-group .btn:hover {
    transform: scale(1.1);
    background-color: #200fbb;
}

/* Botões em formato de ícone */
.btn-icon {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 5px 10px;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-icon:hover {
    color: #c2bdfb;
}

/* Estilo das tabelas */
.table-hover tbody tr:hover {
    background-color: #ffe5cc;
    cursor: pointer;
}

.clickable-row:hover {
    background-color: #ffebcc;
}

/* Estilo dos formulários */
.form-label {
    font-weight: bold;
    color: #555;
}

.form-group {
    min-height: 65px;
}

.form-control {
    padding: 1px !important;
    margin-top: 5px !important;
    padding-left: 5px !important;
    background-color: #eae9e9 !important;
}

.form-control:focus {
    border-color: #230886 !important;
    box-shadow: 0 0 0 .25rem rgba(123, 153, 225, 0.25) !important;
}

.card-body {
    padding: 10px !important;
    overflow: unset !important;
}

.jqx-combobox
{
    height: 29px !important;
}


.popUpWindow
{
    position:fixed;
    top:0px;
    left:0px;
    background:rgba(0,0,0,0.75);
    width:100%;
    height:100%;
    display:none;
    z-index: 999;
}
.popup-content {
    width: 700px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 10px;
    margin-top: 100px;
    box-shadow: 0px 2px 6px rgba(0,0,0,1);
    border-radius: 3px;
    background: #fff;
    position: relative;
}

.popup-button
{
    width: 31% !important;
    height: 30px !important;
    float: left  !important;
    margin: 0 auto;
    padding: 0;
    display: inline-block;
    line-height: 20px;
    text-align: center;
    margin-left: 3px;
}
.popup-button-action
{
    width: 100% !important;
    padding: 5px;
    height: 40px !important;
}
.popup-quantity
{
    width: 33% !important;
    height: 30px !important;
    float: left  !important;
    margin-left: 3px;
}
.popup-separator
{
    margin-top: 5px !important;
}

.popup-article-name
{
    border-top: 1px solid #d7d6d6e3;
padding-top: 10px;
font-weight: bold;
color: #5e5e5e;
}

.cartArticleName
{
    white-space: nowrap; 
    width: 145px; 
    overflow: hidden;
    text-overflow: ellipsis; 
  
}

.articleImagePopUp
{
    max-width: 200px !important;
}


/* Responsividade */
@media (max-width: 768px) {
    .window-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-group {
        margin-top: 10px;
        display: flex;
        width: 100%;
        justify-content: flex-end;
    }

    .btn-group .btn {
        width: 100%;
        margin: 5px 0;
    }

    .window {
        margin-top: 20px;
        max-width: 95%;
    }

    .window-content {
        padding: 20px;
    }
}
