/* Zimgerm Dashboard Identity Layer */
:root {
  --zg-midnight: #0A1A2F;
  --zg-slate: #2F3B4C;
  --zg-steel: #4A7CC0;
  --zg-ivory: #F7F4EE;
  --zg-earth: #7A5E3A;
  --zg-gold: #C9A86A;

  --text-primary: var(--zg-slate);
  --text-secondary: #6D7A8A;

  --background-color: var(--zg-ivory);
  --surface-color: #ffffff;
  --border-color: #E0E0E0;

  --spacing: 16px;
}

body.dashboard {
  font-family: 'Inter', sans-serif;
  background-color: var(--zg-ivory);
  color: var(--zg-slate);
  margin: 0;
  padding: 0;
}



/* Layout */
.zg-dashboard-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.zg-sidebar {
  width: 260px;
  background: var(--surface-color);
  border-right: 1px solid var(--border-color);
  padding: var(--spacing);
  display: flex;
  flex-direction: column;
}

.zg-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--zg-midnight);
  margin-bottom: var(--spacing);
}

.zg-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zg-nav-item {
  display: block;
  padding: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 4px;
}

.zg-nav-item:hover {
  background: var(--zg-ivory);
  color: var(--zg-midnight);
}

.zg-sidebar-footer {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Content */
.zg-content {
  flex: 1;
  padding: calc(var(--spacing) * 2);
}

/* Header */
.zg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing);
  padding-bottom: var(--spacing);
  border-bottom: 1px solid var(--border-color);
}

.zg-page-title {
  margin: 0;
  font-size: 1.8rem;
  color: var(--zg-midnight);
}

.zg-user {
  display: flex;
  align-items: center;
}

.zg-avatar {
  width: 40px;
  height: 40px;
  background: var(--zg-midnight);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
}

/* Breadcrumbs */
.zg-breadcrumbs {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing);
}

.zg-breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
}

.zg-breadcrumbs a:hover {
  text-decoration: underline;
}

/* Page Content */
.zg-page-content {
  background: var(--surface-color);
  padding: var(--spacing);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}


/* KPI Strip */
.zg-kpi-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing);
  margin-bottom: calc(var(--spacing) * 2);
}

.zg-kpi-card {
  background: var(--surface-color);
  padding: calc(var(--spacing) * 1.5);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.zg-kpi-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.zg-kpi-value {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 6px;
}

.zg-primary { color: var(--zg-steel); }
.zg-accent { color: var(--zg-gold); }
.zg-secondary { color: var(--zg-earth); }

/* Recent Projects */
.zg-dashboard-section {
  background: var(--surface-color);
  padding: calc(var(--spacing) * 1.5);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.zg-project-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing);
}

.zg-project-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing);
  padding: var(--spacing);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--surface-color);
}

.zg-project-title {
  grid-column: span 4;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: var(--spacing);
}

.zg-project-meta .label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.zg-project-meta .value {
  font-size: 1rem;
  font-weight: 500;
}


/* PROJECTS MODULE */

/* Filter Bar */
.zg-filter-bar {
  display: flex;
  gap: var(--spacing);
  margin-bottom: calc(var(--spacing) * 2);
  flex-wrap: wrap;
}

.zg-filter,
.zg-search {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--zg-ivory);
  font-size: 0.95rem;
  min-width: 160px;
}

.zg-search {
  flex-grow: 1;
}

/* Project Grid */
.zg-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing);
}

/* Project Card */
.zg-project-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: var(--spacing);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zg-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.zg-project-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--spacing);
  color: var(--zg-midnight);
}

/* Meta */
.zg-project-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.zg-project-meta .label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.zg-project-meta .value {
  font-size: 1rem;
  font-weight: 500;
}

/* Tags */
.zg-tags {
  margin-top: var(--spacing);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.zg-tag {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--zg-ivory);
  color: var(--text-secondary);
}

.zg-tag-sector {
  background: rgba(74, 124, 192, 0.15);
  color: var(--zg-steel);
}

.zg-tag-country {
  background: rgba(122, 94, 58, 0.15);
  color: var(--zg-earth);
}

.zg-tag-stage {
  background: rgba(201, 168, 106, 0.25);
  color: var(--zg-gold);
}


/* PIPELINE MODULE */

.zg-pipeline-container {
  display: flex;
  gap: calc(var(--spacing) * 2);
  overflow-x: auto;
  padding-bottom: var(--spacing);
}

.zg-pipeline-stage {
  background: var(--surface-color);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  min-width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.zg-pipeline-header {
  padding: calc(var(--spacing) * 1.5);
  border-bottom: 1px solid var(--border-color);
}

.zg-stage-name {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--zg-midnight);
}

.zg-stage-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.zg-pipeline-cards {
  padding: calc(var(--spacing) * 1.5);
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 1.5);
}

.zg-pipeline-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: calc(var(--spacing) * 1.2);
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  cursor: grab;
  transition: box-shadow 0.2s ease;
}

.zg-pipeline-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.zg-card-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
}

.zg-card-meta {
  display: flex;
  gap: 6px;
  align-items: center;
}

/* Tags */
.zg-tag {
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--zg-ivory);
  color: var(--text-primary);
}

.zg-tag-energy {
  background: rgba(74, 124, 192, 0.15);
  color: var(--zg-steel);
}

.zg-tag-agri {
  background: rgba(40, 167, 69, 0.15);
  color: #28a745;
}

.zg-tag-mining {
  background: rgba(220, 53, 69, 0.15);
  color: var(--danger-color);
}

.zg-tag-manufacturing {
  background: rgba(201, 168, 106, 0.15);
  color: var(--zg-gold);
}

.zg-tag-risk-low {
  background: rgba(40, 167, 69, 0.15);
  color: #28a745;
}

.zg-tag-risk-medium {
  background: rgba(255, 193, 7, 0.2);
  color: var(--warning-color);
}

.zg-tag-risk-high {
  background: rgba(220, 53, 69, 0.15);
  color: var(--danger-color);
}


/* PROJECT DETAIL MODULE */

.zg-detail-header {
  background: var(--surface-color);
  padding: calc(var(--spacing) * 2);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  margin-bottom: calc(var(--spacing) * 2);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing);
}

.zg-detail-title {
  grid-column: span 2;
  font-size: 2rem;
  font-weight: 700;
  color: var(--zg-midnight);
}

.zg-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing);
}

.zg-meta-item .label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.zg-meta-item .value {
  font-size: 1rem;
  font-weight: 600;
}

.zg-meta-item .value.accent {
  color: var(--zg-gold);
}

/* Tabs */
.zg-detail-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: var(--spacing);
  border-bottom: 1px solid var(--border-color);
}

.zg-detail-tabs .tab {
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  color: var(--text-secondary);
}

.zg-detail-tabs .tab.active {
  color: var(--zg-midnight);
  border-bottom-color: var(--zg-midnight);
  font-weight: 600;
}

