/* BASE */

* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #FAFAD4;
  margin: 0;
}

header {
  background-color: #1a4d2e;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 40px;
  min-height: 120px;
  flex-wrap: wrap;
}

header h1 {
  flex: 1;
  text-align: center;
  font-size: clamp(1.2rem, 2.5vw + 0.5rem, 2rem);
  margin: 0;
}

.imgfunai {
  width: clamp(60px, 8vw, 100px);
  height: auto;
}

.imgpgf {
  width: clamp(160px, 25vw, 300px);
  height: auto;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background-color: #1a4d2e;
  color: white;
  padding: 20px;
  text-align: left;
}

td {
  padding: 20px;
}

/* PROCESSO LIST */

.processolist-h1 {
  text-align: center;
  background-color: #1a4d2e;
  color: white;
  padding: 20px;
  margin: 0;
}

.btn-secondary {
  background-color: #FAFAD4;
  color: black;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  background-color: #FFFFAA;
}

/* PROCESSO DETAIL */

.page-header {
  background-color: #1a4d2e;
  color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1px;
  padding: 10px 20px;
}

.card {
  background-color: #FAFAD4;
  color: black;
  display: block;
  margin: 1px;
  padding: 40px clamp(16px, 8vw, 100px) 30px;
  border-radius: 5px;
}

.card-title {
  color: #1a4d2e;
  font-weight: bold;
  font-size: 20px;
  padding-top: 20px;
  padding-bottom: 30px;
  text-decoration: underline;
}

.field-group {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-around; */
  gap: 10px 40px;
}

.field{
color:#1a4d2e;
font-weight:bold;
font-size:15px;
}

.logout-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logout-user {
  font-size: 14px;
}

.btn-secondary {
  border: none;        /* reset: <button> tem borda e fonte próprias, */
  font: inherit;       /* o link <a> não tinha — herdamos do header   */
  cursor: pointer;
}

/* FILTROS */

.filtros {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 20px;
  padding: 20px 40px;
  background-color: #eaeac0;
}

.filtro {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filtro label {
  color: #1a4d2e;
  font-weight: bold;
  font-size: 13px;
}

.filtro select {
  font: inherit;
  padding: 8px;
  border: 1px solid #1a4d2e;
  border-radius: 6px;
  background-color: white;
  max-width: 260px;
}

.filtro-acoes {
  display: flex;
  gap: 10px;
  margin-left: auto;   /* empurra os botões para a direita da barra */
}

.filtro-acoes .btn-secondary {
  background-color: #1a4d2e;
  color: white;
}

.filtro-acoes .btn-secondary:hover {
  background-color: #2a6d42;
}

.resultado-contador {
  padding: 10px 40px 0;
  font-size: 14px;
  color: #1a4d2e;
}

.busca {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-basis: 100%;   /* ocupa a linha inteira dentro do flex-wrap da barra */
}

.busca label {
  color: #1a4d2e;
  font-weight: bold;
  font-size: 13px;
}

.busca input {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #1a4d2e;
  border-radius: 6px;
  background-color: white;
}

.busca input::placeholder {
  color: #8a8a6a;
}