.invite-box {
  display: inline-block;
  width: 100%;
  background-color: transparent;
  border: 1px solid #BC2023;
  padding: 20px;
  color: #BC2023;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: "Bebas Neue";
  margin-bottom: 1rem;
}
.invite-box:hover {
  color: #fff;
  border-color: #fff;
}

.guest-continue-text {
  color: #BC2023;
  font-size: 1.25rem;
  font-weight: bold;
  font-family: "Bebas Neue";
}

.step {
  padding: 5rem 0;
  background-color: #000;
}
.step-name {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  line-height: 120%;
}
.step-title {
  font-size: 3rem;
  font-family: "Bebas Neue";
  color: #fff;
  margin-bottom: 2rem;
  text-transform: uppercase;
  line-height: 120%;
}
.step-desc {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 2rem;
}
.step-btn {
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: #BC2023;
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-weight: 200;
  outline: none;
  border: none;
  margin-top: 3rem;
  cursor: pointer;
}
.step-btn:hover {
  color: #BC2023;
  background-color: #fff;
}

#step-1 {
  padding: 3rem 0 5rem 0;
}
#step-1 .step-select {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4rem;
  margin-bottom: 3rem;
}
#step-1 .step-select .helmet {
  width: 12.5%;
  cursor: pointer;
}
#step-1 .step-select .helmet img {
  width: 3rem;
  height: 3rem;
  -o-object-fit: contain;
     object-fit: contain;
}
#step-1 .race-your-mates-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
#step-1 #race-your-mates {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
}

#step-2 .step-select {
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5rem;
  margin-bottom: 1rem;
}
#step-2 .step-select .race {
  cursor: pointer;
}
#step-2 .step-select .race img {
  height: 4rem;
  -o-object-fit: contain;
     object-fit: contain;
}
#step-2 .step-select .race-name-gray {
  color: #fff;
  margin-bottom: 0;
  margin-top: 1rem;
}
#step-2 .step-select .race-name-colored {
  color: #BC2023;
  margin-bottom: 0;
  margin-top: 1rem;
}

#step-3 .step-select {
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5rem;
  margin-bottom: 3rem;
  position: relative;
}
#step-3 .step-select input {
  background-color: #000;
  color: #fff;
  border: 1px solid #fff;
  outline: none;
  padding: 1rem;
  width: 100%;
}
#step-3 .step-select select {
  background-color: #000;
  color: gray;
  border: 1px solid #fff;
  outline: none;
  padding: 1rem;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: "Open Sans";
}
#step-3 .step-select select:not(:has(option:checked[value=""])) {
  color: #fff;
}

#step-4 .step-select-title {
  color: #fff;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  line-height: 120%;
  text-align: left;
  margin-top: 1.25rem;
}
#step-4 .game-option {
  cursor: pointer;
}
#step-4 .game-option:hover p {
  color: #BC2023;
}
#step-4 .game-option.active p {
  color: #BC2023;
}
#step-4 .game-option img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  height: 10rem;
}
#step-4 .game-option p {
  font-size: 1.25rem;
  font-family: "Bebas Neue";
  color: #fff;
  margin-bottom: 2rem;
  text-transform: uppercase;
  line-height: 120%;
  text-align: left;
  margin-top: 1.25rem;
}
#step-4 .trainer-select {
  background-color: #000;
  color: #fff;
  border: 1px solid #fff;
  outline: none;
  padding: 1rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  color: gray;
}
#step-4 .trainer-select:not(:has(option:checked[value=""])) {
  color: #fff;
}
#step-4 .trainer-grid {
  display: grid;
  gap: 1.5rem;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}
#step-4 .trainer-card {
  background-color: #1a1a1a;
  border: 2px solid #fff;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