/* Tab Content */
.zg-detail-content {
  background: var(--surface-color);
  padding: calc(var(--spacing) * 2);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.zg-tab-content {
  display: none;
}

.zg-tab-content.active {
  display: block;
}

/* Financial Grid */
.zg-financial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing);
}

.zg-fin-item .label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.zg-fin-item .value {
  font-size: 1rem;
  font-weight: 600;
}

/* Document Room */
.zg-doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zg-doc-item {
  display: grid;
  grid-template-columns: 40px 1fr 120px 120px 100px;
  gap: var(--spacing);
  padding: var(--spacing) 0;
  border-bottom: 1px solid var(--border-color);
}

.zg-doc-icon {
  font-size: 1.5rem;
  color: var(--zg-midnight);
}

.zg-doc-actions button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Communication */
.zg-contact-owner-form textarea {
  width: 100%;
  min-height: 120px;
  padding: var(--spacing);
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.form-actions {
  text-align: right;
  margin-top: var(--spacing);
}


/* ANALYTICS MODULE */

/* Filter Panel */
.zg-filter-panel {
  background: var(--surface-color);
  padding: calc(var(--spacing) * 2);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  margin-bottom: calc(var(--spacing) * 2);
  display: flex;
  gap: calc(var(--spacing) * 2);
  flex-wrap: wrap;
  align-items: center;
}

.zg-filter-group label {
  font-weight: 500;
  margin-right: 6px;
  color: var(--text-primary);
}

.zg-filter-group select,
.zg-filter-group input[type="date"] {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--zg-ivory);
  font-size: 0.95rem;
}

/* Analytics Grid */
.zg-analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: calc(var(--spacing) * 2);
}

/* Chart Container */
.zg-chart-container {
  background: var(--surface-color);
  padding: calc(var(--spacing) * 2);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}

.zg-chart-container h4 {
  margin-top: 0;
  margin-bottom: calc(var(--spacing) * 1.5);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--spacing);
}

/* Placeholder Chart */
.zg-chart-placeholder {
  width: 100%;
  height: 260px;
  background: var(--zg-ivory);
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
}


/* MESSAGING MODULE */

.zg-messaging-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: calc(var(--spacing) * 2);
  height: 75vh;
  overflow: hidden;
}

/* Conversation List */
.zg-conversation-list {
  background: var(--surface-color);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  padding: calc(var(--spacing) * 2);
  overflow-y: auto;
}

.zg-conv-header h4 {
  margin-top: 0;
  margin-bottom: var(--spacing);
}

.zg-conv-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zg-conv-item {
  padding: var(--spacing);
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: var(--spacing);
  transition: background 0.2s ease;
}

.zg-conv-item:hover {
  background: var(--zg-ivory);
}

.zg-conv-item.active {
  background: var(--zg-ivory);
  border-left: 4px solid var(--zg-midnight);
}

.zg-conv-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.zg-conv-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Message Thread */
.zg-message-thread {
  background: var(--surface-color);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  padding: calc(var(--spacing) * 2);
  display: flex;
  flex-direction: column;
}

.zg-thread-header h4 {
  margin-top: 0;
  margin-bottom: var(--spacing);
}

.zg-thread-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding-right: var(--spacing);
  margin-bottom: var(--spacing);
}

/* Messages */
.zg-message {
  margin-bottom: var(--spacing);
  display: flex;
  flex-direction: column;
}

.zg-message-bubble {
  padding: 12px 16px;
  border-radius: 12px;
  max-width: 70%;
  line-height: 1.4;
}

.zg-message.incoming .zg-message-bubble {
  background: var(--zg-ivory);
  color: var(--text-primary);
  align-self: flex-start;
}

.zg-message.outgoing .zg-message-bubble {
  background: var(--zg-midnight);
  color: #fff;
  align-self: flex-end;
}

.zg-message-time {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Composer */
.zg-message-composer {
  display: flex;
  flex-direction: column;
}

.zg-message-composer textarea {
  width: 100%;
  min-height: 80px;
  padding: var(--spacing);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  resize: vertical;
}

.zg-composer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--spacing);
}

.zg-attach-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}



/* DOCUMENT ROOM MODULE */

.zg-doc-room-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-color);
  padding: calc(var(--spacing) * 2);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  margin-bottom: calc(var(--spacing) * 2);
}

.zg-doc-room-header h3 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--zg-midnight);
}

.zg-doc-filters {
  display: flex;
  gap: var(--spacing);
}

.zg-doc-filters select {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--zg-ivory);
  font-size: 0.95rem;
}

/* Document List */
.zg-doc-room-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zg-doc-room-item {
  display: grid;
  grid-template-columns: 40px 1fr 120px 120px 100px;
  gap: var(--spacing);
  padding: var(--spacing) 0;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

.zg-doc-room-item:last-child {
  border-bottom: none;
}

.zg-doc-icon {
  font-size: 1.6rem;
  color: var(--zg-midnight);
}

.zg-doc-name {
  font-weight: 600;
}

.zg-doc-type,
.zg-doc-date {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.zg-doc-actions button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  margin-left: 6px;
  transition: opacity 0.2s ease;
}

.zg-doc-actions button:hover {
  opacity: 0.7;
}


/* ICONS */
.zg-icon {
    margin-right: 10px;
    font-size: 18px;
}

/* COUNTS */
.zg-count {
    background: #ff4444;
    color: #fff;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 8px;
}

/* ACTIVE ITEM */
.zg-nav-item.active {
    background: #1a1a1a;
    color: #fff;
}

/* COLLAPSIBLE SIDEBAR */
.zg-sidebar.collapsed {
    width: 60px;
}
.zg-sidebar.collapsed .zg-nav-item span:not(.zg-icon) {
    display: none;
}

/* ROLE BADGE */
.zg-role-badge {
    background: #444;
    padding: 4px 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    margin-left: 10px;
}


/* PROJECT GRID */
.zg-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.zg-project-card {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    color: #fff;
    border: 1px solid #333;
}

.zg-project-card h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.zg-project-card a {
    color: #fff;
    text-decoration: none;
}

.zg-project-card a:hover {
    text-decoration: underline;
}

/* FILTER BAR */
.zg-filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.zg-filter-bar select,
.zg-filter-bar input {
    padding: 8px;
    background: #2a2a2a;
    border: 1px solid #444;
    color: #fff;
    border-radius: 4px;
}

.zg-filter-bar button {
    padding: 8px 14px;
    background: #ff4444;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
}


/* ANALYTICS SUMMARY CARDS */
.zg-analytics-summary {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.zg-analytic-card {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    border: 1px solid #333;
}

.zg-analytic-card .label {
    color: #aaa;
    font-size: 14px;
}

.zg-analytic-card .value {
    font-size: 24px;
    font-weight: bold;
    margin-top: 5px;
}

/* ANALYTICS LISTS */
.zg-analytic-section {
    margin-top: 30px;
}

.zg-analytic-list {
    list-style: none;
    padding: 0;
}

.zg-analytic-list li {
    background: #1e1e1e;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    border: 1px solid #333;
}


/* ADMIN LOGS */
.zg-log-list {
    list-style: none;
    padding: 0;
}

.zg-log-item {
    background: #1e1e1e;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #333;
    color: #fff;
}


/* DOCUMENT ROOM */
.zg-doc-room-list {
    list-style: none;
    padding: 0;
}

.zg-doc-room-item {
    background: #1e1e1e;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zg-doc-icon {
    margin-right: 10px;
}

.zg-doc-actions a {
    color: #fff;
    text-decoration: none;
}


/* GLOBAL CONTENT SPACING */
.zg-page-content {
    padding: 20px;
}

.zg-header {
    margin-bottom: 20px;
}

.zg-breadcrumbs {
    margin-bottom: 20px;
    color: #aaa;
}


/* ADMIN LOGS */
.zg-log-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.zg-log-item {
    background: #1e1e1e;
    padding: 18px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #333;
    color: #fff;
}

.zg-log-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.zg-log-event {
    font-weight: bold;
    font-size: 16px;
}

.zg-log-meta {
    color: #aaa;
    font-size: 14px;
}

.zg-log-body {
    font-size: 15px;
    color: #ddd;
}


.zg-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0f0f;
}

.zg-login-box {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    width: 360px;
    border: 1px solid #333;
    color: #fff;
}

.zg-login-box h2 {
    margin-bottom: 20px;
}

.zg-login-box label {
    display: block;
    margin: 10px 0 4px;
}

.zg-login-box input {
    width: 100%;
    padding: 8px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 4px;
    color: #fff;
}

.zg-login-box .btn-primary {
    margin-top: 15px;
    width: 100%;
}

.zg-login-note {
    margin-top: 15px;
    font-size: 13px;
    color: #aaa;
}


.zg-login-btn {
    background: #2a2a2a;
    padding: 10px 18px;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: background 0.2s ease;
}

.zg-login-btn:hover {
    background: #3a3a3a;
}


.zg-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0f0f;
    padding: 20px;
}


