/* ==========================================================================
   Página: Juizados Especiais Federais (CRETA e PJe 2.X)
   ========================================================================== */

.jef-secao {
  margin-top: 30px;
  margin-bottom: 40px;
}

.jef-painel {
  background-color: #E4E8F3;
  padding: 40px 30px 60px 30px;
}

.jef-titulo {
  font-size: 1.25rem;
  font-weight: bold;
  color: #5776B0;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.jef-coluna {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 35px;
}

.jef-logo-box {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.jef-logo-box img {
  max-height: 90px;
  max-width: 260px;
  width: auto;
  object-fit: contain;
}

.jef-botoes {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn-jef {
  display: block;
  width: 100%;
  font-size: 1.1rem;
  padding: 12px 16px;
  text-decoration: none;
  border-radius: 4px;
  text-align: center;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-jef:hover,
.btn-jef:focus-visible {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-jef:focus-visible {
  outline: 3px solid #122d52;
  outline-offset: 2px;
}

/* Botões do grupo Verde (Acesso) */
.btn-jef-verde {
  background-color: #1db970 !important;
  border-color: #1db970 !important;
  color: #ffffff !important;
}

.btn-jef-verde:hover,
.btn-jef-verde:focus {
  background-color: #179b5d !important;
  border-color: #179b5d !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(29, 185, 112, 0.3);
}

/* Botões do grupo Azul (Consulta Pública / Autenticação) */
.btn-jef-azul {
  background-color: #5776b0 !important;
  border-color: #5776b0 !important;
  color: #ffffff !important;
}

.btn-jef-azul:hover,
.btn-jef-azul:focus {
  background-color: #466299 !important;
  border-color: #466299 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(87, 118, 176, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
  .jef-secao {
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .jef-painel {
    padding: 30px 15px 40px 15px;
  }

  .jef-titulo {
    font-size: 1.15rem;
    text-align: center;
    margin-bottom: 25px;
  }

  .btn-jef {
    font-size: 1rem;
    padding: 11px 14px;
  }
}

@media (max-width: 480px) {
  .jef-logo-box {
    height: 80px;
    margin-bottom: 15px;
  }

  .jef-logo-box img {
    max-height: 70px;
    max-width: 200px;
  }

  .jef-botoes {
    gap: 12px;
  }
}