﻿.request_input_panel .nav-tabs {
  margin-left: -40px;
  margin-top: -40px;
  margin-right: -40px;
  display:flex;
}

@media (max-width: 767px) {
  .request_input_panel .nav-tabs {
    margin-top: -20px;
    flex-direction: column;
    margin-left: -20px;
    margin-right: -20px;
  }
}

  .container_basic.request_input_panel {
    border-color: var(--color-panel-border-soft);
  }

  .request_input_panel .nav-tabs > li > a {
    border: unset;
    text-align: center;
  }

  .request_input_panel .nav-tabs {
    border: unset;
  }

    .request_input_panel .nav-tabs > li.active > a {
      border: unset;
      border: 1px solid transparent;
    }

    .request_input_panel .nav-tabs > li.active {
      border: unset;
    }

    .request_input_panel .nav-tabs > li {
      flex: 1;
      border: 1px solid var(--color-panel-border-soft);
      border-top: unset;
    }

    @media (max-width: 768px){
    .request_input_panel .nav-tabs > li {
      border-right: none !important;
      border-left: none !important;
      }
    }

  .request_vehicle_input {
    display: none;
  }

  @media (min-width: 768px) {
    .request_vehicle_input.flexbox > .default_button_container {
      flex: 0 0 auto;
      width: 400px;
      margin-left: auto;
    }
  }

.request_part_title {
  display: flex;
  line-height: 2.4;
  font-size: 16px;
  gap: 8px;
}


.request_part_camera_icon_container {
  display: flex;
  width: 40px;
  height: 40px;
  border-radius: 100px;
  background-color: var(--color-button-primary-background);
  justify-content: center;
  align-items: center;
}
.request_part_camera_icon {
  display: block;
  width: 20px;
  height: 18px;
  background-color: var(--color-text-inverse);
}

.request_photo_uploaded {
  width: fit-content;
  display: block;
  padding: 0px;
}

.request_photo_uploaded_container {
  position: relative;
  display: inline-block;
}

  .request_photo_uploaded_container img {
    display: block;
    min-height: 50px;
    max-height: 90px;
    border-radius: 8px;
  }

.photo-remove {
  position: absolute;
  top: 2px;
  right: 4px;
  z-index: 10;
}

  .photo-remove a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-footer-background);
    color: var(--color-text-inverse);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    border: unset !important;
  }
    .photo-remove a::before {
      content: "×";
    }

    .photo-remove a:hover {
      background: var(--color-footer-highlight-background);
    }

.request_add_part_button {
  background: none !important;
  background-color: unset !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  font-size: 16px !important;
  color: var(--color-text) !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  line-height: 130% !important;
  width: 100% !important;
  text-align: left !important;
}
  .request_add_part_button:hover {
    text-decoration: underline !important;
  }


.request_addpart_container::after {
  content: "+";
  color: var(--color-text);
  position: relative;
  float: right;
  top: -20px;
  transform: translateY(-50%) translateX(67%);
  font-size: 30px;
  font-weight: 200;
  pointer-events: none;
  margin-right: 10px;
  margin-bottom: -50px;
}

.request_hint_icon_base {
  width: 14px;
  height: 18px;
  display: block;
  position: absolute;
  top: 2px;
}

#pfastresponse p{
    padding-left:25px;
}

