.migrant-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
}

.migrant-archive {
  background-color: #f8fafc;
  padding: 40px 0;
}
/* === Layout Utama === */
.card-container {
  width: 100%;
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  /* margin: 0 auto 40px auto; */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.card-container:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .card-container {
    flex-direction: row;
  }
}

/* === Kolom Kiri === */
.left-column {
  width: 100%;
  background-color: #f9fafb;
  border-right: 1px solid #f1f1f1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .left-column {
    width: 33%;
  }
}

.worker-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.photo-box {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.passport-box {
  width: 100%;
  height: 160px;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.passport-text {
  color: #6b7280;
  font-size: 14px;
  text-align: center;
}

.passport-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* === Tombol === */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.btn {
  display: block;
  text-align: center;
  width: 100%;
  padding: 10px 16px;
  border-radius: 8px !important;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-blue {
  background-color: #1d4ed8;
}

.btn-blue:hover {
  background-color: #1e40af;
}

.btn-green {
  background-color: #16a34a !important;
}

.btn-green:hover {
  background-color: #15803d !important;
}

.btn-grey {
  color: black !important;
}

/* === Kolom Kanan === */
.right-column {
  width: 100%;
  padding: 24px;
}

@media (min-width: 768px) {
  .right-column {
    width: 67%;
  }
}

.profile-title {
  font-size: 24px;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 12px;
}

.profile-subtitle {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 24px;
}

.profile-subtitle span {
  color: #111827;
  font-weight: 500;
}

/* === Tabel Profil === */
.profile-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
}

.profile-table tr {
  border-bottom: 1px solid #f1f1f1;
}

.profile-table td {
  padding: 8px;
  color: #374151;
}

.profile-table .label {
  font-weight: 600;
  width: 33%;
}

/* === Pengalaman === */
.experience-section {
  margin-bottom: 24px;
}

.experience-section h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}

.exp-line {
  color: #374151;
  font-size: 14px;
  margin-bottom: 4px;
}

.exp-desc {
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
}

.exp-desc .italic {
  font-style: italic;
  color: #6b7280;
}

/* === Video === */
.video-box {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

/* === Modal === */
.video-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.video-modal-content {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 700px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 20px;
  color: #4b5563;
  border: none;
  background: none;
  cursor: pointer;
}

.close-btn:hover {
  color: #000;
}

.not-found {
  text-align: center;
  padding: 40px;
  font-size: 18px;
  color: #6b7280;
}

/* PAGINATION */
.pagination-wrap {
  margin-top: 40px;
  text-align: center;
}

.pagination-wrap ul {
  list-style: none;
  display: inline-flex;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.pagination-wrap li a,
.pagination-wrap li span {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.pagination-wrap li a:hover {
  background: #192a3d;
  color: #fff;
}

.pagination-wrap li .current {
  background: #192a3d;
  color: #fff;
  border-color: #192a3d;
}
