@font-face {
  font-family: 'MicrogrammaDextended';
  src: url('/static/fonts/microgramma-d-bold-extended.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

a {
  text-decoration: none !important;
}

body {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
  background-image: url('/static/assets/img/sunrise-earth-s-horizon-observed-from-outer-space.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: 'MicrogrammaDextended', sans-serif;
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

::-webkit-scrollbar {
  width: 8px; 
  height: 8px; 
  border-radius: 10px; 
}


::-webkit-scrollbar-track {
  background: #f1f1f1; 
  border-radius: 10px; 
}


::-webkit-scrollbar-thumb {
  background: #888; 
  border-radius: 10px; 
}


::-webkit-scrollbar-thumb:hover {
  background: #555; 
}


::-webkit-scrollbar-corner {
  background-color: #f1f1f1; 
  border-radius: 10px; 
}


header div img {
    width: 100px;
}

header {
	background-image: radial-gradient(circle, #323333, #2b3031, #252d2f, #202a2f, #1b262e, #1b222b, #1a1d27, #1a1922, #18141a, #140e13, #0c070a, #000000);
	color: #21232d;
	padding: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

div .fa {
	color: #00E1FFFF;
}

.header__title{
	color: #00E1FFFF;
}

.header__title:hover{
	color: #00E1FFFF;
  transform: scale(1.1);
  transition: all 1s ease;  
}

.logo {
	max-width: 100px; /* Ajuste o tamanho conforme necessário */
}

.center-text {
	text-align: center;
	flex-grow: 1;
	font-size: 20px;
	font-weight: bold;
}

.icons {
	display: flex;
	gap: 10px;
}

.icons i {
	color: #fff;
	font-size: 20px;
	cursor: pointer;
}

#aviso {
	display: none;
}

.w3-panel {
	display: none;
}

.navbar {
	background: #00E1FFFF;
}

.dropbtn {
	background-color: #00E1FFFF;
	color: white;
	padding: 16px;
	font-size: 16px;
	border: none;
  }

.login {
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    width: 30%;
    height: 40%;
    /* transition: all 0.5s ease-in; */
    transition: background-image 2s ease-in, opacity 0.5s ease-in, box-shadow 0.5s ease-in, visibility 0.5s ease-in; 
    background-image: radial-gradient(circle, #323333, #2b3031, #252d2f, #202a2f, #1b262e, #1b222b, #1a1d27, #1a1922, #18141a, #140e13, #0c070a, #000000);
}
  
.login:hover {
  box-shadow: 5px 20px 50px #000;
  background-image: 
        /* url('../../assets/logo/HRC² Logo White.png'),  */
        radial-gradient(circle, #323333, #2b3031, #252d2f, #202a2f, #1b262e, #1b222b, #1a1d27, #1a1922, #18141a, #140e13, #0c070a, #000000); /* Gradiente */
  opacity: 1;
}

.login_form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1; /* Garante que o formulário fique acima do fundo com blur */
}

.logo_login {
  position: fixed;
  /* top: 5%; */
  left: 45%;
	width: 20%;
}

.dropdown {
position: relative;
display: inline-block;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #00E1FFFF;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}

.dropdown-content a {
color: floralwhite;
padding: 12px 16px;
text-decoration: none !important;
display: block;
}

.dropdown-content a:hover {background-color: #ace09f;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #ace09f;}

main {
	flex: 1;
	padding: 0px 0px 20px 0px;
  }


#aviso-frete, #aviso-sist-irriga, #aviso-cond-pagto {
	display: none
}

div p {
    bottom: 12px;
    right: 17px;
    font-size: 14px;
    color: black;
	margin-bottom: 0px;
}

input.form-control {
	border-radius: 15px;
	padding: 0.1em;
	font-size: 0.8em;
}

#button_green {
	background-color: white; 
  	color: black; 
  	border: 2px solid #00E1FFFF;
}

#button_green:hover {
	background-color: #00E1FFFF;
	color: white;
  }

#invoice_title {
  color: #00E1FFFF;
}

#button_red {
	background-color: white; 
	color: black; 
	border: 2px solid #f44336
}

#button_red:hover {
	background-color: #f44336;
	color: white;
}

#button_black{
	background-color: white;
	color: black;
	border: 2px solid #555555;
}

#button_black:hover {
	background-color: #555555;
	color: white;
}

