/* ==========================================================================
   Hengxin Cloud · No-Green palette
   Success and completion states use cobalt / indigo instead of green.
   ========================================================================== */

:root {
  --success: #2563eb;
  --success-soft: #eaf2ff;
}

/* Status pills and badges */
.status-pill.active,
.status-pill.approved,
.status-pill.done,
.status-pill.published {
  background: #eaf2ff;
  color: #1d4ed8;
}
.badge-green,
.badge-solid-green {
  background: #eaf2ff;
  color: #1d4ed8;
  border-color: #d7e6fb;
}
.badge-dark {
  background: #13284a;
  color: #e8f1ff;
}
.status-pill.draft,
.status-pill.todo,
.status-pill.paused,
.status-pill.archived,
.status-pill.normal {
  background: #f1f5fb;
  color: #526983;
}
.text-success { color: #1d4ed8; }

/* Trend text */
.stat-trend { color: #000; }
.stat-trend.up { color: #1d4ed8; }

/* Timer: sapphire instead of deep green */
.status-dot {
  background: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}
.timer-pill .timer-pulse { background: #2563eb; }
.timer-pill .timer-time { color: #1d4ed8; }
.timer-box {
  background:
    radial-gradient(circle at 88% 0%, rgba(59, 130, 246, .28), transparent 38%),
    linear-gradient(135deg, #0e3272, #081d3f);
}
.timer-box::after { background: rgba(147, 197, 253, .10); }
.timer-clock-icon { color: #93c5fd; }
.timer-label,
.timer-status { color: #9ab6d8; }
.timer-btn.primary {
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
  border-color: #1e40af;
  color: #fff;
}
.timer-btn.primary:hover { background: linear-gradient(180deg, #60a5fa, #2563eb); }

/* Task timing */
.task-card-timer { background: #1d4ed8; color: #fff; box-shadow: 0 3px 8px rgba(29, 78, 216, .25); }
.task-card-timer:hover { background: #1e40af; color: #fff; }
.task-card-timer.running { background: #be123c; color: #fff; box-shadow: 0 3px 8px rgba(190, 18, 60, .28); }
.task-card-timer.running:hover { background: #9f1239; }
.task-card-timer:disabled { background: #475569; color: #fff; opacity: .9; }
.task-running-hint { color: #1d4ed8; }
.task-running-hint::before { background: #2563eb; }
.todo-check:hover { border-color: #93b4e0; }
.timer-meta,
.time-log-row { color: #526983; }

/* Certificates */
.cert-stat.normal { --cert-color: #3b82f6; }
.expiry-bar-track span { background: #3b82f6; }
.cert-days-big { color: #1d4ed8; }

/* Progress bars that previously used sage greens */
.finance-collect-track span { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.service-progress span { background: #3b82f6; }
.read-progress-line span { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.release-version { background: #edf4ff; color: #2563eb; }

/* Success toast */
.toast-icon:not(.error):not(.warning) { background: #eaf2ff; }
.toast-icon:not(.error):not(.warning) .icon { color: #2563eb; }

/* Task status dots / progress */
.task-card-status.done,
.kanban-dot.done { background: #6366f1; }
.workload-bar span { background: #4f7fc4; }

/* Client and user identity marks */
.client-logo.green,
.client-logo.teal {
  background: linear-gradient(145deg, #4b82d4, #24549f);
}
.client-logo.sky {
  background: linear-gradient(145deg, #3f9bd1, #246787);
}
.client-logo.indigo {
  background: linear-gradient(145deg, #6b74d8, #3f479f);
}
.avatar { --avatar: #2563eb; }
.avatar.soft { background: #eaf2ff; color: #2563eb; }

/* Approval / role accents that previously defaulted to sage */
.approval-type-icon { --ap-soft: #edf4ff; --ap-color: #2563eb; }
.role-card:hover { border-color: #c9d8ee; }
.role-card.active {
  border-color: #a9c4e8;
  background: #fbfdff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .05);
}

/* Qualification material summary */
.qual-material-counts .ok { color: #2563eb; }

/* Stage and level accents */
.approval-level-card.level-municipal .approval-level-seal {
  color: #7dd3fc;
  border-color: rgba(125, 211, 252, .32);
}
.approval-level-card.level-county .approval-level-seal {
  color: #a5b4fc;
  border-color: rgba(165, 180, 252, .32);
}
.catalog-level-seal.level-municipal {
  border-color: #d8edf8;
  background: #f2faff;
  color: #0284c7;
}
.catalog-level-seal.level-county {
  border-color: #dde2fb;
  background: #f4f6ff;
  color: #4f46e5;
}
.catalog-level-tab.active b { color: #2563eb; }

/* Contract document details */
.contract-doc-head { border-bottom-color: #1b3355; }