.zg-login-subtitle {
    color: #bbb;
    margin-bottom: 20px;
    font-size: 14px;
}


/* LOGIN BRAND */
.zg-login-brand {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
    text-align: center;
}

/* LOGIN SUBTITLE */
.zg-login-subtitle {
    color: #bbb;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

/* LOGIN WRAPPER FIX */
.zg-login {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0f0f0f;
    padding: 20px;
}

/* LOGIN FORM BOX */
.zg-login-form {
    width: 320px;
    background: #1e1e1e;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #333;
    color: #fff;
}

/* INPUTS */
.zg-login-form input[type="text"],
.zg-login-form input[type="password"] {
    width: 100%;
    padding: 10px;
    background: #1c1c1c;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    margin-bottom: 12px;
}

/* REMEMBER ME */
.zg-login-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: #ccc;
}

/* LOGIN BUTTON */
.zg-login-form .btn-primary {
  width: 100%;
  background: #C6A667;       /* Zimgerm Deep Gold */
  padding: 12px;
  border-radius: 6px;
  border: none;
  color: #0F1A2B;            /* Midnight Blue text */
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.2s ease;
}

.zg-login-form .btn-primary:hover {
  background: #D7B67A;       /* Slightly lighter gold */
}


.zg-login-form .btn-primary:hover {
    background: #ff5a5a;
}

/* FORGOT PASSWORD */
.zg-login-meta a {
    color: #bbb;
    font-size: 13px;
    text-decoration: none;
}

.zg-login-meta a:hover {
    color: #fff;
}


.zg-login-brand {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
    text-align: center;
    letter-spacing: 0.04em;
}

.zg-login-subtitle {
    color: #b3b3b3;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}


/* BRAND HEADER */
.zg-login-brand {
    font-size: 22px;
    font-weight: 600;
    color: #C6A667; /* Sovereign Gold */
    text-align: center;
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}

/* TITLE */
.zg-login-title {
    color: #FAF8F4; /* Clean Ivory */
    text-align: center;
    margin-bottom: 6px;
}

/* SUBTITLE */
.zg-login-subtitle {
    color: #EDE8E0; /* slightly darker ivory */
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}


.zg-login-form {
    width: 340px;
    background: #2A2F36; /* Precision Slate */
    padding: 28px;
    border-radius: 12px;
    border: 1px solid #0F1A2B; /* Midnight Engineering Blue */
    color: #FAF8F4; /* Clean Ivory */
}


.zg-login {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #FFFFFF; /* pure white page */
  padding: 40px 20px;
}


.zg-login-form {
  width: 360px;
  background: #2A2F36; /* Zimgerm Slate Grey */
  padding: 28px;
  border-radius: 12px;
  border: 1px solid #D6D6D6; /* soft light border */
  color: #FAF8F4; /* Ivory text */
}


.zg-login-form {
  width: 360px;
  background: #D9DCE1; /* Light Slate Grey */
  padding: 28px;
  border-radius: 12px;
  border: 1px solid #C6A667; /* Gold accent border */
  color: #0F1A2B; /* Midnight Blue text */
}


.zg-login-form input[type="text"],
.zg-login-form input[type="password"] {
  width: 100%;
  padding: 12px;
  background: #FFFFFF; /* White inputs */
  border: 1px solid #BFC3C9; /* soft mineral grey */
  border-radius: 8px;
  color: #0F1A2B; /* Midnight Blue */
  margin-bottom: 14px;
  font-size: 15px;
}


.zg-login-form .btn-primary {
  width: 100%;
  background: #C6A667; /* Deep Gold */
  padding: 12px;
  border-radius: 8px;
  border: none;
  color: #0F1A2B; /* Midnight Blue */
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.2s ease;
}

.zg-login-form .btn-primary:hover {
  background: #D7B67A; /* lighter gold */
}


.zg-login-brand {
  font-size: 22px;
  font-weight: 600;
  color: #0F1A2B; /* Midnight Blue */
  text-align: center;
  margin-bottom: 6px;
}

.zg-login-title {
  color: #0F1A2B; /* Midnight Blue */
  text-align: center;
  margin-bottom: 6px;
}

.zg-login-subtitle {
  color: #7A4E2D; /* Earth Umber */
  text-align: center;
  margin-bottom: 20px;
  font-size: 14px;
}


.z-heading {
    font-size: 26px;
    font-weight: 600;
    color: #0F1A2B; /* Midnight Blue */
    margin-bottom: 20px;
    text-align: center;
}

.zg-login {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #FFFFFF; /* White */
    padding: 40px 20px;
}

.zg-login-form {
    width: 380px;
    background: #D9DCE1; /* Light Slate Grey */
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #C6A667; /* Deep Gold */
}

.z-field {
    margin-bottom: 20px;
}

.z-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #0F1A2B; /* Midnight Blue */
    margin-bottom: 8px;
}

