body { background: #f4f6f9; }

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #efeae2 url('../img/fondo-login.svg') repeat;
  background-size: 260px 260px;
}
.login-card { width: 100%; max-width: 380px; }

.stat-card .stat-value { font-size: 1.8rem; font-weight: 600; }
.stat-card .stat-label { font-size: .85rem; color: #6c757d; text-transform: uppercase; letter-spacing: .03em; }
.stat-card .bi { font-size: 2rem; opacity: .25; }

.table-sm td, .table-sm th { vertical-align: middle; }

/* Logo en el encabezado: fondo blanco para que se vea sobre la barra azul */
.brand-logo { background: #fff; border-radius: .375rem; padding: 2px 6px; display: inline-flex; align-items: center; height: 38px; }
.brand-logo img { max-height: 32px; max-width: 120px; }
.login-logo { max-height: 110px; max-width: 220px; }

/* Footer: queda abajo aunque la página tenga poco contenido */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
.app-footer {
  text-align: center; font-size: .8rem; color: #6c757d;
  padding: .75rem 1rem; border-top: 1px solid #e3e6ea; background: #fff;
}
.app-footer a { color: inherit; text-decoration: none; font-weight: 600; }
.app-footer a:hover { text-decoration: underline; }
/* En login e instalación: sobre el fondo con garabatos, sin barra */
.app-footer-guest {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: transparent; border-top: 0; color: #6b6358;
}