#button_blue{
	background-color: white; 
	color: black; 
	border: 2px solid #008CBA;
}

#button_blue:hover {
	background-color: #008CBA;
	color: white;
}



/* Login Page ******************************************/
#login-card {
	margin-top: 5em;
	text-align: center;
}

footer {
	background-image: radial-gradient(circle, #323333, #2b3031, #252d2f, #202a2f, #1b262e, #1b222b, #1a1d27, #1a1922, #18141a, #140e13, #0c070a, #000000);
	background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
	color: white;
	text-align: center;
	padding: 10px;

	/* max-width: 1140px; */
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* ---------- MAIN ---------- */
  
.main-container {
    /* grid-area: main;
    overflow-y: auto;
    padding: 20px 20px; */
    grid-area: main;
    padding: 20px;
  }
  
  .main-title {
    display: flex;
    justify-content: space-between;
  }
  
  .main-title > p {
    font-size: 20px;
  }
  
  .main-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
  }
  
  .card {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 25px;
    background-image: linear-gradient(to right, #cccccc, #bfbfc0, #b3b3b4, #a6a7a8, #9a9b9c, #8e8f90, #828284, #767678, #676768, #585859, #4a4a4a, #3c3c3c);
    box-sizing: border-box;
    border: 0.5px solid #0000;
    border-radius: 5px;
    box-shadow: 0 6px 7px -4px rgba(0, 0, 0, 0.2);
    border-left: 7px solid #e6e6e6a8;
    text-decoration: none !important;
  }
  
  .card > span {
    font-size: 40px;
    font-weight: 600;
  }
  
  .card-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .card-inner > p {
    font-size: 18px;
  }
  
  .card-inner > span {
    font-size: 35px;
  }
  
  .charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .charts-card {
    background-color: #ffffff;
    margin-bottom: 20px;
    padding: 25px;
    box-sizing: border-box;
    -webkit-column-break-inside: avoid;
    border: 1px solid #d2d2d3;
    border-radius: 5px;
    box-shadow: 0 6px 7px -4px rgba(0, 0, 0, 0.2);
  }
  
  .chart-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
  }

/* Classe para o charts-card que ficará maior */
.chart-large {
  grid-column: span 2; /* Ocupará duas colunas */
}

.text-primary {
    color: #21232d !important;
}

.custom-red {
    color: #ff0000 !important;
}

.custom-blue {
    color: #0000ff !important;
}

.custom-green {
    color: #00E1FFFF !important;
}

/* ---------- SIDEBAR ---------- */

#sidebar {
  /* grid-area: sidebar;
  height: 100%;
  background-color: #21232d;
  color: #9799ab;
  overflow-y: auto;
  transition: all 0.5s;
  -webkit-transition: all 0.5s; */
  background-color: #21232d;
  color: #9799ab;
  grid-area: sidebar;
  /* background-color: #ffffff;
  color: #006080; */
  overflow-y: auto;
}

.sidebar-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 20px 20px;
  margin-bottom: 30px;
}

.sidebar-title > span {
  display: none;
}

.sidebar-brand {
  margin-top: 15px;
  font-size: 20px;
  font-weight: 700;
}

.sidebar-list {
  padding: 0;
  margin-top: 15px;
  list-style-type: none;
}

.sidebar-list-item {
  padding: 20px 20px 20px 20px;
}

.sidebar-list-item:hover {
  background-color:#00E1FFFF;
  cursor: pointer;
}