.z-input {
    width: 100%;
    padding: 14px;
    background: #FFFFFF;
    border: 1px solid #BFC3C9; /* Mineral Grey */
    border-radius: 8px;
    font-size: 16px;
    color: #0F1A2B;
}

.btn-primary {
    width: 100%;
    background: #C6A667; /* Deep Gold */
    padding: 14px;
    border-radius: 8px;
    border: none;
    color: #0F1A2B; /* Midnight Blue */
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: #D7B67A;
}


/* PAGE */
.zg-login {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  padding: 60px 20px;
}

/* HEADING */
.z-heading {
  font-size: 30px;
  font-weight: 700;
  color: #0F1A2B; /* Midnight Blue */
  margin-bottom: 30px;
  text-align: center;
}

/* FORM */
.zg-login-form {
  width: 420px;
  background: #D9DCE1; /* Light Slate Grey */
  padding: 40px;
  border-radius: 14px;
  border: 1px solid #C6A667; /* Deep Gold */
}

/* FIELD WRAPPER */
.z-field {
  margin-bottom: 26px;
}

/* LABEL */
.z-label {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #0F1A2B; /* Midnight Blue */
  margin-bottom: 10px;
}

/* INPUT */
.z-input {
  width: 100%;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid #BFC3C9;
  border-radius: 10px;
  font-size: 17px;
  color: #0F1A2B;
}

/* BUTTON */
.z-btn-primary {
  width: 100%;
  background: #C6A667; /* Deep Gold */
  padding: 16px;
  border-radius: 10px;
  border: none;
  color: #0F1A2B; /* Midnight Blue */
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.z-btn-primary:hover {
  background: #D7B67A;
}



/* SHELL BACKGROUND */
.zg-shell {
    background: #FFFFFF !important;
    color: #0F1A2B !important;
}

/* SIDEBAR */
.zg-sidebar {
    background: #D9DCE1 !important; /* Light Slate Grey */
    color: #0F1A2B !important;
}

/* SIDEBAR LINKS */
.zg-sidebar a {
    color: #0F1A2B !important;
}

/* ACTIVE LINK */
.zg-sidebar .active {
    background: #C6A667 !important; /* Gold */
    color: #0F1A2B !important;
}

/* CONTENT AREA */
.zg-content {
    background: #FFFFFF !important;
    color: #0F1A2B !important;
}

/* TABLES */
.zg-table {
    background: #FFFFFF !important;
    border: 1px solid #D9DCE1 !important;
}

.zg-table tr {
    background: #F5F6F7 !important; /* Light grey row */
    color: #0F1A2B !important;
}

.zg-table tr:nth-child(even) {
    background: #ECEDEF !important;
}

/* LOG ROWS */
.zg-log-row {
    background: #F5F6F7 !important;
    color: #0F1A2B !important;
    padding: 12px;
    border-bottom: 1px solid #D9DCE1;
}


/* OVERRIDE OLD DARK LOG ITEM STYLING */
.zg-log-item {
    background: #F5F6F7 !important; /* Light row */
    border: 1px solid #D9DCE1 !important; /* Light slate border */
    color: #0F1A2B !important; /* Midnight text */
    padding: 18px !important;
    border-radius: 8px !important;
}



.zg-sidebar {
    border-left: none !important;
}



/* Override old dark analytics list styling */
.zg-analytic-list li {
    background: #F5F6F7 !important;      /* Light row */
    border: 1px solid #D9DCE1 !important; /* Light slate border */
    color: #0F1A2B !important;            /* Midnight text */
    padding: 14px !important;
    border-radius: 8px !important;
}

/* Ensure text inside analytics rows is readable */
.zg-analytic-list li p,
.zg-analytic-list li span {
    color: #0F1A2B !important;
}


/* Override old dark analytics card styling */
.zg-analytic-card {
    background: #F5F6F7 !important;      /* Light grey */
    border: 1px solid #D9DCE1 !important; /* Light slate */
    color: #0F1A2B !important;            /* Midnight */
    padding: 20px !important;
    border-radius: 8px !important;
}

/* Ensure text inside analytics cards is readable */
.zg-analytic-card p,
.zg-analytic-card span,
.zg-analytic-card li {
    color: #0F1A2B !important;
}


/* Stop analytics rows from stretching full width */
.zg-analytic-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 16px !important;
}

/* Apply your light styling */
.zg-analytic-list li {
    background: #F5F6F7 !important;
    border: 1px solid #D9DCE1 !important;
    color: #0F1A2B !important;
    padding: 14px !important;
    border-radius: 8px !important;
    width: 100% !important;
}



/* Make log items behave like cards instead of full-width rows */
.zg-log-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 16px !important;
}


/* Ensure log card text is visible */
.zg-log-item,
.zg-log-item p,
.zg-log-item span,
.zg-log-item li {
    color: #0F1A2B !important; /* Midnight */
}


.zg-log-item {
    background: #F5F6F7 !important;
    border: 1px solid #D9DCE1 !important;
    padding: 18px !important;
    border-radius: 8px !important;
}



/* 2-column professional log layout */
.zg-log-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Log card styling */
.zg-log-item {
    background: #F5F6F7 !important;
    border: 1px solid #D9DCE1 !important;
    color: #0F1A2B !important;
    padding: 18px !important;
    border-radius: 8px !important;
}

/* Log card text */
.zg-log-item p,
.zg-log-item span,
.zg-log-item li {
    color: #0F1A2B !important;
}



/* Center the log list container */
.zg-log-wrapper {
    max-width: 1100px;          /* reduced width */
    margin: 0 auto;             /* centered */
    padding: 20px 0;
}

/* 2-column grid */
.zg-log-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Log card styling */
.zg-log-item {
    background: #F5F6F7 !important;
    border: 1px solid #D9DCE1 !important;
    color: #0F1A2B !important;
    padding: 18px !important;
    border-radius: 8px !important;
}

/* Text inside cards */
.zg-log-item p,
.zg-log-item span {
    color: #0F1A2B !important;
}

/* Pagination container */
.zg-log-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

/* Pagination buttons */
.zg-log-pagination a {
    padding: 8px 14px;
    background: #D9DCE1;
    color: #0F1A2B;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.zg-log-pagination a.active {
    background: #C6A667; /* gold */
    color: #0F1A2B;
}


/* Centered wrapper */
.zg-log-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 2-column grid */
.zg-log-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Log card styling */
.zg-log-item {
    background: #F5F6F7 !important;
    border: 1px solid #D9DCE1 !important;
    color: #0F1A2B !important;
    padding: 18px !important;
    border-radius: 8px !important;
}

/* Text inside cards */
.zg-log-item p,
.zg-log-item span {
    color: #0F1A2B !important;
}

