.form-page aside {
  display: none;
}

.step {
  display: none;
}

.active {
  display: block;
}

input {
  padding: 15px 20px;
  width: 100%;
  font-size: 1em;
  border: 1px solid #e3e3e3;
  border-radius: 5px;
}

input:focus {
  border: 1px solid #009688;
  outline: 0;
}

.invalid {
  border: 1px solid #ffaba5;
}

.invalid + .invalid-feedback {
  display: block;
}

#nextBtn,
#prevBtn {
  background-color: #009688;
  color: #ffffff;
  border: none;
  padding: 13px 30px;
  font-size: 1em;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 5px;
  transition: background-color 0.3s ease;
  flex-basis: 50%;
}

#prevBtn {
  background-color: #ffffff;
  color: #1e3b6b;
  border: 1px solid #1e3b6b;

  @media (max-width: 577px) {
    order: 2;
  }
}

#prevBtn:hover,
#nextBtn:hover {
  background-color: #1e3b6b;
  color: #ffffff;
}

.progress {
  margin-bottom: 20px;
}

/******* ADDED ********/
.options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  --gap: 10px;
  gap: var(--gap);
}

.option-wrap {
  flex-basis: calc(50% - var(--gap));
  max-width: 205px;
  min-width: 0;

  @media (max-width: 340px) {
    flex-basis: 100%;
  }
}

.options-features .option-wrap {
  flex-basis: calc(33% - var(--gap));

  @media (max-width: 340px) {
    flex-basis: 100%;
  }
}

.options-features .fa-star {
  color: #fc3;
  font-size: 13px;
}

.features {
  border: 1px solid #333;
  border-radius: 5px;
  margin-top: 7px;
  padding: 10px 15px;
  position: relative;
}

.features:before, .features:after {
  content: "";
  border-style: solid;
  border-width: 11px;
  height: 0;
  width: 0;
  position: absolute;
  left: 45%;
}

.features:before {
  top: -22px;
  border-color: transparent transparent #333;
}

.features:after {
  top: -21px;
  border-color: transparent transparent #ffffff;
  z-index: 1;
}

@media (min-width: 341px) {
  .features:before, .features:after {
    left: 14%;
  }
  
  .features[data-option="2"]:before,
  .features[data-option="2"]:after {
    left: 47%;
  }
  
  .features[data-option="3"]:before,
  .features[data-option="3"]:after {
    left: 80%;
  }
}

.features ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}

.features[data-option="1"] ul:nth-child(1) {
  display: block;
}

.features[data-option="2"] ul:nth-child(2) {
  display: block;
}

.features[data-option="3"] ul:nth-child(3) {
  display: block;
}

.features ul li {
  padding: 5px 0;
  border-bottom: 1px solid #333;
}

.features ul li:last-child {
  border: none;
}

.features .fa-check {
  color: #00bb8f;
  margin-right: 2px;
}

#label-birthday {
  text-align: center;
  font-size: 20px;
}

#label-birthday i {
  font-size: 35px;
}

#birthday {
  max-width: 210px;
}

.option-wrap label:has(> input[type="radio"]:checked) {
  border-color: #de0a26;
}

.option-wrap label:has(> input[type="radio"].invalid) {
  background-color: #ffebee;
}

.form-check-label:has(> input[type="checkbox"].invalid) {
  color: #dd3211;
}

.option-wrap i {
  color: #1e3b6b
}

.step h4 {
  text-align: center;
  margin-bottom: 25px;
}

.step .title h4 {
  margin-bottom: 0;
}

.step .title p {
  font-size: 16px;
  margin: 10px 0 25px;
  text-align: center;
}

.btn-radio {
  box-shadow: none;
  background: #fff;
  border: 2px solid hsl(240, 2%, 79%);
  transition: all;
  transition-duration: 0.1s;
  border-radius: 5px;
  max-width: 500px;
}

.btn-radio.selected {
  border-color: #c30010;
}

.btn-radio:hover {
  background: #fafafb;
  border: 2px solid #eaeaeb;
}

.btn-radio:hover i {
  color: #000000;
}

.btn-next:focus {
  background-color:#1e3b6b;
  color: #fff;
  box-shadow: none;
}

