/* ===========================================================================
 * Hablame Developers — portal.css
 *
 * Custom theme + utilities on top of Bootstrap 5.3.
 * Loaded AFTER bootstrap.min.css so overrides win.
 * ======================================================================== */

:root {
  --hb-brand:        #0d6efd;
  --hb-brand-hover:  #0a58ca;
  --hb-radius:       0.625rem;
}

/* ---------- Page shell: sticky footer + flex column ----------------------- */
html, body { height: 100%; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { flex: 1 0 auto; }

/* ---------- Navbar polish ------------------------------------------------- */
.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.015em;
}
.navbar-brand .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-right: 0.5rem;
  background: var(--hb-brand);
  color: #fff;
  border-radius: 0.4rem;
  font-weight: 800;
}
.navbar .nav-link.active { font-weight: 600; }

/* ---------- Hero --------------------------------------------------------- */
.hero {
  padding: 5rem 0 3rem;
}
.hero h1 {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.hero .lead { font-size: 1.15rem; }

/* ---------- Feature card hover ------------------------------------------- */
.feature-card {
  height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--hb-brand);
  text-decoration: none;
}
.feature-card .card-title { font-weight: 600; }

/* ---------- "Coming soon" banner ----------------------------------------- */
.stub-banner {
  border: 1px dashed var(--bs-border-color);
  border-radius: var(--hb-radius);
  padding: 1.25rem 1.5rem;
  background: var(--bs-secondary-bg);
  color: var(--bs-secondary-color);
}

/* ---------- Status dashboard (internal) ---------------------------------- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.status-badge.ok   { background: rgba(25, 135, 84, 0.12);  color: #198754; }
.status-badge.fail { background: rgba(220, 53, 69, 0.12);  color: #dc3545; }
.status-badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
}

.diag-table th { font-weight: 600; color: var(--bs-secondary-color); width: 35%; }
.diag-table td { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.875rem; }

/* ---------- Responsive ---------------------------------------------------- */
@media (max-width: 575.98px) {
  .hero { padding: 3rem 0 2rem; }
  .hero h1 { font-size: 2.25rem; }
}
