/*
  VD Refurb Lifecycle widget styles.
  The layout is designed to match the provided visual:
  - top selectable tiles
  - slide: image left, text right
  - bottom: arrows + centered progress with fraction
*/

.vd-refurb {
  width: 100%;
}

/* Top tiles */
.vd-refurb__tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
  margin-bottom: 34px;
}

.vd-refurb__tile {
  display: flex;
  align-items: stretch;
  border: 2px solid #fff;
  background: #ffffff;
  padding: 0;
  border-radius: 0;
  cursor: pointer;
  min-height: 58px;
}

.vd-refurb__tile:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(57, 169, 244, 0.25);
}

.vd-refurb__tileNum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: #0b3d78;
  background: transparent;
}

.vd-refurb__tileTitle {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: #0b3d78;
}

/* Active tile has colored number block (like in the visual) */
.vd-refurb__tile.is-active .vd-refurb__tileNum {
  color: #ffffff;
}

/* Slider area */
.vd-refurb__slide {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.vd-refurb__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.vd-refurb__headline {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px 0;
}

.vd-refurb__desc {
  font-size: 18px;
  line-height: 1.6;
  color: #fff;
}

/* Footer navigation */
.vd-refurb__footer {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 18px;
  align-items: center;
}

.vd-refurb__arrow {
  appearance: none;
  border: none;
  background: transparent;
  font-size: 28px;
  font-weight: 800;
  cursor: pointer;
  padding: 6px 0;
}

.vd-refurb__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.vd-refurb__progressWrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.vd-refurb__fraction {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

button.vd-refurb__arrow {
    background: #fff;
    height: 40px;
    width: 40px;
    line-height: 40px;
    display: block;
    padding: 0px;
    border-radius: 3px;
	margin-top: 25px;
	opacity: 1 !important;
}

.vd-refurb__progress {
  width: 100%;
  max-width: 520px;
  height: 8px;
  background: #DEDEDC;
  border-radius: 999px;
  overflow: hidden;
}

button.vd-refurb__tile {
    border-radius: 3px;
}

button.vd-refurb__arrow:hover {
    background: #0c5adb;
    color: #fff !important;
}

.vd-refurb__progressFill {
  height: 100%;
  width: 33.333%;
}

/* Responsive */
@media (max-width: 1024px) {
  .vd-refurb__tiles {
    gap: 14px;
  }
  .vd-refurb__slide {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .vd-refurb__tiles {
    grid-template-columns: 1fr;
  }
  .vd-refurb__tileNum {
    width: 58px;
    font-size: 26px;
  }
  .vd-refurb__headline {
    font-size: 22px;
  }
  .vd-refurb__desc {
    font-size: 16px;
  }
}
