/*
Componentes Default
*/

@font-face {
    font-family: 'Gotham-Light';
    src: url('/static/fonts/gotham/GOTHAM-LIGHT.TTF') format('truetype'),
         url('/static/fonts/gotham/GOTHAM-LIGHT.OTF') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face { 
    font-family: 'Gotham-Light';
    src: url('/static/fonts/gotham/GOTHAM-MEDIUM.TTF') format('truetype'),
         url('/static/fonts/gotham/GOTHAM-MEDIUM.OTF') format('opentype');
    font-weight: bold;
    font-style: normal;
}
@font-face { 
    font-family: 'Gotham';
    src: url('/static/fonts/gotham/GOTHAM-MEDIUM.TTF') format('truetype'),
         url('/static/fonts/gotham/GOTHAM-MEDIUM.OTF') format('opentype');
    font-weight: normal;
    font-style: normal;
}


.fundoazul{background-color:#1b3a5c !important; color: white !important;}
.fundoverde{background-color: #5bb947 !important;color: white !important;}
.fundoamarelo{background-color: #FFC107 !important;color: white !important;}
.fundoheader{background-color: #0f2c48 !important;color: white !important;}

div.card p{
    font-family: 'Gotham-Light' !important;
    font-weight: normal !important;
}

.no-hover:hover {
    box-shadow: none !important;
    transform: none !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold !important;
}

html, body{
    height: 100%;
    font-family: 'Gotham-Light' !important;
}


main{
    min-height: 100vh;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

main aside{
    height: 90vh
}
/* Hide scrollbar for Chrome, Safari and Opera */
.sidebar::-webkit-scrollbar {
    display: none;
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
  .sidebar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }

/*/ conteudo/*/
.conteudo{
    width:100%;
    background-color: #0f2c48  !important;
}

.logo{
    width: 13%;
    margin-top: 0.4%;
    margin-left: 1.8%;
}

/*/ barra do lado /*/
.barra-lado {
    width:100%;
    height: 100vh;
    font-size: smaller;
    overflow: hidden;
}


/*//telacadastro///////*/

.tela-cadastro {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}




.botao-cadastrar {
    padding: 10px;
    background-color:#005da5;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    grid-column: span 2;
    margin-top: 15px;
    width: 100%;
}

.prevent-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

/*//telaacesso///////*/

.tela-acesso {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.botao-acessar {
    padding: 10px;
    background-color:#005da5;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    grid-column: span 2;
    margin-top: 15px;
    width: 100%;
}

/*/indicativos-home/*/

.container-home {
    display: flex;
    gap: 20px; 
    width:58%;
}

.box-home {
    font-weight: bold; /* Adicionando negrito */
    background-color: #f9f9f9; /* Cor de fundo mais clara */   
    border: 1px solid #ccc; /* Bordas suaves */
    text-align: center; 
    flex: 0.5; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
    transition: transform 0.3s, box-shadow 0.3s; /* Transições suaves */
}

.box-home:hover {
    transform: translateY(-5px); /* Efeito de elevação ao passar o mouse */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Sombra mais intensa */
}

.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/*
Table
*/
.card-igual {
    flex: 1;
    min-width: 0; /* evita quebra estranha em alguns navegadores */
  }
  
.main-wrapper{
    width: 70%;
    overflow-x: auto;
    padding: 0 30px;
    box-sizing: border-box;
    margin: 0 auto;
}
  
.responsive-table{
    display: inline-block;
    min-width: 100%;
    box-sizing: border-box;
}
  
.table {
    width: 100%;
    border: 1px solid;
    border-collapse: collapse;
}
  
.table > thead tr th {
    padding: 12px;
    text-align: left;
    background-color: #f4f4f4;
}

.table > tbody tr:hover td {
    background-color: #f1f1f1;
}

.table > tbody tr td {
    padding: 12px;
    text-align: left;
}


/*
Estacao
*/

.container-estacao {
    display: flex;
    gap: 20px; 
    width: 35%;
    margin: 0 auto;
    font-weight: bold;    
}

.box-estacao {
    font-weight: bold; /* Adicionando negrito */
    background-color: #f9f9f9; /* Cor de fundo mais clara */
    
    border: 1px solid #ccc; /* Bordas suaves */
    text-align: center; 
    flex: 0.5; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
    transition: transform 0.3s, box-shadow 0.3s; /* Transições suaves */
}

.box-estacao:hover {
    transform: translateY(-5px); /* Efeito de elevação ao passar o mouse */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Sombra mais intensa */
}

.box-estacao p {
    margin: 0;
    font-size: small; /* Tamanho da fonte */
    color: #333; /* Cor do texto */
    line-height: 1.5; /* Melhorando o espaçamento entre linhas */
}


/*/ map-home/*/
#map{
width: 90%;height: 75%; margin-left:5%;margin-top: 1%;
}


/*/ dashboard e monitoramento internos /*/
.container-dash {
    width: 50%;
    margin-left: 22%;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colunas */
    gap: 10px; /* Espaçamento entre os boxes */
}

.box-dash {
    font-weight: bold;
    background-color:#f9f9f9; /* Fundo levemente transparente */
    padding: 20px; /* Padding interno */
    border: 1px solid #ccc; /* Borda suave */
    text-align: center; /* Alinhamento central */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
    transition: transform 0.3s, box-shadow 0.3s; /* Transições suaves */
}

.box-dash:hover {
    transform: translateY(-5px); /* Efeito de elevação ao passar o mouse */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Sombra mais intensa */
}

.box-dash p {
    margin: 0; /* Remove margens */
    font-size: 18px; /* Tamanho da fonte */
    color: #333; /* Cor do texto */
}

.chart {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}


/*/parte 2/*/

.box-dash {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;   
    height: 100px;  
}

/* Marquee - Horizontal */
.marquee-container {
    width: 100%;
    background-color: #f8f9fa;
}

.marquee-content {
    display: flex;
    justify-content: center;
    transform: translateX(100%);
    animation: marquee 15s linear infinite;
}

.marquee-item {
    flex: 0 0 auto;
    font-size: 1.2rem;
    color: #495057;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* Optional: Pause animation on hover 
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}
*/


/*/ recargas /*/

.container-recarga {
    display: flex;
    gap: 20px;
    width: 30%;
    font-weight: bold;
    margin: 0 auto;
}

.box-recarga {
    font-weight: bold; /* Adicionando negrito */
    background-color: #f9f9f9; /* Cor de fundo mais clara */
   
    border: 1px solid #ccc; /* Bordas suaves */
    text-align: center; 
    flex: 0.5; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
    transition: transform 0.3s, box-shadow 0.3s; /* Transições suaves */
}

.box-recarga:hover {
    transform: translateY(-5px); /* Efeito de elevação ao passar o mouse */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Sombra mais intensa */
}

.box-recarga p {
    margin: 0;
    font-size: small; /* Tamanho da fonte */
    color: #333; /* Cor do texto */
    line-height: 1.5; /* Melhorando o espaçamento entre linhas */
}

/* monitoramento interno /*/

.interno {
    font-family: Arial, sans-serif;
    margin: 20px;
    border-radius: 10%;
    background-color: #f8f9fa; 
}

.table-interno{
    width: 100%;
    border-collapse: collapse;
    border:1px solid
}


.container-interno {
    display: flex;
    gap: 20px; 
    width: 50%;
    font-weight: bold;
    margin: 0 auto;
}

.box-interno{
    font-weight: bold; /* Adicionando negrito */
    background-color: #f9f9f9; /* Cor de fundo mais clara */
    border: 1px solid #ccc; /* Bordas suaves */
    text-align: center; 
    flex: 0.5; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
    transition: transform 0.3s, box-shadow 0.3s; /* Transições suaves */
    word-wrap: break-word;
}

.box-interno:hover {
    transform: translateY(-5px); /* Efeito de elevação ao passar o mouse */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Sombra mais intensa */
}

.box-interno p {
    margin: 0;
    font-size: 18px; /* Tamanho da fonte */
    color: #333; /* Cor do texto */
    line-height: 1.5; /* Melhorando o espaçamento entre linhas */
}

/* Status veículo luz /*/


.status-luz {
    display: inline-block; /* Para exibir inline */
    width: 10px; /* Largura do status */
    height: 10px; /* Altura do status */
    border-radius: 50%; /* Tornando circular */
}

.status-ativo {
    background-color: green;
}

.status-inativo {
    background-color: red;
}
.status-emuso {
    background-color: rgb(33, 136, 219);
}

.status-manutenção{
    background-color: #ff8521;
}

/*/ table-empresas-clientes /*/

.pagination{
    margin-left: 17.25%;
    margin-top: 1%;
    font-weight: bold;
}

/*
media screen
*/

@media  screen and (max-width: 1024px) {
    .container-home {
        flex-direction: column ;    
    }
    .container-estacao {
        flex-direction: column ;    
    }
    .container-recarga {
        flex-direction: column ;    
    }
}

@media screen and (max-width: 650px) {
    .container-dash {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas */
    }
    .container-interno {
        flex-direction: column;
    }
    .pagination {
        margin-left: 21.5%;
    }
}
