/* Popup overlay */
#appointmentSection {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  margin:auto;
}

/* Container for the popup */
.popup-container {
  background: #ff4c8b; /* pink shade */
  border-radius: 20px;
  max-width: 900px;
  width: 90%;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
}
.popup-content{
    display:flex;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  font-weight: bold;
}

/* Left side with image */
.popup-left {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-left img {
  max-width: 100%;
  border-radius: 20px 0 0 20px;
}

/* Right side with form */
.popup-right {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  background: #ff4c8b;
  color: white;
}

.heading-title-con .special-text {
  font-weight: bold;
  color: #003366;
}

.heading-title-con h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Form styling */
form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row input,
.form-row select {
  flex: 1;
  padding: 12px 15px;
  border-radius: 30px;
  border: none;
  outline: none;
  font-size: 1rem;
}

button {
  padding: 15px;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #002244;
}

/* Responsive adjustments */
/* Mobile specific styles */
@media (max-width: 768px) {
  .popup-container {
    flex-direction: column;
    width: 95%;
    max-width: 95%;
    margin: 20px auto;
    border-radius: 15px;
    overflow-y: auto;
    max-height: 90vh;
  }

  .popup-left, .popup-right {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .popup-left {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .popup-left img {
    max-width: 80%;
    height: auto;
    border-radius: 15px;
  }

  .popup-right {
    padding: 20px;
    background: #ff4c8b;
  }

  .heading-title-con {
    text-align: center;
  }

  .heading-title-con h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .form-row input,
  .form-row select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 1rem;
  }

  button {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
  }

  .close-btn {
   top: 10px;
         right: 0px; 
        font-size: 24px;
        /* left: 120px; */
        background: black;
        width: 68px;
        height: 68px;
        align-items: center;
        border-radius: 50%;
  }
  
  .opening-hrz-con{
      display:none;
  }
}

@media (max-width: 600px) {
  .popup-container {
    width: 95%;
    max-width: 95%;
    margin: 10px auto;
    border-radius: 15px;
    overflow-y: auto;
    max-height: 90vh;
  }

  .popup-content {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .popup-left,
  .popup-right {
    width: 100%;
    padding: 15px;
  }

  .popup-left {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .popup-left img {
    max-width: 70%;
    height: auto;
    border-radius: 15px;
  }

  .popup-right {
    background: #ff4c8b;
    padding: 15px;
    border-radius: 15px;
  }

  .heading-title-con {
    text-align: center;
  }

  .heading-title-con h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .form-row input,
  .form-row select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 1rem;
  }

  button {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border-radius: 30px;
  }

  .close-btn {
   top: 10px;
         right: 0px; 
        font-size: 24px;
        /* left: 120px; */
        background: black;
        width: 68px;
        height: 68px;
        align-items: center;
        border-radius: 50%;
  }
}
