/* =========================
   Report Issue Flow
   ========================= */

.content--centered {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.report-card {
  width: 100%;
  max-width: 720px;
  padding: 28px 30px 30px;
}

.report-head h2 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 900;
  color: #111827;
}

.report-head p {
  margin: 0 0 22px;
  color: #6b7280;
  font-weight: 600;
}

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 6px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
  position: relative;
}

.step span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid #d1d5db;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #6b7280;
  background: #fff;
  z-index: 2;
}

.step p {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 800;
  color: #9ca3af;
}

.step::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #e5e7eb;
  z-index: 1;
}

.step:last-child::after {
  display: none;
}

.step.is-active span {
  border-color: #2f7d32;
  color: #2f7d32;
}

.step.is-active p {
  color: #2f7d32;
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-label {
  font-weight: 800;
  font-size: 14px;
  color: #374151;
}

.form-label span {
  color: #ef4444;
}

.form-select {
  width: 100%;
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
}

.form-select:focus {
  outline: none;
  border-color: #2f7d32;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

/* Mobile */
@media (max-width: 520px) {
  .report-card {
    padding: 22px 18px;
  }

  .report-head h2 {
    font-size: 22px;
  }

  .step p {
    font-size: 11px;
  }
}

/* =========
   Step states
   ========= */
.step.is-done span {
  border-color: #2f7d32;
  background: #2f7d32;
  color: #fff;
}
.step.is-done p {
  color: #2f7d32;
}
.step.is-done::after {
  background: #2f7d32;
}

/* =========
   Back Button
   ========= */
.back-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #374151;
  margin-bottom: 10px;
}
.back-btn:hover {
  background: #f6f7fb;
}
.back-btn span {
  font-size: 18px;
  font-weight: 900;
}

/* =========
   Form grid (State + LGA side-by-side)
   ========= */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  font-weight: 600;
  resize: none;
}
.form-textarea:focus {
  outline: none;
  border-color: #2f7d32;
}

/* Responsive grid */
@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Description textarea like screenshot */
.form-textarea--lg {
  min-height: 170px;
  line-height: 1.35;
}

/* char counter (bottom right look) */
.field-hint {
  display: flex;
  justify-content: flex-end;
  margin-top: -6px;
  color: #9ca3af;
  font-weight: 700;
  font-size: 12px;
}

/* =========================
   STEP 4: Photo styles
   ========================= */

.report-card--wide {
  max-width: 980px;
}

.photo-head h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 900;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 10px;
}

.optional {
  font-size: 14px;
  color: #6b7280;
  font-weight: 800;
}

.stepper--tight {
  margin-bottom: 18px;
}

/* Dropzone */
.dropzone {
  border: 2px dashed #cfe7d2;
  background: #f5fbf6;
  border-radius: 14px;
  padding: 34px 18px;
  text-align: center;
}

.dropzone.is-dragover {
  border-color: #2f7d32;
  background: #eef8f0;
}

.dropzone__icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d9eedd;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: #374151;
}

.dropzone__icon svg {
  width: 24px;
  height: 24px;
}

.dropzone h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: #374151;
  font-weight: 900;
}

.dropzone__actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 12px;
}

.btn-soft,
.btn-solid {
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-solid {
  background: #2f7d32;
  border-color: #2f7d32;
  color: #fff;
}

.btn-solid:hover {
  background: #256628;
}

.dropzone__hint {
  margin: 0;
  color: #6b7280;
  font-weight: 700;
  font-size: 12.5px;
}

.dropzone__error {
  margin: 10px 0 0;
  color: #b91c1c;
  font-weight: 800;
  font-size: 12.5px;
  min-height: 16px;
}

/* Uploads grid */
.uploads {
  margin-top: 18px;
}

.uploads h4 {
  margin: 0 0 10px;
  font-weight: 900;
  color: #374151;
}

.uploads__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: stretch;
}

.upload-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
  aspect-ratio: 4 / 3;
}

.upload-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.remove-photo {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 0;
  background: #ef4444;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.add-more {
  border-radius: 14px;
  border: 2px dashed #cfe7d2;
  background: #f5fbf6;
  color: #2f7d32;
  font-weight: 900;
  cursor: pointer;
  min-height: 120px;
  display: grid;
  place-items: center;
  gap: 8px;
}

.add-more__plus {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #cfe7d2;
  display: grid;
  place-items: center;
  background: #fff;
  font-size: 22px;
}

