/* Estimator UI styles - lightweight and friendly */
.est-stepper {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .5rem;
}
.est-step {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: .5rem;
  padding: .5rem .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #6c757d;
}
.est-step.active {
  border-color: #0d6efd;
  background: #e7f1ff;
  color: #0d6efd;
  font-weight: 600;
}
.est-step.done {
  border-color: #198754;
  background: #e9f7ef;
  color: #198754;
}
.est-step-num {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0,0,0,.05);
  font-size: .85rem;
}

.hover-card { transition: transform .12s ease, box-shadow .12s ease; cursor: pointer; }
.hover-card:hover { transform: translateY(-2px); box-shadow: 0 .5rem 1rem rgba(0,0,0,.08); }

/* Hint bubble */
.est-hint {
  position: relative;
  margin-top: 1rem;
  padding: .75rem .875rem;
  background: #fff8e1;
  border: 1px solid #ffe8a1;
  border-radius: .5rem;
  color: #7a5d00;
  font-size: .9rem;
}
.est-hint::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 1rem;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffe8a1;
}
.est-hint::after {
  content: '';
  position: absolute;
  top: -7px;
  left: 1rem;
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #fff8e1;
}

/* Responsive tweaks */
@media (max-width: 576px){
  .est-stepper { grid-template-columns: repeat(3, 1fr); }
}

.est-step-pane{
    padding: 20px;
}