#step-4 .trainer-card:hover {
  border-color: #BC2023;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(188, 32, 35, 0.3);
}
#step-4 .trainer-card:hover .trainer-name {
  color: #BC2023;
}
#step-4 .trainer-card.active {
  border-color: #BC2023;
  background-color: rgba(188, 32, 35, 0.1);
}
#step-4 .trainer-card.active .trainer-name {
  color: #BC2023;
}
#step-4 .trainer-image {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
}
#step-4 .trainer-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#step-4 .trainer-info .trainer-name {
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}
#step-4 .trainer-info .trainer-description {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#step-5 .step-select {
  width: 200px;
  flex-wrap: wrap;
  margin: 0 auto;
  justify-content: space-between;
  margin-bottom: 1rem;
}
#step-5 .machine-option {
  margin-top: 0.5rem;
  cursor: pointer;
  position: relative;
}
#step-5 .machine-option-img {
  height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
#step-5 .machine-option-booked {
  margin-bottom: 0.5rem;
  color: transparent;
}
#step-5 .machine-option-name {
  margin-bottom: 0.5rem;
  color: #676767;
}
#step-5 .machine-option-price {
  color: #fff;
}
#step-5 .machine-option.booked .machine-option-booked {
  color: #676767;
}
#step-5 .machine-option.booked:after {
  position: absolute;
  content: "";
  display: block;
  height: 6.5rem;
  width: 1px;
  background-color: red;
  top: -0.5rem;
  left: 50%;
  rotate: -45deg;
}
#step-5 .machine-option:not(.machine-option-movement) img {
  height: 4rem;
  width: 4rem;
  -o-object-fit: contain;
     object-fit: contain;
}
#step-5 .machine-option-movement img {
  height: 4.75rem;
  width: 4.75rem;
  -o-object-fit: contain;
     object-fit: contain;
}
#step-5 .machine-option .machine-icon-colored {
  display: none;
}
#step-5 .machine-option.active .machine-icon-colored {
  display: block;
}
#step-5 .machine-option.active .machine-icon {
  display: none;
}
#step-5 .machine-option.active .machine-option-name {
  color: #BC2023;
}
#step-5 .step-5-total {
  color: #fff;
  margin-top: 0.75rem;
  margin-bottom: 0;
}
#step-5 .step-5-total .text-total {
  color: #BC2023;
}
#step-5 .step-5-total .real {
  font-weight: bold;
  color: #4CAF50;
}
#step-5 .step-5-total .fake {
  position: relative;
  display: inline-block;
  color: #676767;
}
#step-5 .step-5-total .fake del {
  color: #999;
  text-decoration: line-through;
  font-size: 0.85rem;
}
#step-5 .step-5-total .fake .discount-text {
  font-size: 0.85rem;
  color: #f44336;
}

#step-6 .form-left {
  padding: 2.5rem;
  border: 1px solid #fff;
}
#step-6 .step-select {
  margin-top: 5rem;
}
#step-6 .step-select .checkout-item {
  text-align: left;
  margin-bottom: 1.5rem;
}
#step-6 .step-select .checkout-item label {
  color: #BC2023;
  font-size: 1rem;
}
#step-6 .step-select .checkout-item p {
  color: #fff;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}
