/* =====================================================
   ROOT & RESET
===================================================== */
.rsab-doctor-detail{
  --primary:#2db4a3;
  --primary-soft:#e6f7f4;
  --border:#e5e7eb;
  --text:#111827;
  --muted:#6b7280;
  --bg:#ffffff;
  --shadow:0 6px 20px rgba(0,0,0,.06);

  font-family:system-ui,-apple-system,Segoe UI,Roboto;
  color:var(--text);
}

/* =====================================================
   BREADCRUMB
===================================================== */
.rsab-doctor-detail .breadcrumb{
  max-width:1200px;
  margin:24px auto 8px;
  padding:0 24px;
  font-size:14px;
  color:var(--muted);
}

/* =====================================================
   CONTAINER
===================================================== */
.rsab-doctor-detail main.container{
  max-width:1200px;
  margin:auto;
  padding:24px;
}

/* =====================================================
   GRID LAYOUT
===================================================== */
.rsab-doctor-detail .detail{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:56px;
  align-items:flex-start;
}

/* =====================================================
   LEFT – PROFILE CARD
===================================================== */
.rsab-doctor-detail .profile-card{
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:18px;
  padding:28px 24px;
  box-shadow:var(--shadow);
  text-align:center;
}

.rsab-doctor-detail .photo-wrap{
  width:220px;
  height:220px;
  margin:0 auto 18px;
}

.rsab-doctor-detail .card-photo{
  width:100%;
  height:100%;
  border-radius:16px;
  border:1px solid var(--border);
  overflow:hidden;
  background:#fff;
}

.rsab-doctor-detail .card-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
}

/* ===== TEXT LEFT ===== */
.rsab-doctor-detail .profile-card h1{
  font-size:18px;
  font-weight:700;
  margin:12px 0 4px;
}

.rsab-doctor-detail .spec{
  font-size:14px;
  font-weight:600;
  color:var(--primary);
}

.rsab-doctor-detail .rs{
  font-size:13px;
  color:var(--muted);
  margin:6px 0 18px;
}

/* ===== BUTTON ===== */
.rsab-doctor-detail .btn-primary{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  background:var(--primary);
  color:#fff;
  padding:12px 14px;
  border-radius:12px;
  font-weight:600;
  text-decoration:none;
  transition:.2s ease;
}

.rsab-doctor-detail .btn-primary:hover{
  background:#249b90;
}

/* =====================================================
   RIGHT – CONTENT
===================================================== */
.rsab-doctor-detail .detail-content{
  padding-top:8px;
}

.rsab-doctor-detail .detail-content h2{
  font-size:22px;
  font-weight:700;
  margin-bottom:18px;
}

/* =====================================================
   TABS
===================================================== */
.rsab-doctor-detail .tabs{
  display:flex;
  gap:32px;
  border-bottom:1px solid var(--border);
  margin-bottom:28px;
}

.rsab-doctor-detail .tab-link{
  background:none;
  border:none;
  padding:12px 0;
  font-size:15px;
  cursor:pointer;
  color:var(--muted);
  position:relative;
}

.rsab-doctor-detail .tab-link.active{
  color:var(--primary);
  font-weight:700;
}

.rsab-doctor-detail .tab-link.active::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-1px;
  width:100%;
  height:3px;
  background:var(--primary);
  border-radius:2px;
}

/* =====================================================
   TAB CONTENT
===================================================== */
.rsab-doctor-detail .tab-content{
  display:none;
}

.rsab-doctor-detail .tab-content.active{
  display:block;
}

.rsab-doctor-detail .tab-content p{
  line-height:1.75;
  font-size:15px;
  margin-bottom:14px;
  color:#374151;
}

/* =====================================================
   TIMELINE (PENDIDIKAN & SERTIFIKASI)
===================================================== */
.rsab-doctor-detail .timeline{
  border-left:2px solid var(--primary);
  padding-left:22px;
  margin-bottom:32px;
}

.rsab-doctor-detail .timeline div{
  margin-bottom:18px;
}

.rsab-doctor-detail .timeline p{
  margin:2px 0;
}

/* =====================================================
   JADWAL PRAKTIK
===================================================== */
.rsab-doctor-detail #scheduleList{
  padding-left:0;
  list-style:none;
}

.rsab-doctor-detail #scheduleList li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:15px;
  line-height:1.6;
  margin-bottom:10px;
}

.rsab-doctor-detail #scheduleList i{
  color:var(--primary);
  margin-top:3px;
}

/* =====================================================
   LOADING
===================================================== */
.rsab-doctor-detail .loading{
  text-align:center;
  padding:100px 20px;
  color:#9ca3af;
  font-size:15px;
}

/* =====================================================
   HIDDEN
===================================================== */
.rsab-doctor-detail .hidden{
  display:none !important;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media(max-width:900px){
  .rsab-doctor-detail .detail{
    grid-template-columns:1fr;
    gap:32px;
  }

  .rsab-doctor-detail .profile-card{
    max-width:360px;
    margin:auto;
  }

  .rsab-doctor-detail .tabs{
    gap:20px;
    flex-wrap:wrap;
  }
}