.steps-cols {
  display: grid;
  grid-template-columns: 62% 38%;
  gap: 0.4rem;
}
.stepper-container {
  margin-left: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 1.8rem;
}
.event-h {
  margin-top: 1.5rem;
}
.event-p {
  margin-bottom: 4rem;
}
.card-container {
  width: 190px;
  height: 280px;
  border: 1px solid #c4c4c4;
  border-radius: 0.5rem;
  cursor: pointer;
}
.card-container.active,
.card-container:active {
  border: 3px solid #0066b3;
}
.blue-box {
  width: 120px;
  height: 80px;
  background-color: #0066b4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
}
.pop {
  width: 230px;
}
.cards {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0rem 3rem 0rem;
}
.btnCard {
  position: relative;
}
.sellerBtn {
  background-color: #299b13;
  border-radius: 3rem;
  border: none;
  padding: 0.3rem 1.5rem;
  position: absolute;
  top: -14px;
  right: -24px;
}
/* step 2 */
/* .imgBtn {
  background-color: #2097d8;
  border-radius: 3rem;
  border: none;
  padding: 0.6rem 3rem;
  text-transform: uppercase;
} */
 .imgBtn.active,
.imgBtn:active {
  background-color: #2097d8;
  border: none;
  color: white;
}
.Step-2-Btn.active,
.Step-2-Btn:active {
  background-color: #2097d8;
  border: none;
  color: white;
}
.imgBtn {
   background-color: white;
  border-radius: 3rem;
 border: 1px solid #c4c4c4;
  padding: 0.6rem 3rem;
  text-transform: uppercase;
}
.Step-2-Btn {
  background-color: white;
  border-radius: 3rem;
  border: 1px solid #c4c4c4;
  padding: 0.5rem 2rem;
  text-transform: uppercase;
}
.step-2-btn-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0rem 3rem 0.5rem;
  flex-wrap: wrap;
}
.postcode-input {
  border: 1px solid #c4c4c4;
  border-radius: 0.4rem;
  padding: 0.8rem 0.5rem;
  width: 70%;
  margin-top: 2rem;
}
/* step 4 */
.step-4-container {
  margin-top: 2.1rem;
}
.step-media-container {
  margin-top: 1.91rem;
}
.step-taget-container{
  margin-top: 2.125rem;
}
.choose-input {
  border: 1px solid #c4c4c4;
  border-radius: 0.4rem;
  padding: 0.8rem 0.5rem;
  width: 100%;
}
.choose-icons {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  position: absolute;
  right: 5px;
  top: 24px;
  cursor: pointer;
}
.choose-icons img {
  width: 25px;
}
.choose-p {
  margin-bottom: 3rem;
}
.step-5 {
  margin-top: 3rem;
}
/* summary */
.sum-container {
  background-color: #f4f4f4;
  width: 100%;
  padding: 0.6rem 1.5rem;
}
.summary-sticky-container {
  position: sticky;
  top: 20px; 
  height: fit-content;
  /* max-height: calc(100vh - 40px); 
  overflow-y: auto;  */
  z-index: 10;
}
.slot-p {
  border-bottom: 2px solid black;
  width: 170px;
}
.sum-h {
  background-color: #4b4b4b;
  padding: 0.5rem;
}
.slot-1-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.slot-event-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
    white-space: nowrap;
  overflow: hidden;
}
.slot-bottom-content {
  display: flex;
  justify-content: end;
  align-items: center;
  margin-bottom: 1rem;
}
.advert {
  border-top: 1px solid #c4c4c4;
  border-bottom: 1px solid #c4c4c4;
  padding: 1rem 0rem;
}
.paymentBtn {
  background-color: #299b13;
  border-radius: 3rem;
  border: none;
  padding: 0.7rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
}
@media all and (max-width: 992px) {
  .stepper-container {
    margin-left: 0rem;
  }
  .primary-heading {
    font-size: 1.6rem;
  }
  .secondary-heading {
    font-size: 1.5rem;
  }
  .tertiary-heading {
    font-size: 1.2rem;
  }
  .cards {
    justify-content: center;
  }
  .step-2-btn-container {
    justify-content: center;
  }
  .steps-cols {
    grid-template-columns: 100%;
    gap: 0.4rem;
  }
  .secondary-para {
    font-size: 0.8rem;
  }
  .penta-heading {
    font-size: 1rem;
  }
  .paymentBtn {
    padding: 0.7rem 1.5rem;
  }
  .sum-container {
    padding: 0.5rem;
  }
}
@media (min-width: 1024px) and (max-width: 1366px) {
  .stepper-container {
    flex-wrap: nowrap;
  }
  .step-media-container {
  margin-top: 1.7rem;
}
}
@media (min-width: 1024px) and (max-width: 1190px){
  /* .step-2-btn-container .imgBtn,
  .step-2-btn-container .Step-2-Btn {
    font-size: 0.91rem !important;
  } */
}

@keyframes slideInRightToLeft {
  0% {
    transform: translateX(100%); /* Start off-screen to the right */
  }
  100% {
    transform: translateX(0); /* End at its natural position */
  }
}
@keyframes slideOutLeftToRight {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}
.slide-in-right-to-left {
  animation: slideInRightToLeft 2s ease-out forwards;
}
.slide-out-left-to-right {
  animation: slideOutLeftToRight 2s ease-out forwards;
}
.rotated-image {
  transform: rotate(180deg);
}

/* Price Selector Modal Styles */
.price-selector-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.price-selector-modal-content {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 360px;
  max-height: 90%;
  overflow: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.close-price-selector-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-price-selector-btn:hover {
  background-color: #f0f0f0;
  color: #333;
}

/* Ensure the PriceSelector component styles work properly */
.price-content {
  padding: 20px;
}
.resize-btn {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  transition: all 0.3s ease;
}

.resize-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}
@media  (min-width: 1024px) {
  .summary-sticky-container{
    width:40% ;
  }
  .slot-event-content {
  gap: 1rem;
}

}
@media (max-width: 768px) {
    .postcode-input{
  width: 100%;
  margin-top: 0.3rem;
  
}

}
@media (max-width: 600px) {
  .placeholder-ellipsis::placeholder {
    max-width: 19.5ch;        
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
    display: inline-block;
  }

}
/* animations for the slot */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}