:root {
  --brand: #0d6efd;
  --brand-dark: #0b5ed7;
  --ink: #212529;
}

body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: #fff;
}
.hero h1 { font-weight: 800; letter-spacing: -.5px; }

/* Tarjetas de funcionalidad */
.feature-card {
  border: 1px solid #e9ecef;
  border-radius: 1rem;
  transition: transform .15s ease, box-shadow .15s ease;
  height: 100%;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.08); }
.feature-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: .75rem; background: rgba(13,110,253,.1); color: var(--brand);
  font-size: 1.5rem;
}

/* Layout de panel/usuarios */
.app-sidebar {
  color: #cbd5e1; --bs-offcanvas-width: 264px;
  background: #0f172a !important;   /* gana sobre el transparent !important del offcanvas en desktop */
}
@media (min-width: 992px) {
  .app-sidebar { width: 256px; min-height: 100vh; position: sticky; top: 0; height: 100vh; }
  .app-sidebar .offcanvas-header { display: flex !important; }   /* mostrar la marca en desktop */
  .app-sidebar .offcanvas-body   { flex-grow: 1 !important; }    /* empujar "Salir" al fondo */
}
.app-sidebar .brand { color: #fff; text-decoration: none; }
.app-sidebar .nav-link {
  color: #aeb8c7; border-radius: .6rem; padding: .6rem .85rem;
  display: flex; align-items: center; font-weight: 500; transition: background .12s, color .12s;
}
.app-sidebar .nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.app-sidebar .nav-link.active { background: var(--brand); color: #fff; }
.app-main { background: #f5f6f8; min-height: 100vh; min-width: 0; }
.app-topbar { background: #fff; }
.min-w-0 { min-width: 0; }

.auth-wrap { min-height: 100vh; display: grid; place-items: center; background: #f5f6f8; }
.auth-card { width: 100%; max-width: 420px; }

.badge-estado { font-weight: 600; }
