@import url("design-system-v2.css");

:root {
  --color-bg: #f8f7f4;
  --color-surface: #ffffff;
  --color-surface-2: #f2f0ec;
  --color-success: #2d6a4f;
  --color-warning: #b5601a;
  --color-error: #9b2335;
}

.text-success {
  color: var(--color-success) !important;
}

.text-warning {
  color: var(--color-warning) !important;
}

.text-error {
  color: var(--color-error) !important;
}

.bg-success-light {
  background: rgba(45, 106, 79, 0.12) !important;
}

.bg-warning-light {
  background: rgba(181, 96, 26, 0.12) !important;
}

.kpi-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(51, 69, 66, 0.14);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 12px 26px rgba(13, 25, 22, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.kpi-card .kpi-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(51, 69, 66, 0.1);
  color: #334542;
  font-size: 1rem;
}

.relance-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid rgba(181, 96, 26, 0.2);
  transition: background 0.18s ease;
}

.relance-row:hover {
  background: rgba(181, 96, 26, 0.08);
}

.relance-row:last-child {
  border-bottom: 0;
}

.stepper-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.stepper-step .step-circle {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(51, 69, 66, 0.22);
  background: rgba(255, 255, 255, 0.9);
  color: #6b7f7b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.stepper-step .step-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7f7b;
  transition: color 0.2s ease;
}

.stepper-step.is-active .step-circle {
  background: #334542;
  border-color: #334542;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(17, 31, 28, 0.24);
}

.stepper-step.is-active .step-label {
  color: #334542;
}

.stepper-step.is-done .step-circle {
  background: var(--color-success);
  border-color: var(--color-success);
  color: #ffffff;
}

.stepper-step.is-done .step-label {
  color: var(--color-success);
}

.stepper-line {
  height: 2px;
  flex: 1;
  margin: 0 0.7rem;
  border-radius: 999px;
  background: rgba(51, 69, 66, 0.18);
  transition: background 0.2s ease;
}

.stepper-line.is-done {
  background: var(--color-success);
}

.table-shell thead {
  background: var(--color-surface-2) !important;
}

.table-shell tbody tr:hover {
  background: rgba(51, 69, 66, 0.04) !important;
}

.tab-btn.active {
  background: var(--color-primary);
  color: #ffffff;
}

nav.bg-monik {
  background: linear-gradient(110deg, #1e2e2b 0%, #334542 55%, #3d5450 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.monik-nav-link {
  position: relative;
  color: rgba(241, 248, 246, 0.92);
  transition: color 0.2s ease;
}

.monik-nav-link:hover {
  color: #a8c5be !important;
}

.monik-nav-link.is-active {
  color: #d3e4df !important;
  font-weight: 700;
}

.monik-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.7rem;
  height: 2px;
  border-radius: 2px;
  background: #a8c5be;
}

.sim-panel-card {
  border: 1px solid rgba(51, 69, 66, 0.18);
  box-shadow: 0 18px 45px rgba(13, 25, 22, 0.2);
}
