.user-manager {
  padding: 30px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
}

.um-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
}

.um-header .back-button {
  background: #f3f4f6;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
  transition: all 0.3s ease;
}

.um-header .back-button:hover {
  background: #e5e7eb;
}

.um-header .header-content h1 {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
}

.um-header .header-content p {
  color: #6b7280;
  margin: 0;
  font-size: 16px;
}

.um-message {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
}

.um-message.success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.um-message.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.um-create-section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.um-create-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 16px 0;
}

.um-create-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.um-create-form input {
  padding: 10px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 150px;
}

.um-create-form input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.um-create-form button {
  padding: 10px 20px;
  background: #10b981;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.um-create-form button:hover {
  background: #059669;
}

.um-users-list {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.um-users-list h3 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 16px 0;
}

.users-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.user-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f9fafb;
  border-radius: 8px;
}

.user-row .user-info .user-name {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.admin-badge {
  display: inline-block;
  background: #3b82f6;
  color: white;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 8px;
  vertical-align: middle;
}

.user-row .user-meta {
  font-size: 13px;
  color: #6b7280;
}

.user-row .user-meta .user-email {
  margin-left: 12px;
}

.delete-user-btn {
  padding: 6px 14px;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.delete-user-btn:hover {
  background: #dc2626;
}

.no-users {
  text-align: center;
  padding: 40px;
  color: #6b7280;
  font-size: 16px;
}

@media (max-width: 768px) {
  .user-manager {
    padding: 20px;
  }
  .um-create-form {
    flex-direction: column;
    align-items: stretch;
  }
  .um-create-form input {
    min-width: auto;
  }
  .user-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
