/* ═══════════════════════════════════════════════════════════════
   Network Report Page Styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Page Header ── */
.net-page-header {
  margin-bottom: 32px;
}

.net-page-title {
  font-family: var(--font-serif);
  font-size: 36px;
  line-height: 1.2;
  color: var(--color-ink);
  font-weight: 400;
  margin: 0;
}

.net-back-icon {
  font-size: 15px;
}

/* ── Filter Section ── */
.net-filter-row {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  align-items: flex-end;
  flex-wrap: wrap; /* Helps on smaller screens */
}

.net-filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.db-select {
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--surface);
  color: var(--color-ink);
  cursor: pointer;
  min-width: 150px;
}

.net-table-section__label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-subtle);
  margin: 0 0 12px;
}


/* ── Latest Report Card Container ── */
.net-latest-card {
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 40px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.net-latest-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.net-latest-card__title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--color-ink);
  margin: 0 0 4px;
  font-weight: 400;
}


/* ── Status Badge with Pulse Dot ── */
.net-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.net-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--swatch-green-strong);
  animation: pulse-dot 2s infinite;
}

.net-status-text {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--swatch-green-strong);
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}


/* ── Primary Action Button (View Branches) ── */
.net-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--swatch-green-strong);
  color: white;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.net-btn-primary:hover {
  background: #156030;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.net-btn-primary .material-symbols-outlined {
  font-size: 20px;
}


/* ── Hero KPI Cards ── */
.net-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.net-hero-card {
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  transition: box-shadow 0.2s ease;
}

.net-hero-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Large background watermark icon */
.net-hero-card__bg-icon {
  position: absolute;
  right: -20px;
  top: -20px;
  font-size: 140px !important;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.2s ease;
}

.net-hero-card:hover .net-hero-card__bg-icon {
  opacity: 0.15;
}

/* Content wrapper to sit above background icon */
.net-hero-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.net-hero-card__label-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.net-hero-card__icon {
  font-size: 28px !important;
  padding: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
}

.net-hero-card__label {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0;
}

.net-hero-card__value {
  font-family: var(--font-serif);
  font-size: 56px;
  margin: 0;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Color Variants */
.net-hero-card--offices {
  background: var(--swatch-amber-bg);
  border: 1px solid rgba(234, 179, 8, 0.2);
}
.net-hero-card--offices .net-hero-card__icon,
.net-hero-card--offices .net-hero-card__label { color: var(--swatch-amber-strong); }
.net-hero-card--offices .net-hero-card__value { color: #78350f; }
.net-hero-card--offices .net-hero-card__bg-icon { color: var(--swatch-amber-strong); }

.net-hero-card--agents {
  background: var(--swatch-green-bg);
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.net-hero-card--agents .net-hero-card__icon,
.net-hero-card--agents .net-hero-card__label { color: var(--swatch-green-strong); }
.net-hero-card--agents .net-hero-card__value { color: #052e16; }
.net-hero-card--agents .net-hero-card__bg-icon { color: var(--swatch-green-strong); }


/* ── Empty State ── */
.net-empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--color-muted);
}

.net-empty-state__icon {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
  color: var(--color-border-strong);
}

.net-empty-state__text {
  font-family: var(--font-serif-alt);
  font-size: 18px;
  margin: 0;
}


/* ── Skeleton Loaders ── */
.net-skeleton-text {
  width: 80%;
}

.net-skeleton-chart {
  margin-top: 12px;
}


/* ── Responsive ── */
@media (max-width: 768px) {
  .net-hero-grid {
    grid-template-columns: 1fr;
  }

  .net-hero-card__value {
    font-size: 42px;
  }

  .net-page-title {
    font-size: 28px;
  }

  .net-latest-card__head {
    align-items: flex-start;
  }
}