﻿/*$ihh-darkblue: rgb(121, 151, 175);*/
.doctor-detail {
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.doctor-detail .doctors-items {
  margin-top: 0;
  margin-bottom: 0;
}
@media screen and (min-width: 768px) {
  .doctor-detail .picture-wrapper {
    position: sticky;
    top: 5rem;
    padding-bottom: 1rem;
  }
}
.doctor-detail .doctors-item {
  max-width: none;
  flex-grow: 1;
  flex-basis: 100%;
  background-color: #fafafc;
}
.doctor-detail .doctors-item .doctors-item-img-wrapper {
  aspect-ratio: 14/15;
  border-bottom-right-radius: 50% 10%;
}
.doctor-detail .doctors-item .doctors-buttons {
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}
.doctor-detail .doctors-buttons-appointment {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.doctor-detail .doctors-items {
  --grid-repeat: 1 !important;
}

@media screen and (max-width: 767px) {
  .picture-wrapper {
    margin-bottom: 1rem;
  }
}
.doctor-name {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  color: rgb(121, 151, 175);
  font-weight: 600;
  line-height: 1.1;
  margin-top: 1.75rem;
  padding: 0 1.5rem;
}

.doctor-details {
  border-radius: 8px;
  padding: 1.25rem 1.25rem;
  border: 1px solid rgba(211, 211, 211, 0.65);
  background-color: #fafafc;
  box-shadow: 0px 2px 7px 1px rgba(211, 211, 211, 0.75);
}

.opd-wrapper {
  background-color: #fafafc;
  border-radius: 8px;
  border: 1px solid rgba(211, 211, 211, 0.65);
  box-shadow: 0px 2px 7px 1px rgba(211, 211, 211, 0.75);
  width: 100%;
  overflow: hidden;
}
.opd-wrapper .dochos-info {
  padding: 0.75rem 1.25rem;
}
.opd-wrapper .dochos-info .resident-status {
  padding: 0.25rem 0.75rem;
  margin-left: -0.35rem;
  background-color: #96b97c;
  border-radius: 5px;
  color: white;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.opd-wrapper .dochos-info .hospital-name {
  font-size: 1.35rem;
  font-weight: 600;
  color: rgb(137, 164, 185);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.opd-wrapper .opd-table {
  width: 100%;
  margin-bottom: 0;
}
.opd-wrapper .opd-table th {
  text-align: center;
}
.opd-wrapper .opd-table .head1 th {
  color: white;
  background-color: #bdade2;
  border-color: white;
  font-size: 1.15rem;
}
.opd-wrapper .opd-table .head2 th {
  color: white;
  background-color: #b0a3cf;
  border-right: 1px solid white;
}
.opd-wrapper .opd-table .head2 th:last-child {
  border-right: none;
}
.opd-wrapper .opd-table tbody * {
  color: rgb(124, 125, 127) !important;
}
.opd-wrapper .opd-table tbody td {
  text-align: center;
  font-weight: 500;
  border-bottom: 1px solid #e3e3e3;
  border-right: 1px solid lightgray;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  vertical-align: middle;
}
.opd-wrapper .opd-table tbody td:first-child {
  text-align: left;
  padding-left: 1.75rem;
  padding-right: 1.5rem;
  width: 1%;
}
.opd-wrapper .opd-table tbody td:first-child .t-text-bold {
  max-width: fit-content;
  display: inline-block;
}
.opd-wrapper .opd-table tbody td:last-child {
  border-right: none;
}
.opd-wrapper .opd-table tbody tr:first-child td {
  padding-top: 0.5rem;
}
.opd-wrapper .opd-table tbody tr:last-child td {
  padding-bottom: 0.5rem;
}

.blue-text {
  color: rgb(98, 181, 221);
  font-weight: 500;
}

.blue-text + div {
  margin-bottom: 1rem;
}

.related-doctors {
  padding-top: 3rem;
  padding-bottom: 4rem;
  background-color: rgb(245, 245, 247);
}
.related-doctors .doctors-items {
  justify-content: center;
}

.title-text {
  font-size: 1.75rem;
  color: rgb(98, 181, 221);
  font-weight: 600;
}

.find-doctors {
  background-color: rgb(245, 245, 247);
}

.atag-button-disable {
  background-color: #e0e0e0;
  color: #9e9e9e;
  cursor: not-allowed;
  opacity: 0.7;
  pointer-events: none;
  text-decoration: none;
}

.accordion-button:focus {
  border-color: transparent;
  box-shadow: none;
}

.accordion {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237997AF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237997AF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* SECTION WITH BACKGROUND IMAGE */
.contact-section {
  background: url("/images/default-source/ihh/background-image/enquire-bg-img.webp") center center/cover no-repeat;
  padding: 80px 20px;
  position: relative;
}

/* Optional overlay to match screenshot look */
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(89, 122, 148, 0.8);
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 2; /* to stay above overlay */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* LEFT CONTENT */
.contact-left {
  flex: 1;
  min-width: 300px;
  color: #ffffff;
}

.contact-left h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hotline-title,
.hotline-time {
  font-size: 18px;
}

/* FORM CARD */
.contact-form-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  flex: 1;
  min-width: 320px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }
  .contact-left {
    text-align: center;
  }
}
