/* body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
  } */
 .section-doctor{
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
 }
  .doctor-list-header {
    text-align: center;
    /* padding: 20px; */
  }
  
  .doctor-list-header h2 {
    font-size: 2em;
    margin-bottom: 10px;
    margin-top: 20px;
  }
  
  .doctor-list-header p {
    font-size: 1em;
    color: #777;
  }
  
  /* .doctor-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    overflow: hidden;
    /* width: 410px; */
    /* padding: 0.5rem; *

  } */
  
  .doctor-photo {
    width: 100%;
    height: auto;
  }
  
  .doctor-details {
    padding: 7px;
  }
  
  .doctor-name {
    font-size: 1.5em;
    margin-bottom: 5px;
  }
  
  .doctor-specialty {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 15px;
  }
  
  .doctor-timings,
  .doctor-fees,
  .doctor-contact {
    font-size: 1em;
    margin-bottom: 10px;
  }
  
  .doctor-timings i,
  .doctor-fees i,
  .doctor-contact i {
    margin-right: 8px;
    color: #007BFF;
  }
  
  .book-appointment {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .book-appointment:hover {
    background-color: #0056b3;
  }
  
  .doctor-list-footer {
    text-align: center;
    padding: 20px;
  }
  
  .load-more {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .load-more:hover {
    background-color: #0056b3;
  }
  
  /* Media Queries for Responsive Design */
  @media (min-width: 768px) {
    .doctor-card {
      flex-direction: row;
    }
  
    .doctor-photo {
      width: 180px;
      /* height: 150px; */
    }
  }

  /* bibek */
  /* Specialities Section */
.specialities-section {
  /* margin-bottom: 2rem; */
  margin-top: 2rem;
  margin-bottom: 2rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.specialities-section h2 {
  margin-bottom: 1rem;
}

.specialities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

.speciality-card {
  background-color: #f4f4fb;
  border-radius: 8px;
  text-align: center;
  padding: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #004658;
  border: #7dc2d3 solid 1px;
}

.speciality-card:hover {
  transform: scale(1.05);
}

.speciality-card img {
  width: 88px;
  height: 91px;
  margin-bottom: 0.5rem;
}
.availability-badge {
  /* position: absolute; */
  top: 10px;
  right: 10px;
  background-color: #23b6bd;
  color: white;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
}

.confirm-button {
  display: block;
  width: 100%;
  padding: 1rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.confirm-button:hover {
  background-color: #0056b3;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .specialities-grid {
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }

  .confirm-button {
      padding: 0.8rem;
      font-size: 1rem;
  }
}



/* General card styling */
.doctor-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 10px;
  width: 100%;
  max-width: 500px;
  border: #004658 solid 1px;
}

/* Doctor information section */
.doctor-info {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.doctor-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 16px;
}

.doctor-details {
  flex: 1;
}

.doctor-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color:#004658;
}

.doctor-speciality {
  font-size: 0.8rem;
  color: #004658;
  margin-bottom: 0rem;
  font-weight: 600;
}

/* Plan selection section */
.plan-selection {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.plan-option {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.plan-option:last-child {
  margin-bottom: 0;
}

.plan-option input[type="radio"] {
  margin-right: 10px;
  margin-top: 4px; /* Align with the text */
}

.plan-option label {
  display: flex;
  flex-direction: column;
}

.plan-option strong {
  font-size: 1rem;
}

.plan-option small {
  font-size: 0.85rem;
  color: #888;
}

/* Card footer section */
.card-footer {
  padding: 0px;
  background-color: #004658;
  text-align: center;
  font-size: 0.9rem;
  color: #f3efef;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .doctor-card {
      max-width: 96%;
  }
}

/* General form styling */
.booking-form form {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.form-group {
    /* display: flex; */
    flex-direction: row;
    margin-bottom: 0rem;

}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
}

.row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap; /* This will make it responsive */
    margin-right: 0px;
    margin-left: 0px;
}

.form-group-inline {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group-inline input,
.form-group-inline select {
    width: 100%;
}

.booking-form button {
    background-color: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.booking-form button:hover {
    background-color: #0056b3;
}


/* Booking form styles */
.booking-form {
  padding: 16px;
  background-color: #f9f9f9;
  border-top: 1px solid #f0f0f0;
  transition: max-height 0.5s ease-out;
  overflow: hidden;
  max-height: 0;
}

.booking-form.active {
  display: block;
  max-height: 1000px; /* Adjust according to the form content */
}

/* General form styling */
.booking-form form {
  display: flex;
  flex-direction: column;
}

.booking-form label {
  margin-top: 8px;
  margin-bottom: 4px;
  font-weight: bold;
}

.booking-form input, 
.booking-form select, 
.booking-form textarea {
  padding: 8px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.booking-form button {
  background-color: #004658;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.booking-form button:hover {
  background-color: #0056b3;
}
.bottom-text{
  font-size: 11px;
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;

}

.book-now-button {
  background-color: #f43b48;
  border: 1px solid #ab6469;
  border-radius: 50px;
  color: #fff;
  float: right;
  font-weight: 500;
  min-width: 97px;
  margin: 3px;
  /* padding: 4px; */
  padding-left: 10px;
  padding-right: 10px;
}

.weekdays {
  list-style-type: none;
  padding: 6px;
  background-color: #d3f1f1;
  border-radius: 10px;
}

.weekdays li {
  margin-bottom: 0px;
  font-size: 13px;
  font-weight: 500;
  color: #004658;
}

