/* ═══════════════════════════════════════════
   ZIPMAS Public Portal — Enhanced Styles v2
   ═══════════════════════════════════════════ */

.zm-public-body {
  background: #f4f7fb;
  padding-top: 0;
}

/* ── Header ── */
.zm-public-header {
  top: 0;
  z-index: 1050;
}

/* Government top bar */
.zm-gov-topbar {
  background: linear-gradient(90deg, #004d2e 0%, #006b40 50%, #008751 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0;
}

.zm-gov-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.zm-topbar-flag {
  width: 28px;
  height: 18px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.zm-gov-topbar-right {
  font-size: 0.75rem;
  opacity: 0.85;
}

/* Flag strip under nav */
.zm-flag-strip {
  display: flex;
  height: 4px;
}

.zm-flag-blue { flex: 1; background: #0066cc; }
.zm-flag-black { flex: 1; background: #000; }
.zm-flag-green { flex: 2; background: #007a33; }

/* Main navbar */
.zm-public-nav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 135, 81, 0.1);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  padding: 0.65rem 0;
}

.zm-gov-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  max-width: 480px;
}

.zm-gov-logo-wrap {
  height: 58px;
  min-width: 58px;
  padding: 4px 6px;
  border-radius: 12px;
  background: white;
  border: 2px solid rgba(0, 135, 81, 0.15);
  box-shadow: 0 4px 16px rgba(0, 135, 81, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.zm-gov-logo {
  height: 48px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.zm-gov-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.zm-gov-brand-ministry {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--zm-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.zm-gov-brand-system {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--zm-dark);
  letter-spacing: -0.01em;
}

.zm-public-nav .nav-link {
  color: #334155;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 0.9rem !important;
  border-radius: 10px;
  transition: all 0.2s;
}

.zm-public-nav .nav-link:hover {
  color: var(--zm-primary);
  background: var(--zm-primary-light);
}

.zm-public-nav__container {
  gap: 0.75rem;
}

.zm-public-nav .navbar-nav {
  flex-wrap: nowrap;
  align-items: center;
}

.zm-nav-utilities {
  display: flex;
  align-items: center;
}

.zm-nav-utilities__inner {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.zm-nav-btn-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  padding: 0.45rem 0.7rem;
}

.zm-nav-signout {
  width: 38px;
  height: 38px;
  padding: 0 !important;
  border-radius: 10px;
  border: 1px solid var(--zm-border);
  align-items: center;
  justify-content: center;
  color: #64748b !important;
}

.zm-nav-signout:hover {
  background: #f8fafc;
  color: #334155 !important;
}

.zm-public-nav--investor .zm-gov-brand {
  max-width: min(380px, 42vw);
}

.zm-public-nav--investor .nav-link {
  padding: 0.45rem 0.65rem !important;
  font-size: 0.82rem;
}

.zm-public-nav--investor .zm-nav-link-text {
  display: inline;
}

@media (min-width: 992px) and (max-width: 1299.98px) {
  .zm-public-nav--investor .nav-item:nth-child(4) {
    display: none;
  }

  .zm-public-nav--investor .zm-nav-btn-label {
    display: none;
  }

  .zm-public-nav--investor .zm-nav-btn-compact {
    width: 38px;
    height: 38px;
    padding: 0;
  }

  .zm-public-nav--investor .zm-gov-brand-ministry {
    font-size: 0.62rem;
  }

  .zm-public-nav--investor .zm-gov-brand-system {
    font-size: 0.82rem;
  }
}

@media (min-width: 1300px) {
  .zm-public-nav--investor .zm-nav-btn-label {
    display: inline;
  }
}

.zm-btn-staff {
  background: linear-gradient(135deg, var(--zm-primary-dark), var(--zm-primary));
  color: white !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 1.25rem;
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 135, 81, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.zm-btn-staff:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 135, 81, 0.35);
  color: white;
}

.zm-nav-toggler {
  border: 1px solid var(--zm-border);
  border-radius: 10px;
  padding: 0.4rem 0.65rem;
  color: var(--zm-dark);
}

/* Body offset for fixed header (topbar + nav + flag strip) */
.zm-public-body > section:first-of-type {
  margin-top: 118px;
}

/* ── Hero ── */
.zm-hero {
  position: relative;
  padding: 3rem 0 4.5rem;
  background: linear-gradient(145deg, #0c1929 0%, #0d3d2e 40%, #008751 100%);
  color: white;
  overflow: hidden;
}

.zm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.zm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
}

.zm-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.zm-hero-lead {
  font-size: 1.02rem;
  opacity: 0.88;
  max-width: 540px;
  line-height: 1.75;
}

.zm-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 2rem;
}

@media (min-width: 576px) {
  .zm-hero-stats { grid-template-columns: repeat(4, 1fr); }
}

.zm-hero-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem 0.75rem;
  text-align: center;
  backdrop-filter: blur(4px);
}

.zm-hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
}

.zm-hero-stat span { font-size: 0.72rem; opacity: 0.75; }

.zm-hero-visual {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.35rem;
  backdrop-filter: blur(10px);
}

.zm-hero-visual-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.zm-hero-visual-item:last-child { border-bottom: none; }

.zm-hero-visual-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Plot Explorer Section ── */
.zm-explorer-section {
  padding: 0 0 4.5rem;
  background: #f4f7fb;
  position: relative;
}

.zm-explorer-hero {
  background: linear-gradient(135deg, #0c1929 0%, #0d3d2e 45%, #008751 100%);
  color: white;
  padding: 2.75rem 0 3rem;
  margin-bottom: -1.5rem;
  position: relative;
  overflow: hidden;
}

.zm-explorer-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.zm-explorer-hero .container { position: relative; z-index: 1; }

.zm-explorer-hero .zm-explorer-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #a7f3d0;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.zm-explorer-hero .zm-explorer-title {
  color: white;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.zm-explorer-hero .zm-explorer-desc {
  color: rgba(255, 255, 255, 0.82);
  max-width: 600px;
}

.zm-explorer-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 576px) {
  .zm-explorer-stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
  .zm-explorer-stats-grid { grid-template-columns: 1fr; }
}

.zm-stat-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  backdrop-filter: blur(8px);
}

