/* header */
.reservation__header {
  padding-top: 4rem;
  position: sticky !important;
  top: 6rem;
  z-index: 10;
  background: #ffffff;
}
.reservation__header::after {
  content: "";
  position: absolute;
  bottom: -2rem;
  left: 0;
  display: block;
  width: 100%;
  height: 2rem;
  background: linear-gradient(to bottom, white, rgba(255, 255, 255, 0));
  pointer-events: none;
}
.reservation__steps ol {
  position: sticky;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: steps-counter;
}

.reservation__steps li {
  display: table-cell;
  padding-top: 1rem;
  padding-right: 3rem;
  padding-bottom: 1rem;
  font-weight: 900;
  font-size: 0.9375rem;
  vertical-align: middle;
  counter-increment: steps-counter;
  color: #b3b3b3;
  position: relative;
  padding-left: 2.675rem;
}
.reservation__steps li:first-child {
  padding-left: 1rem;
  border-radius: 0.5rem;
}
.reservation__steps li:last-child {
  padding-right: 1rem;
}
.reservation__steps li::before {
  content: counter(steps-counter);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.875rem;
  height: 1.875rem;
  background-color: #ffffff;
  border: 2px solid #b3b3b3;
  color: #b3b3b3;
  border-radius: 50%;
  text-align: center;
  vertical-align: middle;
  font-size: 0.9375rem;
  margin-right: 0.8rem;
  display: inline-flex;
}
.reservation__steps li.active {
  color: #000000;
}
.reservation__steps li.active::before {
  background-color: #5e79ec;
  border-color: #5e79ec;
  color: #ffffff;
}
.reservation__steps li .counter {
  background-color: #ef4848;
  position: absolute;
  border-radius: 50%;
  height: 1.4rem;
  width: 1.4rem;
  font-size: 0.8rem;
  color: #ffffff;
  left: 1.175rem;
  top: -0.7rem;
  text-align: center;
  padding: 0.15rem 0;
}

.reservation__steps li.reservation__steps__checkout {
  background-color: #ef4848;
  position: absolute;
  top: 0;
  right: 0;
  margin: -2px -2px -2px 0;
  height: calc(100% + 4px);
  width: 4.125rem;
  text-align: center;
  color: black;
  font-size: 2.5rem;
  padding: 0.40625rem 0;
  cursor: pointer;
}
.reservation__steps li.reservation__steps__checkout span {
  z-index: 2;
  position: absolute;
  top: 46%;
  left: 55%;
  transform: translate(-50%, -50%);
  font-size: 0.2rem !important;
}
.reservation__steps li.reservation__steps__checkout::before {
  content: none;
}
.reservation__steps li.reservation__steps__checkout i::before {
  height: 2rem;
  width: 2rem;
  margin: 0 auto;
  left: 50%;
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
}
