/* General Reset */
body, html {
    margin: 0px;
    font-family: "Bai Jamjuree", sans-serif;
    background-color: #0f111a !important;
}

.row {
    --bs-gutter-x : 0rem !important;
    width: 100% !important;
}

.logo {
    display: flex !important;
    justify-content: center !important;
    width: 50% !important;
    margin: auto !important;
    margin-top: 10% !important
}

.card-c1 {
    height: 240px;
    background-color: rgba(31, 41, 65, 0) !important;
    color: white;
    justify-content: center !important;
}

.campo {
    color : #CBF3BB !important;
}

.linha_logo {
    padding: 0px !important
}

#login {
    margin: 0px 0px 0px 0px !important;
    padding: 0px !important;
}

#card_login {
    display: flex !important;
    justify-content: center !important;
    width: 50% !important;
    left: 25% !important;
    top: 50% !important;
}


#card_login.btn {
    background-color: rgba(24, 59, 77, 0.6) !important;
    border-color: #ffffff;
}

#card_login.btn:hover {
    background-color: rgba(24, 59, 77, 1) !important;
}

#card_login.btn:active {
    background-color: rgba(24, 59, 77, 0.8) !important;
}

#login-button.btn {
    background-color: rgba(15, 16, 26, 1) !important;
    border-color: rgba(15, 16, 26, 1) !important;
}

#login-button.btn:hover {
    background-color: rgba(84, 207, 220, 1) !important;
    border-color: rgba(84, 207, 220, 1) !important;
    color: rgba(15, 16, 26, 1) !important;
}

#login-button.btn:active {
    background-color: rgba(84, 207, 220, 0.7) !important;
    border-color: rgba(84, 207, 220, 0.7) !important;
    font-weight: bold;
}

#refresh_button.btn {
    background-color: rgba(255, 255, 255, 0) !important;
    border-color: rgba(255, 255, 255, 0) !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0px 0px 0px 0px !important;
    align-content: center !important;
    vertical-align: middle !important;
    padding: 20px 20px 20px 20px !important;
    box-shadow: #ffffff 0px 0px 0px;
    font-size: 3rem !important;
    border-radius: 8px;
    text-align: right !important;
    width: 65px !important;
    border-color: #ffffff !important;
}

#refresh_button.btn:hover {
    font-weight: bold;
    box-shadow: #6DC5D1 0px 0px 12px;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #6DC5D1 !important;
}
#refresh_button.btn:active {
    box-shadow: #2A629A 0px 0px 5px;
    border-color: rgba(109, 197, 209, 0.5) !important;
}

/* SIDE BAR */
.logo_sidebar {
    height: 2.5rem !important;
    width: 100% !important;
    padding: 1rem 1rem 1rem 1rem !important;
    margin: 0rem 0rem 0rem 0rem !important;
    height: 65px !important;
    filter: brightness(0) invert(1);
}

#sidebar {
    position: fixed !important;
    top: 0px !important;
    left: 0px !important;
    bottom: 0px !important;
    width: 200px !important;
    background-color: rgba(31, 41, 65, 1) !important;
    }

.mantine-NavLink-root {
    color: #ffffff !important;
    width: 100% !important;
}

.mantine-NavLink-children {
    color: #ffffff !important;
    width: 100% !important;
    padding: 0px 0px 0px 0px !important;
}

.mantine-NavLink-root:hover {
    background-color: #12506d !important;
    width: 100% !important;
}

#navlink_plano2 {
    background-color: rgba(255, 255, 255, 0.05) !important;
    width: 100% !important;
}

#navlink_plano2:hover {
    background-color: #12506d !important;
    width: 100% !important;
}


/*CENTRAR INDICADORES NA JANELA ÚTIL*/
.centrar {
    padding: 0px 30px 0px 210px !important;
    margin: 0px 0px 0px 0px !important;
    width: 100% !important;
    color: #ffffff !important;
}

/*CENTRAR INDICADORES NA JANELA ÚTIL*/
.so_centrar {
    padding: 0px 30px 0px 210px !important;
    margin: 0px 0px 0px 0px !important;
    width: 100% !important;
}

/*JUMBOTRON - primeira linha*/
.top_jumbotron {
    padding: 20px 0px 20px 230px !important;
    margin: 0px 0px 0px 0px !important;
    color: #ffffff !important;
    width: 100% !important;
}

.separador_navlink {
    padding: 0px 0px 0px 0px !important;
    margin: 0px 0px 0px 0px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    width: 200px;
}


/*******/
.div_row_impar {
    background-color: rgba(20, 27, 45, 1) !important;
    display: block;
}

/*******/

.valores {
    padding: 0px 0px 0px 0% !important;
    justify-content: center;
}

