/* Users Module Styles */

.tabs-container {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid #333;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 20px;
  background: transparent;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 16px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.active {
  color: #4ec7f3;
  border-bottom-color: #4ec7f3;
}

.users-container {
  display: flex;
  gap: 20px;
}

.users-list {
  flex: 1;
}

.users-table,
.applications-table {
  width: 100%;
  border-collapse: collapse;
  background: #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
}

.users-table thead,
.applications-table thead {
  background: #2b2b2b;
}

.users-table th,
.applications-table th {
  padding: 12px;
  text-align: left;
  color: #4ec7f3;
  font-weight: 600;
}

.users-table td,
.applications-table td {
  padding: 12px;
  border-top: 1px solid #333;
  color: #ccc;
}

.users-table tbody tr,
.applications-table tbody tr {
  cursor: pointer;
  transition: background 0.2s;
}

.users-table tbody tr:hover {
  background: #252525;
}

.users-table tr.selected {
  background: #2a4a5a;
}

.user-details {
  flex: 1;
}

.card {
  background: #1e1e1e;
  border-radius: 8px;
  padding: 20px;
}

.card-title {
  color: #4ec7f3;
  margin-bottom: 20px;
}

.user-info p {
  margin: 10px 0;
  color: #ccc;
}

.user-info strong {
  color: #fff;
}

.user-role {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #333;
}

.user-role h3 {
  color: #4ec7f3;
  margin-bottom: 10px;
}

.role-select {
  width: 100%;
  padding: 10px;
  background: #2b2b2b;
  border: 1px solid #444;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
}

.btn-primary,
.update-role-btn {
  width: 100%;
  padding: 12px;
  background: #4ec7f3;
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-primary:hover,
.update-role-btn:hover {
  background: #3ab3e0;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-pending {
  background: #ff9800;
  color: #000;
}

.status-approved {
  background: #4caf50;
  color: #fff;
}

.status-rejected {
  background: #f44336;
  color: #fff;
}

.btn-approve,
.btn-reject {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  margin-right: 5px;
  transition: all 0.3s;
}

.btn-approve {
  background: #4caf50;
  color: #fff;
}

.btn-approve:hover {
  background: #45a049;
}

.btn-reject {
  background: #f44336;
  color: #fff;
}

.btn-reject:hover {
  background: #da190b;
}

.mb-20 {
  margin-bottom: 20px;
}

.mt-20 {
  margin-top: 20px;
}

.user-search {
  width: 100%;
  padding: 10px;
  background: #2b2b2b;
  border: 1px solid #444;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
}

.user-search::placeholder {
  color: #777;
}
