// .actionpanel-admin {
//   display: flex;
//   flex-direction: column;
//   gap: 12px;
//   padding: 12px;
// }

// .actionpanel-toolbar {
//   display: flex;
//   align-items: center;
//   gap: 12px;

//   h2 {
//     margin: 0;
//     flex: 1;
//   }
// }

// .actionpanel-layout {
//   display: flex;
//   gap: 16px;
// }

// .actionpanel-list-panel {
//   flex: 1;
//   min-width: 320px;
// }

// .actionpanel-detail-panel {
//   flex: 1;
// }

// .actionpanel-list {
//   width: 100%;
//   border-collapse: collapse;

//   th, td {
//     padding: 6px 8px;
//     text-align: left;
//     border-bottom: 1px solid var(--border-default, #ddd);
//   }

//   tr.selected {
//     background: var(--action-primary-subtle, #eef2ff);
//   }

//   tr td:nth-child(1), tr td:nth-child(2) {
//     cursor: pointer;
//   }
// }
.formbuttons {
  margin-right: 8px;
  padding: 0 14px;
  min-height: 36px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.addbutton {
  background-color: var(--button-primary-bg-default);
  color: var(--button-primary-text-default);
  border: 1px solid var(--button-primary-bg-default);
  box-shadow: 0 1px 3px #00000026;
}

.addbutton:hover {
  opacity: 0.9;
  box-shadow: 0 2px 5px #00000030;
}

.refreshbutton {
  background-color: #ffffff;
  color: #4f46a5;
  border: 1px solid #c7c4e8;
  box-shadow: 0 1px 2px #0000001a;
}

.refreshbutton:hover {
  background-color: #f5f4ff;
  border-color: #4f46a5;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background: #fff;
  border: 1px solid #ddd;
  font-size: 14px;
}

thead {
  background: #f5f5f5;
}

th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #ddd;
}

td {
  padding: 10px 14px;
  border-bottom: 1px solid #e5e5e5;
  color: #444;
}

/* Row hover */
tbody tr:hover {
  background: #f8f9fa;
  cursor: pointer;
}

/* Selected row */
tbody tr.selected {
  background: #eeeaff;
}

tbody tr.selected td {
  color: #4f46a5;
  font-weight: 500;
}

/* Menu Id and Sort alignment */
th:first-child,
td:first-child,
th:nth-child(4),
td:nth-child(4) {
  text-align: center;
}

/* Delete button */
td:last-child {
  text-align: center;
}

td:last-child button {
  padding: 6px 12px;
  border: 1px solid #dc3545;
  border-radius: 4px;
  background: #fff;
  color: #dc3545;
  cursor: pointer;
  font-size: 13px;
}

td:last-child button:hover {
  background: #dc3545;
  color: #fff;
}