/* Pagination */
.zg-log-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.zg-log-pagination a {
    padding: 8px 14px;
    background: #D9DCE1;
    color: #0F1A2B;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.zg-log-pagination a.active {
    background: #C6A667;
    color: #0F1A2B;
}


/* Log badges */
.zg-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #0F1A2B;
    margin-right: 10px;
}

/* Badge colors */
.zg-badge-admin     { background: #C6A667; } /* Gold */
.zg-badge-role      { background: #D9DCE1; } /* Slate */
.zg-badge-error     { background: #FF6B6B; color: #fff; } /* Red */
.zg-badge-login     { background: #A7C7E7; } /* Soft blue */


/* Log icons */
.zg-icon {
    font-size: 16px;
    margin-right: 8px;
    color: #0F1A2B;
    vertical-align: middle;
}

/* Icon colors by type */
.zg-icon-admin  { color: #C6A667; } /* Gold */
.zg-icon-role   { color: #0F1A2B; } /* Midnight */
.zg-icon-error  { color: #FF6B6B; } /* Red */
.zg-icon-login  { color: #A7C7E7; } /* Soft blue */


/* Pagination */
.zg-log-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.zg-log-pagination a {
    padding: 8px 14px;
    background: #D9DCE1;
    color: #0F1A2B;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid transparent;
}

.zg-log-pagination a.active {
    background: #C6A667 !important;
    border-color: #0F1A2B !important;
    color: #0F1A2B !important;
}


.zg-log-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    align-items: center;
}

.zg-log-body {
    margin-top: 6px;
    font-size: 14px;
    color: #0F1A2B !important;
}

.zg-log-pagination a.active {
    background: #C6A667 !important;
    color: #0F1A2B !important;
    border: 1px solid #0F1A2B !important;
}


/* Strong selector so active page ALWAYS highlights */
.zg-log-pagination a.active {
    background: #C6A667 !important;
    color: #0F1A2B !important;
    border: 1px solid #0F1A2B !important;
    font-weight: 700 !important;
}


.zg-log-pagination a.zg-page {
    background: #D9DCE1;
    color: #0F1A2B;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid transparent;
}


/* Strongest possible selector to override global link styles */
.zg-log-pagination a.zg-page.active {
    background: #C6A667 !important;
    color: #0F1A2B !important;
    border: 1px solid #0F1A2B !important;
    font-weight: 700 !important;
}



.zg-project-card {
    background: #FFFFFF !important;
    border: 1px solid #D9DCE1 !important;
    padding: 20px !important;
    border-radius: 8px !important;
    color: #0F1A2B !important;
}

/* Title inside card */
.zg-project-card h4,
.zg-project-card h3 {
    color: #0F1A2B !important;
}

/* Text inside card */
.zg-project-card p,
.zg-project-card span {
    color: #0F1A2B !important;
}


#wp-admin-bar-zimgerm-dashboard > .ab-item {
    font-weight: 600;
    padding: 0 12px !important;
    color: #00a0d2 !important;
}

#wp-admin-bar-zimgerm-dashboard > .ab-item:hover {
    color: #0085ba !important;
}


.zg-admin-link {
    margin-right: 20px;
    font-weight: 600;
    color: #0F1A2B;
    text-decoration: none;
}

.zg-admin-link:hover {
    color: #0073aa;
}


.zg-admin-link {
    margin-right: 20px;
    font-weight: 600;
    color: #0F1A2B;
    text-decoration: none;
}

.zg-admin-link:hover {
    color: #0073aa;
}

.zg-role-switcher select {
    margin-left: 15px;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}


.zg-role-switcher-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zg-role-select {
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #fff;
}

.zg-role-button {
    padding: 6px 12px;
    font-size: 14px;
}


.zg-role-self {
    color: #888;
    font-size: 14px;
}



/* PROJECT GRID */
.zg-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

/* PROJECT CARD */
.zg-project-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* TITLE */
.zg-project-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* META */
.zg-project-meta {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* STAGE */
.zg-project-stage {
    font-size: 14px;
    margin: 0;
}

/* FUNDING */
.zg-project-funding {
    font-size: 14px;
    margin: 0;
}

/* LINK */
.zg-project-link {
    margin-top: 10px;
    font-weight: 600;
    color: #222 !important;
    text-decoration: none !important;
}

.zg-project-link:hover {
    color: #000 !important;
}


/* GRID */
.zg-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-top: 25px;
}

/* CARD */
.zg-project-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb; /* light slate border */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* TITLE */
.zg-project-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937; /* slate-800 */
    margin: 0;
}

/* META */
.zg-project-meta {
    font-size: 14px;
    color: #6b7280; /* slate-500 */
    margin: 0;
}

/* STAGE */
.zg-project-stage {
    font-size: 14px;
    color: #374151; /* slate-700 */
    margin: 0;
}

/* FUNDING */
.zg-project-funding {
    font-size: 14px;
    color: #374151; /* slate-700 */
    margin: 0;
}

/* LINK */
.zg-project-link {
    margin-top: 12px;
    font-weight: 600;
    color: #b8860b !important; /* Zimgerm gold */
    text-decoration: none !important;
    font-size: 15px;
}

.zg-project-link:hover {
    color: #a07509 !important; /* darker gold */
}

/* ============================
   ZIMGERM PROJECT GRID
   Premium Fintech Layout
============================ */
.zg-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
    margin-top: 30px;
}


/* ============================
   ZIMGERM PROJECT CARD
============================ */
.zg-project-card {
    background: #FAF8F4; /* Clean Ivory */
    border-radius: 16px;
    padding: 26px;
    border: 1px solid rgba(15, 26, 43, 0.08); /* Midnight Blue soft border */
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zg-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}


/* ============================
   TITLE
============================ */
.zg-project-card h4 {
    font-size: 22px;
    font-weight: 600;
    color: #2A2F36; /* Precision Slate */
    margin: 0;
}


/* ============================
   META (Sector · Country)
============================ */
.zg-project-meta {
    font-size: 15px;
    color: #7A4E2D; /* Earth Umber */
    font-weight: 500;
    margin: 0;
}


/* ============================
   STAGE + FUNDING
============================ */
.zg-project-stage,
.zg-project-funding {
    font-size: 15px;
    color: #0F1A2B; /* Midnight Engineering Blue */
    margin: 0;
    font-weight: 500;
}


/* ============================
   VIEW PROJECT LINK
============================ */
.zg-project-link {
    margin-top: 14px;
    font-weight: 600;
    font-size: 16px;
    color: #C6A667 !important; /* Sovereign Gold */
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.zg-project-link:hover {
    color: #b08f4f !important; /* darker gold */
}

.zg-project-link::after {
    content: "→";
    font-size: 18px;
    margin-left: 2px;
    color: inherit;
}


/* ============================
   ZIMGERM PROJECT GRID
============================ */
.zg-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
    margin-top: 30px;
}


/* ============================
   ZIMGERM PROJECT CARD
============================ */
.zg-project-card {
    background: #F2F1ED; /* Soft Panel Grey */
    border-radius: 16px;
    padding: 26px;
    border: 1px solid rgba(15, 26, 43, 0.10); /* Midnight Blue soft border */
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zg-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}


/* ============================
   TITLE
============================ */
.zg-project-card h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1F2329; /* Deep Slate */
    margin: 0;
}


/* ============================
   META (Sector · Country)
============================ */
.zg-project-meta {
    font-size: 15px;
    color: #7A4E2D; /* Earth Umber */
    font-weight: 600;
    margin: 0;
}


/* ============================
   LABEL + VALUE CONTRAST
============================ */
.zg-project-stage,
.zg-project-funding {
    font-size: 15px;
    margin: 0;
}

.zg-project-stage {
    color: #2A2F36; /* Precision Slate */
    font-weight: 600;
}

.zg-project-funding {
    color: #0F1A2B; /* Midnight Blue */
    font-weight: 700;
}


/* ============================
   VIEW PROJECT LINK
============================ */
.zg-project-link {
    margin-top: 10px;
    font-weight: 700;
    font-size: 16px;
    color: #C6A667 !important; /* Sovereign Gold */
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.zg-project-link:hover {
    color: #b08f4f !important; /* darker gold */
}

.zg-project-link::after {
    content: "→";
    font-size: 18px;
    margin-left: 2px;
    color: inherit;
}


/* ============================
   LABEL + VALUE CONTRAST FIX
============================ */

/* LABELS (light, slate, subtle) */
.zg-project-label {
    font-size: 13px;
    font-weight: 500;
    color: #6D7178; /* Light Slate */
    letter-spacing: 0.2px;
    margin-bottom: 2px;
}

/* VALUES (strong, midnight, high contrast) */
.zg-project-value {
    font-size: 15px;
    font-weight: 700;
    color: #0F1A2B; /* Midnight Engineering Blue */
    margin-bottom: 10px;
}

/* Apply structure to Stage + Funding */
.zg-project-stage,
.zg-project-funding {
    display: flex;
    flex-direction: column;
}

/* Add labels automatically */
.zg-project-stage::before {
    content: "Stage";
    @apply .zg-project-label;
}

.zg-project-funding::before {
    content: "Funding Required";
    @apply .zg-project-label;
}

/* Make values use the correct class */
.zg-project-stage,
.zg-project-funding {
    font-size: 15px;
    font-weight: 700;
    color: #0F1A2B; /* Midnight */
}


/* ============================
   ZIMGERM PROJECT GRID
============================ */
.zg-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
    margin-top: 30px;
}


/* ============================
   ZIMGERM PROJECT CARD
   Cool base + warm accents
============================ */
.zg-project-card {
    background: #F7F8FA; /* Cool light slate */
    border-radius: 16px;
    padding: 26px;
    border: 1px solid rgba(15, 26, 43, 0.10); /* Midnight soft border */
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zg-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}


/* ============================
   TITLE (cool, strong)
============================ */
.zg-project-card h4 {
    font-size: 22px;
    font-weight: 600;
    color: #1F2329; /* Deep Slate */
    margin: 0;
}


/* ============================
   META (warm accent)
============================ */
.zg-project-meta {
    font-size: 15px;
    color: #7A4E2D; /* Earth Umber */
    font-weight: 600;
    margin: 0;
}


/* ============================
   LABEL + VALUE CONTRAST
============================ */

/* LABELS — light, subtle, cool */
.zg-label {
    font-size: 13px;
    font-weight: 500;
    color: #6D7178; /* Light Slate */
    margin-bottom: 2px;
    letter-spacing: 0.2px;
}

/* VALUES — strong, dark, cool */
.zg-value {
    font-size: 15px;
    font-weight: 700;
    color: #0F1A2B; /* Midnight Engineering Blue */
    margin-bottom: 10px;
}

/* STRUCTURE */
.zg-project-stage,
.zg-project-funding {
    display: flex;
    flex-direction: column;
}


/* ============================
   VIEW PROJECT LINK (gold)
============================ */
.zg-project-link {
    margin-top: 10px;
    font-weight: 700;
    font-size: 16px;
    color: #C6A667 !important; /* Sovereign Gold */
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.zg-project-link:hover {
    color: #b08f4f !important; /* darker gold */
}

.zg-project-link::after {
    content: "→";
    font-size: 18px;
    margin-left: 2px;
    color: inherit;
}



.zg-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important; /* increased spacing */
    margin-top: 10px !important; /* spacing between fields */
}

.zg-label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #6D7178 !important;
}

.zg-value {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0F1A2B !important;
}


/* CARD */
.zg-project-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 26px !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.zg-project-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12) !important;
}