.zm-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.zm-stat-card.available .zm-stat-icon { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.zm-stat-card.total .zm-stat-icon { background: rgba(255, 255, 255, 0.15); color: white; }
.zm-stat-card.zones .zm-stat-icon { background: rgba(252, 209, 22, 0.2); color: #fcd116; }

.zm-stat-info strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: white;
}

.zm-stat-info span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.zm-explorer-container {
  position: relative;
  z-index: 2;
}

.zm-explorer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: white;
  color: var(--zm-primary);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 135, 81, 0.2);
  box-shadow: 0 2px 8px rgba(0, 135, 81, 0.08);
  margin-bottom: 0.85rem;
}

.zm-explorer-title {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--zm-dark);
  margin-bottom: 0.65rem;
}

.zm-explorer-desc {
  color: var(--zm-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 580px;
}

.zm-mini-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  border: 1px solid var(--zm-border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--zm-shadow);
}

.zm-mini-stat i { font-size: 1.5rem; }
.zm-mini-stat.available i { color: #22c55e; }
.zm-mini-stat.total i { color: var(--zm-primary); }
.zm-mini-stat strong { display: block; font-size: 1.35rem; font-weight: 800; line-height: 1; }
.zm-mini-stat span { font-size: 0.75rem; color: var(--zm-muted); }

/* Explorer panel */
.zm-explorer-panel {
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(0, 135, 81, 0.12);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(0, 135, 81, 0.05);
  overflow: hidden;
}

.zm-explorer-toolbar {
  padding: 1.35rem 1.5rem;
  background: linear-gradient(180deg, #fafcfb 0%, #f5f9f7 100%);
  border-bottom: 1px solid var(--zm-border);
}

.zm-field-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--zm-muted);
  margin-bottom: 0.4rem;
}

.zm-field-input {
  border-radius: 10px !important;
  border: 1px solid var(--zm-border) !important;
  font-size: 0.9rem;
  padding: 0.55rem 0.85rem;
}

