.poppins-medium {
  font-family: "Poppins Medium", sans-serif;
}

.steps-cols-cateogory{
  display: grid;
  grid-template-columns: 62% 38%;
  gap: 0.4rem;
}

.stepper-container-category {
  margin-left: 1rem;
  display: flex;
  flex-wrap: wrap;
  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;
}

.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;
}

.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-cateogry-page {
  border: 1px solid #c4c4c4;
  border-radius: 0.4rem;
  padding: 0.8rem 0.5rem;
  width: 100%;
  margin-top: 2rem;
}

.step-4-container {
  margin-top: 2.1rem;
}

.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: 8px;
  cursor: pointer;
}

.choose-icons img {
  width: 25px;
}

.choose-p {
  margin-bottom: 3rem;
}

.step-5 {
  margin-top: 3rem;
}

.sum-container {
  background-color: #f4f4f4;
  width: 100%;
  padding: 0.6rem 1.5rem;
}

.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;
  gap: 10px;
}

.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;
}

/* Updated Dynamic Stepper Styles */
.stepper-category {
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-container-category {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  width: 100%;
  position: relative;
  min-height: fit-content;
}

.step-circle-container-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
   height: 95%;
  flex-shrink: 0;
}

.step {
  width: 35px;
  height: 35px;
  background-color: #00863c;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 2;
}

.step-line-category {
  width: 3.5px;
  background-color: #00863c;
  margin-top: 0.5rem;
  flex: 1; 
  min-height: 20px;
  align-self: center;
}
.step-line-category-dotted {
  width: 0.5rem; 
  background-color: transparent;
  background-image: linear-gradient(to bottom, #00863c 50%, transparent 50%);
  background-size: 0.1875rem 1rem; 
  background-repeat: repeat-y;
  margin-top: 0.5rem;
  flex: 1; 
  align-self: center;
}
.step-line-category-green {
   width: 3.5px;
  background-color: #00863c;
  margin-top: 0.5rem;
  flex: 1; 
  align-self: center;
}
.step-content-category {
  flex: 1;
  margin-left: 1rem;
  padding-bottom: 1rem;
    min-height: 100%;
}

/* Remove old static line styles */
.line, .green-line {
  display: none;
}
.activity-inputs-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.activity-input {
  font-family: "Aileron", sans-serif;
  background-color: white;
  border: 1px solid #c4c4c4;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  /* color: black; */
  transition: all 0.3s ease;
}
@media (max-width: 1304px){
.paymentBtn {
   gap: 0.1rem;
    padding: .5rem 1rem;
}
}

/* Tablet Responsive Styles */
@media all and (min-width: 769px) and (max-width: 1024px) {
  .steps-cols-cateogory {
    grid-template-columns: 60% 40%;
    gap: 1rem;
  }
  
  .stepper-container-category {
    margin-left: 0.5rem;
  }
  
  .postcode-input-cateogry-page {
    width: 100%;
  }
  
  .activity-input {
    width: 100% !important;
  }
  
  .w-\[80\%\] {
    width: 100% !important;
  }
  
  div[style*="max-width: 70%"] {
    max-width: 90% !important;
  }
  
  /* Icon positioning for tablet */
  .relative .absolute {
    right: 16px !important;
  }
}

/* Fix icon positioning for all inputs */
@media all and (max-width: 1024px) {
  .relative .absolute {
    right: 5px !important;
    top: 70% !important;
    transform: translateY(-50%) !important;
  }
  
  .relative textarea ~ .absolute {
    top: 40px !important;
       right: 5px !important;
    transform: none !important;
  }
}


/* Mobile Responsive Styles */
@media all and (max-width: 768px) {
  .steps-cols-cateogory {
    grid-template-columns: 100%;
    gap: 1rem;
  }
  
  
  .postcode-input-cateogry-page {
    width: 100%;
    margin-top: 1rem;
    padding: 0.5rem;
  }
  
  .activity-input {
    width: 100% !important;
    padding: 0.5rem;
  }
  
  /* Header adjustments */
  .primary-heading {
    font-size: 1.4rem;
  }
  
  .secondary-heading {
    font-size: 1.2rem;
   
   
  }
  
  .primary-para.event-p {
    
    font-size: 0.9rem;
    
  }
  
  /* Button adjustments */
  .step-content-category .flex.items-center.gap-5 {
    flex-direction: column;
    gap: 1rem !important;
    width: 100%;
  }
  

  
  /* Content width adjustments */
  .w-\[80\%\] {
    width: 100% !important;
  }
  
  .step-content-category div[style*="max-width: 70%"] {
    max-width: 100% !important;
    width: 100% !important;
  }
 
  /* Icon positioning fixes */
  .relative .absolute {
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  
  .relative textarea ~ .absolute {
    top: 23px !important;
    right: 5px !important;
    transform: none !important;
  }
  
  /* Fix for the two-column grid in step 6 */
  .grid.grid-cols-1.lg\:grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  
  /* Ad preview adjustments */
  .border.border-gray-300.rounded-lg.p-4 {
    padding: 0.5rem;
  }
  
  .rounded-md.w-full.max-w-\[300px\] {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Summary section adjustments */

  

  
  .paymentBtn {
   
    padding: 0.8rem 1rem;
   
  }
  
  .paymentBtn img {
    width: 40px !important;
  }
  
  /* Text adjustments */
  .tertiary-heading {
    font-size: 1.1rem;
  }
  
  .primary-para {
    font-size: 0.9rem;
  }
  
  /* Input field adjustments */
  .activity-inputs-container.space-y-3 {
    gap: 0.8rem;
  }
  
  /* Fix for header layout */
  .stepper-container-category + div[style*="display: flex"] {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .stepper-container-category + div[style*="display: flex"] img {
    width: 40px !important;
  }
  
  /* Fix for the ad container in step 1 */
  .border.border-\[\#c4c4c4\].rounded-lg.my-5.small-border.p-2 {
    width: 100% !important;
    margin: 1rem 0;
  }
  
  /* Fix icon positioning in inputs */
  .postcode-input-cateogry-page ~ .absolute {
    right: 5px !important;
    top: 63% !important;
    transform: translateY(-50%) !important;
  }
  
  /* Fix for the open map section */
 
  .step-content-category {

  margin-left: 0.4rem;
  }
  
  
  /* Additional mobile fixes */
  .step-content-category h3.tertiary-heading {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .step-content-category p.primary-para {
    margin-bottom: 1rem;
  }
  
  .activity-input {
    font-size: 0.8rem;
  }
  .stepper-container-category {
    margin-left: 0.3rem;
  }
  .step {
    width: 30px;
    height: 30px;
  }
  .step-line-category {
    width: 3px;
  }
  .step-line-category-dotted {
    width: 3px;
  }
}
.paymentBtn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top: 2px solid transparent;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.paymentBtn--loading {
  pointer-events: none;
}
/* .activity-input[type="datetime-local"] {
  color: #c4c4c4 !important;
} */