h2 {
  text-align: center;
}

/* TABLE */
.tableWrap table {
  width: 100%;
  border-collapse: collapse;
  background: #111a2b;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0 35px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tableWrap th {
  background: #151f33;
  color: var(--accent);
  padding: 12px;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tableWrap td {
  padding: 12px;
  color: #e6eef6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  text-align: center;
  vertical-align: middle;
}

.tableWrap tr:nth-child(even) {
  background: #0f1828;
}

.tableWrap tr:hover {
  background: #1c273d;
}

/* ACTION BUTTONS */
.actionButton {
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  margin-right: 4px;
  transition: 0.15s ease;
  gap: 8px;
  color: white;
}

.actionButton.manage {
  background: #2d91b8;
}

.actionButton.manage:hover {
  background: #298aa8;
}

.actionButton.user {
  background: #2db86c;
}

.actionButton.user:hover {
  background: #29a85e;
}

.actionButton.delete {
  background: #d03737;
}

.actionButton.delete:hover {
  background: #b82e2e;
}

/* SEARCH FORM */
#mainForm {
  background: #0f1828;
  padding: 18px;
  border-radius: 10px;
  margin-bottom: 35px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.searchRow {
  margin-bottom: 14px;
}

#mainForm label {
  display: block;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
}

#mainForm input,
#mainForm select {
  width: 100%;
  padding: 10px 13px;
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  border-radius: 8px;
  font-size: 0.95rem;
}

#mainForm input:focus,
#mainForm select:focus {
  border-color: var(--accent);
  outline: none;
}

#submitButton {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
}

#submitButton:hover {
  background: #443ad6;
}

/* RESPONSIVE TABLE */
@media (max-width: 700px) {
  .tableWrap table,
  .tableWrap thead,
  .tableWrap tbody,
  .tableWrap th,
  .tableWrap td,
  .tableWrap tr {
    display: block;
  }

  .tableWrap th {
    display: none;
  }

  .tableWrap td {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
  }

  .tableWrap td:before {
    content: attr(data-label);
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
  }
}
