/* =====================================================
   DOCTORS PAGE
===================================================== */

.doctors-page {
  background: #ffffff;
}

/* =====================================================
   STATISTICS
===================================================== */

.doctor-stat-section {
  position: relative;

  z-index: 10;

  margin-top: -45px;
}

.doctor-stat-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  background: #ffffff;

  border-radius: 24px;

  overflow: hidden;

  box-shadow: 0 20px 50px rgba(18, 67, 77, 0.12);
}

.doctor-stat {
  position: relative;

  padding: 30px 20px;

  text-align: center;
}

.doctor-stat:not(:last-child)::after {
  content: "";

  position: absolute;

  right: 0;
  top: 25%;

  width: 1px;
  height: 50%;

  background: #e2ecee;
}

.doctor-stat strong {
  display: block;

  margin-bottom: 7px;

  color: var(--primary);

  font-size: 30px;

  font-weight: 800;
}

.doctor-stat span {
  color: #708087;

  font-size: 13px;
}

/* =====================================================
   INTRO
===================================================== */

.doctors-intro-section {
  padding-bottom: 45px;
}

/* =====================================================
   SEARCH
===================================================== */

.doctor-search-wrapper {
  display: flex;

  justify-content: center;

  margin-top: 35px;
}

.doctor-search {
  position: relative;

  width: 100%;
  max-width: 650px;
}

.doctor-search input {
  width: 100%;

  height: 58px;

  padding: 0 25px 0 55px;

  border: 1px solid #dce8ea;

  border-radius: 16px;

  outline: none;

  background: #ffffff;

  color: #183b45;

  font-family: inherit;

  font-size: 14px;

  box-sizing: border-box;

  transition: all 0.25s ease;
}

.doctor-search input:focus {
  border-color: var(--primary);

  box-shadow: 0 0 0 4px rgba(30, 150, 180, 0.1);
}

.search-icon {
  position: absolute;

  left: 20px;
  top: 50%;

  transform: translateY(-50%);

  color: var(--primary);

  font-size: 25px;
}

/* =====================================================
   FILTER
===================================================== */

.doctor-filter {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 10px;

  margin-top: 25px;
}

.doctor-filter-btn {
  padding: 10px 17px;

  border: 1px solid #dce7e9;

  border-radius: 30px;

  background: #ffffff;

  color: #62757c;

  font-family: inherit;

  font-size: 13px;

  font-weight: 600;

  cursor: pointer;

  transition: all 0.25s ease;
}

.doctor-filter-btn:hover {
  border-color: var(--primary);

  color: var(--primary);
}

.doctor-filter-btn.active {
  background: var(--primary);

  border-color: var(--primary);

  color: #ffffff;
}

/* =====================================================
   DOCTOR GRID
===================================================== */

.doctor-list-section {
  padding-top: 40px;

  background: #f5fafb;
}

.doctor-grid-full {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 25px;
}

/* =====================================================
   DOCTOR CARD
===================================================== */

.doctor-card-full {
  display: grid;

  grid-template-columns: 210px 1fr;

  min-height: 290px;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid #e2ecee;

  border-radius: 24px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.doctor-card-full:hover {
  transform: translateY(-7px);

  box-shadow: 0 20px 50px rgba(18, 67, 77, 0.12);
}

/* =====================================================
   PHOTO
===================================================== */

.doctor-card-photo {
  position: relative;

  min-height: 100%;

  overflow: hidden;

  background: linear-gradient(145deg, #d9eef1, #a8d4db);
}

.doctor-photo-bg {
  position: absolute;

  inset: 0;

  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.6),
    transparent 65%
  );
}

.doctor-card-photo img {
  position: relative;

  z-index: 2;

  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;

  object-position: bottom center;

  transition: transform 0.4s ease;
}

.doctor-card-full:hover .doctor-card-photo img {
  transform: scale(1.04);
}

/* =====================================================
   NUMBER
===================================================== */

