
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.8em;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.styled-table thead tr {
  background-color: #0077cc;
  color: #ffffff;
  text-align: left;
}

.styled-table th, .styled-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
}

.styled-table tbody tr {
  border-bottom: 1px solid #ddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.styled-table tbody tr:hover {
  background-color: #f1f1f1;
}

.styled-table button {
  margin-right: 5px;
  padding: 5px 10px;
  border: none;
  border-radius: 3px;
  background-color: #0077cc;
  color: white;
  cursor: pointer;
}

.styled-table button:hover {
  background-color: #005fa3;
}

.button-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.button-group form {
  margin: 0;
}

/* Modal overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Modal box */
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 6px;
  width: 100%;
  max-width: 500px;
  position: relative;
}

/* Close button (X) */
.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

/* Input styling */
.modal-content input,
.modal-content select,
.modal-content textarea {
  width: 100%;
  padding: 8px;
  margin: 10px 0;
}

/* Button styling */
.modal-content button[type="submit"] {
  background-color: #0077cc;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* ID 
.styled-table th:nth-child(1),
.styled-table td:nth-child(1) {
  width: 30px;
}*/

/* Username 
.styled-table th:nth-child(2),
.styled-table td:nth-child(2) {
  width: 180px; 
}*/

/* Email 
.styled-table th:nth-child(3),
.styled-table td:nth-child(3) {
  width: 200px; 
}*/

/* Market 
.styled-table th:nth-child(4),
.styled-table td:nth-child(4) {
  width: 120px;
}*/

/* Language 
.styled-table th:nth-child(5),
.styled-table td:nth-child(5) {
  width: 120px;
}*/

/* Role 
.styled-table th:nth-child(6),
.styled-table td:nth-child(6) {
  width: 120px;
  white-space: nowrap;
}*/

/* Last Login
.styled-table th:nth-child(7),
.styled-table td:nth-child(7) {
  width: 15%;
} */

/* Actions 
.styled-table th:nth-child(8),
.styled-table td:nth-child(8) {
  width: 20%;
}*/

/* Notes 
.styled-table th:nth-child(9),
.styled-table td:nth-child(9) {
  width: 18%;
}*/

.action-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.action-buttons button {
  padding: 6px 10px;
  font-size: 0.9em;
}

.suspended-row {
  background-color: #f3f3f3;
  opacity: 0.6;
}

.badge-suspended {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: bold;
  background-color: #e74c3c;
  color: white;
  border-radius: 4px;
  vertical-align: middle;
}

.icon-button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 2px;
}

.icon-button:hover {
  filter: brightness(0.8);
}

.action-icon {
  cursor: pointer;
  font-size: 18px;
  margin-right: 8px;
}

.action-icon:hover {
  filter: brightness(0.8);
}

.action-buttons .icon-button {
  background-color: transparent;
  border: 1px solid rgb(75, 75, 75);
  padding: 6px;
  margin: 0 2px;
  color: black;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}
