/* Users List Page */
.users-list-container {
  padding: 2.5rem 3rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.users-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 152, 0, 0.3);
}

.users-list-title {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #262626 0%, #525252 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.03em;
}

.users-list-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: linear-gradient(180deg, #ff9800, #ea580c);
  border-radius: 2px;
  margin-right: 0.75rem;
  vertical-align: middle;
}

.users-list-actions {
  display: flex;
  gap: 0.75rem;
}

.users-list-actions .btn {
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.users-list-actions .btn-primary {
  background: linear-gradient(135deg, #ff9800 0%, #ea580c 100%);
  color: #fff;
}

.users-list-actions .btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #fb923c 0%, #ff9800 100%);
}

.users-list-actions .btn-secondary {
  background: #fff;
  color: #404040;
  border: 2px solid #e5e5e5;
}

.users-list-actions .btn-secondary:hover {
  border-color: #ff9800;
  color: #ea580c;
  background: #fff7ed;
}

.users-list-error {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #b91c1c;
  border-radius: 0.75rem;
  border: 1px solid #fecaca;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Dark mode */
body.night-mode .users-list-container,
.night-mode .users-list-container {
  background: transparent;
}

body.night-mode .users-list-header,
.night-mode .users-list-header {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

body.night-mode .users-list-title,
.night-mode .users-list-title {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.night-mode .users-list-title::before,
.night-mode .users-list-title::before {
  background: linear-gradient(180deg, #f87171, #ef4444);
}

body.night-mode .users-list-actions .btn-primary,
.night-mode .users-list-actions .btn-primary {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #fff;
}

body.night-mode .users-list-actions .btn-primary:hover:not(:disabled),
.night-mode .users-list-actions .btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

body.night-mode .users-list-actions .btn-secondary,
.night-mode .users-list-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
}

body.night-mode .users-list-actions .btn-secondary:hover,
.night-mode .users-list-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(248, 113, 113, 0.5);
  color: rgba(255, 255, 255, 0.98);
}

body.night-mode .users-list-error,
.night-mode .users-list-error {
  background: rgba(248, 113, 113, 0.15);
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.4);
}

@media (max-width: 768px) {
  .users-list-container {
    padding: 1.5rem;
  }

  .users-list-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .users-list-title {
    font-size: 1.5rem;
  }

  .users-list-actions {
    flex-wrap: wrap;
  }
}
