/* ----------------------------------------------------------------
   Client Portal — layered on top of amnk-theme.css.
   Inherits the same navy/blue/gold brand as the rest of the app
   (matches app/lib/core/app_colors.dart) rather than defining its
   own accent, so the client-facing surface stays visually
   consistent with every other Amnk surface. Only the hero banner
   gets a distinct treatment (deeper navy gradient + gold glow) to
   read as a "welcome" moment, reusing every other token (surfaces,
   shadows, radii, dark mode) unchanged.
   ---------------------------------------------------------------- */

/* Hero header on the client dashboard */
.client-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: 28px 30px;
  margin-bottom: 26px;
  background: linear-gradient(135deg, #1A3A72 0%, #0D1B3E 55%, #00030A 100%);
  box-shadow: var(--shadow-lg);
}
.client-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at 85% -10%, rgba(29,95,170,0.28), transparent 60%),
              radial-gradient(400px circle at 100% 100%, rgba(255,203,49,0.14), transparent 55%);
  pointer-events: none;
}
.client-hero-eyebrow {
  color: #FFCB31;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.client-hero-title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  position: relative;
}
.client-hero-subtitle {
  color: rgba(255,255,255,0.68);
  font-size: 13.5px;
  margin: 0;
  position: relative;
}

/* Read-only data cards used across invoices/reports/safety/visit-request pages */
.client-data-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.client-data-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.client-data-card .card-body { padding: 18px 20px; }
.client-empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-3);
}
.client-empty-state i { font-size: 34px; color: var(--text-4); display: block; margin-bottom: 10px; }

.badge-client-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 11.5px;
  font-weight: 700;
}
.badge-client-status.is-active   { background: var(--clr-success-light); color: var(--clr-success); }
.badge-client-status.is-inactive { background: var(--clr-danger-light);  color: var(--clr-danger); }