#step-6 .step-select .checkout-item input {
  background-color: #000;
  color: #fff;
  border: 1px solid #fff;
  outline: none;
  padding: 0.5rem;
  width: 100%;
}
#step-6 .step-select .checkout-item select {
  display: block;
  background-color: #000;
  color: #fff;
  border: 1px solid #fff;
  outline: none;
  padding: 0.5rem;
  width: 100%;
}
#step-6 .step-select .checkout-item.warning p {
  color: #ffc107 !important;
}
#step-6 .step-select .checkout-item.warning input {
  border: 1px solid #ffc107 !important;
}
#step-6 .step-select .checkout-item.warning select {
  border: 1px solid #ffc107 !important;
}
#step-6 .step-select .checkout-item.voucher {
  position: relative;
}
#step-6 .step-select .checkout-item.voucher #apply-voucher {
  position: absolute;
  bottom: 1px;
  height: calc(2.75rem - 4px);
  background-color: #BC2023;
  color: #fff;
  border: none;
  padding: 0 1rem;
  cursor: pointer;
  margin-left: 0.5rem;
  outline: none;
  right: 1rem;
}
#step-6 .step-select .checkout-item.voucher #apply-voucher:hover {
  background-color: #fff;
  border: 1px solid #fff;
  color: #BC2023;
}
#step-6 .step-select .credit-card {
  padding: 1rem;
  background-color: #373737;
  border-radius: 5px;
  width: 280px;
  max-width: 100%;
}
#step-6 .step-select .credit-card .fake-radio {
  height: 1.25rem;
  width: 1.25rem;
  border: 1px solid #BC2023;
  border-radius: 50%;
  position: relative;
  margin-bottom: 1rem;
}
#step-6 .step-select .credit-card .fake-radio::before {
  content: "";
  height: calc(1.25rem - 6px);
  width: calc(1.25rem - 6px);
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background-color: #BC2023;
}
#step-6 .step-select .credit-card-name p {
  color: #BC2023;
  font-size: 1.25rem;
  margin-right: 1rem;
}
#step-6 .step-select .credit-card-name img {
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  margin-left: 0.25rem;
}
#step-6 .step-select hr {
  border-top: 1px solid #fff;
  width: 100%;
  margin-bottom: 2.5rem;
}
#step-6 .form-right {
  padding: 2.5rem 1.5rem;
  border: 1px solid #fff;
  border-radius: 10px;
  min-height: 100%;
}
#step-6 .form-right-title {
  color: #BC2023;
  font-size: 1rem;
}
#step-6 .form-right-item {
  height: 6.5rem;
  border-bottom: 1px solid #fff;
  margin-top: 1.5rem;
}
#step-6 .form-right-item-img {
  width: 30%;
}
#step-6 .form-right-item-img img {
  width: 5rem;
  -o-object-fit: cover;
     object-fit: cover;
  height: 5rem;
  border-radius: 10px;
}
#step-6 .form-right-item-info {
  width: 60%;
  padding: 0.5rem;
}
#step-6 .form-right-item-title {
  color: #BC2023;
  font-size: 0.9rem;
  width: 45%;
}
#step-6 .form-right-item-name {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
#step-6 .form-right-item-desc {
  color: #fff;
  font-size: 0.9rem;
}
#step-6 .form-right-item-btn {
  display: flex;
  align-items: center;
  height: 5rem;
  cursor: pointer;
}
#step-6 .form-right-item-btn img {
  width: 1.25rem;
  height: 1.25rem;
  -o-object-fit: cover;
     object-fit: cover;
}
#step-6 .form-right-price {
  border-bottom: 1px solid #fff;
  padding-bottom: 1rem;
}
#step-6 .text-preview-voucher p {
  font-size: 1rem !important;
}

.preview-order-content {
  border-radius: 0;
  color: #fff;
}
.preview-order-content.active {
  background-color: #BC2023;
  padding: 3rem 2rem;
  margin: 3rem 0;
}
.preview-order-items {
  justify-content: space-between;
  flex-wrap: wrap;
}
.preview-order-item {
  display: flex;
  align-items: center;
  width: 16.6666666667%;
  justify-content: center;
}
.preview-order-item img {
  height: 2rem;
  -o-object-fit: cover;
     object-fit: cover;
}
.preview-order-item span {
  font-size: 2rem;
  font-family: "Bebas Neue";
  margin-left: 1rem;
}
.preview-order-item p {
  margin-bottom: 0rem;
  font-size: 1.25rem;
  text-transform: uppercase;
  font-family: "Bebas Neue";
}
.preview-order-item-btn {
  padding: 0.5rem 1rem;
  color: #BC2023;
  background-color: #fff;
  text-align: center;
}
.preview-order-cost {
  font-size: 1.5rem;
  margin-top: 3rem;
  font-family: "Bebas Neue";
}
.preview-order-cost span {
  font-size: 1.25rem;
  font-weight: bold;
}
.preview-order-total {
  font-size: 1rem;
  font-family: "Bebas Neue";
}
.preview-order-price {
  font-size: 3rem;
  font-family: "Bebas Neue";
}
.preview-order-checkbox {
  display: flex;
  width: 80%;
  margin: 0 auto;
  text-align: left;
  align-items: center;
}
.preview-order-checkbox input {
  margin-right: 1rem;
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
}
.preview-order-checkbox p {
  width: calc(100% - 1.5rem);
}
.preview-order-checkbox a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  width: calc(100% - 1.5rem);
}
.preview-order-checkbox a:hover {
  color: #fff;
}
.preview-order-checkbox a:active {
  color: #fff;
}
.preview-order .btn-next-step {
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: #000;
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-weight: 200;
  outline: none;
  border: none;
  margin-top: 2rem;
  cursor: pointer;
}
.preview-order .btn-next-step:hover {
  color: #BC2023;
  background-color: #fff;
}
.preview-order .btn-next-step.disabled {
  background-color: #c7c7c7;
  border: 1px solid #c7c7c7;
  pointer-events: none;
}