.sidebar-list-item > a {
  text-decoration: none !important;
  color: #00E1FFFF;
}

.sidebar-list-item:hover > a {
  color: #ffffff; /* Altere para a cor desejada */
}

.sidebar-responsive {
  display: inline !important;
  position: absolute;
  /*
    the z-index of the ApexCharts is 11
    we want the z-index of the sidebar higher so that
    the charts are not showing over the sidebar 
    on small screens
  */
  z-index: 12 !important;
}

.grid-container {
  display: grid;
  grid-template-columns: auto 1fr; /* O sidebar ocupa a largura necessária, o conteúdo principal ocupa o restante */
  grid-template-areas: "sidebar main"; /* Define as áreas do grid */
  min-height: 100vh; /* Garante que o conteúdo ocupe pelo menos toda a altura da tela */
}

.cards {
  width: 100%;
  transition: border-color 0.3s ease;
  cursor: pointer;
}

.cards__titulo {
  color: #00E1FFFF;
  font-size: 2rem;
  line-height: 3rem;
  margin-bottom: 1.5rem;
}

.cards__lista{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-between;
}

.card {
  margin: 0 auto;
  width: 80%;
  border-radius: 10px;
  box-shadow: 10px 10px 10px #00000050;
  color: #000;
  transition: all 1s ease;
  cursor: pointer;
  text-decoration: none !important;
}

.card:hover {
  text-decoration: none !important;
  transform: scale(1.05);
  border-color: #00E1FFFF;
  box-shadow: 10px 10px 10px #00E1FFFF;
  transition: all 1s ease;
  cursor: pointer;
}

.card__tag {
  text-decoration: none !important;
  background-color: #d1d1d1;
  backdrop-filter: blur(2px);
  border-radius: 8px;
  border: 2px solid transparent;
  text-align: center;
  color: #000;
}

.card__info {
  text-decoration: none !important;
  font-size: 2rem;
  padding: 0 1.5rem 1rem 1.5rem;
}

.card__titulo {
  background-color: #d1d1d1ad;
  text-decoration: none !important;
  font-weight: bold;
  line-height: 1.2rem;
  margin-top: 0.8em;
  line-height: 1;
}

.card__texto {
  text-decoration: none !important;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #b9b9b9;
}

.card__descricao {
  text-decoration: none !important;
  font-size: 0.6em;
  margin-top: 0.8em;
}

.logo_menu{
  width: 5%;
}

.app-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centraliza o contêiner horizontal e verticalmente */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.0rem;
}

.app-item {
  display: flex;
  width: 230px; 
  height: 150px;
  background-image: 
    url('../../assets/logo/HRC² - Logo Preta Escrita Preta.png'), 
    radial-gradient(circle, #323333, #2c3233, #273135, #223037, #1f2e3a, #1f2936, #202432, #211f2d, #1e1822, #191218, #100a0d, #000000); /* Gradiente */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60% auto, cover;
  border: 1px solid #d1d5db; 
  border-radius: 0.5rem; 
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
  transition: all 1s ease;
  flex-direction: column;
  justify-content: space-around;
  padding: 25px;
}

.app-item:hover {
  text-decoration: none !important;
  transform: scale(1.05);
  border-color: #0080ff;
  box-shadow: 10px 10px 10px #0080ff;
  transition: all 1s ease;
  cursor: pointer;
}

.stripe {
  position: absolute;
  top: 50%; 
  left: 0;
  width: 100%;
  height: 4px; 
  background-image: radial-gradient(circle, #cccccc, #c5c5c5, #bebebe, #b8b8b8, #b1b1b1, #b5b5b5, #b9b9b9, #bdbdbd, #cdcdcd, #dedede, #eeeeee, #ffffff);
  transform: translateY(-50%); 
}

.logo_header {
  width: 50%;
  transition: all 1s ease;
  background-size: cover;
}

.logo_header:hover {
  width: 52%;
  transition: all 1s ease;
  cursor: pointer;
}