.wilayah-card {
  min-height: 500px;
}
.wilayah-card .wilayah-list {
  max-height: 420px;
  overflow-y: auto;
}
.wilayah-row-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.wilayah-row-scroll .row {
  min-width: 1200px;
}
.wilayah-card table tbody tr {
  cursor: pointer;
}
.wilayah-card table tbody tr:hover {
  background-color: rgba(13, 110, 253, 0.05);
}
.wilayah-card table tbody tr.selected {
  background-color: rgba(13, 110, 253, 0.1);
  border-left: 3px solid #0d6efd;
}
.wilayah-card input:disabled {
  background-color: #e9ecef;
  cursor: not-allowed;
}

/* Right side panel modal */
.right-side-panel {
  padding: 0 !important;
}
.modal.right-side-panel .modal-dialog {
  position: fixed;
  top: 10px;
  right: 10px;
  margin: 0;
  width: 600px;
  max-width: calc(100vw - 20px);
  height: calc(100vh - 20px);
  transform: translateX(120%);
  transition: transform 0.3s ease-in-out;
  z-index: 1070;
}
.modal.right-side-panel.show .modal-dialog {
  transform: translateX(0);
}
.right-side-panel .modal-content {
  height: 100%;
  border-radius: 0.5rem;
  padding: 10px;
  display: flex;
  flex-direction: column;
}
.right-side-panel .modal-dialog form {
  height: 100%;
}
.right-side-panel .modal-body {
  flex: 1;
  overflow-y: auto;
}
.right-side-panel .modal-footer {
  margin-top: auto;
}
.right-side-panel ~ .modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1060;
}