button.btn-next {
  border: none;
  padding: 13px 30px;
  font-size: 1em;
  cursor: pointer;
  border-radius: 5px;
  flex: 1;
  margin-top: 5px;
  transition: background-color 0.3s ease;

  @media (max-width: 577px) {
    order: 1;
  }
}

.btn-wrapper {
  margin-top: 45px;
  gap: 10px;
  display: flex;

  @media (max-width: 577px) {
    flex-direction: column;
  }
}

.text-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;

  @media (max-width: 577px) {
    flex-direction: column;
    gap: 10px;
  }
}

.text-bottom > div {
  display: flex;
  align-items: center;
  gap: 5px;
}

.text-bottom span {
  font-size: 12px;
}

.privacy {
  padding: 10px;
  text-align: left !important;
}
.privacy input {
  position: absolute;
  display: block;
  width: auto;
}
.privacy small {
  display: inline-block;
  margin-left: 20px;
  font-size: 100%;
}
.privacy a {
  color: #333;
  text-decoration: underline;
}
.privacy a:hover,
.privacy a:focus,
.privacy a:active {
  text-decoration: none;
}

.step-wrapper {
  margin-top: 20px;
}

.step-wrapper[data-step="first"] .btn-wrapper button.btn-prev {
  display: none;
}

.step-wrapper[data-step="last"] .btn-wrapper,
.step-wrapper[data-step="last"] .progress,
.step-wrapper[data-step="last"] .text-bottom,
.step-wrapper[data-step="address-form"] .btn-wrapper .btn:not(.btn-next),
.step-wrapper[data-step="send-form"] .btn-wrapper .btn:not(.btn-submit) {
  display: none;
}

.step-wrapper[data-step="step-loader"] .btn-wrapper {
  display: none;
}

.btn-wrapper button.btn-submit {
  display: none;
}

.step-wrapper[data-step="send-form"] .btn-wrapper .btn-submit {
  display: block;
}

.form-text {
  font-size: 12px;
}

@media (min-width: 577px) {
  .form-address {
    display: flex;
    gap: 10px;
  }

  .form-address > div.short {
    flex: 30%;
  }

  .form-address > div:not(.short) {
    flex: 70%;
  }
}

.step-loader {
  overflow: hidden;
}

.slider {
  animation: slidein 3s linear infinite;
  white-space: nowrap;
  margin-bottom: 70px;
}

.slider .logos {
  width: 100%;
  display: inline-block;
  margin: 0px 0px;
}

.slider .item {
  display: inline-block;
  max-width: 150px;
  margin: 0 20px;
  animation: fade-in 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) forwards;
}

@keyframes slidein {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.response {
  text-align: center;
  animation: fadeIn 700ms;
}

.response i {
  font-size: 50px;
}

.response i {
  color: #28a745;
}

#error .response i {
  color: #dd3211;
}

.step-wrapper[data-step="address-form"] .form-wrapper {
  animation: fadeIn 2000ms;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  66% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.step.last p {
  margin: 0;
}

.step.last #success,
.step.last #error {
  display: none;
  text-align: center;
}

.step.last #success h4,
.step.last #error h4 {
  font-size: 40px;
  text-transform: uppercase;
  font-weight: 700;
  margin: 20px 0 13px;
}

.step.last #success h5 {
  font-size: 23px;
}

.step.last #kombi-options h5 {
  margin: 30px 0 20px;
}

.step.last #kombi-success h5 {
  margin-top: 20px;
}

.step.last #loading .spinner-grow {
  width: 3rem;
  height: 3rem;
}

.step.last #loading h4 {
  font-size: 25px;
  text-transform: uppercase;
  font-weight: 700;
  margin: 25px 0 10px;
}

.usercode {
  position: absolute;
  left: -5000px;
  top: 0;
}

/********* OVERWRITE ********/
.btn-checkbox,
.btn-radio {
  margin-bottom: 0;
}

.form-check-input {
  width: 1em;
  height: 1em;
  margin-top: 0.25em;
  vertical-align: top;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 0.25em;
}

@media (min-width: 768px) {
  .btn-checkbox,
  .btn-radio {
    font-size: 1em;
  }
}