.zm-field-input:focus {
  border-color: var(--zm-primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 135, 81, 0.12) !important;
}

.zm-filter-pills {
  display: flex;
  gap: 0.4rem;
  background: #eef2f6;
  padding: 0.25rem;
  border-radius: 10px;
}

.zm-pill {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--zm-muted);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.zm-pill.active,
.zm-pill:hover {
  background: white;
  color: var(--zm-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.zm-map-type-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--zm-primary-light);
  color: var(--zm-primary);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  height: 100%;
  min-height: 42px;
}

/* Map frame */
.zm-map-frame {
  position: relative;
  border-right: 1px solid var(--zm-border);
}

.zm-map-overlay-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--zm-primary-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: zm-pulse 2s infinite;
}

@keyframes zm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.zm-public-map {
  height: 540px;
  width: 100%;
  background: #dce3ea;
}

.zm-explorer-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding: 0.85rem 1.25rem;
  background: #fafbfc;
  border-top: 1px solid var(--zm-border);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--zm-muted);
}

.zm-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.zm-legend-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot.available { background: #22c55e; }
.dot.leased { background: #f97316; }
.dot.reserved { background: #f59e0b; }
.dot.unavailable { background: #ef4444; }
.dot.maintenance { background: #eab308; }

/* Plot side panel */
.zm-plot-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 540px;
  background: #fafcfb;
}

.zm-plot-panel-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1.35rem;
  background: white;
  border-bottom: 1px solid var(--zm-border);
}

.zm-plot-panel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--zm-primary), #00a86b);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.zm-plot-detail-box {
  padding: 1rem 1.35rem;
  background: white;
  border-bottom: 1px solid var(--zm-border);
}

.zm-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.875rem;
  border-bottom: 1px dashed #eef2f6;
}

.zm-detail-row:last-child { border-bottom: none; }
.zm-detail-row > span:first-child { color: var(--zm-muted); flex-shrink: 0; }

.zm-status-chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.zm-status-chip.open { background: #dcfce7; color: #166534; }
.zm-status-chip.closed { background: #fee2e2; color: #991b1b; }

.zm-plot-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--zm-muted);
  background: #f1f5f3;
  border-bottom: 1px solid var(--zm-border);
}

.zm-plot-list {
  flex: 1;
  overflow-y: auto;
  max-height: 380px;
}

.zm-plot-card-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.35rem;
  background: white;
  border-bottom: 1px solid #f1f5f3;
  cursor: pointer;
  transition: all 0.18s;
}

.zm-plot-card-item:hover,
.zm-plot-card-item.active {
  background: var(--zm-primary-light);
  border-left: 3px solid var(--zm-primary);
  padding-left: calc(1.35rem - 3px);
}

.zm-plot-card-item.hidden { display: none; }

.zm-plot-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eef4f1;
  color: var(--zm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.zm-plot-card-meta {
  font-size: 0.78rem;
  color: var(--zm-muted);
}

.zm-plot-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--zm-muted);
}

.zm-plot-empty i { font-size: 2.5rem; opacity: 0.4; display: block; margin-bottom: 0.75rem; }

/* ── General sections ── */
.zm-public-section { padding: 4rem 0; }

.zm-section-label {
  display: inline-block;
  color: var(--zm-primary);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.zm-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.zm-section-desc {
  color: var(--zm-muted);
  max-width: 640px;
  margin-bottom: 2rem;
}

/* Zone cards */
.zm-zones-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.zm-zones-empty {
  grid-column: 1 / -1;
}

.zm-zone-card {
  background: white;
  border: 1px solid var(--zm-border);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.zm-zone-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.zm-zone-card-stat {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--zm-border);
}

@media (min-width: 768px) {
  .zm-zones-count-1 { grid-template-columns: 1fr; }
  .zm-zones-count-2 { grid-template-columns: repeat(2, 1fr); }
  .zm-zones-count-3 { grid-template-columns: repeat(3, 1fr); }
  .zm-zones-count-4 { grid-template-columns: repeat(2, 1fr); }
  .zm-zones-count-5,
  .zm-zones-count-6 { grid-template-columns: repeat(3, 1fr); }

  .zm-zones-count-1 .zm-zone-card {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.25rem;
  }

  .zm-zones-count-1 .zm-zone-card-icon {
    width: 72px;
    height: 72px;
    font-size: 1.75rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .zm-zones-count-1 .zm-zone-card-body {
    flex: 1;
  }

  .zm-zones-count-1 .zm-zone-card-stat {
    max-width: 220px;
    margin-left: auto;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    padding-left: 1.25rem;
    border-left: 1px dashed var(--zm-border);
  }
}

@media (min-width: 1200px) {
  .zm-zones-count-4 { grid-template-columns: repeat(4, 1fr); }
}

.zm-zone-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--zm-shadow-lg);
}