.doctor-card-number {
  position: absolute;

  top: 15px;
  left: 15px;

  z-index: 4;

  width: 38px;
  height: 38px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.9);

  color: var(--primary);

  font-size: 12px;

  font-weight: 800;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* =====================================================
   DOCTOR BODY
===================================================== */

.doctor-card-body {
  padding: 28px;
}

.doctor-specialty-badge {
  display: inline-flex;

  margin-bottom: 13px;

  padding: 7px 12px;

  border-radius: 20px;

  background: rgba(34, 151, 181, 0.1);

  color: var(--primary);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 1px;
}

.doctor-card-body h3 {
  margin: 0 0 8px;

  color: #183b45;

  font-size: 18px;

  line-height: 1.45;
}

.doctor-position {
  margin: 0;

  color: #2d899f;

  font-size: 13px;

  font-weight: 600;
}

.doctor-divider {
  width: 100%;
  height: 1px;

  margin: 18px 0;

  background: #e8eff0;
}

/* =====================================================
   SCHEDULE
===================================================== */

.doctor-schedule-list {
  display: flex;

  flex-direction: column;

  gap: 9px;
}

.doctor-schedule-item {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;
}

.doctor-schedule-item span {
  color: #718087;

  font-size: 12px;
}

.doctor-schedule-item strong {
  color: #294750;

  font-size: 12px;

  text-align: right;
}

/* =====================================================
   HIDDEN CARD
===================================================== */

.doctor-card-full.hidden {
  display: none;
}

/* =====================================================
   EMPTY
===================================================== */

.doctor-empty {
  display: none;

  padding: 80px 20px;

  text-align: center;
}

.doctor-empty.show {
  display: block;
}

.doctor-empty > div {
  margin-bottom: 15px;

  font-size: 45px;
}

.doctor-empty h3 {
  margin-bottom: 8px;

  color: #183b45;
}

.doctor-empty p {
  color: #74848a;

  font-size: 14px;
}

/* =====================================================
   INFORMATION
===================================================== */

.doctor-information-section {
  padding: 70px 0;

  background: #ffffff;
}

.doctor-information {
  display: flex;

  align-items: center;

  gap: 25px;

  padding: 35px 40px;

  border: 1px solid #dfecee;

  border-radius: 24px;

  background: #f7fbfc;
}

.doctor-information-icon {
  width: 65px;
  height: 65px;

  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 18px;

  background: rgba(33, 151, 181, 0.1);

  font-size: 30px;
}

.doctor-information > div:nth-child(2) {
  flex: 1;
}

.doctor-information span {
  display: block;

  margin-bottom: 6px;

  color: var(--primary);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 1px;
}

.doctor-information h2 {
  margin: 0 0 8px;

  color: #183b45;

  font-size: 23px;
}

.doctor-information p {
  margin: 0;

  color: #6e7f85;

  font-size: 14px;

  line-height: 1.7;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {
  .doctor-grid-full {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .doctor-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctor-stat:nth-child(2)::after {
    display: none;
  }

  .doctor-information {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .doctor-stat-section {
    margin-top: -25px;
  }

  .doctor-stat-grid {
    grid-template-columns: repeat(2, 1fr);

    border-radius: 18px;
  }

  .doctor-stat {
    padding: 22px 10px;
  }

  .doctor-stat strong {
    font-size: 24px;
  }

  .doctor-stat span {
    font-size: 11px;
  }

  .doctor-card-full {
    grid-template-columns: 1fr;
  }

  .doctor-card-photo {
    height: 280px;
  }

  .doctor-card-photo img {
    object-position: center bottom;
  }

  .doctor-card-body {
    padding: 23px 20px;
  }

  .doctor-card-body h3 {
    font-size: 17px;
  }

  .doctor-schedule-item {
    align-items: flex-start;

    flex-direction: column;

    gap: 3px;
  }

  .doctor-schedule-item strong {
    text-align: left;
  }

  .doctor-information {
    padding: 28px 22px;
  }

  .doctor-information h2 {
    font-size: 20px;
  }
}
