@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;
}

.inicio-mes {
  border-radius: 3px;
  border: 1px solid #333;
  background-color: transparent;
  font-size: 16px;
  padding: 5px 10px;
  cursor: pointer;
  margin-bottom: 20px;
}

.inicio-mes:hover {
  background-color: #333;
  color: white;
}

.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;
}

.container-contagem:nth-child(2) .circulo {
  background: linear-gradient(to right, #6ee7b7 0 50%, #fcd34d 50% 100%);
}

.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;
}

.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;
}

.container-inativos {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 1rem;
}

.lista {
  margin: 1rem 0;
}

#tabelaContratos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

#tabelaContratos container-contrato {
  max-width: 400px;
}

#tabelaContratos > div {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  flex: 0 0 calc(33.33% - 0.5rem);
}

@media (max-width: 1024px) {
  #tabelaContratos > div {
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
  }
}

@media (max-width: 640px) {
  #tabelaContratos > div {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

#tabelaContratos p {
  margin: 0.25rem 0;
  line-height: 1.3;
  color: #4b5563;
  font-size: 0.875rem;
}

#tabelaContratos p:first-of-type {
  font-weight: 600;
  color: #111827;
}

#tabelaContratos div > div:nth-child(2) {
  padding: 0.75rem;
}

#tabelaContratos form {
  padding: 0 0.75rem 0.75rem;
}

#tabelaContratos button {
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #4b5563;
  cursor: pointer;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  transition: background-color 0.2s, color 0.2s;
}

#tabelaContratos button:hover {
  background-color: #e5e7eb;
  color: #111827;
}

/* Status indicators */
#tabelaContratos [class^="status-"] {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 500;
  padding-top: 0.25rem;
}

.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;
}

.INATIVO {
  background-color: #8c8d8f;
  color: black;
}

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