.zm-zone-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Steps */
.zm-step-card {
  background: white;
  border: 1px solid var(--zm-border);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
}

.zm-step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--zm-primary);
  color: white;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.zm-cta-band {
  background: linear-gradient(135deg, var(--zm-primary-dark), var(--zm-primary));
  color: white;
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
}

/* ── Footer ── */
.zm-public-footer {
  position: relative;
  margin-top: 3rem;
  overflow: hidden;
}

.zm-footer-wave {
  color: #0a1628;
  line-height: 0;
  margin-bottom: -1px;
}

.zm-footer-wave svg {
  width: 100%;
  height: 50px;
  display: block;
}

.zm-footer-body {
  background: linear-gradient(180deg, #0a1628 0%, #0f172a 60%, #0a1628 100%);
  color: rgba(255, 255, 255, 0.7);
  padding-bottom: 0;
}

.zm-footer-body .container {
  padding-top: 2.5rem;
  padding-bottom: 0;
}

.zm-footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.zm-footer-logo-wrap {
  height: 68px;
  min-width: 68px;
  padding: 6px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(0, 135, 81, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.zm-footer-logo {
  height: 54px;
  width: auto;
  max-width: 58px;
  object-fit: contain;
}

.zm-footer-tagline {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.zm-footer-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
}

.zm-footer-seal {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.zm-footer-seal span { color: rgba(255, 255, 255, 0.5); }

.zm-footer-heading {
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.15rem;
}

.zm-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zm-footer-links li { margin-bottom: 0.55rem; }

.zm-footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.zm-footer-links a i { font-size: 0.65rem; opacity: 0.5; }
.zm-footer-links a:hover { color: #4ade80; padding-left: 4px; }

.zm-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.zm-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
}

.zm-footer-contact i {
  color: var(--zm-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.zm-footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.zm-footer-contact a:hover { color: #4ade80; }

.zm-footer-flag-img {
  width: 56px;
  height: 38px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.zm-btn-footer-staff {
  background: linear-gradient(135deg, var(--zm-primary-dark), var(--zm-primary));
  border: none;
  color: white;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.65rem 1.25rem;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0, 135, 81, 0.3);
}

.zm-btn-footer-staff:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 135, 81, 0.4);
  color: white;
}

.zm-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.zm-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.zm-footer-badge i { color: var(--zm-primary); font-size: 0.8rem; }

.zm-footer-bottom {
  margin-top: 2.5rem;
  padding-bottom: 1.25rem;
}

.zm-footer-flag-bar {
  display: flex;
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
}

.zm-footer-flag-bar span:nth-child(1) { flex: 1; background: #0066cc; }
.zm-footer-flag-bar span:nth-child(2) { flex: 1; background: #000; }
.zm-footer-flag-bar span:nth-child(3) { flex: 2; background: #007a33; }

.zm-public-messages {
  /* legacy class kept inert — toasts use .zm-toast-host */
  display: none;
}

/* ── Plot Carousel ── */
.zm-carousel-section {
  background: #0a1628;
}

.zm-plot-carousel .carousel-inner {
  max-height: 520px;
}

.zm-carousel-image-wrap {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.zm-carousel-image {
  height: 520px;
  object-fit: cover;
  object-position: center;
}

.zm-carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.55) 45%, rgba(10, 22, 40, 0.15) 100%);
}

.zm-carousel-caption-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.zm-carousel-caption {
  max-width: 580px;
  padding: 2rem 0;
  pointer-events: auto;
}

.zm-carousel-zone {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 135, 81, 0.25);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #a7f3d0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.zm-carousel-title {
  font-size: clamp(1.5rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.zm-carousel-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.zm-carousel-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
}

.zm-carousel-badge.available {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.zm-carousel-badge.status {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.zm-carousel-btn {
  background: white;
  color: var(--zm-primary-dark);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 1.15rem;
  border-radius: 10px;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.zm-carousel-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: var(--zm-primary-dark);
}

.zm-carousel-indicators {
  margin-bottom: 1.25rem;
  gap: 0.35rem;
}

.zm-carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  opacity: 1;
  transition: all 0.25s;
}

.zm-carousel-indicators .active {
  background: #4ade80;
  border-color: #4ade80;
  transform: scale(1.15);
}

.zm-carousel-control {
  width: 52px;
  opacity: 1;
}

.zm-carousel-control-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  transition: background 0.2s;
}

.zm-carousel-control:hover .zm-carousel-control-icon {
  background: rgba(0, 135, 81, 0.6);
}

/* ── Blogs & Events ── */
.zm-news-section {
  padding: 3.5rem 0;
  background: white;
  border-bottom: 1px solid var(--zm-border);
}

.zm-news-block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--zm-primary-light);
}

.zm-news-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--zm-primary);
  background: var(--zm-primary-light);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.zm-blog-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.zm-blog-card {
  display: flex;
  gap: 1.15rem;
  padding: 1.25rem;
  background: #fafcfb;
  border: 1px solid var(--zm-border);
  border-radius: 16px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.zm-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--zm-shadow-lg);
  border-color: rgba(0, 135, 81, 0.2);
}

.zm-blog-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--zm-primary-light), #d1fae5);
  color: var(--zm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.zm-blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
}

.zm-blog-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--zm-primary);
  background: var(--zm-primary-light);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.zm-blog-date {
  font-size: 0.78rem;
  color: var(--zm-muted);
}

