/**
 * FlatCMS - Flat-File Content Management System
 * Copyright (C) 2026 Alain BROYE
 * SPDX-License-Identifier: AGPL-3.0-or-later
 *
 * Alto Séquanais — native Contact module multi-step estimation skin.
 */
.alto-estimate-enhanced {
  max-width: 900px;
  margin-inline: auto;
}
.alto-estimate-wizard {
  display: grid;
  gap: 1.5rem;
  scroll-margin-top: 7rem;
}
.alto-estimate-progress {
  display: grid;
  gap: .5rem;
}
.alto-estimate-progress__label {
  color: var(--color-primary, #9f1f63);
  font-size: .88rem;
  font-weight: 750;
}
.alto-estimate-progress progress {
  display: block;
  width: 100%;
  height: 7px;
  border: 0;
  border-radius: 4px;
  appearance: none;
  background: var(--color-border, #e9e0e7);
  overflow: hidden;
}
.alto-estimate-progress progress::-webkit-progress-bar {
  background: var(--color-border, #e9e0e7);
}
.alto-estimate-progress progress::-webkit-progress-value {
  background: var(--color-primary, #9f1f63);
}
.alto-estimate-progress progress::-moz-progress-bar {
  background: var(--color-primary, #9f1f63);
}
.alto-estimate-step {
  min-width: 0;
  padding: clamp(1rem, 3vw, 2.5rem);
  border: 1px solid var(--color-border, #e9e0e7);
  border-radius: 7px;
  background: var(--color-surface, #fff);
}
.alto-estimate-step[hidden] { display: none !important; }
.alto-estimate-step legend {
  padding-inline: .35rem;
  color: var(--color-secondary, #1a2b6d);
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  font-weight: 750;
}
.alto-estimate-intro {
  margin: 0 0 1.6rem;
  color: var(--color-text-muted, #64748b);
  line-height: 1.65;
}
.alto-estimate-step > .flatcms-contact-custom-grid {
  margin: 0;
}
.alto-estimate-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-top: 1.75rem;
}
.alto-estimate-next { margin-left: auto; }
.alto-estimate-step .flatcms-contact-choice-list {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 639px) {
  .alto-estimate-step { padding: 1.25rem .9rem; }
  .alto-estimate-actions { flex-wrap: wrap; }
  .alto-estimate-actions > .btn { flex: 1 1 auto; }
}