#loading {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  z-index: 9999;
}
#loading.active {
  display: flex;
}

.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #BC2023;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

#countdown {
  display: none;
}
#countdown.active {
  display: flex;
  margin-bottom: 4rem;
}
#countdown .countdown {
  display: flex;
}
#countdown-minutes {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #BC2023;
  color: #fff;
  font-size: 3rem;
  padding: 1rem;
  font-family: "Bebas Neue";
  margin-right: 5px;
}
#countdown-seconds {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #BC2023;
  color: #fff;
  font-size: 3rem;
  padding: 1rem;
  font-family: "Bebas Neue";
}

.bootstrap-datetimepicker-widget {
  background-color: #1c1c1c !important;
  color: #fff !important;
  border: 1px solid #1c1c1c !important;
}

.bootstrap-datetimepicker-widget .picker-switch {
  background-color: #1c1c1c !important;
  color: #fff !important;
}

.bootstrap-datetimepicker-widget.dropdown-menu.bottom:after {
  border: none !important;
}

.bootstrap-datetimepicker-widget.dropdown-menu.top:after {
  border: none !important;
}

.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before {
  border: none !important;
}

.bootstrap-datetimepicker-widget.dropdown-menu.top:before {
  border: none !important;
}

.bootstrap-datetimepicker-widget table {
  color: #fff !important;
}

.bootstrap-datetimepicker-widget table thead tr th {
  color: #BC2023 !important;
}

.bootstrap-datetimepicker-widget .fa-chevron-left,
.bootstrap-datetimepicker-widget .fa-chevron-right {
  color: #fff !important;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  background-color: #282828 !important;
  color: #fff !important;
}

.bootstrap-datetimepicker-widget table td.disabled,
.bootstrap-datetimepicker-widget table td.disabled:hover {
  background-color: #1c1c1c !important;
  color: #4f4f4e !important;
  cursor: not-allowed;
}

.bootstrap-datetimepicker-widget table td.disabled {
  position: relative;
}
.bootstrap-datetimepicker-widget table td.disabled::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 75%;
  background-color: red;
  top: 4px;
  left: 50%;
  rotate: -45deg;
}

.bootstrap-datetimepicker-widget td:hover {
  background-color: #282828 !important;
  color: #fff !important;
}

.bootstrap-datetimepicker-widget .next:hover {
  background-color: #282828 !important;
  color: #BC2023 !important;
}

.bootstrap-datetimepicker-widget .prev:hover {
  background-color: #282828 !important;
  color: #BC2023 !important;
}

.bootstrap-datetimepicker-widget table td.today:before {
  border-bottom-color: #BC2023;
}

.bootstrap-datetimepicker-widget td span {
  background-color: transparent !important;
}
.bootstrap-datetimepicker-widget td span.fa {
  color: #BC2023;
}
.bootstrap-datetimepicker-widget td button {
  background-color: #BC2023 !important;
  border: 1px solid #BC2023 !important;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
  width: 100% !important;
}