.zm-blog-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--zm-dark);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.zm-blog-excerpt {
  font-size: 0.875rem;
  color: var(--zm-muted);
  line-height: 1.65;
  margin-bottom: 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zm-read-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--zm-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.zm-read-more:hover {
  color: var(--zm-primary-dark);
  gap: 0.55rem;
}

.zm-blog-modal__dialog {
  max-width: 720px;
  margin: 1rem auto;
}

.zm-blog-modal .modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  max-height: min(85vh, 900px);
  display: flex;
  flex-direction: column;
}

.zm-blog-modal .modal-header {
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.35rem 0.85rem;
  border-bottom: 1px solid #eef2f6;
  flex-shrink: 0;
}

.zm-blog-modal__category {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 135, 81, 0.1);
  color: var(--zm-primary);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.zm-blog-modal__date {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--zm-muted);
}

.zm-blog-modal__body {
  padding: 1.1rem 1.35rem 1.35rem;
  color: #334155;
  line-height: 1.8;
  font-size: 0.96rem;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.zm-blog-modal__body p {
  margin-bottom: 0.85rem;
}

.zm-blog-modal__footer {
  flex-shrink: 0;
  border-top: 1px solid #eef2f6;
  background: #fafbfc;
}

@media (max-width: 575.98px) {
  .zm-blog-modal__dialog {
    margin: 0.5rem;
  }

  .zm-blog-modal .modal-content {
    max-height: 92vh;
  }
}

.zm-events-block {
  background: linear-gradient(180deg, #f0f9f4 0%, #fafcfb 100%);
  border: 1px solid rgba(0, 135, 81, 0.12);
  border-radius: 20px;
  padding: 1.75rem;
  height: 100%;
}

.zm-events-block .zm-news-block-head {
  border-bottom-color: rgba(0, 135, 81, 0.15);
}

.zm-event-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.zm-event-card {
  display: flex;
  gap: 1rem;
  padding: 1.1rem;
  background: white;
  border: 1px solid var(--zm-border);
  border-radius: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.zm-event-card:hover {
  transform: translateX(4px);
  box-shadow: var(--zm-shadow);
}

.zm-event-date {
  width: 56px;
  flex-shrink: 0;
  text-align: center;
  background: linear-gradient(135deg, var(--zm-primary-dark), var(--zm-primary));
  color: white;
  border-radius: 12px;
  padding: 0.5rem 0.35rem;
  line-height: 1.1;
}

.zm-event-day {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
}

.zm-event-month {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.zm-event-type {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--zm-primary);
  margin-bottom: 0.35rem;
}

.zm-event-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--zm-dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.zm-event-details {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.78rem;
  color: var(--zm-muted);
}

.zm-event-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.zm-event-details i {
  color: var(--zm-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .zm-gov-brand { max-width: 100%; }
  .zm-gov-brand-ministry { font-size: 0.62rem; }
  .zm-gov-brand-system { font-size: 0.82rem; }
  .zm-gov-logo-wrap { height: 48px; min-width: 48px; padding: 3px 5px; }
  .zm-gov-logo { height: 38px; max-width: 42px; }
  .zm-public-nav .navbar-nav {
    flex-wrap: wrap;
    gap: 0.35rem;
    padding-top: 0.75rem;
  }
  .zm-nav-utilities__inner {
    flex-wrap: wrap;
    width: 100%;
  }
  .zm-nav-utilities {
    width: 100%;
  }
  .zm-public-map { height: 380px; }
  .zm-plot-panel { min-height: auto; }
  .zm-plot-list { max-height: 300px; }
  .zm-map-frame { border-right: none; border-bottom: 1px solid var(--zm-border); }
  .zm-map-type-badge { margin-top: 0.5rem; }
  .zm-public-body > section:first-of-type { margin-top: 105px; }
  .zm-explorer-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .zm-carousel-image-wrap,
  .zm-carousel-image,
  .zm-plot-carousel .carousel-inner { height: 400px; max-height: 400px; }
  .zm-carousel-caption { padding: 1.5rem 0; }
}

@media (max-width: 575.98px) {
  .zm-gov-logo-wrap { height: 42px; min-width: 42px; }
  .zm-gov-logo { height: 34px; max-width: 38px; }
  .zm-explorer-toolbar { padding: 1rem; }
  .zm-explorer-stats-grid { grid-template-columns: 1fr; }
  .zm-gov-topbar-right { display: none !important; }
  .zm-carousel-image-wrap,
  .zm-carousel-image,
  .zm-plot-carousel .carousel-inner { height: 320px; max-height: 320px; }
  .zm-carousel-desc { display: none; }
  .zm-carousel-control { width: 40px; }
  .zm-carousel-control-icon { width: 36px; height: 36px; font-size: 1rem; }
  .zm-news-section { padding: 2.5rem 0; }
  .zm-events-block { padding: 1.25rem; }
}

/* Investor portal — dashboard & application tracking */
.zm-investor-process .zm-process-step {
  background: #f8faf9;
  border: 1px solid rgba(0, 135, 81, 0.1);
  border-radius: 12px;
  padding: 0.85rem;
  height: 100%;
}

.zm-process-num {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #008751;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.zm-process-step strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
}

.zm-process-step small {
  color: #64748b;
  line-height: 1.4;
}

.zm-investor-pipeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.zm-pipeline-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
  position: relative;
}

.zm-pipeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: -4px;
  width: 2px;
  background: #e2e8f0;
}

.zm-pipeline-step.is-done:not(:last-child)::after {
  background: #008751;
}

.zm-pipeline-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #94a3b8;
  flex-shrink: 0;
  z-index: 1;
}

.zm-pipeline-step.is-done .zm-pipeline-icon {
  border-color: #008751;
  background: rgba(0, 135, 81, 0.1);
  color: #008751;
}

.zm-pipeline-step.is-current .zm-pipeline-icon {
  border-color: #008751;
  background: #008751;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(0, 135, 81, 0.15);
}

.zm-pipeline-step.is-pending .zm-pipeline-label {
  color: #94a3b8;
}

.zm-pipeline-step.is-returned .zm-pipeline-icon {
  border-color: #f59e0b;
  background: #fef3c7;
  color: #b45309;
}

.zm-pipeline-step.is-approved .zm-pipeline-icon,
.zm-pipeline-step.is-rejected .zm-pipeline-icon {
  border-color: transparent;
  color: #fff;
}

.zm-pipeline-step.is-approved .zm-pipeline-icon {
  background: #16a34a;
}

.zm-pipeline-step.is-rejected .zm-pipeline-icon {
  background: #dc2626;
}

.zm-pipeline-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
}