/* Footer */
.footer-actions {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.btn-outline {
  border: 2px solid #2f7d32;
  background: #fff;
  color: #2f7d32;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  cursor: pointer;
  min-width: 120px;
}

.footer-next {
  max-width: 180px;
}

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

@media (max-width: 640px) {
  .uploads__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-next {
    max-width: 100%;
  }
}

/* =========================
   STEP 5: Contact styles
   ========================= */

.report-card--flatpad {
  padding: 26px 28px 28px;
}

.report-head--tight h2 {
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  font-weight: 650;
  background: #fff;
}

.form-input:focus {
  outline: none;
  border-color: #2f7d32;
}

.field-error {
  margin: 6px 0 0;
  color: #b91c1c;
  font-weight: 800;
  font-size: 12px;
  min-height: 16px;
}

.updates {
  margin-top: 8px;
}

.updates h3 {
  margin: 6px 0 10px;
  font-size: 16px;
  font-weight: 900;
  color: #374151;
}

.updates__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.update-card {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 12px;
  padding: 14px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 900;
  color: #374151;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.update-card__left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.update-card__check {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 2px solid #9ca3af;
  background: #fff;
  position: relative;
}

.update-card__chev {
  color: #9ca3af;
  font-size: 18px;
  font-weight: 900;
}

.update-card.is-selected {
  border-color: #2f7d32;
}

.update-card.is-selected .update-card__check {
  border-color: #2f7d32;
  background: #2f7d32;
}

.update-card.is-selected .update-card__check::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.contact-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.contact-submit {
  max-width: 180px;
}

.submit-hint {
  margin: 10px 0 0;
  color: #6b7280;
  font-weight: 700;
  font-size: 12.5px;
  min-height: 16px;
}

/* Responsive */
@media (max-width: 960px) {
  .updates__grid {
    grid-template-columns: 1fr;
  }
  .contact-actions {
    justify-content: stretch;
  }
  .contact-submit {
    max-width: 100%;
  }
}

/* =========================
   Success page
   ========================= */

.success-card {
  position: relative;
  padding-top: 70px;
  padding-bottom: 26px;
}

.success-hero {
  position: absolute;
  top: -46px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: #eef8f0;
  border: 1px solid #d9eedd;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.success-hero__badge {
  position: absolute;
  top: 18px;
  left: 16px;
  background: #2f7d32;
  color: #fff;
  font-weight: 900;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.success-hero__tick {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #2f7d32;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 40px;
  font-weight: 900;
}

.success-head {
  text-align: center;
  margin-bottom: 16px;
}

.success-head h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 900;
  color: #111827;
}

.success-head p {
  margin: 0;
  color: #6b7280;
  font-weight: 650;
  line-height: 1.35;
  max-width: 560px;
  margin-inline: auto;
}

/* Tracking box */
.tracking-box {
  border: 2px dashed #e5e7eb;
  border-radius: 14px;
  padding: 14px 14px 12px;
  margin: 18px auto 10px;
  max-width: 640px;
  background: #fff;
}

.tracking-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 900;
  color: #6b7280;
  letter-spacing: 0.3px;
}

.tracking-row {
  display: grid;
  grid-template-columns: 1fr 64px;
  gap: 10px;
  align-items: stretch;
}

.tracking-id {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 14px 14px;
  font-size: 28px;
  font-weight: 900;
  color: #2f7d32;
  background: #fff;
  display: flex;
  align-items: center;
}

.copy-btn {
  border: 0;
  border-radius: 10px;
  background: #2f7d32;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  font-size: 22px;
}

.copy-btn:hover {
  background: #256628;
}

.tracking-foot {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  color: #6b7280;
  font-weight: 650;
  font-size: 13px;
}

.bolt {
  color: #f59e0b;
}

/* Estimate */
.estimate {
  margin: 10px 0 18px;
  text-align: center;
  color: #6b7280;
  font-weight: 700;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.estimate strong {
  color: #2f7d32;
  font-weight: 900;
}

/* Next section */
.next-title {
  margin: 12px 0 10px;
  font-size: 20px;
  font-weight: 900;
  color: #374151;
}

.next-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.next-chip {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 12px;
  padding: 12px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 850;
  color: #374151;
}

.chip-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}
.chip-icon--red {
  background: #ef4444;
}
.chip-icon--purple {
  background: #6366f1;
}

/* Actions */
.success-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 8px 0 8px;
  align-items: center;
}

.go-dashboard {
  width: 100%;
  margin-top: 10px;
  border: 0;
  background: transparent;
  padding: 14px 10px 0;
  cursor: pointer;
  font-weight: 900;
  color: #374151;
  border-top: 1px solid #eef0f5;
}

.copy-hint {
  margin: 10px 0 0;
  text-align: center;
  color: #6b7280;
  font-weight: 700;
  font-size: 12.5px;
  min-height: 16px;
}

@media (max-width: 780px) {
  .next-grid,
  .success-actions {
    grid-template-columns: 1fr;
  }

  .tracking-id {
    font-size: 22px;
  }
}


/* BACKEND */

.upload-card {
  position: relative;
  width: 250px;
}

.upload-card img {
  width: 100%;
  border-radius: 10px;
}

.delete-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: red;
  color: white;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.replace-btn {
  position: absolute;
  bottom: 5px;
  left: 5px;
  background: black;
  color: white;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 6px;
}
