.wrapper {
  width: 100%;
  margin: 0px auto;
  padding-bottom: 0px;
}

/* CARD */
.localdoctore_sec .card {
  background: #fff !important;
  border-radius: 8px !important;
  padding: 20px;
  margin-bottom: 15px;
  display: flex !important;
  justify-content: normal;
  border: 1px solid #ddd !important;
  flex-direction: row;
  height: 250px;
}

.row.cards_rows {
  padding-top: 40px;
}

/* LEFT */
.cards_rows .left {
  display: grid;
  gap: 15px;
  width: 100%;
  grid-template-columns: 13% 84%;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.info h2 {
  margin: 5px 0;
  font-size: 18px;
  line-height: normal;
}

.subtitle {
  font-size: 15px;
  color: #444;
  padding: 0;
  margin: 0;
  line-height: normal;
}

.okemos_data .badge {
  display: inline-block;
  background: #00205b;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 12px;
  margin-bottom: 5px;
  color: #fff;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: left;
}

.localdoctore_sec .sponsored {
  font-size: 12px;
  background: #eee;
  padding: 4px 8px;
  border-radius: 4px;
  margin-left: 0px;
  line-height: normal;
  font-family: 'Montserrat';
  display: block;
  width: fit-content;
  margin-bottom: 5px;
}

.okemos_data {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating {
  font-size: 14px;
  margin-top: 6px;
  font-family: 'Montserrat';
  line-height: normal;
}

.location {
  font-size: 13px;
  color: #555;
  padding: 10px 0;
  font-family: 'Montserrat';
  line-height: normal;
}

.popup-content {
  padding-top: 0px;
}

.popup-content h2 {
  font-size: 32px;
  font-weight: 400;
}

.link {
  color: #0073e6;
  font-size: 13px;
  cursor: pointer;
  font-family: 'Montserrat';
  line-height: normal;
}

.desc {
  font-size: 13px;
  color: #777;
  margin-top: 5px;
  line-height: normal;
}

/* RIGHT CALENDAR */
.right {
  width: 55%;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr) 80px;
  gap: 8px;
}

/* DAY BOX */
.day {
  height: 75px;
  border-radius: 6px;
  padding: 6px;
  font-size: 12px;
  background: #e6e6e6;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.day b {
  margin: 0px 0px 5px 0px;
  font-size: 13px;
  font-family: 'Montserrat';
  line-height: normal;
}

.day span {
  font-size: 12px;
  font-family: 'Montserrat';
  line-height: normal;
}

.calendar .active {
  background: #04DAFF;
  cursor: pointer;
  color: #000;
}

.calendar .active:hover {
  background: #00205b;
  color: #fff;
}

.disabled {
  color: #999;
}

/* MORE BOX */
.more {
  height: 75px;
  border: 1px solid #bbb;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  font-family: 'Montserrat';
  line-height: normal;
  font-size: 14px;
}

.more:hover {
  background: #333;
  color: #fff;
}

.localdoctore_sec .card_even {
  background: #FDFAEE !important;
}

.localdoctore_sec span.badge {
  color: #fff;
  line-height: normal;
}



/* HERO SECTION */
.hero {
  padding: 0px 0px;
  position: relative;
}

/* HEADING */
.hero h1 {
  font-size: 42px;
  font-weight: 600;
  color: #00205b;
  line-height: 1.2;
  max-width: 600px;
  margin-bottom: 40px;
}



.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  gap: 5px;
}

.search-item {
  padding: 8px 15px;
  border-right: 1px solid #eee;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.search-item:last-child {
  border-right: none;
}

.label {
  font-size: 14px;
  color: #444;
}

.search-item input {
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  background: transparent;
  margin-top: 2px;
  width: auto;
  padding: 10px 15px;
  height: auto;
  line-height: normal;
}

.search-btn {
  background: #04DAFF;
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 29px 15px;
  cursor: pointer;
  font-size: 16px;
  font-stretch: inherit;
  text-align: center;
  /* display: flex; */
  width: 460px;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.search-btn:hover {
  background: #00205b;
  color: #fff;
}

i.fa.fa-video-camera {
  width: 30px;
}





/* Overlay background */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* This class triggers the popup */
.popup-overlay.activejs {
  display: flex;
}

/* The Card */
.popup-content {
  background: white;
  width: 90%;
  max-width: 500px;
  padding: 30px;
  color: #333;
  border-radius: 12px;
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow-y: scroll;
  height: 500px;
  padding-top: 0px;
}

.appointments p strong {
  font-weight: 600;
}

.close-btn {
  position: absolute;
  right: 15px;
  top: 15px;
  background: #f0f0f0;
  border: none;
  font-size: 20px;
  cursor: pointer;
  border-radius: 4px;
  padding: 0 8px;
}

/* Styling internal elements */
.doctor-info {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.profile-pic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.specialty {
  color: #222;
  margin: 0;
  padding: 3px 0;
}

.address {
  color: #444;
  padding: 0;
  font-size: 16px;
  margin: 0;
}

.network-link {
  color: #1a73e8;
  text-decoration: underline;
  font-size: 0.85rem;
}

.dropdown,
.network-box {
  margin-top: 10px;
}

.details h3 {
  margin-top: 0;
  margin-bottom: 0;
}

.time-slot {
  background: #fff566;
  /* Matching the yellow highlight in your image */
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.popup-content h4 {
  font-size: 20px;
  font-weight: 500;
  padding: 0px;
  margin: 24px 0;
  margin-bottom: 0px;
}

.popup-content select {
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 8px;
  width: 100%;
  font-size: 15px;
  color: #333;
}

.appointments p {
  padding-top: 0px;
  margin-top: 8px;
}

.see_more_availability {
  background-color: rgba(0, 0, 0, 0);
  color: rgb(51, 51, 51);
  border: 1px solid rgb(51, 51, 51);
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0em;
  text-transform: none;
  height: 38px;
  padding: 6px 12px;
  color: #333;
  margin-top: 24px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
}


section.localdoctore_sec {
  position: relative;
  padding: 50px 15px;
  background: #efefef;
}


@media(min-width: 240px) and (max-width: 999px) {

  .search-box {
    flex-direction: column;
  }

  .search-btn {
    padding: 19px 15px;
    width: 100%;
    margin-bottom: 10px;
  }

  .okemos_data {
    flex-wrap: wrap;
  }

  .cards_rows .left {
    grid-template-columns: 100%;
  }

  .cards_rows .col-sm-6 {
    width: 100%;
  }

  .localdoctore_sec .card {
    height: auto;
  }
}


@media(min-width: 1000px) and (max-width: 1100px) {

  .localdoctore_sec .card {
    height: 250px;
  }
}