.zm-pipeline-step.is-current .zm-pipeline-label {
  color: #008751;
}

/* Compact investor Activity Track (sidebar) */
.zm-investor-activity-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-height: min(28rem, 58vh);
  overflow: hidden;
}
.zm-investor-activity-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex: 0 0 auto;
}
.zm-investor-activity-card__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.72rem;
  font-weight: 800;
}
.zm-investor-activity {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.zm-timeline--compact {
  padding-left: 1.15rem;
}
.zm-timeline--compact::before {
  left: 5px;
  top: 0.2rem;
  bottom: 0.35rem;
}
.zm-timeline--compact .zm-timeline-item {
  padding-bottom: 0.65rem;
}
.zm-timeline--compact .zm-timeline-item:last-child {
  padding-bottom: 0.15rem;
}
.zm-timeline--compact .zm-timeline-dot {
  left: -1.15rem;
  width: 10px;
  height: 10px;
  top: 0.3rem;
}
.zm-timeline--compact .zm-timeline-content {
  padding: 0.45rem 0.55rem;
}
.zm-timeline-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}
.zm-timeline-time {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.7rem;
  color: #94a3b8;
}
.zm-timeline-detail {
  margin: 0.3rem 0 0;
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tighter progress pipeline in sidebar */
.col-lg-4 .zm-investor-pipeline {
  gap: 0;
  max-height: min(22rem, 45vh);
  overflow-y: auto;
  padding-right: 0.25rem;
  scrollbar-width: thin;
}
.col-lg-4 .zm-pipeline-step {
  gap: 0.55rem;
  padding: 0.28rem 0;
}
.col-lg-4 .zm-pipeline-step:not(:last-child)::after {
  left: 13px;
  top: 2rem;
}
.col-lg-4 .zm-pipeline-icon {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.82rem;
}
.col-lg-4 .zm-pipeline-label {
  font-size: 0.78rem;
  line-height: 1.25;
}

/* Investor dashboard — application history pagination */
.zm-portal-pagination .page-link {
  border-color: #e2e8f0;
  color: #334155;
  min-width: 2.25rem;
  text-align: center;
}

.zm-portal-pagination .page-item.active .page-link {
  background: #008751;
  border-color: #008751;
  color: #fff;
}

.zm-portal-pagination .page-link:hover {
  background: #ecfdf5;
  border-color: #86efac;
  color: #008751;
}

.zm-reject-alert {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-left: 4px solid #dc2626 !important;
  color: #7f1d1d;
}

.zm-reject-alert strong {
  color: #991b1b;
}

/* Document tracker — investor & staff */
.zm-doc-tracker {
  --doc-border: #e8edf2;
  --doc-muted: #64748b;
  --doc-accent: #008751;
}

.zm-doc-tracker__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.zm-doc-tracker__title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.zm-doc-tracker__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 135, 81, 0.1);
  color: var(--doc-accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.zm-doc-tracker__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.zm-doc-tracker__subtitle {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--doc-muted);
}

