/* ===========================
   DETAIL DOSEN
=========================== */

.map-detail {
  display: flex;
  gap: 40px;
  margin: 50 auto 40pxc;
  align-items: flex-start;
}

.map-detail-left {
  width: 280px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
}

.map-detail-left img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.map-detail-left h3 {
  margin-top: 20px;
  color: #7a0d0d;
  font-size: 24px;
  line-height: 1.5;
}

.map-detail-right {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

/* ===========================
   TAB MENU
=========================== */

.map-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 2px solid #eee;
  margin-bottom: 25px;
}

.map-tabs button {
  border: none;
  background: #f5f5f5;
  padding: 12px 22px;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  font-size: 15px;
  transition: 0.3s;
}

.map-tabs button:hover {
  background: #7a0d0d;
  color: #fff;
}

.map-tabs button.active {
  background: #7a0d0d;
  color: #fff;
}

/* ===========================
   BIODATA
=========================== */

.map-biodata {
  width: 100%;
  border-collapse: collapse;
}

.map-biodata tr {
  border-bottom: 1px solid #ececec;
}

.map-biodata th {
  width: 230px;
  text-align: left;
  padding: 15px;
  background: #fafafa;
  color: #444;
}

.map-biodata td {
  padding: 15px;
  color: #555;
}

/* ===========================
   ALERT
=========================== */

.map-alert {
  background: #ffe9e9;
  color: #b40000;
  padding: 20px;
  border-radius: 8px;
}

/* ===========================
   MOBILE
=========================== */

@media (max-width: 991px) {
  .map-detail {
    flex-direction: column;
  }

  .map-detail-left {
    width: 100%;
  }

  .map-tabs {
    overflow: auto;
    white-space: nowrap;
  }

  .map-tabs button {
    flex: none;
  }
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Tab Pendidikan */
#pendidikan table {
  width: 100%;
  border-collapse: collapse;
}

#pendidikan th,
#pendidikan td {
  text-align: center;
  vertical-align: middle;
  padding: 18px 15px;
}

#pendidikan th {
  background: #f8f8f8;
  font-weight: 600;
}

#pendidikan tr {
  border-bottom: 1px solid #e9e9e9;
}

.map-link-publikasi {
  color: #0d6efd;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.map-link-publikasi:hover {
  color: #084298;
  text-decoration: underline;
}

/* ===========================
   TAB HKI
=========================== */

/* Header tabel */
.hki-content .map-biodata th {
  text-align: center;
  vertical-align: middle;
}

/* Kolom Judul Karya */
.hki-content .map-biodata td:nth-child(1) {
  text-align: left;
}

/* Kolom Jenis Karya */
.hki-content .map-biodata td:nth-child(2) {
  text-align: center;
  vertical-align: middle;
}

/* Kolom Tahun */
.hki-content .map-biodata td:nth-child(3) {
  text-align: center;
  vertical-align: middle;
}
