  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }

  body {
    /* background-color: #7531df; */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }

  .container {
    width: 100%;
    max-width: 600px;
    /* padding: 20px; */
  }

  .appointment-form {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    position: relative;
  }

  .progress-bar {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
  }

  .step-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #757575;
    font-weight: bold;
    z-index: 2;
  }

  .step-indicator.active {
    background-color: #1565c0;
    color: white;
  }

  .step-line {
    flex: 1;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
  }

  .step-line.active {
    background-color: #1565c0;
  }

  .close-btn {
    /* position: absolute; */
    font-size: 24px;
    cursor: pointer;
    color: white;
    background: #1565c0;
    border-radius: 50%;
    width: 6%;
 display: none!important;
  }

  h2 {
    color: #1565c0;
    text-align: center;
    margin-bottom: 10px;
    font-size: 24px;
  }

  .subtitle {
    text-align: center;
    color: #757575;
    margin-bottom: 25px;
    font-size: 14px;
  }

  .options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .option-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .option-card:hover {
    border-color: #1565c0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .icon-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #1565c0;
  }

  .option-text {
    flex: 1;
  }

  .option-text h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
  }

  .option-text p {
    font-size: 14px;
    color: #757575;
  }

  .arrow-icon {
    color: #1565c0;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-row {
    display: flex;
    gap: 15px;
  }

  .form-group.half {
    flex: 1;
  }

  label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
  }

  .required {
    color: #f44336;
  }

  input,
  select,
  textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.3s ease;
  }

  input:focus,
  select:focus,
  textarea:focus {
    outline: none;
    border-color: #1565c0;
  }

  input::placeholder,
  select::placeholder,
  textarea::placeholder {
    color: #9e9e9e;
  }

  .date-input,
  .time-input {
    position: relative;
    padding-right: 40px;
  }

  .calendar-icon,
  .time-icon {
    position: absolute;
    right: 38px;
    top: 59%;
    transform: translateY(-50%);
    color: #757575;
    pointer-events: none;
  }

  textarea {
    height: 100px;
    resize: none;
  }

  .form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
  }

  .btn {
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
  }

  .btn-primary {
    background-color: #1565c0;
    color: white;
  }

  .btn-primary:hover {
    background-color: #0d47a1;
  }

  .btn-secondary {
    background-color: #f5f5f5;
    color: #333;
  }

  .btn-secondary:hover {
    background-color: #e0e0e0;
  }

  .btn-block {
    display: block;
    width: 100%;
    margin: 20px 0;
  }

  .otp-container {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
  }

  .otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 18px;
    border: 1px solid #1565c0;
    border-radius: 5px;
  }

  .resend-text {
    text-align: center;
    color: #757575;
    font-size: 14px;
  }

  #timer {
    color: #1565c0;
  }

  .appointment-types {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
  }

  .appointment-type {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
  }

  .appointment-type.active {
    border-color: #1565c0;
    background-color: #e3f2fd;
  }

  .appointment-type .icon-container {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .appointment-type span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
  }

  .upload-area {
    border: 2px dashed #e0e0e0;
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .upload-area:hover {
    border-color: #1565c0;
  }

  .upload-icon {
    color: #1565c0;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
  }

  .upload-area p {
    color: #757575;
    font-size: 14px;
  }

  /* New styles for time dropdown */
  .time-dropdown {
    margin-top: 10px;
    position: relative;
  }

  .time-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    background-color: white;
    cursor: pointer;
  }

  /* Success message styles */
  #successMessage {
    display: none;
    background-color: #4caf50;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
  }
  /* Custom styling for date inputs */
input[type="date"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-size: 14px;
  color: #333;
  transition: border-color 0.3s ease;
  cursor: pointer;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: white;
}

input[type="date"]:focus {
  outline: none;
  border-color: #1565c0;
  box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.2);
}

/* Hide the calendar icon on some browsers */
input[type="date"]::-webkit-calendar-picker-indicator {
  background: transparent;
  color: transparent;
  cursor: pointer;
  height: 100%;
  width: 100%;
  position: absolute;
  right: 0;
  top: 0;
}

/* Custom calendar icon */
.date-input-container {
  position: relative;
}

.calendar-icon {
  position: absolute;
  right: 38px;
  top: 59%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #757575;
}
/* Add these styles to your CSS file */
.success-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.success-content {
  background-color: white;
  max-width: 550px;
  width: 100%;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.success-icon {
  margin-bottom: 20px;
}

.success-content h2 {
  color: #28a745;
  margin-bottom: 15px;
  font-size: 24px;
}

.success-content p {
  color: #666;
  margin-bottom: 20px;
  font-size: 16px;
}

.appointment-details {
  text-align: left;
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.appointment-details p {
  margin: 8px 0;
  font-size: 14px;
}

.success-content button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.success-content button:hover {
  background-color: #0069d9;
}
/* Modal styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.modal-content {
  position: relative;
  max-width: 600px;
  width: 90%;
  margin: 30px auto;
  animation: modalFadeIn 0.3s ease-in-out;
}

/* Custom close button */
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1010;
  width: 30px;
  height: 30px;
  background-color: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  border: none;
  color: #555;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background-color: #e0e0e0;
  transform: scale(1.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.modal-close:active {
  transform: scale(0.95);
}

/* Hide existing close buttons */
.progress-bar .close-btn {
  display: none;
}

/* Appointment form styling */
.appointment-form {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  position: relative;
}

/* Animation for modal */
@keyframes modalFadeIn {
  from {
      opacity: 0;
      transform: translateY(-20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .modal-content {
      width: 95%;
      margin: 10px auto;
  }
  
  .appointment-form {
      padding: 20px;
  }
}

/* Open modal button */
.open-modal-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1565c0;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.open-modal-btn:hover {
  background-color: #0d47a1;
}