.zm-doc-tracker__pending-text {
  color: #d97706;
  font-weight: 700;
}

.zm-doc-tracker__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.zm-doc-tracker__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.zm-doc-tracker__pill--warn {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.zm-doc-tracker__pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.zm-doc-tracker__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #004d2e, #008751);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.5rem 0.95rem;
}

.zm-doc-tracker__submit:hover {
  color: #fff;
  filter: brightness(1.05);
}

.zm-submit-ministry-modal .modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}

.zm-submit-ministry-modal .modal-header,
.zm-submit-ministry-modal .modal-footer {
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

.zm-submit-ministry-modal .modal-body {
  padding: 1rem 1.35rem 0.5rem;
}

.zm-submit-ministry-modal textarea.form-control {
  border-radius: 12px;
  min-height: 96px;
  resize: vertical;
}

.zm-doc-tracker__table-wrap {
  border: 1px solid var(--doc-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.zm-doc-tracker-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.zm-doc-tracker-table thead th {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 1px solid var(--doc-border);
  padding: 0.65rem 0.85rem;
  white-space: nowrap;
}

.zm-doc-tracker-table tbody td {
  padding: 0.7rem 0.85rem;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.84rem;
}

.zm-doc-tracker-table tbody tr:last-child td {
  border-bottom: none;
}

.zm-doc-row--pending {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.04), transparent 35%);
}

.zm-doc-row--done {
  background: #fff;
}

.zm-doc-row--pending:hover,
.zm-doc-row--done:hover {
  background: #f8fafc;
}

.zm-doc-col-num {
  width: 2.5rem;
}

.zm-doc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 700;
}

