/* ===== Repair Options page ===== */

.repair-page {
  max-width: 1280px !important;
}

/* ===== Heading ===== */
.repair-heading {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 1.75rem;
}

.repair-heading__title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ===== Primary tabs ===== */
.repair-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

/* Center the shared pill nav on this page only */
.repair-tabs .nav-wrapper {
  max-width: 100%;
}

.repair-tabs .nav-list {
  justify-content: center;
}

[v-cloak] .repair-feedback__thanks {
  display: none;
}

[v-cloak] .issue-selector__panel {
  display: none;
}

/* ===== Panels ===== */
/* hide panels before Vue mounts to prevent flash */
[v-cloak] .repair-panel {
  display: none;
}

.repair-panel {
  margin-bottom: 2.5rem;
}

.repair-panel__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}

.repair-panel__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  width: 80%;
}

.repair-panel__sub-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.repair-panel__intro {
  margin-bottom: 1rem;
}
.repair-panel__intro p,.repair-panel__intro h4{
  margin-bottom: 1rem;
}
.repair-panel__media {
  /* order: -1; */
}

.repair-panel__image {
  /* width: 100%; */
  border-radius: 4px;
  object-fit: cover;
  width: 414px;
}

.repair-panel__note {
  margin-top: 1rem;
  padding: 1.25rem;
  background: #E9EAF2;
  border-radius: 4px;
  color: #374151;
  margin-bottom: 1.25rem;
}


/* ===== Issue selector (uses shared app-category-nav variant="block") ===== */
.issue-selector {
  margin: 1.25rem 0 1.5rem;
}

/* Panel (gray box) */
.issue-selector__panel {
  margin-top: 1rem;
  padding: 1.25rem;
  background: #F5F3F1;
  border-radius: 4px;
}

.issue-selector__panel a {
  color: #005eb1;
  font-weight: 550;
  text-decoration: underline;
}

/* ===== Panel links ===== */
.panel-links {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  color: #4b5563;
  font-size: 0.925rem;
  line-height: 1.7;
}

.panel-links li + li {
  margin-top: 0.25rem;
}

.panel-links a {
  color: #005eb1;
  font-weight: 550;
}

.panel-links a:hover {
  text-decoration: underline;
}

.submit-repair__submit {
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  background-color: #131417;
  border: 1px solid #131417;
  border-radius: 1.5rem;
  color: #fff;
  padding: 0.65rem 1.875rem 0.7rem;
  margin: 1.25rem 0;
}

.track-type{
  margin-top: 1.5rem;
  background: #F5F3F1;
  border-radius: 4px;
  padding: 1.5rem;
}

.track-type__input {
  border: 1px solid #ccc;
  border-radius: 0.75rem;
  height: 3rem;
  width: 28.75rem;
  padding: 1rem 1.25rem;
  display: block;
  font-size: 1rem;
}

.track-type .btn {
  font-weight: 400;
  margin-top:1.5rem
}

/* ===== Track repair: order lookup + status timeline ===== */
.repair-track__status {
  background: #f8f8f8;
  border-radius: 4px;
  padding: 1.5rem;
}

.repair-track__status-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.4rem;
}

.repair-track__status-lead {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.repair-track__status-lead a {
  color: #005eb1;
  font-weight: 600;
}

.repair-track__status-lead a:hover {
  text-decoration: underline;
}

.repair-track__status-empty {
  color: #4b5563;
  font-size: 0.9rem;
}

/* ===== Status timeline ===== */
.repair-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.repair-timeline__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.repair-timeline__step + .repair-timeline__step {
  margin-top: 0.5rem;
}

/* Marker column: circle centered on the row, dashed connector runs behind it */
.repair-timeline__rail {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
}

.repair-timeline__marker {
  position: relative;
  z-index: 1;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #cfcbc6;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.repair-timeline__marker .icon {
  width: 14px;
  height: 14px;
  stroke: #fff;
  stroke-width: 2.5;
}

.repair-timeline__line {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: 0;
  transform: translateX(-50%);
  border-left: 2px dashed #cfcbc6;
}

.repair-timeline__step--completed .repair-timeline__marker {
  background: #3f7d3f;
  border-color: #3f7d3f;
}

/* Content: icon + label/date, wrapped in a highlight box for the current step */
.repair-timeline__content {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 10px;
}

.repair-timeline__step--current .repair-timeline__content {
  background: #F6F7FC;
  border-color: #d7dae8;
}

.repair-timeline__icon {
  flex: none;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.repair-timeline__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.repair-timeline__label {
  color: #6b7280;
  font-size: 0.875rem;
}

.repair-timeline__state {
  margin-left: auto;
  color: #6b7280;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ===== Static shipping guidance ===== */
.repair-more-question {
  margin: 3.5rem 0 2.5rem;
  text-align: center;
}

.repair-more-question__eyebrow {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.repair-more-question__content {
  padding: 1.5rem 1.25rem 2.375rem;
  background: #f7f7f7;
}

.repair-more-question__title {
  margin: 0 0 1.125rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.repair-more-question__description {
  max-width: 760px;
  margin: 0 auto;
}

.repair-more-question__actions {
  margin-top: 1.5rem;
}
.repair-more-question__actions .nav-list {
  justify-content: center;
}

.repair-more-question__steps {
  max-width: 760px;
  margin: 1rem auto 0;
  padding: 1rem 1.25rem;
  background: #ffffff;
  text-align: left;
}

.repair-more-question__step-title {
  margin: 0 0 0.35rem;
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
}


@media screen and (max-width: 899px) {
  .repair-panel__grid{
    grid-template-columns: 1fr;
  }
  .repair-panel .nav-wrapper--block .nav-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .repair-panel__media{
    text-align: center
  }
  .repair-panel__media img{
    display: inline;
  }

  .repair-panel__sub-title {
    font-size: 1rem;
  }

  .track-type__input {
    width: 100%;
  }
  .issue-selector--mobile .accordion-item{
    padding: 0 1rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
  }
  .issue-selector--mobile .accordion-item[aria-expanded="true"] {
   background: #F5F3F1;
  }
  .issue-selector--mobile .accordion-content {
   border-top: 1px solid #9ca3af;
    padding-top: 1rem !important;
  }

  .repair-more-question {
    margin-top: 2.5rem;
  }

  .repair-more-question__content {
    padding: 1.25rem 1rem 1.75rem;
  }

  .repair-more-question__title {
    font-size: 1.125rem;
  }

  .repair-more-question__actions .nav-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .repair-more-question__actions .nav-item {
    justify-content: center;
  }

  .repair-more-question__steps {
    background: transparent;
    border:1px solid #9ca3af;
    border-radius: 4px;
    padding: 1rem;
    margin:0
  }

}
