/* Right side panel modal */
#modalPemetaanGroupUser.right-side-panel { padding: 0 !important; }
#modalPemetaanGroupUser.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;
}
#modalPemetaanGroupUser.right-side-panel.show .modal-dialog { transform: translateX(0); }
#modalPemetaanGroupUser.right-side-panel .modal-content {
  height: 100%; border-radius: 0.5rem; padding: 10px;
  display: flex; flex-direction: column;
}
#modalPemetaanGroupUser.right-side-panel .modal-body { flex: 1; overflow-y: auto; }
#modalPemetaanGroupUser.right-side-panel .modal-footer { margin-top: auto; }

/* DataTables layout */
.top-left { float: left; padding-top: 0; }
.top-right {
  display: flex; justify-content: flex-end; align-items: center;
  gap: 12px; margin-bottom: 15px;
}
.top-right .dataTables_filter { float: none !important; margin: 0 !important; }
.top-right .dt-buttons { display: flex; align-items: center; gap: 4px; float: none !important; }
.bottom-container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px; padding-top: 10px;
}
.bottom-container .dataTables_info,
.bottom-container .dataTables_paginate { float: none !important; padding-top: 0; }

/* 2-line cell display */
.cell-user {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}
.cell-user .avatar,
.cell-user > .avatar,
.cell-user img.avatar,
.cell-user span.avatar {
  flex-shrink: 0;
}
.cell-user .cell-text {
  min-width: 0;
}
.cell-group {
  line-height: 1.3;
}
.cell-user .cell-primary, .cell-group .cell-primary {
  font-weight: 500;
  color: var(--default-text-color);
}
.cell-user .cell-secondary, .cell-group .cell-secondary {
  font-size: 0.75rem;
  font-style: italic;
  font-weight: 300;
  color: var(--body-color);
}
