
/* Doctor Grid Styles */
.smc-filter-buttons {
    text-align: center;
    /*margin-bottom: 30px;*/
    margin: 40px 0 30px;
}
.smc-filter-buttons .filter-btn {
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    background: #71cde0;
    border: 1px solid #71cde0;
    color:#fff;
    font-weight: 500;
    transition: all 0.3s ease;
}
.smc-filter-buttons .filter-btn:hover,
.smc-filter-buttons .filter-btn.active {
    background: #102a56;
    color: #fff;
    border-color: #102a56;
}



.smc-doctor-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 30px;
}

.quick-view-btn {
    padding: 8px 16px;
    /*background: #0073aa;*/
    background: #FFFFFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Adjust cards for float layout */
.smc-doctor-card {
  width: calc(25% - 30px); /* Responsive 4-per-row layout */
  border-radius: 12px;
  overflow: hidden;
  margin: 15px;
  float: left;
  background: #f5f5f5;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}



.smc-doctor-card:hover {  
  transform: translateY(-5px);
}

.smc-doctor-card .doctor-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.name-bar {
  background-color: #71cde0;
  color: white;
  padding: 12px;
}

.name-bar h3 {
  color: #FFFFFF!important;
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
}

.name-bar p {
  margin: 5px 0 0;
  font-size: 0.85rem;
}

/* Modal Styling */
/* === MODAL WRAPPER === */
.smc-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: flex-end;
}

/* === MODAL SLIDE PANEL === */
.smc-modal-content {
  background-color: #fff;
  width: 420px;
  height: 100%;
  overflow-y: auto;
  position: relative;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  /*transition: transform 0.4s ease-in-out;*/
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}
.smc-modal.show .smc-modal-content {
  transform: translateX(0);
}

/* === TOP BLUE BAR === */
.modal-top-bar {
  background-color: #71cde0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 18px;
}


.modal-nav-arrows {
  display: flex;
  gap: 12px;
  font-size: 18px;
  cursor: pointer;
} 


.modal-close {
  font-size: 22px;
  cursor: pointer;
}

/* === DOCTOR IMAGE SECTION === */
.modal-image-section {
  background-color: #fff;
  text-align: center;
  padding: 24px 30px 10px;
}
.modal-image-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 5px;
  color: #333;
}
.modal-image-section p {
  font-size: 0.95rem;
  color: #666;
  margin: 0 0 15px;
}
.modal-image-section img {
  /*width: 80%;*/
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* === CTA - Request Appointment === */
.modal-cta-top {
  text-align: center;
  background-color: #fff;
  padding: 15px 30px;
}
.modal-cta-top a {
  display: inline-block;
  background-color: #102a56;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}
.modal-cta-top a:hover {
  background-color: #005b8a;
}

/* === ACCORDION SECTION === */
.accordion {
  background-color: #fff;
}
.accordion-item {
  border-top: 1px solid #eee;
  transition: background 0.3s ease;
}
.accordion-header {
  position: relative;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  background: #ffffff;
  cursor: pointer;
  color: #333;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* === FOOTER CTA - VIEW FULL PROFILE === */
.modal-footer {
  padding: 20px 30px;
  background: #fff;
  text-align: center;
}
.modal-footer .modal-btn {
  display: inline-block;
  background-color: #102a56;
  color: white;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}
.modal-footer .modal-btn:hover {
  background-color: #005b8a;
}

/* Optional animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === ACCORDION CONTAINER === */
.accordion {
  background-color: #ffffff;
}

/* === INDIVIDUAL ACCORDION ITEM === */
.accordion-item {
  border-top: 1px solid #ddd;
  transition: background 0.3s ease;
}

/* === ACCORDION HEADER === */
.accordion-header {
  position: relative;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  background: #ffffff;
  cursor: pointer;
  color: #333;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ICON: + / − TOGGLE */
.accordion-header::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 1.2rem;
  color: #0073aa;
  transition: transform 0.3s ease, color 0.3s ease;
  transform: rotate(0deg); /* Default position */
}

/* ACTIVE STATE STYLE */
.accordion-item.active .accordion-header {
  background-color: #71cde0;
  color: #fff;
}
.accordion-item.active .accordion-header::after {
  content: "−";
  color: #fff;
  transform: rotate(180deg); /* Smooth 180° spin */
}

/* === ACCORDION CONTENT AREA === */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  background-color: #e6f4fa;
  font-size: 0.92rem;
  color: #333;
  line-height: 1.5;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-item.active .accordion-content {
    display: block;
  /*max-height: 500px;*/
  max-height: none;
  padding: 14px 18px;
}





/* Responsive */
@media (max-width: 1024px) {
    .smc-doctor-card {
        width: 45%;
    }
}
@media (max-width: 768px) {
    .smc-doctor-card {
        width: 100%;
        left: unset !important;
    }
    
}







/* === Doctor Full Profile Page === */
.doctor-profile-wrapper {
  padding: 40px 20px;
  /*background-color: #f9f9f9;*/
}

.doctor-profile-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

.doctor-left {
  text-align: center;
  /*width: 300px;*/
  padding: 30px;
  background: #f1fbfd;
  border-right: 1px solid #e0e0e0;
  box-sizing: border-box;
  flex-shrink: 0;
}


.doctor-left .doctor-image img {
  width: 100%;
  max-width: 240px;
  margin: 15px auto 20px;
  display: block;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.doctor-left h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.doctor-left p {
  margin: 4px 0;
  font-size: 0.95rem;
}

.doctor-left .designation,
.doctor-left .qualification {
  font-size: 0.95rem;
  color: #333;
  margin: 2px 0;
}

.doctor-schedule {
  margin-top: 20px;
}
.doctor-schedule h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.doctor-schedule table {
  width: 100%;
  font-size: 0.9rem;
  border-collapse: collapse;
}
.doctor-schedule td {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}
.doctor-schedule td:last-child {
  text-align: right;
}
.doctor-schedule td span {
  color: red;
}

.doctor-cta {
  margin-top: 20px;
}

.doctor-cta a {
  width: 100%;
  box-sizing: border-box;
}

.doctor-socials {
  margin-top: 20px;
}
.doctor-socials a {
  margin-right: 12px;
  font-size: 1.1rem;
  color: #0073aa;
}
.doctor-socials a:hover {
  color: #102a56;
}

/* === Right Side === */
.doctor-right {
  flex: 2 1 600px;
  padding: 30px;
  box-sizing: border-box;
}

.doctor-section {
  margin-bottom: 30px;
}
.doctor-section h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #102a56;
}
.doctor-section p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.appointment-button {
  display: inline-block;
  background: #102a56;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}
.appointment-button:hover {
  background: #005b8a;
}

/* === Calendar Styles
.doctor-calendar {
  margin-top: 20px;
}
.calendar-header {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  font-size: 0.85rem;
  text-align: center;
}
.calendar-grid div {
  padding: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}
.calendar-grid .off {
  background: #f44336;
  color: white;
  font-weight: bold;
} */

/* === Responsive Layout === */
@media (max-width: 768px) {
  .doctor-profile-container {
    flex-direction: column;
  }
  
  .doctor-left {
      max-width: 100%;
  }

  .doctor-left, .doctor-right {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 20px;
  }

  .doctor-schedule td {
    font-size: 0.85rem;
  }

  .doctor-section h3 {
    font-size: 1rem;
  }
}

@media (max-width: 956px) {
    .doctor-profile-container {
    flex-direction: column;
  }
}

