/* =====================================================
   WALLZA — Quotation Styles
   Scoped exclusively to .wz-quotation-*
   ===================================================== */

.wz-quotation {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 2rem;
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--ff, 'Inter', system-ui, sans-serif);
}

.wz-quotation__header {
  text-align: center;
  margin-bottom: 2rem;
}

.wz-quotation__title {
  font-size: 1.8rem;
  color: var(--ink, #17221C);
  margin-bottom: 0.5rem;
}

/* ─── Progress Indicator ─── */
.wz-quotation__progress {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  position: relative;
}

.wz-quotation__progress::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line, #E7DFCE);
  z-index: 0;
}

.wz-quotation__step-ind {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.wz-quotation__step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line, #E7DFCE);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--muted, #586759);
  transition: all 0.2s;
}

.wz-quotation__step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted, #586759);
}

/* States */
.wz-quotation__step-ind.is-active .wz-quotation__step-num {
  border-color: var(--green, #1E4B3A);
  color: var(--green, #1E4B3A);
}
.wz-quotation__step-ind.is-active .wz-quotation__step-label {
  color: var(--ink, #17221C);
}

.wz-quotation__step-ind.is-complete .wz-quotation__step-num {
  background: var(--green, #1E4B3A);
  border-color: var(--green, #1E4B3A);
  color: #fff;
}
.wz-quotation__step-ind.is-complete::after {
  content: '';
  position: absolute;
  top: 14px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--green, #1E4B3A);
  z-index: -1;
}
.wz-quotation__step-ind:first-child::after {
  display: none;
}

/* ─── Fieldsets ─── */
.wz-quotation__body {
  border: none;
  padding: 0;
  margin: 0;
}
.wz-quotation__step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink, #17221C);
  margin-bottom: 1.5rem;
}

/* Layout Utilities */
.wz-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) {
  .wz-grid-2 { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* ─── Upload Dropzone ─── */
.wz-upload {
  border: 2px dashed var(--line, #E7DFCE);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  background: #fcfcfc;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 1.5rem;
}
.wz-upload:hover, .wz-upload.is-dragover {
  border-color: var(--green, #1E4B3A);
  background: rgba(30, 75, 58, 0.02);
}
.wz-upload__icon {
  color: var(--green, #1E4B3A);
  margin-bottom: 0.75rem;
}
.wz-upload__text {
  font-weight: 600;
  color: var(--ink, #17221C);
  margin-bottom: 0.25rem;
}
.wz-upload__hint {
  font-size: 0.8rem;
  color: var(--muted, #586759);
}

/* ─── Upload List ─── */
.wz-upload-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.wz-upload__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--line, #E7DFCE);
  border-radius: 6px;
  background: #fff;
}
.wz-upload__preview {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--line, #E7DFCE);
  display: grid;
  place-items: center;
  color: var(--muted, #586759);
  flex-shrink: 0;
}
.wz-upload__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wz-upload__info {
  flex: 1;
  min-width: 0;
}
.wz-upload__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink, #17221C);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}
.wz-upload__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted, #586759);
  margin-bottom: 0.3rem;
}
.wz-upload__progress {
  height: 4px;
  background: var(--line, #E7DFCE);
  border-radius: 2px;
  overflow: hidden;
}
.wz-upload__progress-bar {
  height: 100%;
  background: var(--green, #1E4B3A);
  transition: width 0.2s;
}
.wz-upload__remove {
  background: none;
  border: none;
  color: var(--muted, #586759);
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.1s;
}
.wz-upload__remove:hover {
  color: #c0392b;
}
.wz-upload__item.is-complete .wz-upload__progress {
  display: none;
}
.wz-upload__item.is-complete .wz-upload__status {
  color: var(--green, #1E4B3A);
  font-weight: 600;
}

/* ─── Navigation Footer ─── */
.wz-quotation__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line, #E7DFCE);
}
.wz-quotation__foot--end {
  justify-content: flex-end;
}
