/* Modal Luxury Gold Edition */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 24, 20, 0.6); /* Sedikit lebih gelap dengan tint coklat */
  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: #FDFBF7; /* Latar belakang krem premium */
  border: 1px solid #E6D8B8; /* Border emas tipis */
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(181, 133, 41, 0.15);
  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 #E6D8B8; /* Pemisah emas */
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #1A1814; /* Warna charcoal untuk teks utama */
}

.modal-message {
  font-size: 16px;
  line-height: 1.5;
  color: #736F66; /* Warna abu emas yang lembut */
  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: #F5F4F0;
  color: #736F66;
  border: 1px solid #E6D8B8;
}

.modal-btn-secondary:hover {
  background: #EBE9E4;
  border-color: #D4AF37;
}

/* Tombol Bahaya (Hapus) */
.modal-btn-danger {
  background: #B91C1C;
  color: white;
}

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

/* Tombol Utama (Confirm) */
.modal-btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #B58529 100%);
  color: white;
  box-shadow: 0 4px 8px rgba(181, 133, 41, 0.2);
}

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

.modal-icon {
  font-size: 24px;
  margin-bottom: 12px;
  color: #D4AF37;
}