.zm-doc-identity {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-width: 0;
}

.zm-doc-identity__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.zm-doc-identity__icon.is-pending {
  background: #fff7ed;
  color: #ea580c;
}

.zm-doc-identity__icon.is-done {
  background: rgba(0, 135, 81, 0.1);
  color: #008751;
}

.zm-doc-identity__text {
  min-width: 0;
}

.zm-doc-identity__name {
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  font-size: 0.86rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.zm-doc-req {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #dc2626;
  background: #fef2f2;
  border-radius: 999px;
  padding: 0.1rem 0.4rem;
}

.zm-doc-identity__meta {
  margin-top: 0.3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

.zm-doc-instr {
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.35;
  min-width: 0;
}

.zm-doc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.zm-doc-chip--stage {
  background: #e0f2fe;
  color: #0369a1;
}

.zm-doc-chip--success {
  background: #ecfdf5;
  color: #047857;
}

.zm-doc-chip--warn {
  background: #fffbeb;
  color: #b45309;
}

.zm-doc-status-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.zm-doc-date-inline {
  font-size: 0.68rem;
  color: #94a3b8;
  white-space: nowrap;
}

.zm-doc-muted {
  color: #cbd5e1;
}

.zm-doc-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 8px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.zm-doc-action--view {
  background: #f8fafc;
  color: #334155;
  border-color: #e2e8f0;
}

.zm-doc-action--view:hover {
  color: #008751;
  border-color: rgba(0, 135, 81, 0.3);
  background: rgba(0, 135, 81, 0.05);
}

.zm-doc-action--upload {
  background: linear-gradient(135deg, #004d2e, #008751);
  color: #fff;
  border: none;
  cursor: pointer;
}

.zm-doc-action--upload:hover {
  color: #fff;
  filter: brightness(1.05);
}

.zm-doc-upload {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.zm-doc-upload__file {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  max-width: 92px;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
}

.zm-doc-upload__file.has-file {
  border-style: solid;
  border-color: rgba(0, 135, 81, 0.35);
  background: rgba(0, 135, 81, 0.05);
  color: #047857;
}

.zm-doc-upload__file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.zm-doc-upload__filename {
  overflow: hidden;
  text-overflow: ellipsis;
}

.zm-doc-empty {
  text-align: center;
  padding: 2.25rem 1.25rem;
  border: 1px dashed var(--doc-border);
  border-radius: 14px;
  background: #fafbfc;
}

.zm-doc-empty__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.85rem;
  border-radius: 14px;
  background: #f1f5f9;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.zm-doc-empty h6 {
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: #0f172a;
}

.zm-doc-empty p {
  margin: 0 auto;
  max-width: 420px;
  font-size: 0.85rem;
  color: var(--doc-muted);
  line-height: 1.5;
}

@media (max-width: 575.98px) {
  .zm-doc-upload {
    width: 100%;
    justify-content: stretch;
  }

  .zm-doc-upload__file,
  .zm-doc-action--upload {
    flex: 1;
    justify-content: center;
    max-width: none;
  }
}