#ad-popup {
  z-index: 99999;
  background-color: rgba(10, 10, 10, 0.9);
}
#ad-popup .modal-content {
  background-color: transparent;
  border: none;
}
#ad-popup .modal-body {
  width: -moz-fit-content;
  width: fit-content;
  border: none;
  padding: 0;
  text-align: center;
  box-shadow: 0 -4px 20px 0 rgba(133, 83, 11, 0.15), 0 4px 20px 0 rgba(133, 83, 11, 0.15);
  position: relative;
}
#ad-popup .modal-body img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 80vh;
}
#ad-popup .modal-body #btn-close-ad {
  border-radius: 50%;
  background: rgba(78, 78, 78, 0.3);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  cursor: pointer;
}
#ad-popup .modal-body #btn-close-ad:hover {
  background: #4e4e4e;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 4rem;
  height: 2rem;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.toggle-switch input:checked + .toggle-slider {
  background: #BC2023;
  border-color: #BC2023;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(2.1rem);
  background: #fff;
}
.toggle-switch input:focus + .toggle-slider {
  outline: none;
}
.toggle-switch input:checked + .toggle-slider:before {
  animation: toggleOn 0.3s ease-out;
}
.toggle-switch input:not(:checked) + .toggle-slider:before {
  animation: toggleOff 0.3s ease-out;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #444, #666);
  border: 1px solid #333;
  transition: all 0.3s ease;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 1.5rem;
  width: 1.5rem;
  left: 0.15rem;
  top: 0.15rem;
  background: #fff;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
}

.toggle-label {
  color: #fff;
  font-weight: 400;
}

@keyframes toggleOn {
  0% {
    transform: translateX(0rem) scale(1);
  }
  50% {
    transform: translateX(1rem) scale(1.1);
  }
  100% {
    transform: translateX(2rem) scale(1);
  }
}
@keyframes toggleOff {
  0% {
    transform: translateX(2rem) scale(1);
  }
  50% {
    transform: translateX(1rem) scale(1.1);
  }
  100% {
    transform: translateX(0rem) scale(1);
  }
}
.experience-option, .rym-experience-option {
  cursor: pointer;
  border: 1px solid #fff;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}
.experience-option:hover, .rym-experience-option:hover {
  border-color: #BC2023;
}
.experience-option:hover p, .rym-experience-option:hover p {
  color: #BC2023 !important;
}
.experience-option.active, .rym-experience-option.active {
  border-color: #BC2023;
}
.experience-option.active p, .rym-experience-option.active p {
  color: #BC2023 !important;
}

.car-select, .track-select {
  background-color: #000;
  color: gray;
  border: 1px solid #fff;
  outline: none;
  padding: 1rem;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: "Open Sans";
}
.car-select:not(:has(option:checked[value=""])), .track-select:not(:has(option:checked[value=""])) {
  color: #fff;
}

@media screen and (max-width: 1200px) {
  .preview-order-item {
    margin-bottom: 1rem;
    width: 33.3333333333%;
  }
}
@media screen and (max-width: 992px) {
  .preview-order-checkbox {
    width: 100%;
  }
  #step-4 .trainer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media screen and (max-width: 768px) {
  #ad-popup .modal-body img {
    max-width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 576px) {
  .step-title {
    font-size: 2.5rem;
  }
  #step-1 .step-select {
    flex-wrap: wrap;
    justify-content: center !important;
  }
  #step-1 .step-select .helmet {
    width: 23%;
    margin-top: 1.5rem;
  }
  #step-4 .step-select .game-option {
    margin-bottom: 2rem;
  }
  #step-4 .trainer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  #step-4 .trainer-card {
    padding: 1rem;
  }
  #step-4 .trainer-image {
    width: 60px;
    height: 60px;
  }
  #step-6 .form-left {
    padding: 1.5rem;
  }
  #step-6 .step-select .credit-card-name p {
    font: 1rem;
  }
  .preview-order-item {
    margin-bottom: 1rem;
    width: 50%;
  }
  .preview-order-checkbox {
    width: 100%;
  }
  .preview-order-checkbox p {
    font-size: 0.85rem;
  }
  .preview-order-checkbox a {
    font-size: 0.85rem;
  }
}
@media screen and (min-width: 576px) {
  .bootstrap-datetimepicker-widget .list-unstyled .datepicker .datepicker-days .table-condensed {
    height: 240px;
  }
}