.valores_variacao {
    padding: 0px 0px 0px 0% !important;
    font-size: 25px;
    justify-content: center;
}

h1.valores {
    padding: 0px 0px 0px 0px !important;
}

h2.valores {
    padding: 10px 0px 10px 0px !important;
    margin: 0px 0px 0px 0px !important;
}

.desc_card {
    height: 240px !important;
    background-color: rgba(180, 180, 184, 0.1) !important;
    color: #ffffff !important;
    border-color: rgba(180, 180, 184, 0.1) !important;
    margin: 0px 5px 0px 0px !important;
}

.card_texto_analise {
    justify: left;
    text-align : left;
    font-size: 14px !important;
}

.card_texto_analise_titulo {
    justify: left;
    text-align : left;
    font-size: 16px !important;
}

.right {
    justify-items: right !important;  /*encostar à direita*/
    text-align: right !important;
}

.left {
    text-align: left !important;
    justify-items: left !important;  /*encostar à esquerda*/
}

p.card {
    margin: 0px
}

.total {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0.5rem;
}

/*  select_referencia  */

#select_referencia {
    color: #000000;
    width: 100% !important
}

#select_referencia_armazem {
    color: #000000;
    width: 100% !important
}


#classe_produto {
    color: #000000;
    width: 100% !important
}

#acabamento_produto {
    color: #000000;
    width: 100% !important
}


h2.white {
    color: #ffffff !important;
    margin: 0px
}

.white {
    color: #ffffff !important;
}

.red {
    color: #F90716 !important;
    text-shadow: #000000 1px 1px 10px;
}

.yellow {
    color: #F8DE22 !important;
    text-shadow: #000000 1px 1px 10px;
}

.green {
    color: #16FF00 !important;
    text-shadow: #000000 1px 1px 10px;
}

#p_primeiro {
    font-weight: bold;
    font-size: 16px !important;
    color: #31C6D4 !important;
}

#p_primeiro_n_servico {
    font-weight: bold;
    font-size: 16px !important;
    color: #31C6D4 !important;
}

hr.white {
  border: none;
  height: 1px;
  background-color: rgba(255,255,255,0.25);
  margin: 10px 0 10px 220px; /* 230px de margem à esquerda */
}

.centrar_variacao {
    padding: 0px 0px 0px 0px !important;
    margin: 0px 0px 0px 0px !important;
    width: 100% !important;
    justify-content: center !important;
    vertical-align: middle !important;
}

.centrar_descricao {
    padding: 0px 0px 0px 0px !important;
    margin: 0px 0px 0px 0px !important;
    width: 100% !important;
    justify-content: left !important;
    vertical-align: middle !important;
}

.rodape_home {
    display: grid !important;
    top: 95% !important;
    color: white !important;
    width: 100% !important;
    text-shadow: #000000 7px 0 7px !important;
    position: fixed !important;
    text-align : center !important;
}


#logout.btn {
    background-color: red !important;
    border-color: #ffffff !important;
    display: flex !important;
    justify-content: center !important;
    margin: 10px 0px 0px 50px !important;
    align-content: center !important;
    vertical-align: middle !important;
    padding: 15px 15px 15px 15px !important;
    box-shadow: #ffffff 0px 0px 10px;
    font-size: 1rem !important;
    border-radius: 15px;
    text-align: right !important;
    right: 5% !important;
    width: 60px !important;
}

#logout.btn:hover {
    color:#000000 !important;
    font-weight: bold;
    background-color: red !important;
    box-shadow: #6DC5D1 0px 0px 10px;
    background-color: #6DC5D1 !important;
    border-color: #6DC5D1 !important;
}
#logout.btn:active {
    color:#000000 !important;
    font-weight: bold;
    background-color: green !important;
    box-shadow: #2A629A 0px 0px 5px;
    background-color: rgba(109, 197, 209, 0.5) !important;
    border-color: rgba(109, 197, 209, 0.5) !important;
}

.bg-light {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.nav {
    width: 200px;
}

.nav-item {
    width: 200px;
    color: #ffffff;
}

.navbar {
    width: 200px;
    background-color: rgba(255, 255, 255, 0) !important;
    color: #ffffff;
}

.navbar .row {
    width: 200px;
    margin: 0px;
}

#login_utilizador_sidebar {
    position: fixed !important;
    left: 0px !important;
    bottom: 0px !important;
    width: 200px !important;
    justify-content: center !important;
    text-align: center !important!;
    margin: auto;
}

.nav-link {
    color: #ffffff;
}

.nav-link:hover {
    font-weight: bold;
    color: #ffffff;
}

.nav-link:active {
    font-weight: bold;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1) !important;
}



/****/