/* =============================
   "Jouw aanvraag" side-column parts overview (phRequestPartsOverview)
============================= */
.request-overview .request-overview-part {
  background: var(--color-grey-background);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
}

  .request-overview .request-overview-part:last-child {
    margin-bottom: 0;
  }

  .request-overview-part-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }

    .request-overview-part-label {
      font-weight: 600;
      color: var(--color-text);
    }

    .request-overview-part-photos {
      font-size: 12px;
      color: var(--color-text);
      opacity: 0.6;
      white-space: nowrap;
    }

  .request-overview-part-body {
    display: flex;
    align-items: center;
  }

  .request-overview-thumb {
    width: 60px;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 12px;
    flex: 0 0 auto;
  }

  .request-overview-part-info {
    flex: 1 1 auto;
    min-width: 0;
  }

    .request-overview-part-name {
      font-weight: 600;
      color: var(--color-text);
      margin: 0 0 6px;
    }

    .request-overview-partnumbers {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .request-overview-partnumber {
      display: inline-block;
      background: var(--color-footer-background);
      color: var(--color-text-inverse);
      border-radius: 4px;
      padding: 3px 8px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.5px;
    }

/* =============================
   Collapsed part (step 2): a completed, non-active part shows a read-only
   summary instead of the full form. "Wijzigen" re-expands it client-side.
============================= */
.request_part_summary,
.request_part_wijzigen {
  display: none;
}

.request_part_collapsed .name,
.request_part_collapsed .articlenumber,
.request_part_collapsed .photo-add,
.request_part_collapsed .part-detail {
  display: none !important;
}

.request_part_collapsed .request_part_summary {
  display: block;
}

  .request_part_summary_text {
    font-weight: 600;
    margin: 0;
  }

/* keep the title from stretching so the trash sits next to it and "Wijzigen" is pushed right */
.request_part_collapsed .request_part_title .flexbox_item_fixed_2 {
  flex: 0 0 auto;
}

.request_part_collapsed .request_part_wijzigen {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  white-space: nowrap;
  cursor: pointer;
  color: var(--color-sub-text);
}

/* ===== Aanvraag bedankt-pagina redesign (DOL-9473) ===== */
.bedankt {
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 56px;
}

.bedankt-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.bedankt-subtitle {
  font-size: 18px;
  color: var(--color-sub-text);
  margin-bottom: 40px;
}

.bedankt-section-title {
  font-weight: 700;
  margin: 32px 0 8px;
}

.bedankt-ref {
  font-size: 16px;
  margin-bottom: 20px;
}
/* View-request call to action */
.bedankt-view-request {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  margin-bottom: 32px;
  border: 1px solid var(--color-panel-highlight-border);
  border-radius: 8px;
  background: var(--color-panel-highlight-background);
  color: var(--color-text-highlight);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

  .bedankt-view-request:hover,
  .bedankt-view-request:focus {
    background: var(--color-highlight-background);
    color: var(--color-text-highlight);
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(var(--default-color-highlight-rgb), 0.25);
  }

.bedankt-view-request-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-icon-background);
  color: var(--color-icon-background-text);
  font-size: 16px;
  flex: none;
}

.bedankt-view-request-arrow {
  font-size: 13px;
  line-height: 1;
}

.bedankt-cards {
  margin-bottom: 24px;
}

.bedankt-card-col {
  margin-bottom: 24px;
}

.bedankt-card {
  border: 1px solid var(--color-panel-highlight-border);
  border-radius: 8px;
  padding: 24px;
  height: 100%;
  background: var(--color-panel-background);
}

.bedankt-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.bedankt-card-title {
  font-family: "proxima-nova", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
}

.bedankt-card-date {
  color: var(--color-sub-text);
  font-size: 15px;
}

.bedankt-card-desc {
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-text);
}

.bedankt-field {
  margin-bottom: 18px;
}

.bedankt-field-label {
  display: block;
  font-size: 14px;
  color: var(--color-sub-text);
  margin-bottom: 8px;
}

.bedankt-remark {
  border: 1px solid var(--color-border-default-light-grey);
  border-radius: 6px;
  padding: 12px 14px;
  min-height: 44px;
  color: var(--color-text);
}

.bedankt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bedankt-chip {
  display: inline-block;
  border: 1px solid var(--color-border-default-soft);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--color-text);
}

.bedankt-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bedankt-photo {
  display: inline-block;
  width: 84px;
  height: 84px;
  border: 1px solid var(--color-panel-highlight-border);
  border-radius: 6px;
  overflow: hidden;
}

  .bedankt-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
