/* Modal Navy Blue & Field Green Edition */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(27, 54, 93, 0.6); /* Diubah menjadi tint Biru Navy transparan */
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #FAFBFD; /* Latar belakang off-white kebiruan yang bersih */
  border: 1px solid #D0D9E5; /* Border abu-abu kebiruan halus */
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(27, 54, 93, 0.12); /* Bayangan berbasis warna Navy */
  max-width: 400px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.modal-overlay.show .modal-dialog {
  transform: scale(1);
}

.modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #D0D9E5; /* Pemisah halus warna abu-abu kebiruan */
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #0F172A; /* Warna slate gelap (charcoal modern) untuk teks utama */
}

.modal-message {
  font-size: 16px;
  line-height: 1.5;
  color: #475569; /* Warna abu-abu kebiruan lembut untuk teks pesan */
  margin: 0;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.modal-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

/* Tombol Sekunder (Batal) */
.modal-btn-secondary {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #D0D9E5;
}

.modal-btn-secondary:hover {
  background: #E2E8F0;
  border-color: #1B365D; /* Border berubah menjadi Biru Navy saat hover */
}

/* Tombol Bahaya (Hapus) - Tetap dipertahankan merah demi fungsi universal */
.modal-btn-danger {
  background: #B91C1C;
  color: white;
}

.modal-btn-danger:hover {
  background: #991B1B;
}

/* Tombol Utama (Confirm) */
.modal-btn-primary {
  background: linear-gradient(135deg, #1B365D 0%, #2E7D32 100%); /* Gradasi Premium Biru Navy ke Hijau Lapangan */
  color: white;
  box-shadow: 0 4px 8px rgba(46, 125, 50, 0.2); /* Bayangan lembut hijau */
}

.modal-btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 12px rgba(46, 125, 50, 0.3);
}

.modal-icon {
  font-size: 24px;
  margin-bottom: 12px;
  color: #2E7D32; /* Ikon menggunakan warna Hijau Lapangan sebagai penanda aksen */
}