.doctor-cards-container {
  display: flex;
  flex-direction: column; /* Stack cards vertically */
  gap: 20px;
  width: 100%;
  max-width: 1000px; /* Increased max-width to make the card wider */
}
  
.doctor-card {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  border: 2px solid #15b9d9;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 20px;
}

.doctor-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 20px;
}

.doctor-image {
  height: 200px; /* Increased height for a taller image */
  border: 2px solid #15b9d9;
  object-fit: cover;
}

.doctor-info {
  flex: 1;
}

.doctor-info h2 {
  color: #15b9d9;
  font-size: 1.8em;
  margin-bottom: 5px;
}

.specialist {
  font-size: 1.2em;
  color: #666666;
  margin-bottom: 15px;
}

.schedule-table {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  width: 100%;
  }

.table-row {
  display: contents;
}

.table-header, .table-cell {
  padding: 12px;
  text-align: center;
  font-size: 1em;
}

.table-header {
  background-color: #15b9d9;
  color: #ffffff;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
}

.table-cell {
  background-color: #e0f7fd;
  color: #333333;
  border-radius: 0 0 5px 5px;
}



/* Responsive styling for mobile */
@media (max-width: 1000px) {

  /* Change grid to have days on the left and times on the right */
  .schedule-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }
}

/* Responsive styling for mobile */
@media (max-width: 800px) {
  .doctor-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .doctor-image-container {
    margin-bottom: 15px;
  }

  /* Change grid to have days on the left and times on the right */
  .schedule-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
}