/* TITLE */
.zg-title {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #1F2329 !important;
    margin: 0 !important;
}

/* 3-COLUMN GRID */
.zg-info-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px !important;
}

/* FIELD */
.zg-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

/* LABEL */
.zg-label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #6D7178 !important;
}

/* VALUE */
.zg-value {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0F1A2B !important;
}

/* CTA */
.zg-link {
    margin-top: 6px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #C6A667 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.zg-link:hover {
    color: #b08f4f !important;
}

.zg-link::after {
    content: "→" !important;
    font-size: 18px !important;
    margin-left: 2px !important;
    color: inherit !important;
}


/* ============================
   PRIORITY HIGHLIGHTING
============================ */

/* TITLE — strongest */
.zg-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1F2329 !important; /* deep slate */
    margin-bottom: 4px !important;
}

/* FUNDING — second strongest */
.zg-field:nth-child(3) .zg-value { /* Funding field */
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0F1A2B !important; /* midnight */
}

/* ROI — third strongest */
.zg-field:nth-child(4) .zg-value { /* ROI field */
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #7A4E2D !important; /* earth umber accent */
}

/* LABELS — lighter */
.zg-label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #6D7178 !important; /* light slate */
}

/* VALUES — default */
.zg-value {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0F1A2B !important;
}

/* SPACING FIX — prevent vertical stretching */
.zg-field {
    gap: 4px !important;
    margin-bottom: 10px !important;
}

/* CTA — ensure visibility */
.zg-link {
    margin-top: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #C6A667 !important; /* sovereign gold */
}

/* CARD */
.zg-project-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 26px !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.zg-project-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12) !important;
}

/* IMAGE */
.zg-image-wrapper {
    width: 100% !important;
    height: 160px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

.zg-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* TITLE */
.zg-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1F2329 !important;
    margin: 0 !important;
}

/* COLUMNS */
.zg-columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
}

.zg-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

/* FIELD */
.zg-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

/* LABEL */
.zg-label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #6D7178 !important;
}

/* VALUE */
.zg-value {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0F1A2B !important;
}

/* FUNDING HIGHLIGHT */
.zg-highlight {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0F1A2B !important;
}

