/* Global Styles */

#quoterForm {
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  padding: 0%;
  margin: 5% auto;
  background: #f8f9fa;
  width: 80vw;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

#quoterForm .form-step {
  display: none;
  background-color: #f8f9fa;
}

#quoterForm .form-step.active {
  display: block;
}

#quoterForm .quoter-box {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  min-height: 30vh;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.3s;
}

#quoterForm .quoter-box img {
  height: 30vh;
  width: 100%;
  object-fit: cover;
  display: block;
}

#quoterForm .quoter-box.selected {
  border: 2px solid #555555;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.295);
  transform: scale(1.02);
}

#quoterForm .quoter-box .product-title {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  padding: 0.625rem;
  box-sizing: border-box;
}

#quoterForm .modal-title {
  text-transform: capitalize;
  margin-top: 0;
  margin-bottom: 0
}

/* Input Container Styles */

#quoterForm .quoter-box .input-container {

  padding: 10px;
  display: flex;
  justify-content: space-between;
}

#quoterForm .quoter-box .input-container .input-group {
  flex: 1;
  padding: 0 5px;
}

#quoterForm .quoter-box .input-container .input-group label {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 5px;
}

#quoterForm .quoter-box .input-container .form-control {
  width: 100%;
  margin: 0;
}

/* Form Step Style */

#step1 .quoter-box-container {
  display: none;
}

.welcome-container .welcome-col-right,
.form-step .step-col-right {
  padding: 5%;
}

#quoterForm .form-step .row .col-md-6.step-col-right {
  padding: 5%;
  position: relative;
}

.step-col-right {
  padding: 5%;
  position: relative;
}

.step-col-left {
  background-size: cover;
  background-position: center;
  min-height: 50vh;
  position: relative;
}

.step4-col-right .form-control,
.step5-col-right .form-control,
.step6-col-right .form-control,
.step7-col-right .form-control {
  margin-top: 10px;
  margin-bottom: 10px;
}

.step5-col-right .form-control:last-child,
.step6-col-right .form-control:last-child,
.step7-col-right .form-control:last-child {
  margin-bottom: 30px;
}

.welcome-col-right h1,
.welcome-col-right h4,
.step4-col-right h2,
.step5-col-right h2,
.step6-col-right h2,
.step4-col-right h3,
.step7-col-right h3,
.step7-col-right h2 {
  margin: 20px 0;
}

#quoterForm .form-step .quoter-box-container {
  margin-bottom: 1rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#quoterForm .form-step .row {
  display: flex;
  flex-wrap: wrap;
}

#quoterForm .form-step .quoter-box-container {
  flex: 1;
  min-width: calc(25% - 2rem);
}

#quoterForm .row {
  margin-right: 0;
  margin-left: 0;

}

#quoterForm .form-step .row .col-md-12 {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

/*Order Summary Styles */

#orderSummary h3 {
  margin-top: 20px;
  font-size: 1.5rem;
}

.order-summary-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

#orderSummary {
  margin-top: 20px;
  margin-bottom: 20px;
}

#orderSummary ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.order-summary-item+.order-summary-item {
  margin-top: 15px;
}

.order-summary-thumbnail {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 15px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
}

.order-summary-item span {
  display: block;
  color: #333;
  font-size: 1rem;
}

.order-summary-static-container {
  margin-top: 20px;
  margin-bottom: 20px;
}

.order-summary-static-container h3 {
  margin-top: 20px;
  font-size: 1.5rem;
}

.order-summary-static-container .order-summary-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.order-summary-static-container ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* Button Styles*/

a.btn {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}

.step7-button {
  color: #fff !important;
  text-decoration: none !important;
  background-color: var(--e-global-color-primary) !important;
}

#chooseMoreProductsBtn {
  background-color: transparent;
  color: #007bff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#chooseMoreProductsBtn:hover {

  color: #0056b3;
}

#chooseMoreProductsBtn .bi-arrow-left {
  font-size: 1em;
  margin-right: 5px;
}


.btn-success:hover {
  background-color: #28a745 !important;
  /* Bootstrap's default success color */
  border-color: #28a745 !important;
}

.btn-success:active {
  background-color: #28a745 !important;
  /* Bootstrap's default success color */
  border-color: #28a745 !important;
}

.btn-success:focus {
  background-color: #28a745 !important;
  /* Bootstrap's default success color */
  border-color: #28a745 !important;
}

/* Modal Lightbox Styles */

.modal-content .form-step {
  display: none;

}

.modal-content .form-step.active {
  display: block;
}

.modal-dialog {
  display: flex;
  align-items: center;
  min-height: calc(100% - (.5rem * 2));
}

.modal {
  overflow-y: auto;
}

.modal-dialog.modal-xxl {
  max-width: 90%;
}

/*Animation Styles*/

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

.animate-slide-in {
  animation: slideIn 0.5s forwards ease-in-out;
}

@keyframes slideOut {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.animate-slide-out {
  animation: slideOut 0.5s forwards ease-in-out;
}

@keyframes slideOutReverse {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(100%);
  }
}

.animate-slide-out-reverse {
  animation: slideOutReverse 0.5s forwards ease-in-out;
}

/* Progress & Loader Styles*/

.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.progress-bar-success {
  background-color: #28a745 !important;
}

#quoterForm .progress {
  border-radius: 0 !important;
}

/*Icon & List Styles*/

.icon-container {
  position: absolute;
  top: -5px;
  left: 0;
  background-color: #007bff;
  color: white;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.bi {
  font-size: 2rem;
}

/*Responsive Styles*/

#quoterForm .form-step .quoter-box-container {
  flex: 0 0 25%;
  max-width: 25%;
  box-sizing: border-box;
  padding: 0 15px;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  #quoterForm .form-step .quoter-box-container {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }
}

@media (max-width: 576px) {
  #quoterForm .form-step .quoter-box-container {
    flex: 0 0 50%;
    max-width: 50%;
  }
}


@media (max-width: 575.98px) {
  #quoterForm .form-step .quoter-box-container {
    flex: 0 0 100%;
    max-width: 100%;
  }
}