
.spf_device_wrapper {
  width: 100%;
  height: 380px;
  border: 1px solid #eeeeeeab;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 40px;
  box-shadow: rgba(149, 157, 165, 0.123) 0px 8px 24px;
}
.spf_device_thumbnail {
  width: 100% !important;
  height: 250px !important;
  border-top-right-radius: 10px !important;
  border-top-left-radius: 10px !important;
  overflow: hidden;
}
.spf_device_wrapper .spf_device_thumbnail img {
  border-top-right-radius: 10px !important;
  border-top-left-radius: 10px !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transition: 0.5s;
}
.spf_device_wrapper .spf_device_thumbnail img:hover {
  transform: scale(1.1) translateX(20px) rotate(5deg);
}

.spf_device_bio_brand {
  background-color: #f9f9f9 !important;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 5px 12px;
  font-size: 14px;
  position: relative;
  top: 30px;
  z-index: 99;
  text-transform: uppercase;
  
}
.spf_device_bio {
  height: auto;
  width: 100%;
  padding: 15px;
  background-color: #f9f9f9 !important;
  border-radius: 10px;
  z-index: 9999;
  text-transform: uppercase;
}
/* questions wrapper */
.spf_questions_wrapper,
.spf_form_page {
  width: 100%;
  height: auto;
  padding: 15px;
  border: 1px solid #f9f9f9;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: rgba(149, 157, 165, 0.123) 0px 8px 24px;
}
.spf_device_thumbnail {
  width: 100% !important;
  height: 300px !important;
  border-top-right-radius: 10px !important;
  border-top-left-radius: 10px !important;
  overflow: hidden;
}
.spf_questions_wrapper .spf_device_thumbnail img {
  border-top-right-radius: 10px !important;
  border-top-left-radius: 10px !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  animation: float 5s ease-in-out infinite;
}
.spf_form_page .spf_device_thumbnail img {
  border-top-right-radius: 10px !important;
  border-top-left-radius: 10px !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  animation: float 5s ease-in-out infinite;
}
.pl_3 {
  left: -15px !important;
}
.spf_question_card {
  width: 100%;
  height: auto;
  background-color: #f9f9f9 !important;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  margin-bottom: 10px;
}
/* question options */
.q_option {
  border-radius: 8px;
  background-color: white;
  border: 1px solid #e7e7e779;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  margin: auto 10px !important;
  margin-top: 10px !important;
  cursor: pointer;
  padding: 10px 18px !important;
}
.q_option:hover {
  background-color: #e7e7e779;
}
.q_option_active {
  background-color: #e7e7e779;
}
/* question helper */
/* .spf_question_helper {
  width: 100%;
  height: auto;
  border: 1px solid #f9f9f9;
  border-radius: 10px;
  background-color: #f9f9f9;
} */
/*action bar btns */
.q_next_button,
.q_submit_btn {
  width: 150px;
  height: 55px;
  border: none;
  background-color: #00ab55;
  border-radius: 8px;
  color: white;
  font-weight: bold;
}
.q_back_button {
  width: 150px;
  height: 55px;
  border: none;
  background-color: #f9f9f9;
  color: #616161;
  border-radius: 8px;
  font-weight: bold;
}
.action_bar {
  height: 100px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.action_bar .price_section .title,
.spf_submit_card .title {
  font-size: 42px;
}
/* storage badge */
.spf_form_page .spf_device_title #step_3_storage_cap {
  padding: 8px 15px;
  background-color: #f9f9f9;
  border-radius: 5px;
}
/* submit card */
.spf_submit_card {
  width: 100%;
  height: auto;
  background-color: #f9f9f9 !important;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 10px;
}

.position-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 500px; /* Adjust this value as needed */
}

/* float animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.form-check-input:checked {
  background-color: #fd0d24 !important;
  border-color: #ec0202 !important;
}
/* error text */
.errorText,
.text-red {
  color: red;
}
/* thanks steps wrapper */
.spf_tnx_wrapper {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eeeeeeab;
  border-radius: 10px;
  margin-bottom: 40px;
  flex-direction: column;
  padding: 30px;
  box-shadow: rgba(149, 157, 165, 0.123) 0px 8px 24px;
}
.till_startsiden_btn {
  padding: 12px 30px;
  border: none;
  background-color: #131313;
  border-radius: 8px;
  color: white;
}
.spf_quest_helper_tips{
  color: #838383;
}
/* question page next button mobile style */
@media (max-width: 764px) {
  .action_bar {
    display: block;
  }
  .action_bar .q_back_button {
    width: 100% !important;
    margin-bottom: 15px;
  }
  .action_bar .q_next_button {
    width: 100% !important;
  }
  .action_bar .price_section .title {
    margin-bottom: 10px !important;
  }
  .spf_tnx_wrapper {
    padding: 15px;
  }
  .spf_tnx_img img {
    width: 200px !important;
    height: 200px !important;
  }
  .question_1_options,.question_4_options{
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    flex-direction: column!important;
  }
  .q_option {
    width: 100%!important;
    padding: 10px 18px !important;
  }
}
@media (max-width: 500px) {
  .action_bar {
    display: block;
    position:fixed!important;
    bottom:0!important;
    left:0!important;
    background-color:white!important;
    z-index:99999999!important;
    width: 100%!important;
    height: 200px!important;
    border-top: 2px solid #f9f9f9;
    padding-bottom: 0px!important;
  }
  .action_bar .q_next_button {
    width: 100% !important;
    border-radius: 0!important;
    margin-bottom: 0!important;
    margin-top: 20px!important;
  }
  .action_bar .q_back_button {
    width: 100% !important;
    border-radius: 0!important;
  }
  .action_bar .price_section p:first-child{
    margin-bottom: 10px!important;
  }
}