/* 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;
    padding-left: 2rem;
}

.logo {
    display: flex !important;
    justify-content: center !important;
    width: 50% !important;
    margin: auto !important;
    margin-top: 10% !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 230px !important;
    margin: 0px 0px 0px 0px !important;
    width: 100% !important;
    color: #ffffff !important;
}

/*CENTRAR INDICADORES NA JANELA ÚTIL*/
.so_centrar {
    padding: 0px 30px 0px 230px !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*/
}

.left {
    text-align: left !important;
}

.card p {
    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
}


/******/

#offcanvas_faturacao {
    width: 68% !important;
    margin: 0px 0px 0px 0px !important;
}

.offcanvas-header {
    background-color: rgba(31, 41, 65, 1) !important;
}

.offcanvas-body {
    background-color: rgba(31, 41, 65, 1) !important;
    margin: -20px 0px 0px 0px;
}

#offcanvas_dre {
    width: 69% !important;
    background-color: rgba(31, 41, 65, 1) !important;
}

#offcanvas_nivel_servico {
    width: 69% !important;
    background-color: rgba(31, 41, 65, 1) !important;
}

#offcanvas_max_capacidade {
    width: 69% !important;
    background-color: rgba(31, 41, 65, 1) !important;
}

#offcanvas_produtividade {
    width: 69% !important;
    background-color: rgba(31, 41, 65, 1) !important;
}

#offcanvas_absentismo {
    width: 69% !important;
    background-color: rgba(31, 41, 65, 1) !important;
}

#offcanvas_oee {
    width: 69% !important;
    background-color: rgba(31, 41, 65, 1) !important;
}

h2.white {
    color: #ffffff !important;
    margin: 0px
}

.white {
    color: #ffffff !important;
}

.offcanvas .btn-close {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")
}

.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 {
    color: #ffffff !important;
    padding: 0px 0px 0px 0px !important;
    margin: 0px 0px 0px 0px !important;
    width: 100% !important;
}

.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: 500px;
    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 bottom; /* 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;
}

/*SELECT OPTIONS*/

#select_equipa {
    color: #000000;
    font-weight: bold !important;
    background-color: rgba(20, 27, 45, 1) !important;
}

#select_equipa .Select {
    padding: 0px 0px 0px 0px !important;
    vertical-align: middle;
    font-size: 14px !important;
    height: 40px;
}

#select_equipa .Select-control {
    border-radius: 5px !important;
    padding: 0px 0px 0px 0px !important;
    background-color: rgba(31, 41, 65, 0.5) !important;
    border-color: #ffffff !important;
    border-width: 1px !important;
    vertical-align: middle;
}

#select_equipa .Select-control:hover {
    background-color: rgba(20, 27, 45, 0.5) !important;
    border-color: #ffffff !important;
    border-width: 1px !important;
    box-shadow: #ffffff 0px 0px 5px;
    vertical-align: middle;
}

#select_equipa .Select-value {
    background-color: rgba(31, 41, 65, 0.5) !important;
    text-align: left !important;
    padding: 0px 0px 0px 20px !important;
    color: #ffffff !important;
}

#select_equipa .Select-active {
    background-color: rgba(31, 41, 65, 0.5) !important;
    vertical-align: middle;
    color: #ffffff !important;
}

#select_equipa .Select-focus {
    background-color: rgba(31, 41, 65, 0.5) !important;
    vertical-align: middle;
    padding: 0px 0px 0px 0px !important;
    color: #ffffff !important;
}

#select_equipa .Select-value-label {
    color: #ffffff !important;
    vertical-align: middle;
    text-align: left !important;
    font-size: 20px;
}

/********************/

#select_jogador {
    color: #000000;
    font-weight: bold !important;
    background-color: rgba(20, 27, 45, 1) !important;
}

#select_jogador .Select {
    padding: 0px 0px 0px 0px !important;
    vertical-align: middle;
    font-size: 14px !important;
    height: 40px;
}

#select_jogador .Select-control {
    border-radius: 5px !important;
    padding: 0px 0px 0px 0px !important;
    background-color: rgba(31, 41, 65, 0.5) !important;
    border-color: #ffffff !important;
    border-width: 1px !important;
    vertical-align: middle;
}

#select_jogador .Select-control:hover {
    background-color: rgba(20, 27, 45, 0.5) !important;
    border-color: #ffffff !important;
    border-width: 1px !important;
    box-shadow: #ffffff 0px 0px 5px;
    vertical-align: middle;
}

#select_jogador .Select-value {
    background-color: rgba(31, 41, 65, 0.5) !important;
    text-align: left !important;
    padding: 0px 0px 0px 20px !important;
    color: #ffffff !important;
}

#select_jogador .Select-active {
    background-color: rgba(31, 41, 65, 0.5) !important;
    vertical-align: middle;
    color: #ffffff !important;
}

#select_jogador .Select-focus {
    background-color: rgba(31, 41, 65, 0.5) !important;
    vertical-align: middle;
    padding: 0px 0px 0px 0px !important;
    color: #ffffff !important;
}

#select_jogador .Select-value-label {
    color: #ffffff !important;
    vertical-align: middle;
    text-align: left !important;
    font-size: 20px;
}


/*
.imagem_moldura:hover {
    transform: scale(1.005);
    transition: transform 0.2s ease;
}
*/

#grafico_remates_zonas_ataque {
    padding: 0px 0px 0px 0px !important;
    margin: 0px 0px 0px 0px !important;
}