@import url("https://fonts.googleapis.com/css2?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&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  padding: 40px 50px;
}

header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}

header div {
  display: flex;
  align-items: center;
  gap: 20px;
}

header h1 {
  font-size: 30px;
  color: #333;
}

.infos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.container-contagem {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 150px;
}

.circulo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #333;
}

/* Cores diferentes para cada círculo (opcional) */
.container-contagem:nth-child(2) .circulo {
  background-color: #6ee7b7;
}

.container-contagem:nth-child(3) .circulo {
  background-color: #f87171;
}

.container-contagem:nth-child(4) .circulo {
  background-color: #93c5fd;
}

.contagem {
  display: flex;
  flex-direction: column;
}

.contagem-texto {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

.contagem-valor {
  color: #111827;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.info-emp {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.container-empresa {
  background-color: white;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 150px;
  max-width: 200px;
}

.circulo-empresa {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: #93c5fd;
}

/* Cores diferentes para cada círculo */
.container-empresa:nth-child(2) .circulo-empresa {
  background-color: #f87171;
}

.container-empresa:nth-child(3) .circulo-empresa {
  background-color: #fcd34d;
}

.contagem-empresa {
  display: flex;
  flex-direction: column;
}

.contagem-texto-empresa {
  color: #6b7280;
  font-size: 0.75rem;
  margin: 0;
  font-weight: 500;
}

.contagem-valor-empresa {
  color: #111827;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

/* Tabela de contratos */
.tabelaContratos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 5px 4px;
  margin-top: 1.5rem;
}

.tabelaContratos > div {
  border-radius: 0.5rem;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Status styles */
.VERMELHO {
  background-color: #f87171;
}

.VERMELHO-PISCANTE {
  background-color: #f87171;
  animation: pisca 2s infinite;
}

.AMARELO-PISCANTE {
  background-color: #fcd34d;
}

.VERDE {
  background-color: #6ee7b7;
}

.AZUL {
  background-color: #93c5fd;
  color: black;
}

@keyframes pisca {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

.tabelaContratos p {
  margin: 0.5rem 0;
  line-height: 1.4;
  color: #4b5563;
}

.tabelaContratos .dia {
  color: #333;
  font-weight: bold;
  margin-top: 0;
}

.tabelaContratos .pend {
  color: black;
  font-weight: 400;
  font-style: italic;
  margin-top: 0;
}

.tabelaContratos .nome {
  color: #111827;
  font-weight: 600;
  margin-top: 0;
  font-size: 1.5rem;
}

.descricaosa {
  font-size: 0.75rem;
  font-weight: 500;
}

.tabelaContratos p:last-child {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #333;
}

/* Responsividade */
@media (max-width: 640px) {
  .tabelaContratos {
    grid-template-columns: 1fr;
  }

  .tabelaContratos p[style*="font-size: 30px"] {
    font-size: 24px !important;
  }

  .tabelaContratos p[style*="font-size: 20px"] {
    font-size: 18px !important;
  }
}