/* 1) Sidebar em coluna e a 100% da altura */
#sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 260px;
  height: 100vh;              /* ocupa a altura toda */
  display: flex;              /* IMPORTANTE */
  flex-direction: column;     /* IMPORTANTE */
  padding: 0px 0px 0px 0px;
  background: #0f111a;
  color: #fff;
}


/* 3) Footer vai para o fim e empilha conteúdo (avatar em cima, logout em baixo) */
#sidebar .sidebar_footer {
  margin-top: auto;           /* empurra para o fundo */
  display: flex;
  flex-direction: column;     /* EMPILHAR */
  align-items: stretch;
  gap: 10px;
  padding-top: 5px;
  border-top: 1px solid rgba(255,255,255,0.4);
}

/* bloco do avatar */
#sidebar .avatar_block {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  margin: 0px;
  background: rgba(31, 41, 65, 1) !important;
  border-radius: 10px;
}


.imagem_moldura {
    width: 100%;
    height: 400px;
    border: 0px solid white;        /* cor e espessura da moldura */
    border-radius: 20px;            /* cantos arredondados */
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3); /* sombra suave */
    object-fit: cover;    /* corta o excesso, não distorce */
    object-position: center center; /* padrão → centro */
}

.container_moldura {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin: 0px 20px 20px 230px;
    border-radius: 20px;
    background-color: #f8f8f8;      /* fundo opcional */
}

.rotulo {
    font-size: 12px !important;
}


/* DROPDOWN SELECT */

#select_pessoas {
    color: #000000;
    font-weight: bold !important;
    background-color: rgba(20, 27, 45, 1) !important;
    padding: 10px 0px 0px 0px !important;
    width: 100% !important
}

#select_pessoas.Select-control {
    background-color: rgba(31, 41, 65, 0.5) !important;
    border-color: #ffffff !important;
    border-width: 2px !important;
    vertical-align: middle;
    padding: 10px 10px 10px 10px !important;
}

#select_pessoas.Select-control:hover {
    background-color: rgba(20, 27, 45, 0.5) !important;
    border-color: #ffffff !important;
    border-width: 2px !important;
    box-shadow: #ffffff 0px 0px 10px;
}

#select_pessoas.Select-value {
    background-color: rgba(31, 41, 65, 0.5) !important;
    vertical-align: middle;
    padding: 10px 0px 0px 0px !important;
    color: #000000 !important;
    font-family: "Arial";
    font-size: 20px !important;
}

#select_pessoas.Select-value-label {
    color: #ffffff !important;
    vertical-align: middle;
    padding: 20px 0px 20px 20px !important;
}

#select_pessoas.Select-input input{
    padding: 0px 0px 0px 10px !important;
    color: #ffffff !important;
    font-size: 20px;
    font-weight: bold !important;
}

/******************/

#select_ano {
    color: #000000;
    font-weight: bold !important;
    background-color: rgba(20, 27, 45, 1) !important;
    padding: 10px 0px 0px 0px !important;
    width: 100% !important
}

#select_ano.Select-control {
    background-color: rgba(31, 41, 65, 0.5) !important;
    border-color: #ffffff !important;
    border-width: 2px !important;
    vertical-align: middle;
    padding: 10px 10px 10px 10px !important;
}

#select_ano.Select-control:hover {
    background-color: rgba(20, 27, 45, 0.5) !important;
    border-color: #ffffff !important;
    border-width: 2px !important;
    box-shadow: #ffffff 0px 0px 10px;
}

#select_ano.Select-value {
    background-color: rgba(31, 41, 65, 0.5) !important;
    vertical-align: middle;
    padding: 10px 0px 0px 0px !important;
    color: #000000 !important;
    font-family: "Arial";
    font-size: 20px !important;
}

#select_ano.Select-value-label {
    color: #ffffff !important;
    vertical-align: middle;
    padding: 20px 0px 20px 20px !important;
}

#select_ano.Select-input input{
    padding: 0px 0px 0px 10px !important;
    color: #ffffff !important;
    font-size: 20px;
    font-weight: bold !important;
}

/*CARDS*/

#oee_indicador {
    background-color: rgba(20, 27, 45, 0) !important;
    border-color: rgba(20, 27, 45, 0) !important;
    border-width: 0px !important;
}

#oee_indicador.card {
    background-color: rgba(20, 27, 45, 0) !important;
}


#produtividade_indicador {
    background-color: rgba(20, 27, 45, 0) !important;
    border-color: rgba(20, 27, 45, 0) !important;
    border-width: 0px !important;
}

#produtividade_indicador.card {
    background-color: rgba(20, 27, 45, 0) !important;
}

.cards_indicadores {
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

/*****/

.div_row_impar {
    background-color: rgba(31, 41, 65, 0) !important;
}
