/* hub.css — tela de seleção de módulo (Avaliação × Clima), só pra RH/Admin.
   Sem override de max-width aqui: .content já é 1400px em toda tela do
   app (padrão único combinado), o Hub usa o mesmo. */

.hub-head { margin-bottom: var(--space-5); }
.hub-head .hub-saudacao { color: var(--text-soft); font-size: 14px; font-weight: 600; margin-bottom: 6px; }

.modulos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.modulo-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.modulo-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.modulo-card-icone {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
}
.modulo-card h2 { font-size: 17px; }
.modulo-card p { margin: 0; color: var(--text-soft); font-size: 13px; line-height: 1.55; }
.modulo-card-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  background: var(--panel-alt);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-soft);
}
.modulo-card-stat.ativo { background: var(--green-soft); color: var(--green); }
.modulo-card-ir { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--primary); font-weight: 700; font-size: 12.5px; }

@media (max-width: 680px) {
  .modulos { grid-template-columns: 1fr; }
}