/* ROI HIGHLIGHT */
.zg-highlight-roi {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #7A4E2D !important;
}

/* CTA */
.zg-link {
    margin-top: 6px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #C6A667 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.zg-link:hover {
    color: #b08f4f !important;
}

.zg-link::after {
    content: "→" !important;
    font-size: 18px !important;
    margin-left: 2px !important;
    color: inherit !important;
}


/* CARD */
.zg-project-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 26px !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

/* TITLE */
.zg-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1F2329 !important;
    margin: 0 !important;
}

/* EXCERPT */
.zg-excerpt {
    font-size: 14px !important;
    color: #4B4F55 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* COLUMNS */
.zg-columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
}

.zg-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

/* FIELD */
.zg-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

/* LABEL */
.zg-label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #6D7178 !important;
}

/* VALUE */
.zg-value {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0F1A2B !important;
}

/* FUNDING — softened */
.zg-soft-funding {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2A2F36 !important; /* slate, not midnight */
    opacity: 0.85 !important;
}

/* ROI — highlight */
.zg-highlight-roi {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #7A4E2D !important; /* earth umber */
}

/* CTA */
.zg-link {
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #C6A667 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.zg-link:hover {
    color: #b08f4f !important;
}

.zg-link::after {
    content: "→" !important;
    font-size: 18px !important;
    margin-left: 2px !important;
    color: inherit !important;
}


/* CARD */
.zg-project-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 26px !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

/* IMAGE ABOVE */
.zg-image-wrapper {
    width: 100% !important;
    height: 160px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

.zg-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* TITLE */
.zg-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1F2329 !important;
    margin: 0 !important;
}

/* EXCERPT */
.zg-excerpt {
    font-size: 14px !important;
    color: #4B4F55 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* 3-COLUMN GRID */
.zg-columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
}

.zg-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

/* FIELD */
.zg-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

/* LABEL */
.zg-label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #6D7178 !important;
}

/* VALUE */
.zg-value {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0F1A2B !important;
}

/* FUNDING — softened */
.zg-soft-funding {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2A2F36 !important;
    opacity: 0.85 !important;
}

/* ROI — highlight */
.zg-highlight-roi {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #7A4E2D !important;
}

/* CTA */
.zg-link {
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #C6A667 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.zg-link:hover {
    color: #b08f4f !important;
}

.zg-link::after {
    content: "→" !important;
    font-size: 18px !important;
    margin-left: 2px !important;
    color: inherit !important;
}


.zg-project-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 26px !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

/* IMAGE ABOVE */
.zg-image-wrapper {
    width: 100% !important;
    height: 160px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

.zg-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* TITLE */
.zg-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1F2329 !important;
    margin: 0 !important;
}

/* EXCERPT */
.zg-excerpt {
    font-size: 14px !important;
    color: #4B4F55 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* COLUMNS */
.zg-columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
}

.zg-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

/* FIELD / LABEL / VALUE */
.zg-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.zg-label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #6D7178 !important;
}

.zg-value {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0F1A2B !important;
}

/* FUNDING SOFTENED */
.zg-soft-funding {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2A2F36 !important;
    opacity: 0.85 !important;
}

/* ROI POP */
.zg-highlight-roi {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #7A4E2D !important;
}

/* CTA */
.zg-link {
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #C6A667 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.zg-link:hover {
    color: #b08f4f !important;
}

.zg-link::after {
    content: "→" !important;
    font-size: 18px !important;
    margin-left: 2px !important;
    color: inherit !important;
}


/* FILTER BAR WRAPPER */
.zg-filter-bar {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    background: #F7F7F8 !important;
    padding: 16px 20px !important;
    border-radius: 12px !important;
    margin-bottom: 24px !important;
    border: 1px solid #E5E7EB !important;
}

/* DROPDOWNS */
.zg-filter-bar select {
    padding: 10px 14px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    border: 1px solid #D5D7DB !important;
    background: #ffffff !important;
    color: #1F2329 !important;
    min-width: 150px !important;
    cursor: pointer !important;
}

/* APPLY BUTTON */
.zg-filter-apply {
    padding: 10px 18px !important;
    background: #C6A667 !important; /* gold */
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.zg-filter-apply:hover {
    background: #b08f4f !important;
}

/* RESET LINK */
.zg-filter-reset {
    font-size: 14px !important;
    color: #6D7178 !important;
    text-decoration: none !important;
    padding: 10px 14px !important;
}

.zg-filter-reset:hover {
    color: #1F2329 !important;
}


/* DROPDOWN ICONS */
.zg-filter-bar select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 20 20' fill='%236D7178' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.5 7l4.5 4 4.5-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 32px !important;
}


@media (max-width: 768px) {
    .zg-filter-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .zg-filter-bar select,
    .zg-filter-apply,
    .zg-filter-reset {
        width: 100% !important;
    }

    .zg-filter-reset {
        text-align: center !important;
        padding: 10px 0 !important;
    }
}


/* VERIFIED TOGGLE */
.zg-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #1F2329;
}

.zg-toggle input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}


.zg-active-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.zg-chip {
    background: #EFEFEF;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #1F2329;
    border: 1px solid #D5D7DB;
}

/* ACTIVE FILTER CHIPS */
.zg-active-filters {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.zg-chip {
    background: #EFEFEF;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #1F2329;
    border: 1px solid #D5D7DB;
}

/* DROPDOWN ICONS */
.zg-filter-bar select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 20 20' fill='%236D7178' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.5 7l4.5 4 4.5-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 32px !important;
}

/* MOBILE FILTER BAR */
@media (max-width: 768px) {
    .zg-filter-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .zg-filter-bar select,
    .zg-filter-apply,
    .zg-filter-reset {
        width: 100% !important;
    }

    .zg-filter-reset {
        text-align: center !important;
        padding: 10px 0 !important;
    }
}

/* VERIFIED TOGGLE */
.zg-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #1F2329;
}

.zg-toggle input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}


.zg-image-wrapper {
    position: relative;
}

.zg-sector-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    opacity: 0.9;
}


.zg-empty-owner {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 40px auto;
    max-width: 600px;
}

.zg-empty-owner h3 {
    margin-bottom: 10px;
}

.zg-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #1F2329;
    color: #fff;
    border-radius: 6px;
    margin: 10px;
}

.zg-btn-secondary {
    display: inline-block;
    padding: 12px 20px;
    background: #EFEFEF;
    color: #1F2329;
    border-radius: 6px;
    margin: 10px;
}


.zg-shell-counter {
    margin: 15px 0;
    padding: 10px;
    background: #1F2329;
    color: #fff;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    opacity: 0.9;
}


.zg-owner-dashboard {
    padding: 20px;
}

.zg-owner-title {
    font-size: 28px;
    margin-bottom: 5px;
}

.zg-owner-subtitle {
    opacity: 0.7;
    margin-bottom: 25px;
}