/* Hoe verder? timeline */
.bedankt-hoeverder-title {
  margin-top: 48px;
}

.bedankt-steps {
  display: flex;
  margin: 24px 0 16px;
}

.bedankt-step {
  flex: 1 1 0;
  position: relative;
  padding-right: 24px;
}

  .bedankt-step:last-child {
    padding-right: 0;
  }

  .bedankt-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 27px;
    left: 32px;
    width: 100%;
    height: 10px;
    background: var(--color-border-default-light-grey);
    z-index: 0;
  }

  .bedankt-step:first-child:not(:last-child)::after {
    background: linear-gradient(to right, var(--color-icon-background) 0%, var(--color-icon-background) 15%, var(--color-border-default-light-grey) 100%);
  }

.bedankt-step-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-icon-background);
  margin-bottom: 16px;
}

  .bedankt-step-icon::before {
    content: "";
    width: 32px;
    height: 32px;
    background-color: var(--color-icon-background-text);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
  }

.bedankt-step-icon1::before {
  -webkit-mask-image: url(/images/icons/delivery-truck.svg);
  mask-image: url(/images/icons/delivery-truck.svg);
}

.bedankt-step-icon2::before {
  -webkit-mask-image: url(/images/icons/speedometer.svg);
  mask-image: url(/images/icons/speedometer.svg);
}

.bedankt-step-icon3::before {
  -webkit-mask-image: url(/images/icons/hands-heart.svg);
  mask-image: url(/images/icons/hands-heart.svg);
}

.bedankt-step-icon4::before {
  -webkit-mask-image: url(/images/icons/document.svg);
  mask-image: url(/images/icons/document.svg);
}

.bedankt-step-text {
  display: block;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .bedankt-steps {
    flex-direction: column;
    margin: 16px 0 0;
  }

  .bedankt-step {
    display: flex;
    align-items: center;
    flex: none;
    padding: 0 0 44px;
  }

  .bedankt-step:last-child {
    padding-bottom: 0;
  }

  .bedankt-step-icon {
    margin-bottom: 0;
    margin-right: 20px;
  }

  .bedankt-step-text {
    flex: 1;
  }

  /* Connector becomes a vertical bar between the icons */
  .bedankt-step:not(:last-child)::after {
    top: 32px;
    left: 27px;
    width: 10px;
    height: 100%;
    background: var(--color-border-default-light-grey);
  }

  .bedankt-step:first-child:not(:last-child)::after {
    background: linear-gradient(to bottom,
      var(--color-icon-background) 0%,
      var(--color-icon-background) 15%,
      var(--color-border-default-light-grey) 100%);
  }
}

/* =============================
   DOL-9769: tekstlinks in de aanvraag-content onderstrepen zodat
   duidelijk is dat ze klikbaar zijn. Feedback Yellowgrape geldt voor
   ALLE links, niet alleen "Zoek zelf op merk, model...".
   - Scope beperkt tot de content (#request / .eContainer); de header,
     hoofdnavigatie en footer staan daarbuiten en blijven ongemoeid.
   - :where() houdt de specificiteit op 0, zodat bestaande
     text-decoration:none-uitzonderingen (o.a. het .photo-remove
     sluit-icoon en de .bedankt-view-request CTA-kaart) vanzelf blijven
     gelden en niet overschreven worden.
   - Knoppen (.default_button/.btn) en tab-/stap-navigatie
     (.nav > li > a, o.a. nav-tabs en nav-pills), die als <a> renderen,
     worden bewust uitgezonderd.
============================= */
:where(#request, .eContainer) a {
  text-decoration: underline;
}

  :where(#request, .eContainer) .default_button,
  :where(#request, .eContainer) .btn,
  :where(#request, .eContainer) .nav > li > a,
  :where(#request, .eContainer) .nav-tabs > li > a {
    text-decoration: none;
  }