@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playwrite+IN:wght@100..400&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Smooch+Sans:wght@100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 4.5rem;
  --body-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --h2-font-size: 1.25rem;
  --normal-font-size: .938rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: rgba(25, 25, 79, 1);
  --title-color: hsl(0, 0%, 0%);
  --text-color: hsl(230, 12%, 40%);
  --body-color: hsl(230, 100%, 98%);
  --container-color: hsl(230, 100%, 97%);
  --border-color: hsl(230, 25%, 80%);
  --nav-color: hsl(0, 0%, 100%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --h2-font-size: 1.25rem;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-fixed: 100;
  --z-modal: 1000;
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--body-font);
  scrollbar-width: none;
}

a {
  color: var(--title-color);
  text-decoration: none;
}

.stat-box .texto {
  font-size: 30px;
  font-weight: bold;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  padding: 0 2rem;
  background-color: var(--nav-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: 55px;
}


main {
  background-size: cover;
  height: 92vh;
}

.nav__list {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav__link {
  font-size: var(--font-semi-bold);
  color: var(--title-color);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s;
  font-weight: bold;
}

.nav__link:hover {
  background-color: var(--first-color);
  color: #fff;
}

.nav__link--sair {
  gap: 8px;
  background-color: #e63946;
  /* vermelho */
  color: #fff;
  /* texto branco */
  text-decoration: none;
  border-radius: 16px;
  font-weight: bold;
  transition: background 0.3s ease;
}


.nav__link--sair:hover {
  background-color: #d62828;
  /* vermelho mais escuro no hover */
}

/* Link ativo (página atual) */


.nav__logo img {
  height: 30px;
  width: auto;
  margin-left: -20px;
}

.nav__logo {
  display: flex;
  margin-left: 45px;
  justify-content: center;
}

.nav_logo p {
  margin-left: 100px;
}

.nav__logo-text {
  margin-left: 15px;
  font-size: 13px;
  font-weight: bold;
}


.main{
  width: 100%;
  height: 354px;
  background-color: var( --first-color);
}

.hero__content h1, p{
  color: #fff;
}
.parent {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(1, 1fr);

}

.parent div{
    color: rgba(89, 0, 255, 0.377);
    background-color: rgba(208, 53, 16, 1);
    width: 118px;
    height: 80px;
    border-radius: 10px;
}

/*
body {
  font-family: 'Inter', Arial, sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
  color: #333;
}*/

.container-body {
  max-width: 1200px;
  padding: 0 20px;
  margin-left: 50px;
}

.header h1 {
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: #19194F;
  margin-top: 30px;
}

.header p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-group select,
.btn-buscar {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
}

.cidade{
  background-color: #19194F;
  color: #fff;
  padding: 20px;
}

.estacao{
  background-color: #f25c05;
  color: #fff;
  padding: 20px;
}
.btn-buscar {
  background-color: #ffffff;
  color: #000000;
    border: 1px solid #000000;
  cursor: pointer;
}

.btn-buscar:hover {
  background-color: #ffffff;
}

.btn-atualizar,
.btn-exportar {
  padding: 8px 12px;
  font-size: 0.9rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-atualizar {
  background-color: #ffffff;
  border-style: solid;
  border-color: #19194F;
  color :#19194F;
  font-weight: bold;
}

.btn-exportar {
  background-color: #19194F;
  color: #fff;
}

.tag.fonte {
  background-color: #ffffff;
  color: #000000;
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
   gap: 8px; /* espaço entre a logo e o texto */
  border-radius: 15px;
  font-weight: 500;
  font-size: 0.9rem;
  margin: 20px 0 10px;
  border-style: solid;
  border-width: 0.7px;
  border-color: #d94d00;
}

.relatorio-box {
  background-color: #fff;
  border: 1px dashed #000000;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
}

.relatorio-box h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #19194F;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

thead {
  background-color: #f1f3f5;
}

th, td {
  padding: 8px;
  text-align: center;
  border: 1px solid #dee2e6;
}

th {
  font-weight: 600;
  font-size: 0.9rem;
}

.subhead th {
  background-color: #f9fafb;
  font-size: 0.8rem;
  color: #555;
}

tbody td {
  font-size: 0.9rem;
}

tbody tr:nth-child(even) {
  background-color: #f9fafb;
} 

.cidade{
  background-color: #19194F;
  color: #fff;
}

footer {
  width: auto;
  background-color: rgba(25, 25, 79, 1);
  color: white;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.8rem;

}


.footer-text {
  text-align: center;
  flex: 1;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}


@media screen and (max-width: 820px) and (min-height: 1100px) {

  body {
    overflow: hidden;
  }

  /* ===== NAV ===== */
  .nav {
    height: 50px;
    padding: 0 1rem;
  }

  .nav__logo img {
    height: 26px;
  }

  .nav__logo-text {
    font-size: 11px;
    line-height: 1.2;
  }

  .nav__link {
    font-size: 0.85rem;
    padding: 6px 10px;
  }}