.zg-owner-kpis {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.zg-kpi-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    text-align: center;
}

.zg-kpi-card .label {
    display: block;
    opacity: 0.7;
    margin-bottom: 8px;
}

.zg-kpi-card .value {
    font-size: 24px;
    font-weight: bold;
}

.zg-owner-shortcuts {
    margin-bottom: 40px;
}

.zg-owner-recent h3 {
    margin-bottom: 15px;
}

.zg-recent-list {
    list-style: none;
    padding: 0;
}

.zg-recent-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.zg-recent-meta {
    display: block;
    opacity: 0.7;
    font-size: 14px;
}


.zg-owner-onboarding {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    max-width: 700px;
    margin: 40px auto;
    text-align: center;
}

.zg-onboard-title {
    font-size: 28px;
    margin-bottom: 10px;
}

.zg-onboard-subtitle {
    opacity: 0.7;
    margin-bottom: 25px;
}

.zg-onboard-checklist {
    text-align: left;
    margin: 20px auto;
    max-width: 400px;
}

.zg-onboard-checklist ul {
    padding-left: 20px;
}

.zg-onboard-actions {
    margin-top: 30px;
}

.zg-onboard-actions .zg-btn,
.zg-onboard-actions .zg-btn-secondary {
    margin: 10px;
}


#zg-filters-active {
    background: #1F2329;
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zg-clear-all {
    cursor: pointer;
    opacity: 0.8;
    text-decoration: underline;
}


#zg-filters-active {
    background: #1F2329;
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: none;
    justify-content: space-between;
    align-items: center;
}

.zg-clear-all {
    cursor: pointer;
    opacity: 0.8;
    text-decoration: underline;
}


.zg-onboarding-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.zg-stat-box {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    text-align: center;
}

.zg-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #ff4444;
}

.zg-stat-label {
    font-size: 13px;
    color: #666;
}


.zg-onboarding-stats {
    display: flex;
    flex-wrap: wrap;        /* ⭐ allows wrapping */
    gap: 20px;
    margin-bottom: 25px;
    max-width: 100%;        /* ⭐ prevents overflow */
}

.zg-stat-box {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    text-align: center;
    flex: 1 1 200px;        /* ⭐ responsive box width */
    min-width: 180px;       /* ⭐ prevents too small boxes */
}


.zg-onboarding-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    max-width: 100%;
}

.zg-stat-box {
    background: #fff;
    padding: 10px 12px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    text-align: center;
    flex: 0 0 120px;      /* ⭐ small fixed width */
}

.zg-stat-number {
    font-size: 20px;      /* ⭐ smaller number */
    font-weight: 700;
    color: #ff4444;
    line-height: 1.1;
}

.zg-stat-label {
    font-size: 11px;      /* ⭐ smaller label */
    color: #666;
    margin-top: 3px;
}



.zg-onboarding-stats {
    display: flex;
    flex-wrap: nowrap;      /* one line */
    gap: 8px;
    margin-bottom: 10px;    /* tiny spacing */
    max-width: 100%;
    align-items: center;
}

.zg-stat-box {
    background: #fff;
    padding: 4px 6px;       /* very small */
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    text-align: center;
    flex: 0 0 auto;         /* shrink to content */
}

.zg-stat-number {
    font-size: 13px;        /* tiny */
    font-weight: 700;
    color: #ff4444;
    line-height: 1;
}

.zg-stat-label {
    font-size: 9px;         /* tiny */
    color: #666;
    margin-top: 1px;
    line-height: 1;
}


.zg-header {
    position: relative;
}

.zg-header-stats {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 12px;
}

.zg-hstat {
    background: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #555;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 4px;
}

.zg-hstat span {
    font-weight: 700;
    color: #ff4444;
    font-size: 13px;
}


/* WRAPPER */
.zg-admin-analytics {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* TITLES */
.zg-admin-analytics h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #0F1A2B; /* Midnight */
}

.zg-admin-analytics h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #0F1A2B;
}

/* GRID */
.zg-admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

/* STAT CARD */
.zg-admin-stat {
    background: #F5F6F7; /* Light grey */
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #D9DCE1; /* Slate */
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.15s ease;
}

.zg-admin-stat:hover {
    transform: translateY(-3px);
}

/* NUMBER */
.zg-admin-stat span {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #FF4444; /* Zimgerm Red */
    margin-bottom: 8px;
}

/* LABEL */
.zg-admin-stat {
    font-size: 15px;
    color: #555;
}



/* MAIN WRAPPER */
.zg-admin-analytics {
    padding: 50px 60px;
    max-width: 1400px;
    margin: 0 auto;
    background: #FAF8F4; /* Clean Ivory */
}

/* TITLES */
.zg-admin-analytics h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #0F1A2B; /* Midnight Engineering Blue */
    letter-spacing: -0.5px;
}

.zg-admin-analytics h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 40px 0 20px;
    color: #2A2F36; /* Precision Slate */
}

/* GRID */
.zg-admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    margin-bottom: 50px;
}

/* STAT CARD */
.zg-admin-stat {
    background: #FFFFFF;
    padding: 28px;
    border-radius: 14px;
    border: 1px solid #C6A667; /* Sovereign Gold */
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zg-admin-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

/* NUMBER */
.zg-admin-stat span {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: #7A4E2D; /* Zimbabwe Earth Umber */
    margin-bottom: 10px;
}

/* LABEL */
.zg-admin-stat {
    font-size: 16px;
    color: #2A2F36; /* Precision Slate */
}


/* Onboarding layout */
.zg-onboarding-wrapper {
    max-width: 960px;
    margin: 40px auto;
    padding: 32px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #D9DCE1;
}

/* Step progress bar */
.zg-onboarding-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 16px;
}

.zg-onboarding-step {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6B7280;
}

.zg-onboarding-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    background: #D9DCE1;
    color: #0F1A2B;
}

.zg-onboarding-step-label {
    font-weight: 500;
}

/* Active step */
.zg-onboarding-step--active .zg-onboarding-step-number {
    background: #C6A667;
    color: #0F1A2B;
}

.zg-onboarding-step--active .zg-onboarding-step-label {
    color: #0F1A2B;
}

/* Completed step */
.zg-onboarding-step--done .zg-onboarding-step-number {
    background: #0F1A2B;
    color: #FFFFFF;
}

.zg-onboarding-step--done .zg-onboarding-step-label {
    color: #0F1A2B;
}

/* Onboarding content */
.zg-onboarding-content {
    margin-top: 16px;
}

.zg-onboarding-actions {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.zg-onboarding-actions .btn-primary {
    background: #C6A667;
    color: #0F1A2B;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    border: none;
}

.zg-onboarding-actions .btn-secondary {
    background: #D9DCE1;
    color: #0F1A2B;
    border-radius: 8px;
    padding: 10px 20px;
    border: none;
}
